Some topics in mathematics are absolutely crucial, not only because of their applications or specific mathematical meaning, but because they are covering a manifold basic tools without which it is nearly impossible to study any other topics at all. This is similar to such elementary knowledge as alphabet when you are studying language or periodic table when you are studying chemistry. Power functions, which we will discuss here, are just one of those indispensable tools in the studying of functions and processes they describe. You will meet power functions in real and complex analysis as the building blocks from which any function could be constructed. You will meet them in physics where there are hundreds of processes which could be described exactly or asymptotically with the help of power functions. In higher algebra such objects as monomials and polynomials are precisely power functions with natural powers and their sums and products. In programming these type of functions is an absolute necessity when working with objective functions or when evaluating the complexity of various algorithms.
What is a power function?
Let's say you have constructed a square out of four line segments of the length (see picture below). How to find its area ? Well, this is an easy question: you just need to find the product . Therefore, .
Now imagine that you have constructed a cube with the edge of the same length :
Let's find its volume. It is the product of the lengths of its edges that meet in the same vertex. Therefore, it equals to . Note that if you double the length of a segment , then the area of the square will become four times larger, and the volume of the cube will increase times. Such growths are called quadratic and cubic, respectively. Another example: if you increase the sides of a cubic box by times, then it will fit times more content.
In the same way, if the area of a square is , then the length of its side is . And if the volume of a cube is , then the length of its edge is . Keep in mind that and , therefore, you can write down all the mentioned lengths, areas, and volumes in terms of powers . To work with such entities, we use power functions.
These functions find an important application in estimation of complexity of algorithms. The idea here is simple: for given amount of input data, what is the amount of computational resources that we have to spend in the process of algorithm execution. Quite often, the estimate of the complexity of an algorithm turns out to be a power function. For example, the complexity of the bubble sort algorithm of a list of length is estimated with the function, which means that the time spent on sorting is on average proportional to the square of the list's length (e.g. if the length of a list, which is being bubble sorted is doubled, the time of sorting would increase in 4 times).
Definition
You can define a function as a power function if it is of the form (here , and is any real number). Power functions have extremely varied behavior, depending on the value of parameters and . Furthermore, the domains and codomains of these functions are crucially sensitive to parameter changes.
Natural powers
To begin with, let's consider only natural values of () and set . Now the function takes as an input and returns . You can apply this operation to any real number, that's why when is natural the domain of power function is the all real axis. However, some subtleties arise when talking about codomain. Note that if is negative, then are also negative, but are positive. In general, if is odd,
Then, if is even,
These properties of power functions with natural powers allow us to draw conclusions about what their graphs look like. For odd functions graphs will be symmetrical with respect to the coordinate center (see examples in the following pictures):
Similarly, the plots of for even are symmetrical with respect to -axis:
To have the full picture, let's discuss some other properties of . First of all, for any natural , power function is continuous in its domain. Showing this, however, goes beyond the scope of this topic. Since for every even the expression for any , power functions in these cases are bounded below by zero if , and bounded above by zero if . In the case of an odd , the power function is unbounded and increases monotonically if and decreases monotonically if .
Let's now extend this class of functions to negative powers.
Integer powers
Before defining power functions for negative powers, let's remember that . And here you would have an obvious problem, because if , it would be impossible to define this fraction. Therefore, if and is an integer, the domain of is . One more important point is that for natural , if is increasing on a line segment, then is decreasing on the same segment.
Otherwise, for positive and negative powers, the functions are similar in many ways, both are continuous over the entire domain: they are even in the case of even powers, and odd for odd ones. You can see the examples of these functions in the following pictures.
As you can see, it is a 'well-behaved' function almost everywhere, but in the function diverges, meaning that the closer is to , the greater the absolute value of the function, and this growth is unlimited.
Rational and real powers
Now let's think about power functions that have real , but firstly, let's conduct a little experiment with numbers, namely let's try to raise a non-positive number to a fractional power. For example,
By definition, is such a number that its cube is , therefore, it is quite natural to think that . Let's now consider the following exponent:
And here you would face a crucial problem, because , entailing , but . You could solve issues like this with the help of complex analysis or accurate definitions, however, generally, in real analysis it is common to use exponentiation only for strictly positive bases.
If you are dealing with the function , where is some arbitrary real number, you suppose that the domain of this function is or , where the value of the function is zero when is positive, or is not defined if . In this domain, the power function is continuous and monotonous. Its behavior is very similar to the above-mentioned functions. The sign of defines the increase or decrease of function, the change of this sign flips the function symmetrically over -axis. You can find some examples in the following pictures.
Example
In the picture below, there is a cylinder with the height , which is two times bigger than its radius . You can find the volume of the cylinder using the formula , where is the area of the disk in the base of the cylinder. Therefore, in this case, you can find the volume of the cylinder as function of . Since the area of the disk is , the volume is . Simplifying this formula, we obtain the following one:
Conclusion
Below are the most important points to remember from this topic.
Power function has the form of , where and is any real number.
If has an odd natural value, , and if has an even natural value, .
For a function with odd power , the graph will be symmetrical with respect to the coordinate center. For even , the graph of the power function will be symmetrical with respect to -axis.
For any positive integer , power function . In this case, we can't define it if .
If the power function increases on a line segment for natural , then decreases on the same segment.
Similarly, if the power function decreases on a line segment for natural , then increases on the same segment.
If is an arbitrary positive real number, then the domain of the power function is . If is an arbitrary negative real number, then the domain of the power function is .
For any real values of and (while they are both nonzero), all the values of the power function have the same sign (all are negative or all are positive) on the segment .
The power function is monotonic in its whole domain: for and it increases, for and it decreases, for and it decreases, for and it increases.