Unit 3, lesson 21

Cubic and Other Integer-Power Functions

How the graphs of x squared, x cubed and higher powers get their shapes, why even and odd exponents give different symmetry, and how powers compare below and above 1.

  • Theory part 41
  • Practice part 42
  • Powers and Roots

A cube with side 22 cm holds 88 cubic centimeters, and one with side 44 cm holds 6464. Doubling the side multiplies the volume by eight, and that rapid growth is the whole personality of a power function. Small exponents and large ones, even ones and odd ones, all follow a few simple rules about sign, symmetry and size that you can read straight off the formula.

Key terms

Integer-power function

Definition An integer-power function, in this lesson, is a function of the form

f(x)=xn,f(x) = x^n,

where nn is a fixed positive integer. Here xnx^n means xx multiplied by itself nn times, so it is defined for every real xx, including negative xx and x=0x = 0. The exponent 00 and negative exponents are not part of this family. The function x0x^0 is the constant 11 away from 00, and x−1=1xx^{-1} = \frac{1}{x} is the reciprocal function, which has its own lesson.

In plain words Pick a whole number nn and raise the input to that power. The cases n=1n = 1, 22 and 33 give the line y=xy = x, the parabola y=x2y = x^2 and the cubic y=x3y = x^3.

Example For f(x)=x5f(x) = x^5 the values at x=−2x = -2, −1-1, 00, 11 and 22 are −32-32, −1-1, 00, 11 and 3232. The sign of the output matches the sign of the input, and the outputs grow fast once ∣x∣>1\lvert x \rvert > 1.

Cubic function

Definition A cubic function is a polynomial function of degree 33,

f(x)=ax3+bx2+cx+d,a≠0,\begin{gathered} f(x) = ax^3 + bx^2 + cx + d, \\[0.4em] a \ne 0, \end{gathered}

with real coefficients aa, bb, cc and dd. Its domain is all real numbers. The simplest one, f(x)=x3f(x) = x^3, is the parent cubic.

In plain words A cubic is any formula whose highest power of xx is x3x^3. Far to the right and far to the left its outputs go in opposite directions. For large ∣x∣\lvert x \rvert the term ax3ax^3 outweighs the others, and x3x^3 has the sign of xx.

Example To sketch f(x)=x3−4xf(x) = x^3 - 4x, factor first.

x3−4x=x(x−2)(x+2).x^3 - 4x = x(x - 2)(x + 2).

The zeros are −2-2, 00 and 22. Counting negative factors tells you the sign between them, and a few values confirm it.

xx−3-3−1-11133
f(x)f(x)−15-1533−3-31515

So the graph comes up from below, crosses at −2-2, rises above the axis, comes back down through the origin, dips below the axis, and climbs back up through the axis at 22. A table cannot show exactly where the turns are. Finding those needs derivatives later.

Even power

Definition If nn is an even positive integer, then for every real xx

(−x)n=xnandxn≥0,(-x)^n = x^n \qquad \text{and} \qquad x^n \ge 0,

with xn=0x^n = 0 only at x=0x = 0. The reason is that an even number of negative factors multiply to a positive number. For even nn and ∣x∣<1\lvert x \rvert < 1 with x≠0x \ne 0, higher even powers are smaller, and for ∣x∣>1\lvert x \rvert > 1 they are larger.

In plain words An even power wipes out the sign of the input. The graphs of x2x^2, x4x^4 and x6x^6 are U shapes with their lowest point at the origin. The higher the power, the flatter the bottom between −1-1 and 11 and the steeper the sides beyond them.

Example Compare x2x^2 and x4x^4. Their difference factors as

x4−x2=x2(x−1)(x+1).x^4 - x^2 = x^2(x - 1)(x + 1).

For 0<∣x∣<10 < \lvert x \rvert < 1 this is negative, so x4<x2x^4 < x^2. For ∣x∣>1\lvert x \rvert > 1 it is positive, so x4>x2x^4 > x^2. The graphs meet only at x=−1x = -1, 00 and 11.

xx12\frac{1}{2}1122
x2x^214\frac{1}{4}1144
x4x^4116\frac{1}{16}111616

The same values appear at −12-\frac{1}{2}, −1-1 and −2-2. Near the origin x4x^4 hugs the axis more closely, and past 11 it shoots up faster.

Odd power

Definition If nn is an odd positive integer, then for every real xx

(−x)n=−xn,(-x)^n = -x^n,

so xnx^n has the same sign as xx. Moreover, for every real number yy there is exactly one real xx with xn=yx^n = y, called the real nnth root of yy.

In plain words An odd power keeps the sign of the input. The graphs of x3x^3, x5x^5 and x7x^7 run from the lower left, through the origin, to the upper right.

Example The equation x3=−27x^3 = -27 has the single real solution x=−3x = -3, since (−3)3=−27(-3)^3 = -27 and no other real number cubes to −27-27. By contrast, the even power equation x4=16x^4 = 16 has two real solutions, x=2x = 2 and x=−2x = -2, and x4=−16x^4 = -16 has none.

