Quadratic functions and modeling

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Quadratic patterns: constant second differences

Warm-up

Three quick questions from earlier lessons.

Discover

Squares of tiles: 1, 4, 9, 16 tiles. The differences are 3, 5, 7. What comes next in the pattern?

  1. 25
  2. 23

Key idea

Quadratic functions have constant second differences.

A quadratic function has the form f(x)=ax2+bx+cf(x) = ax^2 + bx + c with a≠0a \neq 0. Over equal steps in xx, its first differences change, but its second differences are constant (equal to 2a2a for steps of 1). Linear: constant first differences; exponential: constant ratios.

Worked example

Values 2, 5, 10, 17, 26.

3, 5, 7, 9
First differences.
2, 2, 2: quadratic
Second differences.
a=1a = 1: f(x)=x2+1f(x) = x^2 + 1 for x=1,2,…x = 1, 2, …
2a = 2.

Your turn, guided

Your turn: values 0, 3, 12, 27, 48. The second difference.

66
Differences 3, 9, 15, 21.

Practice ★

  1. A tile pattern has 6, 9, 14 and 21 tiles in steps 1 to 4 (a square of tiles plus 5 extra). How many tiles are in step 10?
  2. A tile pattern has 10, 13, 18 and 25 tiles in steps 1 to 4 (a square of tiles plus 9 extra). How many tiles are in step 10?
  1. For whole numbers xx from 1 to 14, which quantity is a quadratic function of xx?
    1. The area of a square with side xx cm
    2. The perimeter of a square with side xx cm
    3. The number of cells after xx doublings

Watch out!

Practice ★★

  1. For x=0,1,2,3,4x = 0, 1, 2, 3, 4 a function takes the values 5, 8, 13, 20, 29. What is the (constant) second difference?
  2. For x=0,1,2,3,4x = 0, 1, 2, 3, 4 a function takes the values 0, 9, 28, 57, 96. What is the (constant) second difference?

Exit ticket

Three questions to check you have got it.

  1. A tile pattern has 6, 9, 14 and 21 tiles in steps 1 to 4 (a square of tiles plus 5 extra). How many tiles are in step 10?
  2. A tile pattern has 10, 13, 18 and 25 tiles in steps 1 to 4 (a square of tiles plus 9 extra). How many tiles are in step 10?
  3. A tile pattern has 5, 8, 13 and 20 tiles in steps 1 to 4 (a square of tiles plus 4 extra). How many tiles are in step 10?

Summary card

Quadratic patterns

Constant second differences mean quadratic.

Watch out: growing differences are not linear.

2. Standard and factored form of a quadratic

Warm-up

Three quick questions from earlier lessons.

Discover

y=(x−3)(x+5)y = (x - 3)(x + 5). Where does the graph cross the xx-axis?

  1. At x=3x = 3 and x=−5x = -5
  2. At x=−3x = -3 and x=5x = 5

Key idea

Two forms of the same quadratic.

Standard form ax2+bx+cax^2 + bx + c shows the yy-intercept cc. Factored form a(x−p)(x−q)a(x - p)(x - q) shows the xx-intercepts pp and qq. Expand (multiply every term by every term) to go from factored to standard form.

Worked example

(x+4)(x−2)(x + 4)(x - 2).

x2−2x+4x−8x^2 - 2x + 4x - 8
x·x, x·(−2), 4·x, 4·(−2).
x2+2x−8x^2 + 2x - 8
Collect.
xx-intercepts −4-4 and 22
From the factors.

Your turn, guided

Your turn: expand (x+3)(x+5)(x + 3)(x + 5).

x2+8x+15x^2 + 8x + 15
x² + 5x + 3x + 15.

Practice ★

  1. Find the xx-intercepts of y=(x−6)(x+2)y = (x - 6)(x + 2).
  2. Find the xx-intercepts of y=(x−7)(x+1)y = (x - 7)(x + 1).
  1. Write (x+2)(x−3)(x + 2)(x - 3) in standard form ax2+bx+cax^2 + bx + c.

Watch out!

