Nepedia
Back to Discover
Advanced Reader
🔢

Function (mathematics)

math Maturity 7-9 Vital Level 3 Next article →

In mathematics, a function is a precise way to connect two sets of objects. It acts as a rule that assigns to each element in one set exactly one element in another set. This relationship is sometimes called a mapping, a transformation, or a correspondence. A function is more than just a simple link; it is a predictable rule. If you know the input, the function tells you exactly what the output will be. Because of this precision, functions are considered the central objects of investigation in most mathematical fields.

Function machine2
Function machine2

To understand the mechanics, we must define the specific parts of a function. The first set, which contains all possible inputs, is called the domain. The second set, which contains the potential results, is called the codomain. When an input from the domain is linked to a specific result, that result is called the image. The set of all possible images is known as the range. Mathematicians often use a letter, such as $f$, to name the function. We write $f(x)$ to represent the value of the function at a specific input $x$. In this notation, $x$ is called the argument or the variable.

Injection keine Injektion 2a
Injection keine Injektion 2a

Functions can be represented in several ways, most notably through a graph. A graph is a set of all ordered pairs $(x, f(x))$ that show the relationship between inputs and outputs. When a function uses real numbers, these pairs can be plotted as coordinates on a plane. This allows us to see the function as a visual curve or line. For example, a linear function might appear as a straight line, while a quadratic function appears as a curve.

Example Function
Example Function
Gerade
Gerade
Polynomialdeg2
Polynomialdeg2

While diagrams are helpful for real numbers, they may not be practical for more complex sets, such as sets of matrices.

Historically, the concept of a function has changed significantly. In the late 17th century, the development of infinitesimal calculus by figures like Isaac Newton, Gottfried Leibniz, and Leonhard Euler shaped early ideas. During this time, functions were seen as ways to describe how one varying quantity depends on another, such as a planet's position changing over time. Until the 19th century, mathematicians mostly focused on differentiable functions, which possess a high degree of regularity. It was not until the end of the 19th century that the concept was formalized using set theory. This formalization greatly increased the possible applications of the concept across all of science.

Sine cosine one period
Sine cosine one period

Sometimes, a function does not work for every possible input in its codomain. These are called partial functions. In a partial function, an input might be undefined. The specific subset of the domain where the function actually works is called the domain of definition. For example, in calculus, many real-valued functions are actually partial functions. Determining the domain of definition can be quite difficult. In complex analysis, finding the domain of the multiplicative inverse of the Riemann zeta function is related to the Riemann hypothesis, one of the major open problems in mathematics.

Functions can also involve more than one input at a time. These are known as multivariate functions or functions of several variables. A bivariate function depends on two arguments. An example is a binary operation, such as integer multiplication, which takes two integers and produces one result.

Binary operations as black box
Binary operations as black box

In the real world, many things depend on multiple factors. For instance, the position of a car on a road is a function of both the time traveled and the average speed. Formally, the domain of a multivariate function is a Cartesian product of several sets.

Because functions describe relationships, they are vital to many disciplines. Scientists and engineers use them to model everything from physical movement to statistical trends. For example, one can use functions to map years to the number of motor vehicle deaths in the United States.

Motor vehicle deaths in the US
Motor vehicle deaths in the US

By studying these functional relationships, researchers can identify patterns and make predictions. Whether through simple algebraic expressions or complex algorithms in computability theory, functions remain the fundamental language used to describe the changing world.

668 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (12)
File:Function machine2.svg
Function machine2.svg
File:Example Function.png
Example Function.png
File:Injection keine Injektion 2a.svg
Injection keine Injektion 2a.svg
File:Injection keine Injektion 1.svg
Injection keine Injektion 1.svg
File:Binary operations as black box.svg
Binary operations as black box.svg
File:Motor vehicle deaths in the US.svg
Motor vehicle deaths in the US.svg
File:Motor vehicle deaths in the US histogram.svg
Motor vehicle deaths in the US histogram.svg
File:Gerade.svg
Gerade.svg
File:Polynomialdeg2.svg
Polynomialdeg2.svg
File:Sine cosine one period.svg
Sine cosine one period.svg
File:Function with two values 1.svg
Function with two values 1.svg
File:Xto3minus3x.svg
Xto3minus3x.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.