Quarry School

Quadratic functions: crash course

about 27 min to listen6 lessons14 questions to tryUnit 11 of 17

Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.

1 The parabola and its parts

about 4 minOpen the full lessonOnly this lesson

The rule

A quadratic function is f(x) = ax2 + bx + c, where a, b and c are numbers and a ≠ 0.

Its graph is a parabola.source 1
Vertex: the one turning point. If a > 0 the parabola opens up and the vertex is its lowest point; the y-coordinate of the vertex is the minimum value. If a < 0 it opens down and the vertex is its highest point; the y-coordinate of the vertex is the maximum value.
Axis of symmetry: the vertical line through the vertex. If the vertex is (h, k), the line is x = h.source 1
y-intercept: the one point of the graph with x=0. x-intercepts: the points of the graph with y=0. There are two, one or none.

Sources (1)
  1. Jay Abramson. Precalculus 2e, 3.2 Quadratic Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

How

  1. Use the worked example’s graph of f(x) = −x2 + 2x + 3. By the opening rule, a = −1 makes it open down; the arms fall on both sides.
  2. Use the vertex definition: find the turning point in the picture, (1, 4). Because the graph opens down, its highest output is 4, reached at x = 1.
  3. Use the symmetry rule x = h. The vertex has h = 1, so write x = 1 for the vertical line through it.
  4. Use the y-intercept definition: x = 0. The picture marks (0, 3), so that is the point where the graph meets the y-axis.
  5. Use the x-intercept definition: y = 0. The picture marks (−1, 0) and (3, 0), so both belong in the answer.
  6. Check by substitution into the given formula: f(1) = −1 + 2 + 3 = 4, f(0) = 3, f(−1) = −1 − 2 + 3 = 0, and f(3) = −9 + 6 + 3 = 0. The two x-intercepts also average to (−1 + 3) ÷ 2 = 1, as symmetry requires.

Worked example

Worked example

Reading every part of a parabola from its graph

The picture shows the graph of f(x) = −x2 + 2x + 3, with five of its points labeled. Read off the direction it opens, the vertex, the axis of symmetry, the maximum value or minimum value, the y-intercept and the x-intercepts.

What it asks. Name the opening, turning point, fold line, maximum or minimum value and intercepts.

(1, 4)(−1, 0)(3, 0)(0, 3)(2, 3)−224−6−4−224
Notice that the highest point is (1, 4) and that the labeled points to its left and right come in pairs at…
Show the steps and the answer

The plan. Read the vertex first, then the opening and the axes. Use equal-height points to check symmetry.

  1. Plan. Read the vertex first, then the opening and the axes. Use equal-height points to check symmetry.
  1. Look at the arms. Moving away from the middle in either direction, the curve falls. The parabola opens down.The number multiplying x2 in the rule is −1, which is negative, and a negative number there turns the cup into a hill.
  2. Find the turning point. The curve rises to the point 1 across and 4 up, then falls. The vertex is (1, 4).On a parabola that opens down, the turn happens at the highest point.
  3. Write the axis of symmetry: x=1.The fold line is the vertical line through the vertex, and every point on that line has x-coordinate 1.
  4. Read the y-coordinate of the vertex: 4. The maximum value is 4. There is no minimum value.No point of the curve is higher than the vertex, so 4 is the largest output. The arms fall forever, so there is no smallest output.
  5. Go to the y-axis. The curve crosses it at height 3. The y-intercept is (0, 3).Every point on the y-axis has x = 0, so the 0 goes in the first slot.
  6. Go along the x-axis. The curve crosses it at −1 and at 3. The x-intercepts are (−1,0) and (3, 0).Every point on the x-axis has y = 0, so the 0 goes in the second slot.
Answer
  • Opens down
  • Vertex: (1, 4)
  • Axis of symmetry: x = 1
  • Maximum value: 4, reached at x = 1
  • y-intercept: (0, 3)
  • x-intercepts: (−1, 0) and (3, 0)
Double-check Second way, with the rule instead of the picture. f(1) = −(1)2 + 2(1) + 3 = −1 + 2 + 3 = 4. f(0) = 0 + 0 + 3 = 3. f(−1) = −(−1)2 + 2(−1) + 3 = −1 − 2 + 3 = 0. f(3) = −(3)2 + 2(3) + 3 = −9 + 6 + 3 = 0. Every point read from the picture satisfies the rule. Mirror check: halfway between the x-intercepts is (−1 + 3) ÷ 2 = 1, and halfway between (0, 3) and (2, 3) is (0 + 2) ÷ 2 = 1. Both land on the axis x = 1.

The trap

Wrong: a maximum is the point (h, k). Right: the vertex is (h, k); the maximum is the height k.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Opens down, and the vertex sits on the x-axis