Practice ★★

  1. A quadratic with leading coefficient 1 crosses the xx-axis at x=9x = 9 and x=−4x = -4. Write it in factored form.
  2. A quadratic with leading coefficient 1 crosses the xx-axis at x=7x = 7 and x=−6x = -6. Write it in factored form.

Exit ticket

Three questions to check you have got it.

  1. Find the xx-intercepts of y=(x−6)(x+2)y = (x - 6)(x + 2).
  2. Find the xx-intercepts of y=(x−7)(x+1)y = (x - 7)(x + 1).
  3. Find the xx-intercepts of y=(x−3)(x+5)y = (x - 3)(x + 5).

Summary card

Standard and factored form

Factored form gives the xx-intercepts; standard form gives the yy-intercept.

Watch out: the factor x+5x + 5 gives the intercept −5-5.

3. Graphs of quadratic functions: direction, intercepts, symmetry

Warm-up

Three quick questions from earlier lessons.

Discover

y=−2x2+8x+3y = -2x^2 + 8x + 3. What happens far to the left and right?

  1. yy goes down on both sides
  2. yy goes up on both sides

Key idea

Read a parabola from y=ax2+bx+cy = ax^2 + bx + c.

a>0a > 0: opens up (minimum); a<0a < 0: opens down (maximum); larger ∣a∣|a|, narrower. cc is the yy-intercept. The vertex lies on the axis of symmetry, halfway between the xx-intercepts.

Worked example

y=x2−6x+5=(x−1)(x−5)y = x^2 - 6x + 5 = (x - 1)(x - 5).

Opens up
a = 1 > 0.
yy-intercept 5
x = 0.
Vertex at x=3x = 3, y=−4y = -4
Halfway between 1 and 5.

Your turn, guided

Your turn: a parabola crosses the xx-axis at −2-2 and 66. The xx-coordinate of its vertex.

22
(−2 + 6)/2.

Practice ★

  1. What is the yy-intercept of y=2x2+1x+11y = 2x^2 + 1x + 11?
  2. What is the yy-intercept of y=4x2+5x+7y = 4x^2 + 5x + 7?
  1. Does the graph of y=−6x2+5x+2y = -6x^2 + 5x + 2 open up or down?
    1. Down, so it has a maximum
    2. Up, so it has a minimum
    3. It depends on 2

Watch out!

Practice ★★

  1. A parabola crosses the xx-axis at x=−1x = -1 and x=3x = 3. What is the xx-coordinate of its vertex?
  2. A parabola crosses the xx-axis at x=−9x = -9 and x=5x = 5. What is the xx-coordinate of its vertex?
  1. Boss problem. A ball is kicked from the ground. Its height in feet after tt seconds is h(t)=−16t2+32t=−16t(t−2)h(t) = -16t^2 + 32t = -16t(t - 2).

Exit ticket

Three questions to check you have got it.

  1. What is the yy-intercept of y=2x2+1x+11y = 2x^2 + 1x + 11?
  2. What is the yy-intercept of y=4x2+5x+7y = 4x^2 + 5x + 7?
  3. What is the yy-intercept of y=2x2+6x+15y = 2x^2 + 6x + 15?

Summary card

Graphs of quadratics

Sign of aa: up or down; cc: yy-intercept; vertex midway between the zeros.

Watch out: the yy-intercept is cc, not aa.

4. Vertex form of a quadratic

Warm-up

Three quick questions from earlier lessons.

Discover

y=(x−4)2+1y = (x - 4)^2 + 1. A square is never negative. What is the smallest value of yy, and for which xx?

  1. y=1y = 1 at x=4x = 4
  2. y=1y = 1 at x=−4x = -4

Key idea

Vertex form shows the vertex.

In vertex form y=a(x−h)2+ky = a(x - h)^2 + k the vertex is (h,k)(h, k). Compared with y=ax2y = ax^2, the graph is shifted hh right and kk up. Watch the sign: (x+3)2(x + 3)^2 means h=−3h = -3.

Worked example

y=2(x+3)2−5y = 2(x + 3)^2 - 5.

