Sub topic 2
What the sign and size of a tell you
This chapter covers the coefficient a in a quadratic function. You will learn to read two facts from it, the opening direction and the width, before you plot a point. The chapter assumes you can substitute values into an expression, plot points on a coordinate plane, and square numbers, including negatives and fractions.
Where a lives
A quadratic function is a function that can be written with x squared as its highest power. Its graph is a curve called a parabola. In the form used in this tutorial, vertex form, the function looks like this:
y = a(x - h)^2 + kThe next chapter covers h and k in detail. For now, you only need to know that h and k slide the whole curve around the plane. They do not change its shape. The shape comes from a alone. The simplest function that shows this is y = a x^2, where h = 0 and k = 0.
In standard form, y = ax^2 + bx + c, the same a is the number multiplying x^2. The two forms describe the same shape, so a means the same thing in both.
The value a must not be 0. If a = 0, the squared term disappears and you have a straight line (or a constant), not a parabola.
The sign of a sets the opening direction
The sign of a tells you which way the parabola opens.
- If
a > 0, the parabola opens upward. It looks like a cup that holds water. - If
a < 0, the parabola opens downward. It looks like an upside-down cup.
The reason is the squared factor. In y = a x^2, the value x^2 is never negative. So the sign of y is the sign of a for every x except 0. When a is positive, every point lies on or above the x-axis. When a is negative, every point lies on or below it.
This leads to a fact you will use again when you study maximum and minimum values:
- A parabola that opens upward has a lowest point, a minimum.
- A parabola that opens downward has a highest point, a maximum.
In both cases, that extreme point is the vertex. The vertex is the single point where the curve turns around. You will locate it from h and k in the next chapters. The sign of a already tells you whether it is a bottom or a top.
The size of a sets the width
The absolute value |a| tells you how fast the curve climbs (or falls) as you move away from the vertex. The reference shape is y = x^2, where a = 1. You compare every other parabola to it.
- If
|a| > 1, the parabola is narrower thany = x^2. It is a vertical stretch. - If
|a| = 1, the parabola has the same width asy = x^2. - If
0 < |a| < 1, the parabola is wider thany = x^2. It is a vertical compression.
The word "narrower" can mislead you. The curve is not squeezed sideways. Every y-value moves farther from the vertex's height, so the curve rises or falls faster and looks tighter.
The table below shows the actual y-values of y = a x^2 for several values of a.
| a | x = 1 | x = 2 | x = 3 | Direction | Width compared with y = x^2 |
|---|---|---|---|---|---|
| 1 | 1 | 4 | 9 | up | same |
| 3 | 3 | 12 | 27 | up | narrower |
| 0.5 | 0.5 | 2 | 4.5 | up | wider |
| -1 | -1 | -4 | -9 | down | same |
| -2 | -2 | -8 | -18 | down | narrower |
Look at the a = 3 row. At x = 3, the curve is at height 27, while y = x^2 is at 9. That is three times as high. The a = 0.5 row is half as high as y = x^2 at every x.
Size and sign are independent. Judge the width from |a| only. The values a = 3 and a = -3 give the same width, and they open in opposite directions. A parabola with a = -3 is also narrower than one with a = -0.2, even though -3 < -0.2.
A quick sketching rule: the step pattern
The value of a also gives you exact points, not just a rough shape. Start at the vertex and move sideways by 1, 2, and 3 units. The curve moves vertically by a, 4a, and 9a. These are a times 1^2, 2^2, and 3^2.
This works for any vertex, because h and k only shift the pattern. For example, take y = -0.5(x - 2)^2 + 3.
- The vertex is
(2, 3). - One unit right, the curve moves by
a = -0.5, so the point is(3, 2.5). - Two units right, it moves by
4a = -2, so the point is(4, 1). - Three units right, it moves by
9a = -4.5, so the point is(5, -1.5).
The curve is symmetric about the vertical line through the vertex, so the left side mirrors the right: (1, 2.5) and (0, 1). The axis of symmetry gets its own chapter. Here it is only a way to get free points.
Checking the rules with code
This function reports the direction and width from a. It raises an error for a = 0, which is not a parabola.
def describe_a(a):
"""Describe the opening direction and width of y = a(x - h)^2 + k."""
if a == 0:
raise ValueError("a must not be 0: that is a line, not a parabola")
direction = "up" if a > 0 else "down"
size = abs(a)
if size > 1:
width = "narrower than y = x^2"
elif size < 1:
width = "wider than y = x^2"
else:
width = "same width as y = x^2"
return direction, width
for a in [3, 0.5, -1, -0.25, -2]:
print(a, describe_a(a))
# 3 ('up', 'narrower than y = x^2')
# 0.5 ('up', 'wider than y = x^2')
# -1 ('down', 'same width as y = x^2')
# -0.25 ('down', 'wider than y = x^2')
# -2 ('down', 'narrower than y = x^2')Notice that the function reads a and nothing else. The values of h and k never enter the logic, which matches the rule that they only move the curve.
Common errors
- Reading the sign off the wrong number. In
y = (x + 4)^2 - 5, the+ 4and the- 5do not affect direction. Herea = 1(the coefficient is understood), so it opens upward. - Missing a hidden coefficient of -1. The function
y = -(x - 1)^2 + 6hasa = -1. It opens downward, and its width matchesy = x^2. The same applies toy = 6 - (x - 1)^2. - Thinking a negative
ais always narrow. Narrow or wide depends on|a|. The valuea = -0.1gives a very wide, downward-opening parabola. - Comparing with the wrong reference. "Wider" and "narrower" always mean compared with
y = x^2, or with another parabola of the same orientation. Comparing an upward and a downward parabola by width is fine, but compare absolute values. - Forgetting that factoring changes
a. If the equation isy = 2(x - 3)^2 + 1and you expand it, thex^2coefficient is still 2. If you start fromy = 4x^2 - 8x + 3, thena = 4, even thoughxalso appears in other terms. - Treating the x-shift as a width change. A parabola moved far from the origin is not wider. Only
|a|changes the width.
Putting it together
When you meet a new quadratic, take one look at a first. Within seconds you can say whether the vertex is a minimum or a maximum, and whether the curve is steep or flat. That prediction gives you a check on your finished graph. If you computed a = -2 and your sketch opens upward, you have made an error somewhere. The following chapters add the vertex, the axis of symmetry, and the intercepts to this picture.
Exercise
For each function, state the direction the parabola opens and whether it is narrower than, wider than, or the same width as y = x^2. (a) y = -4(x - 1)^2 + 2 (b) y = (1/3)(x + 5)^2 - 7 (c) y = 5 - (x + 2)^2
Show answer
(a) a = -4, so it opens downward, and |a| = 4 > 1, so it is narrower. (b) a = 1/3, so it opens upward, and 0 < |a| < 1, so it is wider. (c) Rewriting as y = -(x + 2)^2 + 5 gives a = -1, so it opens downward and has the same width as y = x^2.
Exercise
A parabola has vertex (2, 3) and a = -0.5. Use the step pattern to find the points one, two, and three units to the right of the vertex. Does the vertex give a maximum or a minimum?
Show answer
The vertical changes are a, 4a, and 9a, which are -0.5, -2, and -4.5. The points are (3, 2.5), (4, 1), and (5, -1.5). Since a < 0, the parabola opens downward, so the vertex (2, 3) is a maximum.
Exercise
Put these values of a in order from the narrowest parabola to the widest: 0.2, -3, 1, -0.5, 2.
Show answer
Compare absolute values: 0.2, 3, 1, 0.5, 2. From largest to smallest: -3 (3), 2 (2), 1 (1), -0.5 (0.5), 0.2 (0.2). So the order from narrowest to widest is -3, 2, 1, -0.5, 0.2.