The picture shows the graph of f(x) = −x2 + 4x − 4. Name the direction it opens, the vertex, the axis of symmetry, the maximum value, the y-intercept and the x-intercepts.

What it asks. Read the named parts of the graph.

(2, 0)(0, −4)(4, −4)24−10−8−6−4−22
Notice that the curve rises to touch the horizontal axis at one point and turns back without crossing it.
Show the steps and the answer

The plan. Read the vertex and opening, then the symmetry line, highest or lowest height and intercepts.

  1. Plan. Read the vertex and opening, then the symmetry line, highest or lowest height and intercepts.
  1. Both arms fall: the parabola opens down.Only a minus sign is written in front of x2, so a = −1, which is negative.
  2. The highest point is (2, 0). That is the vertex.A parabola that opens down turns at its highest point.
  3. Axis of symmetry: x=2. Maximum value: 0.The axis takes the x-coordinate of the vertex, and the maximum value takes the y-coordinate.
  4. The curve crosses the y-axis 4 below the x-axis. The y-intercept is (0,−4).It is the point of the curve with x = 0.
  5. The curve meets the x-axis at one point only, the vertex. There is one x-intercept: (2, 0).The vertex is the highest point and its height is 0, so every other point of the curve is below the x-axis.
Answer
  • Opens down
  • Vertex: (2, 0)
  • Axis of symmetry: x = 2
  • Maximum value: 0
  • y-intercept: (0, −4)
  • x-intercept: (2, 0), the only one
Double-check With the rule: f(2) = −(2)2 + 4(2) − 4 = −4 + 8 − 4 = 0 and f(0) = −4. One step to each side of the vertex, f(1) = −1 + 4 − 4 = −1 and f(3) = −9 + 12 − 4 = −1, both below the x-axis, so the curve touches the axis once. The twins (0, −4) and (4, −4) check the axis: f(4) = −16 + 16 − 4 = −4, and (0 + 4) ÷ 2 = 2.

2 The vertex form f(x) = a(x − h)2 + k

about 5 minOpen the full lessonOnly this lesson

The rule

Vertex form: f(x)=a(x−h)2+k, where a≠0.

The vertex is (h, k) and the axis of symmetry is x=h.source 1 If a > 0 the parabola opens up and the vertex is its lowest point. If a < 0 it opens down and the vertex is its highest point. If a is larger than 1 or smaller than −1 the parabola is narrower than y=x2. If a is between −1 and 1 it is wider.

Sources (1)
  1. Jay Abramson. Precalculus 2e, 3.2 Quadratic Functions. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

How

  1. Match f(x) = −2(x + 3)2 + 5 to the vertex form rule a(x − h)2 + k. Read a = −2 and k = 5 from their positions; keep their signs.
  2. Find h by making the squared bracket zero: x + 3 = 0 gives h = −3. The vertex occurs there because the square contributes zero to the output.
  3. Apply the vertex and symmetry rules: (h, k) gives (−3, 5), and x = h gives x = −3. These locate the turning point and its vertical symmetry line.
  4. Apply the opening and width rules. Since a = −2 is negative, the graph opens down. Since −2 is less than −1, it is narrower than y = x2.
  5. Use vertex form to find nearby points. At x = −2 and x = −4, the bracket is 1 or −1, so its square is 1. Both outputs are −2(1) + 5 = 3, giving (−2, 3) and (−4, 3).
  6. Check by substitution: f(−3) = −2(0)2 + 5 = 5 and f(−4) = −2(−1)2 + 5 = 3. The points on either side have equal heights below the vertex, as the symmetry and downward opening require.

Worked example

Worked example

Read everything from f(x) = −2(x + 3)2 + 5

For f(x) = −2(x + 3)2 + 5, find the vertex, the axis of symmetry, which way the parabola opens, and whether it is narrower or wider than the plain parabola. Then name two more points on it.

What it asks. Read the vertex, symmetry, opening and width; find two more points.

Show the steps and the answer

The plan. Make the bracket zero, read the outside shift, then use a to place a point on each side.