h=−3h = -3
x + 3 = x − (−3).
k=−5k = -5
Constant.
Vertex (−3,−5)(-3, -5), a minimum
a = 2 > 0.

Your turn, guided

Your turn: the yy-coordinate of the vertex of y=−(x−2)2+9y = -(x - 2)^2 + 9.

99
k = 9.

Practice ★

  1. What is the xx-coordinate of the vertex of y=3(x+1)2+4y = 3(x + 1)^2 + 4?
  2. What is the xx-coordinate of the vertex of y=5(x+9)2+6y = 5(x + 9)^2 + 6?
  1. What is the smallest value of y=(x−9)2−3y = (x - 9)^2 - 3?

Watch out!

Practice ★★

  1. Write a quadratic with vertex (8,1)(8, 1) and leading coefficient 2, in vertex form.
  2. Write a quadratic with vertex (4,1)(4, 1) and leading coefficient 4, in vertex form.

Exit ticket

Three questions to check you have got it.

  1. What is the xx-coordinate of the vertex of y=3(x+1)2+4y = 3(x + 1)^2 + 4?
  2. What is the xx-coordinate of the vertex of y=5(x+9)2+6y = 5(x + 9)^2 + 6?
  3. What is the xx-coordinate of the vertex of y=8(x+5)2+9y = 8(x + 5)^2 + 9?

Summary card

Vertex form

y=a(x−h)2+ky = a(x - h)^2 + k: vertex (h,k)(h, k).

Watch out: (x+h)(x + h) means the vertex is at −h-h.

5. Quadratic functions: vertex and extreme value

Warm-up

Three quick questions from earlier lessons.

Discover

A ball's height is h(t)=−5t2+20th(t) = -5t^2 + 20t meters after tt seconds. Its graph is a parabola that opens downward. When does the ball reach its highest point?

  1. After 2 seconds
  2. After 4 seconds

Key idea

Every quadratic f(x)=ax2+bx+cf(x) = ax^2 + bx + c has a vertex, its highest or lowest point.

The vertex is at x=−b2ax = -\dfrac{b}{2a}. Its height f(−b2a)f\left(-\dfrac{b}{2a}\right) is the smallest value of ff if a>0a > 0, the largest if a<0a < 0.

Completing the square gives the vertex form f(x)=a(x−h)2+kf(x) = a(x - h)^2 + k, with vertex (h,k)(h, k).

Worked example

Find the vertex of f(x)=2x2−12x+5f(x) = 2x^2 - 12x + 5.

x=−−122⋅2=3x = -\dfrac{-12}{2 \cdot 2} = 3
a = 2, b = −12.
f(3)=18−36+5=−13f(3) = 18 - 36 + 5 = -13
Evaluate f at the vertex.
Vertex (3,−13)(3, -13), minimum value −13-13
a = 2 > 0, so this is the lowest point.

Your turn, guided

Your turn: f(x)=x2+6x+11f(x) = x^2 + 6x + 11.

x=−62=−3x = -\dfrac{6}{2} = -3
a = 1, b = 6.
Minimum value: f(−3)=2f(-3) = 2
f(−3) = 9 − 18 + 11.

Practice ★

  1. f(x)=5x2−10x+20f(x) = 5x^2 - 10x + 20. What is the xx-coordinate of the vertex?
  2. f(x)=5x2−40x+10f(x) = 5x^2 - 40x + 10. What is the xx-coordinate of the vertex?
  3. f(x)=2x2−20x+19f(x) = 2x^2 - 20x + 19. What is the xx-coordinate of the vertex?
  4. f(x)=5x2−30x+5f(x) = 5x^2 - 30x + 5. What is the xx-coordinate of the vertex?

Watch out!

Practice ★★

  1. f(x)=x2+10x+21f(x) = x^2 + 10x + 21. What is the smallest value of f(x)f(x)?
  2. f(x)=x2+4x+22f(x) = x^2 + 4x + 22. What is the smallest value of f(x)f(x)?
  3. f(x)=x2+10x+19f(x) = x^2 + 10x + 19. What is the smallest value of f(x)f(x)?
  1. Draw the graph of y=−(x−h)2+6y = -(x - h)^2 + 6 for h=0h = 0: place the vertex and one more point.
  2. Draw the graph of y=−(x−h)2+2y = -(x - h)^2 + 2 for h=2h = 2: place the vertex and one more point.

