Math ClubMath Club
v1 · padrão canônico

Lesson 4 — Quadratic function

Quadratic function f(x) = ax² + bx + c. Discriminant, roots (Quadratic formula), canonical form, vertex, concavity, axis of symmetry, sign, maximum and minimum. Optimization of area, cost and profit.

Used in: 1st year of high school (15–16 years) · Japanese Math I ch. 2 · German grade 10 · O-level Singapore ch. 2 · ENEM

f(x)=ax2+bx+c,a0f(x) = ax^2 + bx + c, \quad a \neq 0
Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous definition

"A quadratic function is a polynomial function of degree 2. The graph of a quadratic function is a parabola." — OpenStax College Algebra 2e, §5.1

Roots — Quadratic formula

The discriminant Δ=b24ac\Delta = b^2 - 4ac determines the nature of the roots of ax2+bx+c=0ax^2 + bx + c = 0:

x=b±Δ2a,Δ=b24acx = \frac{-b \pm \sqrt{\Delta}}{2a}, \quad \Delta = b^2 - 4ac
what this means · Quadratic formula: Δ > 0 → two distinct real roots; Δ = 0 → double real root; Δ < 0 → no real roots (two complex conjugate roots).

Vertex and canonical form

Completing the square in ax2+bx+cax^2 + bx + c, we obtain the canonical form:

f(x)=a(xxV)2+yVf(x) = a(x - x_V)^2 + y_V
what this means · Canonical form: directly reveals the vertex V = (xV, yV), axis of symmetry x = xV, and extreme value yV.

where the coordinates of the vertex are:

xV=b2a,yV=f(xV)=Δ4ax_V = -\frac{b}{2a}, \qquad y_V = f(x_V) = -\frac{\Delta}{4a}
what this means · xV is also the average of the roots (when they exist). yV is the minimum value if a > 0, maximum if a < 0.

Parabolas — geometric figure

xyV (min)axis x = xVa > 0xyV (max)a < 0

Left: a > 0, concavity upward, vertex is minimum. Right: a < 0, concavity downward, vertex is maximum. Orange points: roots (zeros of the function). Dashed line: axis of symmetry.

Vieta's relations

If x1,x2x_1, x_2 are the roots of ax2+bx+c=0ax^2 + bx + c = 0 (when Δ0\Delta \geq 0):

x1+x2=ba,x1x2=cax_1 + x_2 = -\frac{b}{a}, \qquad x_1 \cdot x_2 = \frac{c}{a}
what this means · Girard–Vieta relations: sum and product of roots expressed directly by coefficients, without needing to find the roots individually.

"The vertex of the parabola is the maximum point if a<0a < 0 or the minimum point if a>0a > 0." — OpenStax College Algebra 2e, §5.1

Sign of the quadratic function

With roots x1x2x_1 \leq x_2 (when Δ>0\Delta > 0) and a>0a > 0: f(x)0f(x) \leq 0 for x[x1,x2]x \in [x_1, x_2]; f(x)0f(x) \geq 0 for xx1x \leq x_1 or xx2x \geq x_2. If a<0a < 0, the signs reverse.

Worked examples

Five examples with increasing difficulty — from direct application of the quadratic formula to profit optimization. Each example cites the source book.

Exercise list

42 exercises · 10 with worked solution (25%)

