Quadratic functions are central to algebra and quantitative reasoning. They model curved relationships such as projectile motion, area and revenue, and they connect algebra (factoring, the discriminant, Vieta’s formulas) with graphs (vertex, intercepts, symmetry). The skills in this lecture are transferable: the same ideas appear in graph questions, parameter questions, word problems and sign analysis.
This lecture covers five parts: forms, vertex and completing the square; graphs, transformations and finding the equation; solving with the discriminant and tangent lines; Vieta’s formulas; and optimization with inequalities. Each concept is explained in detail and followed by four examples with every step shown.
How to study. Try each example yourself before reading the steps. If you get stuck, read only Step 1, which always states the key idea, and try again.
Labels. Worked examples are labelled Intermediate Challenging Advanced Challenge and increase in difficulty within each section. Intermediate examples are foundational SAT-level work; Challenging and Advanced Challenge examples move toward GRE-style and competitive university aptitude problems. Notes marked Common trap or Exam insight highlight the reasoning behind harder problems. This lecture is one component of a broader preparation plan; it makes no claim about how often any exam tests a topic and does not guarantee any exam result.
| If you need or are given… | Use… | Section |
|---|---|---|
| Vertex, maximum or minimum, axis of symmetry | Vertex form a(x − h)2 + k (complete the square) or x = −b/(2a) | 1 |
| Roots or x-intercepts given | Factored form a(x − r)(x − s) | 1, 2 |
| Vertex plus one more point | Vertex form, then solve for a | 2 |
| Number of roots, parameter conditions, tangent lines | Discriminant D = b2 − 4ac | 3 |
| Sum, product or symmetric expressions of the roots | Vieta: r + s = −b/a, rs = c/a | 4 |
| Word problem with a maximum or sign condition | Vertex, roots and sign pattern | 5 |
1. Forms of a Quadratic, the Vertex and Completing the Square
A quadratic function f(x) = ax2 + bx + c (with a ≠ 0) has three forms, and each answers a different question. Standard form shows the y-intercept c and gives the sum of the roots −ba. Vertex form f(x) = a(x − h)2 + k shows the vertex (h, k) and the axis x = h. Factored form f(x) = a(x − r)(x − s) shows the x-intercepts r and s. The vertex always lies on the axis x = −b2a, which is halfway between the roots when they exist.
To convert to vertex form, complete the square: factor a out of the x-terms only, add and subtract the square of half the x-coefficient inside the bracket, then distribute a to both parts. Why it works: (x − h)2 = x2 − 2hx + h2, so the x-coefficient fixes h. If a > 0 the vertex is the minimum; if a < 0 it is the maximum. For a parameter question, complete the square symbolically and read the extreme value from k.
Example 1. Intermediate
Rewrite f(x) = 2x2 − 12x + 7 in vertex form, then state the vertex and the minimum value.
Solution.
Step 1. Complete the square. First factor the leading coefficient out of the x-terms only:
f(x) = 2(x2 − 6x) + 7
Step 2. Take half of −6, which is −3, and square it to get 9. Add and subtract 9 inside the bracket:
f(x) = 2(x2 − 6x + 9 − 9) + 7
Step 3. Group the perfect square, then distribute the 2 to both parts:
f(x) = 2(x − 3)2 − 18 + 7
Step 4. Simplify the constants:
f(x) = 2(x − 3)2 − 11
Step 5. Read the features. The vertex is (3, −11). Since a = 2 > 0 the parabola opens upward, so the minimum value is −11 at x = 3.
Step 6. Check with the vertex formula:
x = −b2a = 124 = 3 and f(3) = 18 − 36 + 7 = −11 ✓
Final answer: f(x) = 2(x − 3)2 − 11, vertex (3, −11), minimum value −11
Common trap. Distribute the leading coefficient to the subtracted constant too: 2[(x − 3)2 − 9] = 2(x − 3)2 − 18, not 2(x − 3)2 − 9.
Example 2. Challenging
A parabola has x-intercepts −2 and 6 and passes through the point (0, −12). Find its vertex.
Solution.
Step 1. Use factored form because the roots are known:
f(x) = a(x + 2)(x − 6)
Step 2. Use the point (0, −12) to find a:
−12 = a(2)(−6) = −12a, so a = 1
Step 3. The axis of symmetry lies halfway between the roots:
x = −2 + 62 = 2
Step 4. Evaluate at the axis:
f(2) = (4)(−4) = −16
Step 5. Check:
expanding gives f(x) = x2 − 4x − 12, and −b2a = 42 = 2 ✓
Final answer: vertex (2, −16)
Exam insight. When the roots are given, the axis is their midpoint. You can find the vertex without expanding or completing the square.
Example 3. Challenging
The parabola f(x) = x2 + bx + c has vertex (3, −4). Find b + c.
Solution.
Step 1. Vertex form is f(x) = (x − h)2 + k, with a = 1 because the x2 coefficient is 1. Here h = 3 and k = −4.
Step 2. Write the function:
f(x) = (x − 3)2 − 4
Step 3. Expand:
(x − 3)2 − 4 = x2 − 6x + 9 − 4 = x2 − 6x + 5
Step 4. Match with x2 + bx + c:
b = −6 and c = 5
Step 5. Check with the vertex formula:
−b2a = 62 = 3 ✓, and f(3) = 9 − 18 + 5 = −4 ✓
Final answer: b + c = −1
Exam insight. If a = 1 and the vertex is given, write (x − h)2 + k and expand. The coefficients come straight out.
Example 4. Advanced Challenge
For a real number a, let f(x) = x2 − 2(a + 1)x + a2 + 4. Find the value of a for which the minimum value of f is −5.
Solution.
Step 1. The leading coefficient is 1 and the x-coefficient is −2(a + 1), so the minimum occurs at x = a + 1. Complete the square symbolically:
f(x) = [x − (a + 1)]2 − (a + 1)2 + a2 + 4
Step 2. Simplify the constant part: −(a2 + 2a + 1) + a2 + 4 = −2a + 3. So the minimum value is 3 − 2a.
Step 3. Set the minimum equal to −5:
3 − 2a = −5, so a = 4
Step 4. Check: with a = 4, f(x) = x2 − 10x + 20 = (x − 5)2 − 5, whose minimum is −5 ✓.
Final answer: a = 4
Exam insight. For parameter questions, complete the square symbolically: the constant outside the bracket is the minimum value.
2. Graphs, Transformations and Finding the Equation
The graph of y = a(x − h)2 + k is the parabola y = x2 transformed: h shifts it right (or left if negative), k shifts it up (or down), a < 0 reflects it in the x-axis, and |a| > 1 stretches it vertically (making it narrower). The range is y ≥ k if a > 0 and y ≤ k if a < 0. Apply the transformations in order and replace x by x − h before adding k.
To find an equation, choose the form that matches the information: vertex plus a point → vertex form; two roots plus a point → factored form; three points → a system for a, b, c. A powerful shortcut: if f(p) = f(q), the axis of symmetry is x = p + q2, and two parabolas sharing a vertex differ only in a.
Example 1. Intermediate
The graph of y = x2 is shifted 3 units right, reflected in the x-axis, then shifted 2 units up. Write the new equation and find where it crosses the x-axis.
Solution.
Step 1. Apply the transformations in order. Shifting 3 units right replaces x by x − 3:
y = (x − 3)2
Step 2. Reflecting in the x-axis changes the sign of y:
y = −(x − 3)2
Step 3. Shifting 2 units up adds 2:
y = −(x − 3)2 + 2
Step 4. For the x-intercepts set y = 0:
−(x − 3)2 + 2 = 0, so (x − 3)2 = 2
Step 5. Take square roots, keeping both signs:
x − 3 = ±√2, so x = 3 ± √2
Step 6. Check: the vertex is (3, 2) and the parabola opens downward, so it must cross the x-axis twice, symmetrically about x = 3 ✓.
Final answer: y = −(x − 3)2 + 2, with x-intercepts 3 + √2 and 3 − √2
Common trap. Shifts go inside the bracket with the opposite sign: 3 units right is (x − 3), not (x + 3). Apply the steps in the order stated.
Example 2. Challenging
A parabola has vertex (−1, 8) and passes through (1, 0). Find its equation in standard form and its y-intercept.
Solution.
Step 1. Use vertex form because the vertex is given:
y = a(x + 1)2 + 8
Step 2. Substitute the point (1, 0):
0 = a(2)2 + 8 = 4a + 8, so a = −2
Step 3. The equation is y = −2(x + 1)2 + 8.
Step 4. Expand to standard form:
−2(x2 + 2x + 1) + 8 = −2x2 − 4x − 2 + 8 = −2x2 − 4x + 6
Step 5. The y-intercept is the constant term, which agrees with f(0) = −2(1) + 8 = 6.
Step 6. Check:
f(1) = −2 − 4 + 6 = 0 ✓
Final answer: y = −2x2 − 4x + 6, y-intercept (0, 6)
Exam insight. A vertex plus one more point determines a. Use vertex form first, expand to standard form only if the question asks.
Example 3. Challenging
A quadratic f(x) = ax2 + bx + c satisfies f(1) = 3, f(2) = 3 and f(0) = −1. Find f(4).
Solution.
Step 1. The value f(0) gives c directly:
c = −1
Step 2. Use f(1) = 3:
a + b − 1 = 3, so a + b = 4
Step 3. Use f(2) = 3:
4a + 2b − 1 = 3, so 2a + b = 2
Step 4. Subtract the first equation from the second:
a = −2, and then b = 6
Step 5. So f(x) = −2x2 + 6x − 1. Check:
f(1) = −2 + 6 − 1 = 3 ✓ and f(2) = −8 + 12 − 1 = 3 ✓
Step 6. Compute f(4) = −32 + 24 − 1 = −9.
Final answer: f(4) = −9
Exam insight. Equal outputs at x = 1 and x = 2 put the axis at x = 32. Use this to check −b2a = 64 = 32 ✓.
Example 4. Advanced Challenge
The parabolas f(x) = x2 − 4x + 7 and g(x) = −x2 + ax + b have the same vertex. Find a and b.
Solution.
Step 1. Find the vertex of f by completing the square: f(x) = (x − 2)2 + 3, so the vertex is (2, 3).
Step 2. The function g opens downward with leading coefficient −1, so with the same vertex g(x) = −(x − 2)2 + 3.
Step 3. Expand:
−(x2 − 4x + 4) + 3 = −x2 + 4x − 1
Step 4. Match with −x2 + ax + b:
a = 4 and b = −1
Step 5. Check:
the vertex of g has x = −a2(−1) = 2 ✓ and g(2) = −4 + 8 − 1 = 3 ✓
Final answer: a = 4 and b = −1
Exam insight. Two parabolas with the same vertex and opposite orientation (a and −a) are reflections of each other in the horizontal line through the vertex.
3. Solving Quadratics, the Discriminant and Tangent Lines
Solve a quadratic by factoring, by completing the square, or with the quadratic formula x = −b ± √b2 − 4ac2a. The expression D = b2 − 4ac is the discriminant: if D > 0 there are two distinct real roots, if D = 0 there is one repeated real root, and if D < 0 there are no real roots (two complex ones). Always check that a ≠ 0 before using these facts.
The discriminant answers parameter questions without solving: “exactly one solution” means D = 0, “no real solutions” means D < 0. For a line meeting a parabola, substitute and take the discriminant of the resulting quadratic; D = 0 means the line is tangent. When a parameter multiplies x2, state k ≠ 0 so the equation really is quadratic.
Example 1. Intermediate
Solve 2x2 − 5x − 12 = 0 by factoring, and confirm the answer with the quadratic formula.
Solution.
Step 1. Look for two numbers whose product is ac = 2·(−12) = −24 and whose sum is b = −5. They are −8 and 3.
Step 2. Split the middle term:
2x2 − 8x + 3x − 12 = 0
Step 3. Factor by grouping:
2x(x − 4) + 3(x − 4) = (2x + 3)(x − 4) = 0
Step 4. Set each factor to zero:
x = −32 or x = 4
Step 5. Confirm with the formula. D = (−5)2 − 4(2)(−12) = 25 + 96 = 121 and √121 = 11, so x = 5 ± 114, which gives 4 and −32 ✓.
Final answer: x = −32 or x = 4
Example 2. Challenging
Find the value of k (with k ≠ 0) for which the quadratic equation kx2 − 6x + 3 = 0 has exactly one real solution.
Solution.
Step 1. Exactly one real solution of a quadratic means the discriminant is zero. The condition k ≠ 0 keeps the equation quadratic.
Step 2. Compute D = b2 − 4ac with a = k, b = −6 and c = 3:
D = 36 − 12k
Step 3. Set D = 0:
36 − 12k = 0, so k = 3
Step 4. Check:
3x2 − 6x + 3 = 3(x − 1)2 has the single (repeated) root x = 1 ✓
Final answer: k = 3
Common trap. Say k ≠ 0 first. At k = 0 the equation is linear, which is a different problem.
Example 3. Challenging
Find all values of k for which x2 + kx + 9 = 0 has no real solutions.
Solution.
Step 1. No real solutions means the discriminant is negative.
Step 2. Compute D = k2 − 4(1)(9) = k2 − 36.
Step 3. Solve the inequality k2 − 36 < 0, which factors as (k − 6)(k + 6) < 0.
Step 4. A product of two factors is negative when they have opposite signs, so −6 < k < 6.
Step 5. Check: k = 0 gives x2 + 9 = 0, which has no real roots ✓. k = 7 gives D = 13 > 0, which has real roots, so 7 is correctly excluded.
Final answer: −6 < k < 6
Common trap. k2 < 36 means −6 < k < 6, not k < 6. Solve the inequality by factoring or by the sign pattern; do not take square roots carelessly.
Example 4. Advanced Challenge
For what value of c is the line y = 2x + c tangent to the parabola y = x2 − 4x + 5?
Solution.
Step 1. Tangent means the line and parabola meet at exactly one point, so the equation formed by equating them has a double root (discriminant 0).
Step 2. Set the expressions equal:
x2 − 4x + 5 = 2x + c, so x2 − 6x + (5 − c) = 0
Step 3. Compute the discriminant:
D = (−6)2 − 4(1)(5 − c) = 36 − 20 + 4c = 16 + 4c
Step 4. Set D = 0:
16 + 4c = 0, so c = −4
Step 5. Check: x2 − 6x + 9 = (x − 3)2 has the double root x = 3. At x = 3 the parabola gives 9 − 12 + 5 = 2 and the line gives 6 − 4 = 2 ✓.
Final answer: c = −4
Exam insight. Tangent line questions are discriminant questions: substitute, collect, set D = 0.
4. Vieta’s Formulas and Relations Between the Roots
If r and s are the roots of ax2 + bx + c = 0, then r + s = −ba and rs = ca. Why: a(x − r)(x − s) = ax2 − a(r + s)x + a·rs, and matching coefficients gives both formulas. They hold even when the roots are complex or repeated, so you rarely need to find the roots themselves.
Rewrite any symmetric expression in terms of r + s and rs: r2 + s2 = (r + s)2 − 2rs, (r − s)2 = (r + s)2 − 4rs, 1r + 1s = r + srs, and r3 + s3 = (r + s)3 − 3rs(r + s). To build a quadratic with given roots use x2 − (sum)x + (product) = 0. For a condition like “the roots differ by 4”, combine it with r + s as a linear system.
Example 1. Intermediate
If r and s are the roots of x2 − 5x + 3 = 0, find r2 + s2 and (r − s)2.
Solution.
Step 1. Use Vieta’s formulas, which come from comparing x2 − (r + s)x + rs with the given equation:
r + s = 5 and rs = 3
Step 2. Rewrite r2 + s2 using the identity (r + s)2 = r2 + 2rs + s2:
r2 + s2 = (r + s)2 − 2rs = 25 − 6 = 19
Step 3. For (r − s)2 use the identity (r − s)2 = (r + s)2 − 4rs:
25 − 12 = 13
Step 4. Check: the roots are 5 ± √132, whose difference is √13, so (r − s)2 = 13 ✓.
Final answer: r2 + s2 = 19 and (r − s)2 = 13
Exam insight. You never need the actual roots. Rewrite r2 + s2 and (r − s)2 using r + s and rs.
Example 2. Challenging
The roots of 2x2 − 7x + 3 = 0 are r and s. Form a quadratic equation whose roots are 1r and 1s.
Solution.
Step 1. Find the sum and product of the original roots: r + s = 72 and rs = 32. Since rs ≠ 0, neither root is zero, so the reciprocals 1r and 1s exist.
Step 2. Sum of the new roots:
1r + 1s = r + srs = 7/23/2 = 73
Step 3. Product of the new roots:
(1r)(1s) = 1rs = 23
Step 4. A quadratic with sum S and product P is x2 − Sx + P = 0, so x2 − (73)x + 23 = 0. Multiply by 3 to clear fractions:
3x2 − 7x + 2 = 0
Step 5. Check: the original roots are 3 and 12, so the new roots are 13 and 2, and 3x2 − 7x + 2 = (3x − 1)(x − 2) ✓.
Final answer: 3x2 − 7x + 2 = 0
Common trap. The sum of the reciprocal roots is r + srs, not 1r + s. Keep track of the fractions before multiplying out.
Example 3. Challenging
The roots of x2 − 6x + k = 0 differ by 4. Find k.
Solution.
Step 1. Let the roots be r and s. Vieta gives r + s = 6 and rs = k, and the condition gives r − s = 4.
Step 2. Add and subtract the two linear equations:
2r = 10 and 2s = 2, so r = 5 and s = 1
Step 3. Therefore k = rs = 5.
Step 4. Check:
x2 − 6x + 5 = (x − 1)(x − 5) has roots 1 and 5, which differ by 4 ✓
Final answer: k = 5
Exam insight. A condition such as “the roots differ by 4” combines with r + s into a linear system. Solve for both roots, then use rs.
Example 4. Advanced Challenge
If r and s are the roots of x2 − 4x + 1 = 0, find r3 + s3 and rs + sr.
Solution.
Step 1. Vieta’s formulas give r + s = 4 and rs = 1.
Step 2. Use the sum of cubes identity r3 + s3 = (r + s)3 − 3rs(r + s) = 64 − 12 = 52
Step 3. For rs + sr combine over the common denominator: r2 + s2rs.
Step 4. Compute r2 + s2 = (r + s)2 − 2rs = 16 − 2 = 14, and rs = 1, so the value is 14.
Step 5. Check:
the roots are 2 ± √3, and (2 + √3)2 + (2 − √3)2 = 14 with rs = 1 ✓
Final answer: r3 + s3 = 52 and rs + sr = 14
Exam insight. For r3 + s3 use the identity with r + s and rs. Memorising (r + s)3 − 3rs(r + s) saves minutes.
5. Optimization, Quadratic Inequalities and Applications
In a word problem, define a variable, write the quantity (area, revenue, profit, height) as a quadratic, and use the vertex: the maximum (a < 0) or minimum (a > 0) occurs at x = −b2a. Always check the domain: quantities such as price or length must be non-negative, and sometimes the vertex falls outside the allowed range, in which case the extreme value is at an endpoint.
To solve a quadratic inequality, find the roots and use the sign pattern: if a > 0, f(x) < 0 between the roots and f(x) > 0 outside them; if a < 0 it is reversed. To make a quadratic always positive (a > 0), require D < 0. Be careful with strict versus non-strict inequalities: for f(x) ≥ 0 include the roots, for f(x) > 0 exclude them.
Example 1. Intermediate
A ball is thrown upward from a platform. Its height in metres after t seconds is h(t) = −5t2 + 20t + 25. Find the maximum height and the time when the ball lands on the ground (h = 0).
Solution.
Step 1. The coefficient of t2 is negative, so the parabola opens downward and its vertex is the maximum.
Step 2. Vertex time:
t = −b2a = −20−10 = 2 seconds
Step 3. Maximum height:
h(2) = −5(4) + 40 + 25 = 45 metres
Step 4. The ball lands when h(t) = 0: −5t2 + 20t + 25 = 0. Divide by −5 to simplify: t2 − 4t − 5 = 0
Step 5. Factor:
(t − 5)(t + 1) = 0, so t = 5 or t = −1
Step 6. Reject t = −1 because the motion starts at t = 0. The ball lands at t = 5 seconds.
Step 7. Check symmetry: the roots 5 and −1 are each 3 units from t = 2 ✓, and h(5) = −125 + 100 + 25 = 0 ✓.
Final answer: maximum height 45 m at t = 2 s; the ball lands at t = 5 s
Common trap. The ball lands at the positive root. The negative root has no physical meaning because the motion starts at t = 0.
Example 2. Challenging
A company’s profit is P(x) = −x2 + 12x − 20 (in thousands of dollars) when it sells x hundred units. For which x is the profit positive, and what is the maximum profit?
Solution.
Step 1. Profit is positive where P(x) > 0. First find the roots:
−x2 + 12x − 20 = 0, or x2 − 12x + 20 = 0
Step 2. Factor:
(x − 2)(x − 10) = 0, so x = 2 or x = 10
Step 3. The parabola opens downward (leading coefficient −1), so it lies above the x-axis between the roots: 2 < x < 10.
Step 4. The maximum is at the vertex, the midpoint of the roots, x = 122 = 6: P(6) = −36 + 72 − 20 = 16. Since x = 6 lies in the allowed range x ≥ 0, this is the true maximum.
Step 5. Check:
P(2) = 0 and P(10) = 0, and P(6) = 16 > 0 ✓
Final answer: profit is positive for 2 < x < 10; the maximum profit is 16 thousand dollars at x = 6
Exam insight. For a downward parabola, positive values lie between the roots, and the maximum is at the midpoint of the roots.
Example 3. Challenging
A theatre sells 300 tickets at $20 each. For every $1 increase in price, 10 fewer tickets are sold. What price maximizes revenue, and what is the maximum revenue?
Solution.
Step 1. Let x be the number of $1 increases. The price is 20 + x and the number of tickets sold is 300 − 10x.
Step 2. Revenue: R(x) = (20 + x)(300 − 10x) = 6000 − 200x + 300x − 10x2 = −10x2 + 100x + 6000
Step 3. The parabola opens downward, so the maximum is at the vertex: x = −100/(2(−10)) = 5. This lies inside the allowed range 0 ≤ x ≤ 30 (the number of price increases cannot be negative, and the tickets sold, 300 − 10x, cannot be negative).
Step 4. The best price is 20 + 5 = $25, with 300 − 50 = 250 tickets sold.
Step 5. Maximum revenue: 25 × 250 = $6250. Check: R(5) = −250 + 500 + 6000 = 6250 ✓.
Final answer: price $25, maximum revenue $6250
Exam insight. Define x as the number of price increases, then build both price and quantity from x. The vertex gives the optimal x.
Example 4. Advanced Challenge
For which values of k is x2 − 2kx + k + 6 > 0 for every real x?
Solution.
Step 1. A parabola opening upward lies above the x-axis everywhere exactly when it has no real roots, that is, when its discriminant is negative.
Step 2. Here a = 1, b = −2k and c = k + 6:
D = 4k2 − 4(k + 6) = 4(k2 − k − 6)
Step 3. Require D < 0: k2 − k − 6 < 0, which factors as (k − 3)(k + 2) < 0.
Step 4. The product is negative between the roots, so −2 < k < 3.
Step 5. Check k = 0: x2 + 6 > 0 for all x ✓. At the boundary k = 3: x2 − 6x + 9 = (x − 3)2 equals 0 at x = 3, so it is not greater than 0 everywhere, and k = 3 is correctly excluded.
Final answer: −2 < k < 3
Common trap. Strictly greater than 0 excludes the touching case: D = 0 gives a double root where the function equals 0, so the boundary values of k are excluded.
Practice Questions
Medium: core concepts and straightforward applications. Hard: two-step reasoning, unfamiliar representations or parameter constraints. Advanced: non-routine, multistep reasoning or subtle conditions.