(−3, 5)(−2, 3)(−4, 3)−6−4−22−448
Notice that the vertex (−3, 5) is the top of the solid curve.
  1. Plan. Make the bracket zero, read the outside shift, then use a to place a point on each side.
  1. Say what the question asks: the function is already in vertex form. Find its turning point, its fold line, its direction and its width, then two more points for a sketch.Naming the task tells you which letters you need: h and k for the vertex and the axis of symmetry, a for the direction and the width.
  2. Write the pattern above the function. Pattern: a(x−h)2+k. Function: −2(x+3)2+5.Lining the two up shows which number plays which part.
  3. Read a=−2.a is the number multiplying the squared bracket.
  4. Find the x that makes the bracket 0: x+3=0 gives x=−3. So h=−3.This finds the one input where the squared piece is 0, which is where the vertex sits. Plug it back: (−3 + 3)2 = 02 = 0. Another way to see it: x + 3 is the same as x − (−3), so matching (x − h) gives h = −3.
  5. Read k=5.k is the number added outside the bracket, with the sign you see.
  6. Write the vertex: (h,k)=(−3,5).In vertex form the vertex is always the point (h, k).
  7. Write the axis of symmetry: x=−3.The axis of symmetry is the vertical line through the vertex, and every point on that line has x = h.
  8. Decide the opening: a=−2 is negative, so the parabola opens down and the vertex is its highest point.A negative a makes a(x − h)2 take away from k everywhere except at x = h.
  9. Decide the width: −2 is smaller than −1, so the parabola is narrower than y=x2.Its size is 2, so the curve falls 2 for every 1 that y = x2 rises.
  10. Find a point one step right of the vertex. The input is −2. f(−2)=−2(−2+3)2+5=−2(1)2+5=−2+5=3. The point is (−2,3).Bracket first, then the square, then multiply by −2, then add 5.
  11. Mirror that point across the axis of symmetry x=−3. One step left of −3 is −4, at the same height. The point is (−4,3).A parabola is the same on both sides of its axis of symmetry.
Answer
  • Vertex: (−3, 5)
  • Axis of symmetry: x = −3
  • Opens down, so the vertex is the highest point
  • Narrower than y = x2
  • Two more points: (−2, 3) and (−4, 3)
Double-check Plug in directly, without using the pattern. f(−3) = −2(−3 + 3)2 + 5 = −2(0)2 + 5 = 5, which matches k. f(−4) = −2(−4 + 3)2 + 5 = −2(−1)2 + 5 = −2(1) + 5 = 3, which matches the mirror point without using symmetry. Both neighbors give 3, which is less than 5, so the curve falls away on both sides of (−3, 5): it opens down. As shifts: y = x2 has its vertex at (0, 0), and moving 3 left and 5 up lands on (−3, 5).

The trap

Wrong: read the sign inside the bracket as h. Right: choose the x that makes the bracket zero.

Quick check

Try it before you open its steps. It is question 6 of 11 in the full lesson, where they run from easy to exam-hard.

Try it · level 6 of 11

The pieces written in a different order

Find the vertex of f(x) = 5 − 2(x − 7)2 and say which way the parabola opens.

What it asks. Read the requested features from vertex form.

Show the steps and the answer

The plan. Make the squared bracket zero for h. Read k and a, then use their values for the vertex, opening and width.

(7, 5)(6, 3)(8, 3)46810−4−2246
Notice that the 5 written first in the formula is the height of the vertex.
  1. Plan. Make the squared bracket zero for h. Read k and a, then use their values for the vertex, opening and width.
  1. Say what is asked: where is the turning point, and is it the top or the bottom?The formula is out of order, so the first job is to find which number is a and which is k.
  2. Rewrite with the squared piece first: f(x)=−2(x−7)2+5.Adding in a different order does not change a sum, and the minus sign travels with the 2 it stands in front of.
  3. Read a=−2,h=7 and k=5.−2 multiplies the bracket, the bracket (x − 7) is 0 when x = 7, and 5 stands alone outside.
  4. Write the vertex (7, 5). Since a is negative, the parabola opens down.The vertex is (h, k), and a negative a opens down.
Answer
  • Vertex: (7, 5)
  • Opens down
  • Narrower than y = x2
Double-check Use the original order. f(7) = 5 − 2(0)2 = 5. One step each side: f(8) = 5 − 2(1)2 = 3 and f(6) = 5 − 2(−1)2 = 3. Both are below 5, so (7, 5) is the highest point.

3 From general form to vertex form

about 4 minOpen the full lessonOnly this lesson

The rule

General form: f(x)=ax2+bx+c, with a≠0.

Completing the square turns it into f(x)=a(x+b2a)2+c−b24a. So the vertex (h, k) has h=−b2a and k=f(h). The number a is the same in both forms.

How

  1. Use the completing-the-square rule on f(x) = 2x2 − 12x + 13. Factor 2 from the two x terms to get 2(x2 − 6x) + 13. Completing the square needs a bare x2 inside the parentheses; the 13 stays outside.
  2. Find the missing term: half of −6 is −3, and (−3)2 = 9. Since (x − 3)2 = x2 − 6x + 9, adding 9 completes the square.
  3. Preserve the value by adding and subtracting the same number: 2(x2 − 6x + 9 − 9) + 13. The added 9 and subtracted 9 cancel.
  4. Rewrite the square and distribute the outside 2: 2(x − 3)2 − 18 + 13. The subtracted 9 becomes −18 because it was inside the factor of 2.
  5. Combine −18 + 13 = −5 to get 2(x − 3)2 − 5. By the vertex form rule, h = 3 and k = −5, so the vertex is (3, −5).
  6. Check by expanding: 2(x − 3)2 − 5 = 2(x2 − 6x + 9) − 5 = 2x2 − 12x + 13. The original formula is recovered. The shortcut also gives h = −(−12)2×2 = 3 and k = f(3) = −5.

