The Graphs of y = axⁿ

Even powers mirror, odd powers half-turn.

One family of graphs

Several familiar graphs share one form, y = axⁿ: a number a multiplied by a power of x. The parabola y = x² has a = 1 and n = 2. The cubic y = x³ has n = 3. The reciprocal graph y = 1/x is y = x⁻¹, because a negative index means one divided by the power, so it has n = −1.

The power n sets the shape of the graph, and the number a stretches it or flips it. When two power terms are added, the graph mixes their two shapes.

The graph of y = 1/x²

For n = −2 the equation is y = x⁻², which is y = 1/x². Work out some values. At x = 1, y = 1/1 = 1. At x = 2, y = 1/4, and at x = 3, y = 1/9. As x grows, x² grows faster still, so 1/x² shrinks toward zero. It never reaches zero, because one divided by a positive number is never zero.

Near zero the opposite happens. At x = 1/2, x² = 1/4 and y = 1 ÷ 1/4 = 4. At x = 0.1, x² = 0.01 and y = 100. The curve climbs steeply as x closes in on zero, and at x = 0 there is no value at all, because 1/0 is not a number. The curve runs up alongside the y-axis without touching it and along the x-axis without touching it. A line that a curve gets closer and closer to, without ever reaching it, is called an asymptote, so both axes are asymptotes of y = 1/x².

Now try negative values of x. Squaring a negative number gives a positive number: (−2)² = 4, so at x = −2, y = 1/4, exactly as at x = 2. Every point on the right has a partner at the same height on the left, and neither arm ever goes below the x-axis. That is the difference from y = 1/x, whose left arm is below the axis because 1 divided by a negative number is negative.

xy(−1, 1)(1, 1)

y = 1/x². The points (−1, 1) and (1, 1) are at the same height, and both arms stay above the x-axis.

Even powers and odd powers

Whether the power is even or odd decides the symmetry of the graph. For an even power, a negative x gives the same value as the positive one: (−2)² = 2² = 4. So the graphs of y = x² and y = 1/x² are symmetric in the y-axis: the left half is the mirror image of the right half.

For an odd power, a negative x gives the negative of the value: (−2)³ = −8, while 2³ = 8. So the point (2, 8) on y = x³ has a partner at (−2, −8). Turn the graph half a turn about the origin and it lands on itself. The graphs of y = x, y = x³ and y = 1/x all have this half-turn symmetry.

A negative a flips the graph

The number a multiplies every value of xⁿ. In y = 2x², each point is twice as high as on y = x², so the parabola is stretched upward. In y = −x², each value is multiplied by −1: at x = 2, y = −(2²) = −4, where y = x² has 4.

Every point of y = x² moves to the same distance on the other side of the x-axis, so y = −x² is the reflection of y = x² in the x-axis. It opens downward, with its highest point at the origin.

Be careful with the order of operations here. In −x² the power acts first and the minus sign after it, so at x = 3, −x² = −(3²) = −9. That is not the same as (−3)², which is 9.

xy(2, 4)(2, −4)

The gold curve is y = −x², and the white curve is y = x². The point (2, 4) reflects in the x-axis to (2, −4).

Adding two powers

A graph can be a sum of power terms, such as y = x³ − 2x. Which term matters more depends on the size of x. Compare the two terms at a few values.

x³−2xx³ − 2xx = 0.10.001−0.2−0.199x = 11−2−1x = 327−621x = 101000−20980

Near zero, x³ is tiny and −2x makes almost all of y. Far from zero, x³ is so large that −2x hardly changes it.

Close to the origin, the cube of a small number is very much smaller than the number itself, so y = x³ − 2x behaves like the straight line y = −2x and runs downhill through the origin. Far from the origin, x³ grows much faster than 2x, so the graph behaves like y = x³: it climbs steeply on the right and falls steeply on the left.

Put the two together and the curve rises from the bottom left, turns, runs downhill through the origin, turns again, and climbs away to the top right. It crosses the x-axis where x³ − 2x = x(x² − 2) = 0, which is at x = 0 and at x = √2 and x = −√2, about 1.41 and −1.41. Both terms are odd powers, so the whole graph has half-turn symmetry: at x = 1, y = 1 − 2 = −1, and at x = −1, y = −1 + 2 = 1.