Application 16Understanding 8Modeling 8Challenge 6Proof 4
  1. Ex. 4.1Application

    Solve x25x+6=0x^2 - 5x + 6 = 0.

  2. Ex. 4.2Application

    Solve 2x2+5x3=02x^2 + 5x - 3 = 0.

  3. Ex. 4.3Application

    Solve 4x212x+9=04x^2 - 12x + 9 = 0.

  4. Ex. 4.4Application

    Check whether x2+x+1=0x^2 + x + 1 = 0 has real roots.

  5. Ex. 4.5ApplicationAnswer key

    Solve x27x+10=0x^2 - 7x + 10 = 0.

  6. Ex. 4.6ApplicationAnswer key

    Solve x2+2x4=0x^2 + 2x - 4 = 0.

  7. Ex. 4.7Understanding

    Determine the values of kk for which x2+2x+k=0x^2 + 2x + k = 0 has two distinct real roots.

  8. Ex. 4.8UnderstandingAnswer key

    Determine kk such that f(x)=x2+kx+9f(x) = x^2 + kx + 9 has a double root.

  9. Ex. 4.9ProofAnswer key

    Prove Vieta's relations: if x1,x2x_1, x_2 are roots of ax2+bx+c=0ax^2 + bx + c = 0, then x1+x2=b/ax_1 + x_2 = -b/a and x1x2=c/ax_1 x_2 = c/a.

  10. Ex. 4.10Proof

    Prove the quadratic formula by completing the square.

  11. Ex. 4.11Application

    Determine the vertex of f(x)=x24x+3f(x) = x^2 - 4x + 3 and classify it.

  12. Ex. 4.12Application

    Rewrite f(x)=2x28x+5f(x) = 2x^2 - 8x + 5 in canonical form a(xxV)2+yVa(x - x_V)^2 + y_V.

  13. Ex. 4.13ApplicationAnswer key

    Determine the vertex of g(x)=3x2+4x1g(x) = -3x^2 + 4x - 1 and rewrite in canonical form.

  14. Ex. 4.14Application

    Find the quadratic with roots 2-2 and 55 that passes through (0,10)(0, -10).

  15. Ex. 4.15Application

    Find the quadratic with vertex at (1,3)(1, -3) that passes through (3,5)(3, 5).

  16. Ex. 4.16Understanding

    For y=a(x3)2+5y = a(x-3)^2 + 5 with a0a \neq 0: what is the vertex, and how does aa affect the graph?

  17. Ex. 4.17Understanding

    Use Vieta's relations to solve x2x2=0x^2 - x - 2 = 0 without applying the quadratic formula.

  18. Ex. 4.18Proof

    Prove that the x-coordinate of the vertex is the arithmetic mean of the roots (when they exist).

  19. Ex. 4.19UnderstandingAnswer key

    Determine mm for which f(x)=mx2+(m+1)x+1f(x) = mx^2 + (m+1)x + 1 has vertex on the yy-axis.

  20. Ex. 4.20Application

    For f(x)=x22x8f(x) = x^2 - 2x - 8: determine roots, vertex and canonical form.

  21. Ex. 4.21ApplicationAnswer key

    Solve x2x6<0x^2 - x - 6 < 0.

  22. Ex. 4.22Application

    Solve x29x^2 \geq 9.

  23. Ex. 4.23ApplicationAnswer key

    Solve x2+4x+50-x^2 + 4x + 5 \geq 0.

  24. Ex. 4.24Understanding

    For which values of bb is the function f(x)=2x2+bx+8f(x) = 2x^2 + bx + 8 positive for all xRx \in \mathbb{R}?

  25. Ex. 4.25UnderstandingAnswer key

    Solve 4x23x+4>04x^2 - 3x + 4 > 0.

  26. Ex. 4.26Application

    Construct the sign table of f(x)=x23x10f(x) = x^2 - 3x - 10 and indicate the intervals where f<0f < 0 and where f0f \geq 0.

  27. Ex. 4.27Understanding

    For which values of mm does the equation x2+mx+(m+3)=0x^2 + mx + (m + 3) = 0 have two distinct real roots?

  28. Ex. 4.28Challenge

    Prove, using canonical form, that for a>0a > 0 the minimum value of f(x)=ax2+bx+cf(x) = ax^2 + bx + c is yV=Δ/(4a)y_V = -\Delta/(4a), attained at x=xVx = x_V.

  29. Ex. 4.29Modeling

    Projectile launched vertically: h(t)=30t5t2h(t) = 30t - 5t^2 (m, s). (a) Time and maximum height? (b) When does it return to ground?

  30. Ex. 4.30Modeling

    Two positive numbers whose sum is 100. Which maximize the product?

  31. Ex. 4.31Modeling

    60 m of fencing covering 3 sides of a rectangle (wall on the fourth side). What dimensions maximize the area?

  32. Ex. 4.32ModelingAnswer key

    Cost C(q)=q230q+250C(q) = q^2 - 30q + 250 (R$) for qq units. Which qq minimizes the cost? What is the minimum cost?

  33. Ex. 4.33Modeling

    Revenue R(p)=p(2004p)R(p) = p(200 - 4p). (a) Zeros? (b) Price for maximum revenue? (c) Maximum revenue?

  34. Ex. 4.34Modeling

    A rectangular garden has length 4 m greater than the width and area 96 m². What are the dimensions?

  35. Ex. 4.35Modeling

    Revenue R(q)=200qR(q) = 200q and cost C(q)=2q2+30q+200C(q) = 2q^2 + 30q + 200. (a) Profit L(q)L(q)? (b) qq that maximizes it? (c) Maximum profit?

  36. Ex. 4.36Modeling

    Ball trajectory: h(d)=0.1d2+d+1h(d) = -0.1d^2 + d + 1 m, where dd is horizontal distance. (a) Maximum height and where? (b) Where does it hit the ground?

  37. Ex. 4.37Challenge

    Shop sells 100 units/week at R$ 50.00. Each R$ 1.00 reduction brings 5 extra customers. What price maximizes weekly revenue?

  38. Ex. 4.38Challenge

    Rectangular chicken coop with 300 m of fencing, divided in half by a fence parallel to one side. What dimensions maximize total area?

  39. Ex. 4.39Challenge

    Prove that, given x+y=Sx + y = S with x,y>0x, y > 0, the product xyxy is maximized when x=y=S/2x = y = S/2.

  40. Ex. 4.40Challenge

    Prove that, when Δ0\Delta \geq 0, the quadratic function f(x)=ax2+bx+cf(x) = ax^2 + bx + c can be written as f(x)=a(xx1)(xx2)f(x) = a(x - x_1)(x - x_2).

  41. Ex. 4.41Challenge

    For which values of p,qp, q is the function f(x)=x2+2px+qf(x) = x^2 + 2px + q non-negative for all xRx \in \mathbb{R}?

  42. Ex. 4.42Proof

    Prove the sign theorem of the quadratic: with a>0a > 0 and Δ>0\Delta > 0 (roots x1<x2x_1 < x_2), f(x)<0f(x) < 0 if and only if x(x1,x2)x \in (x_1, x_2).

Sources

Only books that directly fed the text and exercises. Full catalog at /livros.

  • OpenStax College Algebra 2e — Jay Abramson et al. · 2022 · EN · CC-BY 4.0 · §5.1–5.3 (quadratic functions, vertex, discriminant, optimization). Primary source for Blocks A, C and D.
  • Stitz–Zeager — Precalculus — Carl Stitz, Jeff Zeager · 2013, v3 · EN · CC-BY-NC-SA · §2.3 (canonical form, Vieta, transformations, challenges). Primary source for Blocks B and E.
  • Yoshiwara — Modeling, Functions, and Graphs — Katherine Yoshiwara · 2020 · EN · free · chs. 6–7 (optimization of area, profit, ballistics). Primary source for Block D and the practical door.

Updated on 2026-05-05 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.