Worked example

Worked example

Completing the square with a number in front

Rewrite f(x) = 2x2 − 12x + 13 in vertex form and name the vertex.

What it asks. Rewrite the same function so its vertex is visible.

Show the steps and the answer

The plan. Factor out the leading coefficient, complete the square inside, then combine constants and read the vertex.

x²−3xx−3x9−3x−3
The same picture again: An area model with sides x + −3 and x + −3.
  1. Plan. Factor out the leading coefficient, complete the square inside, then combine constants and read the vertex.
  1. Read a=2,b=−12,c=13.The signs belong to the numbers. The x term is −12x, so b is −12.
  2. Factor 2 out of the first two terms only: f(x)=2(x2−6x)+13.Completing the square needs a bare x2 inside the parentheses. 2x2 ÷ 2 = x2 and −12x ÷ 2 = −6x. The 13 stays outside.
  3. Take half of −6, which is −3, and square it: (−3)2=9.(x − 3)2 expands to x2 − 6x + 9, so 9 is the piece that x2 − 6x is missing.
  4. Add and subtract 9 inside the parentheses: f(x)=2(x2−6x+9−9)+13.Adding 9 and subtracting 9 together add 0, so the function is unchanged.
  5. Fold the first three terms into a square and move the −9 out, multiplied by 2: f(x)=2(x−3)2−18+13.x2 − 6x + 9 = (x − 3)2. The −9 sat inside parentheses that are multiplied by 2, so it leaves as 2 × (−9) = −18.
  6. Combine the plain numbers: −18+13=−5. So f(x)=2(x−3)2−5.Start at −18 on the number line and move up 13. You land on −5.
  7. Read the vertex: h=3 and k=−5.The pattern is a(x − h)2 + k. Here x − 3 shows h = 3, and the number added at the end is k = −5.
Answer
  • f(x)=2(x−3)2−5
  • Vertex: (3, −5)
Double-check Second way, the formula: h = −b2a = −−122·2 = 124 = 3. Then k = f(3) = 2(3)2 − 12(3) + 13 = 18 − 36 + 13 = −5. Same vertex. One more look: at x = 0 the general form gives 13, and the vertex form gives 2(−3)2 − 5 = 18 − 5 = 13.

The trap

Wrong: move the subtracted square outside unchanged. Right: multiply it by a as it leaves the bracket.

Quick check

Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 7

A number in front of x2

Rewrite f(x) = 3x2 + 12x + 7 in vertex form and name the vertex.

What it asks. Convert general form to vertex form and name the vertex.

Show the steps and the answer

The plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.

  1. Plan. Factor out a, add and subtract the square of half the inside coefficient, then simplify and expand to check.
  1. Read a=3,b=12,c=7.Now a is not 1, so one extra step is needed.
  2. Factor 3 out of the first two terms only: f(x)=3(x2+4x)+7.3x2 ÷ 3 = x2 and 12x ÷ 3 = 4x. The 7 stays outside.
  3. Half of 4 is 2. Square it: 22=4.Halve the number on x inside the parentheses, which is 4. Do not halve the original 12.
  4. Add and subtract 4 inside: f(x)=3(x2+4x+4−4)+7.Inside the parentheses, +4 − 4 adds 0.
  5. Fold the square and move the −4 out times 3: f(x)=3(x+2)2−12+7.x2 + 4x + 4 = (x + 2)2, and 3 × (−4) = −12.
  6. Combine −12+7=−5. So f(x)=3(x+2)2−5, and the vertex is (−2,−5).x + 2 is x − (−2), so h = −2. The number at the end is k.
Answer
  • f(x)=3(x+2)2−5
  • Vertex: (−2, −5)
Double-check Formula: h = −122·3 = −126 = −2. Then f(−2) = 3(4) + 12(−2) + 7 = 12 − 24 + 7 = −5. Same vertex.

4 Domain and range of a quadratic

about 4 minOpen the full lessonOnly this lesson

The rule

For a quadratic function with vertex (h, k), written as f(x)=a(x−h)2+k or as f(x)=ax2+bx+c, with a≠0:
Domain: (−∞,∞), every real number.

If a > 0 (the parabola opens up): the range is [k, ∞), and k is the minimum value.
If a < 0 (the parabola opens down): the range is (−∞, k], and k is the maximum value.