xy

The gold curve is y = x³ − 2x. The white straight line is y = −2x, which it follows near the origin, and the white curve is y = x³, which it follows further out.

The usual mistakes

Giving 1/x² a negative value for a negative x. At x = −3, x² = 9, so y = 1/9, not −1/9. A negative value would need an odd power.

Turning the fraction over. 1/x² is one divided by the square, so at x = 3 it is 1/9, not 9.

Reading −x² as (−x)². At x = 3, −x² is −9, because the square is worked out before the minus sign is applied.

Dropping the x from a term. At x = 2, y = x³ − 2x is 8 − 2 × 2 = 4. Subtracting a bare 2 gives 6, and adding the 2x gives 12.

Worked example: The Average Speed of a Dropped Ball over an Interval

Question A ball is dropped from the top of a tall tower. After x seconds it has fallen y meters, where y = 5x2. (a) Find the average speed of the ball between x = 1 and x = 3. (b) Find its average speed between x = 3 and x = 4, and say what the two answers show about the way the ball falls.

  1. 1.Find the points on the curve at the ends of the first interval. At x = 1, y = 5 × 12 = 5. At x = 3, y = 5 × 32 = 45.

    02040608001234seconds after the drop, xmeters fallen, y(1, 5)(3, 45)x = 1: y = 5 × 12= 5x = 3: y = 5 × 32= 45
    02040608001234seconds after the drop, xmeters fallen, y(1, 5)(3, 45)x = 1: y = 5 × 12= 5x = 3: y = 5 × 32= 45
    Read the curve at both ends of the interval: y = 5 at x = 1, and y = 45 at x = 3.
  2. 2.The average speed is the gradient of the chord from (1, 5) to (3, 45): 45 − 53 − 1 = 402 = 20. (a) The average speed between x = 1 and x = 3 is 20 m/s.

    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 40(1, 5)(3, 45)average speed = gradient of the chord(45 − 5)/(3 − 1) = 40/2 = 20 m/s
    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 40(1, 5)(3, 45)average speed = gradient of the chord(45 − 5)/(3 − 1) = 40/2 = 20 m/s
    (a) The average speed is the gradient of the chord from (1, 5) to (3, 45): 45 − 53 − 1 = 402 = 20 m/s.
  3. 3.At x = 4, y = 5 × 42 = 80. The chord from (3, 45) to (4, 80) has gradient 80 − 454 − 3 = 351 = 35.

    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 40(1, 5)(3, 45)(4, 80)x = 4: y = 5 × 42= 80(80 − 45)/(4 − 3) = 35/1 = 35 m/s
    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 40(1, 5)(3, 45)(4, 80)x = 4: y = 5 × 42= 80(80 − 45)/(4 − 3) = 35/1 = 35 m/s
    At x = 4 the ball has fallen 80 m, so the chord from (3, 45) to (4, 80) has gradient 80 − 454 − 3 = 35.
  4. 4.(b) The average speed between x = 3 and x = 4 is 35 m/s. The second chord is steeper than the first, which shows that the ball falls faster and faster.

    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 4035 m/s20 m/s(1, 5)(4, 80)the second chord is steeper than the first35 m/s is more than 20 m/s: the ball speeds up
    02040608001234seconds after the drop, xmeters fallen, yrun 2rise 4035 m/s20 m/s(1, 5)(4, 80)the second chord is steeper than the first35 m/s is more than 20 m/s: the ball speeds up
    (b) The average speed is 35 m/s. The second chord is steeper than the first, so the ball is falling faster.

Answer: (a) 20 m/s; (b) 35 m/s, so the ball is falling faster and faster

Common mistakes

  • Dividing the distance at the end of the interval by the time at the end, 453 = 15 m/s. That is the average speed from the moment of the drop. For the interval from x = 1 to x = 3, both the distance and the time must be differences.
  • Squaring after multiplying, so that 5 × 32 becomes 152 = 225. The index applies to x only: square 3 first to get 9, and then multiply by 5.

More graphs of equations problems, worked step by step →

Practice The Graphs of y = axⁿ in the app