In many sciences, you come across various functions. In most cases, they are used to describe a dependency between two values you can measure, mostly numbers. For example, the dependency between the voltage and current through a conductor (Ohm's law), or the relationship between unemployment and losses in a country's production (Okun's law). In this topic you'll learn the properties of numerical functions – they are of great help if you need to analyze any process described by a function.
What is a numerical function?
A numerical function is a function that takes on values in some set of numbers – for example, in the set of integers or the set of real numbers . A numerical function does not obligatorily have a set of numbers as a domain (the set of its possible inputs), but its codomain (the set of possible outputs) is always a set of numbers.
For example, a relation that maps a real number with its tripled value is a numerical function: . In this example the role of both the domain and the codomain is played by the set of real numbers: . You may come across other numerical functions, e.g. such that is the remainder when is divided by 3. In this example, the domain is the set of integers, and the codomain is the set . And here's an example of a numerical function whose domain is a set of letters. This function maps the set of the English alphabet letters with their ordinal numbers: .
How to define a function
Defining a numerical function means specifying a rule that allows one to calculate the corresponding value of from an arbitrarily chosen value of . Most often, this rule is given by the formula. For example: orThe domain restriction means that we require in order for to be defined (the round bracket indicates that is not included in the domain, and the square bracket indicates that is included ).
Sometimes functions are defined piecewise – using different output formulas for different pieces, or parts, of the domain. For example,
If our function is defined on the set of real numbers or its subset, we can draw a graph of this function – that is, all points on a plane with coordinates . Let's see, what the graph of the function looks like:
Graphs of functions can be much more complicated. For example, the graph of our piecewise function that we wrote above looks like this:
Boundedness
A function is
bounded above if there is a number that is greater than or equal to every other number in the range of ;
bounded below if there is a number that is less than or equal to every other number in the range of ;
bounded if it is bounded above and below.
For example, the function such that is bounded below (because every value of is greater than or equal zero), but it's not bounded above. Note that the function is bounded above but not below.
Details
The function is bounded both above and below:
On the set of real numbers, we can define the function
known as the sign function. It is bounded as it can't take values greater than 1 or less than -1.
Increase and decrease
To define increasing and decreasing functions, we must have a numerical domain, for example, the set of real numbers.
A function is called increasing if. If for all the function is called strictly increasing.
In other words, the value of an increasing function increases as its argument increases.
A function is called decreasing, if. If for all the function is called strictly decreasing.
In other words, the value of a decreasing function decreases as its argument increases.
We can notice that the function , introduced in the previous section, is increasing but not strictly increasing. On the other hand, the function , defined on non-negative real numbers, is strictly decreasing.
Sometimes a function can be increasing or decreasing on a piece of the domain. A set of real numbers lying between two fixed numbers and is known as an interval. An open interval, denoted by , does not include its endpoints:
- A closed interval, on the other hand, includes and :
- We can look again at the graph of a function and notice that it is increasing on an interval and decreasing on an interval .
Symmetry
A function is called an even function, if satisfies the following condition:This means that is symmetric about the y-axis.
For example, is even:
A function is called an odd function, if satisfies the following condition:This means that is symmetric if we rotate it by about the origin. For example, is odd:
A function can be either even, odd, or neither, with the exception of , which is both even and odd. The function is neither even nor odd:
Conclusion
Numerical functions are very often used in practice to describe different dependencies. You can understand the nature of these dependencies in terms of the functions' properties. Now you can define such classes of functions as:
bounded and unbounded
increasing and decreasing
even and odd
For example, the function describing the number of solved problems from the time spent on the Hyperskill platform will be bounded (you can't solve less than 0 problems and more than all problems) and increasing (once you solve a problem, you can't unsolve it).