How

  1. Apply the unrestricted-domain rule to f(x) = −2x2 + 12x − 5. No input restriction is given, and squaring, multiplying and adding allow every real input, so the domain is (−∞, ∞).
  2. Use the earlier vertex shortcut h = −b2a. Here a = −2 and b = 12, so h = −122×(−2) = 3. This locates the input where the graph turns.
  3. Use k = f(h) to find the turning height: k = f(3) = −2(3)2 + 12(3) − 5 = 13. The vertex is (3, 13).
  4. Apply the range rule for a < 0. Since a = −2, the graph opens down and every output is at most 13. Write y ≤ 13, or (−∞, 13], and name the maximum value as 13 at x = 3. If a were positive, the graph would open up, the range would be [k, ∞), and k would be the minimum value.
  5. Check with vertex form: f(x) = −2(x − 3)2 + 13. A square is never negative, so −2(x − 3)2 is 0 or less, and the formula never exceeds 13. At x = 3 the square is 0, so 13 is reached. That verifies the bound and explains the closed bracket at 13.

Worked example

Worked example

Domain and range from the general form

Find the domain and the range of f(x) = −2x2 + 12x − 5, and name its maximum value or minimum value.

What it asks. Give every allowed input and output, and name the maximum or minimum value.

Show the steps and the answer

The plan. Find the vertex from the coefficients. Use its height and the opening for the range; the unrestricted domain is all real numbers.

(3, 13)(2, 11)(4, 11)range246−8−44812
The graph touches the line y = 13 once, at the vertex, and every other point sits below that line.
  1. Plan. Find the vertex from the coefficients. Use its height and the opening for the range; the unrestricted domain is all real numbers.
  1. Write the domain: (−∞,∞).The rule squares x, multiplies and adds. Nothing divides by x and nothing takes a root of x, so every real number can go in.
  2. Name a, b and c: a=−2,b=12,c=−5.The function is in general form ax2 + bx + c, so the three numbers are read off in order, with their signs.
  3. Find the x-value of the vertex: h=−b2a=−122·(−2)=−12−4=3.This finds the one input where the parabola turns around. 12 ÷ (−4) = −3, and the minus sign in front turns −3 into 3.
  4. Plug 3 back in to get the y-value of the vertex: k=f(3)=−2(3)2+12(3)−5=−2(9)+36−5=−18+36−5=13.The vertex's y-value is the output at x = 3. Square first, 32 = 9, then multiply by −2. The vertex is (3, 13).
  5. Read the sign of a: a=−2 is negative, so the parabola opens down.A negative a turns the parabola into a hill, so the vertex is the highest point on the graph.
  6. Write the range: (−∞,13].On a hill, every output is at the top or below it. The square bracket at 13 says 13 is reached, at x = 3. Infinity always gets a round bracket.
  7. Name the value: the maximum value is 13, and it happens at x=3.The maximum value is the largest output, which is the vertex's y-value when the parabola opens down. There is no minimum value, because the outputs fall forever.
Answer
  • Domain: (−∞, ∞)
  • Range: (−∞, 13]
  • Maximum value: 13, at x = 3
Double-check A second way: complete the square. −2x2 + 12x − 5 = −2(x2 − 6x) − 5 = −2((x − 3)2 − 9) − 5 = −2(x − 3)2 + 18 − 5 = −2(x − 3)2 + 13. The vertex form shows k = 13 and a = −2, so the range is (−∞, 13] again. Spot check: f(2) = −8 + 24 − 5 = 11 and f(4) = −32 + 48 − 5 = 11, both below 13.

The trap

Wrong: start the range at h. Right: use the vertex height k and include it.

Quick check

Try it before you open its steps. It is question 4 of 8 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 8

General form, find the vertex first

Find the domain and range of q(x) = x2 − 8x + 3, and name its maximum value or minimum value.

What it asks. Find the allowed inputs and outputs.

Show the steps and the answer

The plan. Read or compute the vertex. Use the opening to decide which heights extend from its included endpoint.

  1. Plan. Read or compute the vertex. Use the opening to decide which heights extend from its included endpoint.
  1. Write the domain: (−∞,∞).It is a quadratic function, so every real number can go in.
  2. Name a=1,b=−8,c=3.General form is ax2 + bx + c. The sign in front of 8x belongs to b.
  3. Find the x-value of the vertex: h=−b2a=−−82·1=−−82=−(−4)=4.This finds the input where the parabola turns. −8 ÷ 2 = −4, and the minus sign in front turns −4 into 4.
  4. Plug 4 back in: k=q(4)=42−8(4)+3=16−32+3=−13.The output at the turning input is the vertex's y-value. The vertex is (4, −13).
  5. a=1 is positive, so the parabola opens up. The range is [−13,∞).Opens up means k and up, and the vertex is the lowest point.
Answer
  • Domain: (−∞, ∞)
  • Range: [−13, ∞)
  • Minimum value: −13, at x = 4