Exit ticket

Three questions to check you have got it.

  1. f(x)=x2+10x+21f(x) = x^2 + 10x + 21. What is the smallest value of f(x)f(x)?
  2. f(x)=x2+4x+22f(x) = x^2 + 4x + 22. What is the smallest value of f(x)f(x)?
  3. f(x)=x2+10x+19f(x) = x^2 + 10x + 19. What is the smallest value of f(x)f(x)?

Summary card

Quadratic functions

  1. Vertex at x=−b2ax = -\dfrac{b}{2a}.
  2. Its height f(−b2a)f\left(-\dfrac{b}{2a}\right) is the minimum (a>0a > 0) or maximum (a<0a < 0).
  3. Vertex form: a(x−h)2+ka(x - h)^2 + k, vertex (h,k)(h, k).

Watch out: the constant term cc is f(0)f(0), not the extreme value.

6. Piecewise-defined functions and absolute value

Warm-up

Three quick questions from earlier lessons.

Discover

A parking lot charges 5 dollars for up to 2 hours, and 9 dollars for a longer stay. What does a stay of exactly 2 hours cost?

  1. 5 dollars
  2. 9 dollars

Key idea

A piecewise function uses a different formula on different parts of its domain.

To find f(a)f(a): first find which condition aa satisfies, then use that piece's formula. Check the boundary carefully (<< or ≤\le).

The absolute value is piecewise: ∣x∣=x|x| = x if x≥0x \ge 0, and ∣x∣=−x|x| = -x if x<0x < 0.

Worked example

