# Lesson: Sign of a Quadratic Function > Understand the sign of a quadratic function based on the discriminant (Δ < 0, Δ = 0, Δ > 0) with clear sign and variation tables. --- LLMS index: [llms.txt](/llms.txt) ---

5. Sign of a quadratic function

Consider f(x)=ax2+bx+c with a≠0.

Case 1: Δ<0

The quadratic has no real roots and keeps the sign of a on all of R.

x −∞ +∞
f(x) Sign of a (+ if a>0, − if a<0)

Case 2: Δ=0

Double root x0=−b2a. The quadratic has the sign of a everywhere except at x0 where it vanishes.

x −∞ x0 +∞
f(x) Sign of a 0 Sign of a

Case 3: Δ>0

Two distinct roots x1<x2.

f(x) has the sign of a outside [x1,x2], and the opposite sign inside.

Sign table (case a>0, Δ>0):

x −∞ x1 x2 +∞
f(x) + 0 − 0 +

Sign table (case a<0, Δ>0):

x −∞ x1 x2 +∞
f(x) − 0 + 0 −

Bonus: Table of Variations

If you also need the table of variations, here is how the function behaves depending on the sign of a:

Case a>0 (Parabola opens upward, minimum at vertex):

x −∞ −b2a +∞
f(x) ↘ −Δ4a ↗

Case a<0 (Parabola opens downward, maximum at vertex):

x −∞ −b2a +∞
f(x) ↗ −Δ4a ↘