Double-check A second way: complete the square. x2 − 8x + 3 = (x − 4)2 − 16 + 3 = (x − 4)2 − 13, which shows k = −13 again. Spot check: q(3) = 9 − 24 + 3 = −12 and q(5) = 25 − 40 + 3 = −12, both above −13.

5 Largest and smallest values in a word problem

about 4 minOpen the full lessonOnly this lesson

The rule

For f(x)=ax2+bx+c, the vertex is at x=−b2a.

If a < 0, the parabola opens down and f has a maximum value, f(−b2a). If a > 0, the parabola opens up and f has a minimum value, f(−b2a). The two models used most: area of a rectangle = width × length, and revenue = price × number sold.

How

  1. Use the fence constraint to name the input. Let w be each width of the dog run. The three fenced sides total 48 feet, so the remaining length is 48 − 2w. Both dimensions must be positive: 0 < w < 24.
  2. Use the rectangle area rule, width × length: A(w) = w(48 − 2w). Distribute to get −2w2 + 48w, so a = −2 and b = 48 for the vertex rule.
  3. Apply the opening rule. Since a = −2 is negative, the vertex gives a maximum, which is the largest area the question asks for.
  4. Use the vertex input rule: w = −b2a = −482×(−2) = 12. Check the constraint 0 < 12 < 24; this width is allowed.
  5. Use the length constraint again: 48 − 2(12) = 24 feet. Use the area rule: 12 × 24 = 288 square feet. State both dimensions and the area, because the input and the output answer different parts of the question.
  6. Check the model and maximum: 12 + 12 + 24 = 48 feet of fence. Completing the square gives A(w) = −2(w − 12)2 + 288. A square is never negative, so −2(w − 12)2 is 0 or less, and the area cannot exceed 288. The allowed width 12 makes that square zero, so 288 square feet is reached.

Worked example

Worked example

Worked example: a dog run against a barn

You have 48 feet of fence to build a rectangular dog run against the side of a barn. The barn wall is one long side, so the fence covers only the other three sides. What dimensions give the largest area, and what is that area?

What it asks. Find the two dimensions that give the greatest fenced area.

Show the steps and the answer

The plan. Count the three fenced sides, write area as width times length, then find and check the vertex.

A = w(48 − 2w)w48 − 2w
The same picture again: An area model with sides w and 48 − 2w.
input woutput A(w)0041608256122881625620160240↓ evaluate: input given, read the output below it
The areas climb to 288 in the column under 12, then fall back in mirror pairs.
(12, 288)top: (12, 288)(8, 256)(16, 256)26101418223296160224288
The area parabola opens down, and its vertex (12, 288) gives the width and the largest area.
  1. Plan. Count the three fenced sides, write area as width times length, then find and check the vertex.
  1. Let w be the width in feet: the length of each of the two sides that stick out from the barn.You control the width. Every other measurement will be written with this one letter.
  2. Write the length of the side across from the barn: 48−2w feet.The fence makes three pieces: w + w + length = 48. The two widths use up 2w, and what is left is the length. Test with w = 10: 10 + 10 + 28 = 48.
  3. Build the area function: A(w)=w(48−2w).The area of a rectangle is width × length.
  4. Distribute: A(w)=48w−2w2, which is −2w2+48w in general form. So a=−2,b=48,c=0.General form shows a and b, the two numbers the vertex needs.
  5. Check the sign of a. It is −2, which is negative, so the parabola opens down and the vertex is its top.A top means the vertex gives the maximum value. If a were positive, the vertex would give a smallest area instead, and any largest area would have to come from the ends of the allowed widths.
  6. Find the input at the vertex: w=−b2a=−482×(−2)=−48−4=12.This finds the one width where the area stops climbing and starts falling. A negative divided by a negative is positive.
  7. Find the length: 48−2(12)=48−24=24 feet.The question asks for dimensions, which means both sides of the rectangle.
  8. Put w = 12 back into the function: A(12)=12×24=288.The maximum value is the output at the vertex. Feet times feet gives square feet.
  9. Write the answer in a sentence with units.A bare 12 or 288 does not say which is the width and which is the area.
Answer
  • Width (each side sticking out from the barn): 12 feet
  • Length (the side across from the barn): 24 feet
  • Largest area: 288 square feet
Double-check A second way, by completing the square: −2w2 + 48w = −2(w2 − 24w) = −2((w − 12)2 − 144) = −2(w − 12)2 + 288. The vertex form shows the vertex (12, 288), the same answer. Neighbors agree too: A(11) = 11 × 26 = 286 and A(13) = 13 × 22 = 286, both smaller than 288. The fence adds up: 12 + 12 + 24 = 48 feet.

The trap

Wrong: report only the vertex input. Right: give the requested dimensions or price and the largest or smallest amount, with units.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