f(x)={x2if x<12x+3if x≥1f(x) = \begin{cases} x^2 & \text{if } x < 1 \\ 2x + 3 & \text{if } x \ge 1 \end{cases}. Find f(1)f(1).

Use the second piece, 2x+32x + 3
Check the conditions first: 1 is not less than 1, but 1 ≥ 1.
f(1)=2⋅1+3=5f(1) = 2 \cdot 1 + 3 = 5
Replace x by 1.

Your turn, guided

Your turn, with the same ff: find f(−2)f(-2).

Use the first piece, x2x^2
−2 < 1.
f(−2)=4f(-2) = 4
(−2)² = 4.

Practice ★

  1. f(x)={x+4if x<84xif x≥8f(x) = \begin{cases} x + 4 & \text{if } x < 8 \\ 4x & \text{if } x \ge 8 \end{cases}. Find f(0)f(0).
  2. f(x)={x+8if x<74xif x≥7f(x) = \begin{cases} x + 8 & \text{if } x < 7 \\ 4x & \text{if } x \ge 7 \end{cases}. Find f(2)f(2).
  3. f(x)={x+7if x<33xif x≥3f(x) = \begin{cases} x + 7 & \text{if } x < 3 \\ 3x & \text{if } x \ge 3 \end{cases}. Find f(1)f(1).
  4. f(x)={x+6if x<64xif x≥6f(x) = \begin{cases} x + 6 & \text{if } x < 6 \\ 4x & \text{if } x \ge 6 \end{cases}. Find f(1)f(1).

Watch out!

Practice ★★

  1. f(x)={x+3if x<53xif x≥5f(x) = \begin{cases} x + 3 & \text{if } x < 5 \\ 3x & \text{if } x \ge 5 \end{cases}. Find f(5)f(5).
  2. f(x)={x+4if x<32xif x≥3f(x) = \begin{cases} x + 4 & \text{if } x < 3 \\ 2x & \text{if } x \ge 3 \end{cases}. Find f(3)f(3).
  3. f(x)={x+1if x<15xif x≥1f(x) = \begin{cases} x + 1 & \text{if } x < 1 \\ 5x & \text{if } x \ge 1 \end{cases}. Find f(1)f(1).
  4. f(x)={x+2if x<52xif x≥5f(x) = \begin{cases} x + 2 & \text{if } x < 5 \\ 2x & \text{if } x \ge 5 \end{cases}. Find f(5)f(5).
  1. For x<7x < 7, which expression is equal to ∣x−7∣|x - 7|?
    1. 7−x7 - x
    2. x−7x - 7
    3. −x−7-x - 7
  2. For x<5x < 5, which expression is equal to ∣x−5∣|x - 5|?
    1. 5−x5 - x
    2. x−5x - 5
    3. −x−5-x - 5

Exit ticket

Three questions to check you have got it.

  1. f(x)={x+3if x<53xif x≥5f(x) = \begin{cases} x + 3 & \text{if } x < 5 \\ 3x & \text{if } x \ge 5 \end{cases}. Find f(5)f(5).
  2. f(x)={x+4if x<32xif x≥3f(x) = \begin{cases} x + 4 & \text{if } x < 3 \\ 2x & \text{if } x \ge 3 \end{cases}. Find f(3)f(3).
  3. f(x)={x+1if x<15xif x≥1f(x) = \begin{cases} x + 1 & \text{if } x < 1 \\ 5x & \text{if } x \ge 1 \end{cases}. Find f(1)f(1).

Summary card

Piecewise functions

  1. Find the piece whose condition the input satisfies.
  2. Use that piece's formula.
  3. ∣x∣=x|x| = x for x≥0x \ge 0, and −x-x for x<0x < 0.

Watch out: at a boundary, read << and ≥\ge carefully.

7. Transformations: shifts and reflections

Warm-up

Three quick questions from earlier lessons.

Discover

Move the sliders and watch the graph of y=(x−h)2+ky = (x - h)^2 + k.

The graph of y = (x − h)² + k, a parabola whose vertex is at (h, k) and moves with the sliders.

When hh goes from 0 to 2, which way does the graph move?

  1. To the right
  2. To the left

Key idea

Changing the rule moves or flips the graph without changing its shape.

y=f(x−h)+ky = f(x - h) + k moves the graph of ff by hh units to the right and kk units up. y=−f(x)y = -f(x) reflects it across the xx-axis; y=f(−x)y = f(-x) reflects it across the yy-axis.

A change inside f(… )f(\dots) acts on xx (horizontally); a change outside acts on yy (vertically).

Worked example

Describe y=(x+1)2−3y = (x + 1)^2 - 3 compared with y=x2y = x^2.

1 unit to the left
x + 1 = x − (−1): h = −1.
3 units down
− 3 outside: k = −3.
Vertex: (−1,−3)(-1, -3)
The vertex (0, 0) moves with the graph.

Your turn, guided

Your turn: y=(x−4)2+2y = (x - 4)^2 + 2.

4 units to the right
x − 4: h = 4.
2 units up
+ 2 outside.
The vertex is at x=4x = 4
The vertex moves from x = 0 to x = …

Practice ★

  1. The graph of y=x2y = x^2 is moved 1 units to the right and 6 units down. Write the equation of the new graph.
  2. The graph of y=x2y = x^2 is moved 3 units to the right and 1 units down. Write the equation of the new graph.
  3. The graph of y=x2y = x^2 is moved 4 units to the right and 6 units down. Write the equation of the new graph.
  4. The graph of y=x2y = x^2 is moved 7 units to the right and 1 units down. Write the equation of the new graph.

Watch out!

Practice ★★

  1. Draw the graph of y=(x−1)2−3y = (x - 1)^2 - 3: place the vertex and one more point.
  2. Draw the graph of y=(x−1)2−1y = (x - 1)^2 - 1: place the vertex and one more point.
  1. Match each equation with what it does to the graph of y=f(x)y = f(x).
    1. y=f(x)+3y = f(x) + 3
    2. y=f(x−3)y = f(x - 3)
    3. y=−f(x)y = -f(x)
    4. y=f(−x)y = f(-x)
    1. moves it up 3 units
    2. moves it 3 units to the right
    3. reflects it across the x-axis
    4. reflects it across the y-axis

Exit ticket

Three questions to check you have got it.

  1. The graph of y=x2y = x^2 is moved 1 units to the right and 6 units down. Write the equation of the new graph.
  2. The graph of y=x2y = x^2 is moved 3 units to the right and 1 units down. Write the equation of the new graph.
  3. The graph of y=x2y = x^2 is moved 4 units to the right and 6 units down. Write the equation of the new graph.

Summary card

Shifts and reflections

  • f(x−h)f(x - h): hh units right. f(x)+kf(x) + k: kk units up.
  • −f(x)-f(x): flip across the xx-axis. f(−x)f(-x): flip across the yy-axis.
  • Inside f(… )f(\dots) acts on xx; outside acts on yy.

Watch out: f(x+3)f(x + 3) moves the graph left.

8. Inverse functions

Warm-up

Three quick questions from earlier lessons.

Discover

f(x)=x+7f(x) = x + 7 adds 7. Which function undoes it, and gives back the number you started with?

  1. x−7x - 7
  2. 1x+7\dfrac{1}{x + 7}
  3. x+7x + 7

Key idea

The inverse function f−1f^{-1} undoes ff: it swaps inputs and outputs.

If f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a. To find f−1(x)f^{-1}(x): write y=f(x)y = f(x), solve for xx, then rename. The graph of f−1f^{-1} is the reflection of the graph of ff across the line y=xy = x.

f−1(x)f^{-1}(x) is not 1f(x)\dfrac{1}{f(x)}: the −1-1 is not an exponent here.

Worked example

f(x)=3x−5f(x) = 3x - 5. Find f−1(x)f^{-1}(x).

y=3x−5y = 3x - 5
Name the output y.
y+5=3xy + 5 = 3x
f subtracts 5 last, so undo that first: add 5.
x=y+53x = \dfrac{y + 5}{3}
Then undo × 3: divide by 3.
f−1(x)=x+53f^{-1}(x) = \dfrac{x + 5}{3}
Rename the input x.

Your turn, guided

Your turn: f(x)=2x+6f(x) = 2x + 6.

y=2x+6y = 2x + 6
Name the output y.
y−6=2xy - 6 = 2x
Undo + 6 first.
f−1(x)=x−62f^{-1}(x) = \dfrac{x - 6}{2}
Divide by 2, then rename.

Practice ★

  1. f(x)=7x+9f(x) = 7x + 9. Find f−1(x)f^{-1}(x).
  2. f(x)=2x+2f(x) = 2x + 2. Find f−1(x)f^{-1}(x).
  3. f(x)=7x+5f(x) = 7x + 5. Find f−1(x)f^{-1}(x).
  4. f(x)=2x+9f(x) = 2x + 9. Find f−1(x)f^{-1}(x).

Watch out!

Practice ★★

  1. f(x)=2x+6f(x) = 2x + 6. Find f−1(10)f^{-1}(10).
  2. f(x)=2x+9f(x) = 2x + 9. Find f−1(11)f^{-1}(11).
  3. f(x)=3x+1f(x) = 3x + 1. Find f−1(10)f^{-1}(10).
  1. The point (2,7)(2, 7) is on the graph of ff. Tap the point that must be on the graph of f−1f^{-1}.
  2. The point (5,7)(5, 7) is on the graph of ff. Tap the point that must be on the graph of f−1f^{-1}.

Exit ticket

Three questions to check you have got it.

  1. f(x)=7x+9f(x) = 7x + 9. Find f−1(x)f^{-1}(x).
  2. f(x)=2x+2f(x) = 2x + 2. Find f−1(x)f^{-1}(x).
  3. f(x)=7x+5f(x) = 7x + 5. Find f−1(x)f^{-1}(x).

Summary card

Inverse functions

  1. Write y=f(x)y = f(x).
  2. Solve for xx, undoing the last operation first.
  3. Rename: f−1(x)f^{-1}(x). Check that f(f−1(x))=xf(f^{-1}(x)) = x.

Watch out: f−1(x)f^{-1}(x) is not 1f(x)\dfrac{1}{f(x)}.