Symmetry

Definition A function ff whose domain contains −x-x whenever it contains xx is called even if f(−x)=f(x)f(-x) = f(x) for every xx in its domain, and odd if f(−x)=−f(x)f(-x) = -f(x) for every xx in its domain. The graph of an even function is symmetric about the yy axis. The graph of an odd function is symmetric about the origin, meaning (x,y)(x, y) is on the graph exactly when (−x,−y)(-x, -y) is. Most functions are neither even nor odd.

In plain words An even graph is its own mirror image across the yy axis. An odd graph looks the same after a half turn about the origin. So xnx^n is even when nn is even and odd when nn is odd, which is where the names come from.

Example The function f(x)=x3−4xf(x) = x^3 - 4x from above is odd, because

f(−x)=(−x)3−4(−x)=−x3+4x=−f(x).\begin{aligned} f(-x) &= (-x)^3 - 4(-x) \\[0.4em] &= -x^3 + 4x = -f(x). \end{aligned}

That matches the table, where f(−3)=−15f(-3) = -15 and f(3)=15f(3) = 15. The function g(x)=x3+1g(x) = x^3 + 1 is neither, since g(1)=2g(1) = 2 while g(−1)=0g(-1) = 0, which equals neither 22 nor −2-2.

Increasing function

Definition A function ff is increasing on an interval II if f(a)<f(b)f(a) < f(b) whenever aa and bb are in II with a<ba < b. It is decreasing on II if f(a)>f(b)f(a) > f(b) whenever a<ba < b in II. The function x3x^3 is increasing on all of R\mathbb{R}. To see it, take a<ba < b and factor.

b3−a3=(b−a)(a2+ab+b2).b^3 - a^3 = (b - a)(a^2 + ab + b^2).

The first factor is positive. Completing the square gives

a2+ab+b2=(a+b2)2+3b24,a^2 + ab + b^2 = \left(a + \frac{b}{2}\right)^2 + \frac{3b^2}{4},

which is positive unless a=b=0a = b = 0, and that is impossible when a<ba < b. So b3>a3b^3 > a^3. The same holds for every odd power. An even power is decreasing on (−∞,0](-\infty, 0] and increasing on [0,∞)[0, \infty).

In plain words Increasing means the graph always goes up as you move right. The cube curve never turns back, even though it flattens out near the origin.

Example Take a=−2a = -2 and b=1b = 1. Then a3=−8<1=b3a^3 = -8 < 1 = b^3, as the rule says. For x2x^2 the same inputs give 44 and 11, so the order flips, which shows that x2x^2 is not increasing on any interval that contains both negative and positive numbers.

Domain and range

Definition For every positive integer nn the domain of f(x)=xnf(x) = x^n is R\mathbb{R}. If nn is odd, the range is R\mathbb{R}, because each real yy is the output at its real nnth root. If nn is even, the range is [0,∞)[0, \infty), because every output is nonnegative and each y≥0y \ge 0 is the output at x=ynx = \sqrt[n]{y}, the nonnegative nnth root.

In plain words Every real number can go into a power function. An odd power can produce any real number, while an even power produces exactly the numbers that are zero or positive.

Example The function h(x)=x4−3h(x) = x^4 - 3 has domain R\mathbb{R}. Since x4x^4 takes every value in [0,∞)[0, \infty), the outputs of hh fill [−3,∞)[-3, \infty), with the smallest value −3-3 at x=0x = 0. The output 1313 is reached at x=2x = 2 and x=−2x = -2.

Check yourself

  1. Decide whether f(x)=x5−xf(x) = x^5 - x is even, odd or neither, and find f(2)f(2) and f(−2)f(-2).
Show the answer

It is odd, because f(−x)=−x5+x=−f(x)f(-x) = -x^5 + x = -f(x). The values are f(2)=32−2=30f(2) = 32 - 2 = 30 and f(−2)=−30f(-2) = -30.

  1. Which is larger, (12)3\left(\frac{1}{2}\right)^3 or (12)5\left(\frac{1}{2}\right)^5? Which is larger, 333^3 or 353^5?
Show the answer

For an input between 00 and 11 more factors make the product smaller, so (12)3=18\left(\frac{1}{2}\right)^3 = \frac{1}{8} is larger than (12)5=132\left(\frac{1}{2}\right)^5 = \frac{1}{32}. Above 11 the order reverses, and 35=2433^5 = 243 is larger than 33=273^3 = 27.

  1. Find the range of g(x)=(x−1)3+2g(x) = (x - 1)^3 + 2 and the input that gives the output 1010.
Show the answer

The cube (x−1)3(x - 1)^3 takes every real value, so the range is R\mathbb{R}. Setting (x−1)3+2=10(x - 1)^3 + 2 = 10 gives (x−1)3=8(x - 1)^3 = 8, so x−1=2x - 1 = 2 and x=3x = 3. It is the only solution because cubing is increasing.

How this lesson connects