Build the area function, fence on all four sides

You have 60 feet of fence for a rectangular garden, fenced on all four sides. What dimensions give the largest area, and what is that area?

What it asks. Find the largest rectangle with all four sides fenced.

Show the steps and the answer

The plan. Count two widths and two lengths, solve for length, then maximize width times length.

A = w(30 − w)w30 − w
The length is 30 − w, not 60 − w, because the fence must cover two widths and two lengths.
  1. Plan. Count two widths and two lengths, solve for length, then maximize width times length.
  1. Let w be the width in feet and L the length in feet.Start with a name for each side, then get rid of one of them.
  2. Write the fence total: 2w+2L=60. Divide every term by 2: w+L=30. So L=30−w.A rectangle has two widths and two lengths. Test with w = 10: the sides are 10, 20, 10, 20, which add up to 60.
  3. Build the area function: A(w)=w(30−w)=30w−w2=−w2+30w. So a=−1,b=30.Area is width × length. A lone −w2 means a = −1.
  4. Note that a is negative, so the parabola opens down and there is a maximum value.The vertex is the top.
  5. Find the input at the vertex: w=−b2a=−302×(−1)=−30−2=15.This finds the width where the area peaks.
  6. Find the length: L=30−15=15 feet.The question asks for both dimensions.
  7. Put w=15 back in: A(15)=15×15=225 square feet.The maximum value is the output at the vertex.
Answer
  • Dimensions: 15 feet by 15 feet, a square
  • Largest area: 225 square feet
Double-check A(14) = 14 × 16 = 224 and A(16) = 16 × 14 = 224, both smaller than 225. The fence adds up: 15 + 15 + 15 + 15 = 60 feet. In vertex form, −w2 + 30w = −((w − 15)2 − 225) = −(w − 15)2 + 225, with vertex (15, 225).

6 The intercepts and what the discriminant says

about 5 minOpen the full lessonOnly this lesson

The rule

For f(x)=ax2+bx+c with a≠0:
y-intercept: (0, c), because f(0)=c.

x-intercepts: the real solutions of ax2+bx+c=0, which are x=−b±b2−4ac2a, each written as a point (x, 0).
The discriminant D=b2−4ac counts them: D > 0 gives two x-intercepts, D=0 gives one (the vertex, sitting on the x-axis), D < 0 gives none.

How

  1. Match f(x) = x2 − 2x − 8 to ax2 + bx + c. Read a = 1, b = −2 and c = −8, keeping the signs because the discriminant and formula use those signed numbers.
  2. Apply the y-intercept rule by setting x = 0: f(0) = −8. Write (0, −8), because every point on the y-axis has input zero.
  3. Use D = b2 − 4ac: D = (−2)2 − 4(1)(−8) = 4 + 32 = 36. The discriminant rule predicts two x-intercepts because D > 0. If D were 0, the graph would touch the x-axis once, at the vertex. If D were negative, it would miss the x-axis, and the formula would give two complex roots using i.
  4. Use the x-intercept rule by setting the output to zero: x2 − 2x − 8 = 0. Apply the quadratic formula: x = −(−2)±362(1) = 2±62.
  5. Work both signs in the formula: (2 + 6) ÷ 2 = 4 and (2 − 6) ÷ 2 = −2. Write the intercepts as (4, 0) and (−2, 0), since points on the x-axis have output zero.
  6. Check by substitution: f(4) = 16 − 8 − 8 = 0, f(−2) = 4 + 4 − 8 = 0, and f(0) = −8. These verify every intercept, and the two distinct x-intercepts match the positive discriminant.

Worked example

Worked example

All three intercepts of one parabola

Find every intercept of f(x) = x2 − 2x − 8.

What it asks. Locate every point where the parabola meets an axis.

Show the steps and the answer

The plan. Set x to zero for the y-intercept. Use the discriminant, then solve for real zeros and check both points.

(1, −9)(−2, 0)(4, 0)(0, −8)−4−2246−8−448
The two x-intercepts sit 3 units left and 3 units right of the axis of symmetry x = 1, and the y-intercept…
  1. Plan. Set x to zero for the y-intercept. Use the discriminant, then solve for real zeros and check both points.
  1. Name the coefficients: a=1,b=−2,c=−8.The function is already in general form ax2 + bx + c. The sign in front of each number belongs to that number.
  2. y-intercept: f(0)=02−2(0)−8=−8. The point is (0,−8).Every point on the y-axis has x = 0. Plugging in 0 wipes out both x terms and leaves c.
  3. Discriminant: b2−4ac=(−2)2−4(1)(−8)=4+32=36.(−2)2 = 4, and −4 times 1 times −8 is +32, since a negative times a negative is positive.
  4. Read the sign: 36 is positive, so expect two x-intercepts.A positive number under the square root gives two different answers from the ± sign.
  5. Set the output equal to 0: x2−2x−8=0.This finds the inputs whose output is 0, which are the places where the graph sits on the x-axis.
  6. Use the quadratic formula: x=−(−2)±362(1)=2±62.−b is −(−2) = 2, the number under the root is the 36 already found, and 36 = 6.
  7. Split the ±: x=2+62=82=4, and x=2−62=−42=−2.± means work it twice, once adding and once subtracting.
  8. Plug both back in: f(4)=16−8−8=0 and f(−2)=4+4−8=0.An x-intercept must give an output of 0. Both inputs do.
  9. Write the points: (−2,0) and (4, 0).An intercept is a point on the graph, so it needs both coordinates. On the x-axis the y-coordinate is 0.
