MathClario
← All lessons
High schoolπŸ“ˆFunctions15 min read
πŸ“ˆ

Quadratic Function: Complete Lesson with Interactive Parabola

Everything you need on $ax^2 + bx + c$: parabola, discriminant, roots, vertex, sign, solving β€” with a live interactive visualization.

Prerequisites :

  • Algebra basics
  • Expanding and factoring
  • Square roots

The general form

A quadratic polynomial function is written:

f(x)=ax2+bx+cwith a≠0f(x) = ax^2 + bx + c \quad \text{with } a \neq 0

  • a is the leading coefficient (sets the parabola’s opening direction)
  • b is the linear coefficient
  • c is the y-intercept (= f(0)f(0))

The parabola in action

Move the sliders below to see the parabola, discriminant and roots update in real time:

Discriminant Ξ”
β€”
Racines
β€”
Sommet
β€”

Things to try:

  • Flip the sign of a β†’ the parabola turns upside down
  • Make a very small β†’ the parabola flattens
  • Change b and c β†’ roots slide or vanish

The discriminant: Ξ”=b2βˆ’4ac\Delta = b^2 - 4ac

The magic number that decides whether ax2+bx+c=0ax^2 + bx + c = 0 has solutions.

CaseNumber of solutionsFormulas
Ξ”>0\Delta > 02 distinct real rootsx1=βˆ’bβˆ’Ξ”2ax_1 = \dfrac{-b - \sqrt{\Delta}}{2a}, x2=βˆ’b+Ξ”2ax_2 = \dfrac{-b + \sqrt{\Delta}}{2a}
Ξ”=0\Delta = 01 double rootx0=βˆ’b2ax_0 = \dfrac{-b}{2a}
Ξ”<0\Delta < 00 real roots(complex roots)

The vertex

The vertex of the parabola is at:

S(βˆ’b2aβ€…β€Š;β€…β€Šf(βˆ’b2a))S\left(-\dfrac{b}{2a} \; ; \; f\left(-\dfrac{b}{2a}\right)\right)

It appears in green on the interactive parabola above.

  • If a>0a > 0: parabola opens upward, vertex is a minimum.
  • If a<0a < 0: parabola opens downward, vertex is a maximum.

Vertex form

Completing the square:

f(x)=a(xβˆ’Ξ±)2+Ξ²f(x) = a(x - \alpha)^2 + \beta

where Ξ±=βˆ’b2a\alpha = -\dfrac{b}{2a} and Ξ²=f(Ξ±)\beta = f(\alpha). The point (Ξ±,Ξ²)(\alpha, \beta) is exactly the vertex.

Example

f(x)=2x2βˆ’8x+5f(x) = 2x^2 - 8x + 5

  • Ξ±=βˆ’βˆ’84=2\alpha = -\dfrac{-8}{4} = 2
  • Ξ²=2Γ—4βˆ’16+5=βˆ’3\beta = 2 \times 4 - 16 + 5 = -3
  • Vertex form: f(x)=2(xβˆ’2)2βˆ’3f(x) = 2(x - 2)^2 - 3

Three classic examples

Example 1: Ξ”>0\Delta > 0 (two roots)

Solve x2βˆ’5x+6=0x^2 - 5x + 6 = 0.

  • Ξ”=25βˆ’24=1>0\Delta = 25 - 24 = 1 > 0
  • x1=2x_1 = 2, x2=3x_2 = 3.
-1123456-2-11234567x₁xβ‚‚f(x) = xΒ² βˆ’ 5x + 6

Example 2: Ξ”=0\Delta = 0 (double root)

Solve x2βˆ’6x+9=0x^2 - 6x + 9 = 0.

  • Ξ”=0\Delta = 0, double root x0=3x_0 = 3.
  • Factors as (xβˆ’3)2(x - 3)^2.
123456-112345678xβ‚€f(x) = xΒ² βˆ’ 6x + 9

Example 3: Ξ”<0\Delta < 0 (no real root)

Solve x2+x+1=0x^2 + x + 1 = 0.

  • Ξ”=βˆ’3<0\Delta = -3 < 0
  • No real solution. The parabola never touches the x-axis.
-3-2-112-1123456f(x) = xΒ² + x + 1

Sign of the trinomial

One-line rule: f(x)f(x) is the same sign as aa outside the roots, and opposite to aa between them.

For a>0a > 0 with x1<x2x_1 < x_2:

xxβˆ’βˆž-\inftyx1x_1x2x_2+∞+\infty
f(x)f(x)++0βˆ’-0++

Factored form

When Ξ”β‰₯0\Delta \geq 0:

f(x)=a(xβˆ’x1)(xβˆ’x2)f(x) = a(x - x_1)(x - x_2)

(or a(xβˆ’x0)2a(x - x_0)^2 for a double root).

Example: x2βˆ’5x+6=(xβˆ’2)(xβˆ’3)x^2 - 5x + 6 = (x - 2)(x - 3).

Step-by-step method

For ax2+bx+c=0ax^2 + bx + c = 0:

  1. Identify aa, bb, cc.
  2. Compute Ξ”=b2βˆ’4ac\Delta = b^2 - 4ac.
  3. Check the sign of Ξ”\Delta.
  4. Apply the matching formula.
  5. Verify by plugging back in.

Common mistakes

  1. Forgetting 2a2a in the root formula β€” not just 22.
  2. Sign of bb: it’s βˆ’b-b in the formula; if b=βˆ’5b = -5, write βˆ’(βˆ’5)=+5-(-5) = +5.
  3. Squaring bb without parentheses: (βˆ’3)2=9(-3)^2 = 9, not βˆ’9-9.
  4. Mixing equation and function.

Solved exercises

Exercise 1

Solve 2x2+3xβˆ’2=02x^2 + 3x - 2 = 0.

Show solution

Ξ”=9+16=25\Delta = 9 + 16 = 25 x1=βˆ’2x_1 = -2, x2=1/2x_2 = 1/2.

Exercise 2

Find the vertex of f(x)=βˆ’x2+4x+1f(x) = -x^2 + 4x + 1.

Show solution

Ξ±=2\alpha = 2, Ξ²=5\beta = 5. Vertex S(2,5)S(2, 5). Since a<0a < 0, it’s a maximum.

Exercise 3

For which mm does x2βˆ’2x+m=0x^2 - 2x + m = 0 have a double root?

Show solution

Need Ξ”=0\Delta = 0: 4βˆ’4m=04 - 4m = 0, so m=1m = 1.

Takeaways

  • Ξ”=b2βˆ’4ac\Delta = b^2 - 4ac decides the root count.
  • Vertex: xS=βˆ’b2ax_S = -\dfrac{b}{2a}.
  • Sign: same as aa outside roots.
  • Parabola opens up if a>0a > 0, down if a<0a < 0.
  • Vertex form: a(xβˆ’Ξ±)2+Ξ²a(x - \alpha)^2 + \beta.

Going further

#quadratic#parabola#discriminant#trinomial#grade 11#lesson