Answer
  • y-intercept: (0, −8)
  • x-intercepts: (−2, 0) and (4, 0)
  • Discriminant: 36, positive, which matches the two x-intercepts
Double-check A second way, by factoring: x2 − 2x − 8 = (x − 4)(x + 2), because −4 × 2 = −8 and −4 + 2 = −2. The brackets are zero at x = 4 and x = −2, the same two answers. Symmetry agrees: the axis of symmetry is x = −b2a = 22 = 1, and the point halfway between −2 and 4 is −2+42 = 1.

The trap

Wrong: square a negative coefficient without parentheses. Right: b2 squares the whole signed value; compute −4ac separately.

Quick check

Try it before you open its steps. It is question 10 of 19 in the full lesson, where they run from easy to exam-hard.

Try it · level 10 of 19

Practice 2: a negative square

Solve x2 = −180 over the complex numbers. Give both solutions.

What it asks. Find both complex square roots of a negative number.

Show the steps and the answer

The plan. Take both signs. Use i for the square root of negative one, then remove perfect-square factors from the radical.

(0, 180)−4−2242060100140180
y=x2+180.
  1. Plan. Take both signs. Use i for the square root of negative one, then remove perfect-square factors from the radical.
  2. Use i2 = −1 and factor a perfect square out of the radical.
  1. A real square cannot be negative. Define i by i2=−1.The symbol i extends the number system so negative squares have solutions. It is not a point on the real x-axis.
  2. x=±−180=±i180.Take the square root of both sides and keep both signs. −180 = −1 × 180 = i180.
  3. 180=36×5, so 180=65.Pull a perfect square out of the radical. Its square root becomes the factor outside.
  4. x=±6i5Keep both signs. Using only the positive sign loses a solution.
Answer
x=±6i5
Double-check (±6i5)2 = 36 × (−1) × 5 = −180. Independently, x2 + 180 = (x − 6i5)(x + 6i5).

7 Quick checks for the whole unit

8 questions

Quick check 1 of 8

What is the vertex of f(x) = −2(x + 1)2 + 7, and which way does the parabola open?

Show the steps and the answer
Answer
  • Vertex: (−1, 7)
  • It opens down, because a = −2 is negative. x + 1 is x − (−1), so h = −1.

Quick check 2 of 8

Find the vertex of f(x) = x2 − 10x + 3.

Show the steps and the answer
Answer
  • (5,−22)
  • x = −b2a = 102 = 5, and f(5) = 25 − 50 + 3 = −22.

Quick check 3 of 8

What is the range of f(x) = 3(x − 2)2 − 4?

Show the steps and the answer
Answer
  • [−4,∞)
  • a = 3 is positive, so the parabola opens up and the outputs start at k = −4.

Quick check 4 of 8

Write x2 + 8x + 5 in vertex form.

Show the steps and the answer
Answer
  • (x+4)2−11
  • Half of 8 is 4 and 42 = 16, so x2 + 8x = (x + 4)2 − 16, and −16 + 5 = −11.

Quick check 5 of 8

How many x-intercepts does f(x) = x2 − 6x + 9 have?

Show the steps and the answer
Answer
  • One, at x = 3.
  • b2 − 4ac = 36 − 36 = 0, and the rule factors as (x − 3)2.

Quick check 6 of 8

What is the y-intercept of f(x) = 4x2 − 7x − 9?

Show the steps and the answer
Answer
  • (0,−9)
  • Putting in x = 0 leaves only c.

Quick check 7 of 8

Does f(x) = −x2 + 4x − 1 have a maximum value or a minimum value, and what is it?

Show the steps and the answer
Answer
  • A maximum value of 3.
  • a = −1 is negative, so the parabola opens down. x = −42(−1) = 2 and f(2) = −4 + 8 − 1 = 3.

Quick check 8 of 8

A parabola crosses the x-axis at x = −2 and x = 6. What is its axis of symmetry?

Show the steps and the answer
Answer
  • x = 2
  • The axis of symmetry is halfway between two points at the same height: −2+62 = 2.