FundamentholLog inStart lesson 1 freeBack to app

Quadratic Expressions

MathsQuadratic Equations
For JEE aspirants
All quadratic equations formulas for JEE on one page →

A quadratic expression with traces a parabola: opening upward if and downward if . Its sign for all real is decided by the leading coefficient and the discriminant , giving six standard cases from 'always positive' to 'always negative'. The vertex gives the maximum or minimum value . This page covers the sign of a quadratic expression, its greatest and least values, and the range of a rational expression, with eight solved examples for JEE Main and JEE Advanced.

On this page1Parabola2Sign cases3Greatest and least4Range method5Solved examples
Key Formulas - Quick Reference
  1. Standard quadratic expression: with
  2. ★ Must learnVertex:
  3. ★ Must learnExtremum value:
  4. If : minimum value ; no maximum
  5. If : maximum value ; no minimum
  6. ★ Must learnAlways positive (): and
  7. Always negative (): and
  8. ★ Must learnNon-negative (): and
  9. Perfect square (square of a real linear polynomial): and
  10. Range of rational expression: set and require the resulting quadratic in to have real solutions (discriminant )

1. The Quadratic Expression as a Parabola

The expression (with real and ) is called a real quadratic expression in . Its graph is a parabola:

  • If , the parabola opens upward: as .
  • If , the parabola opens downward: as .

The vertex lies at and gives the minimum value (if ) or maximum value (if ):

★ Must learn
Least and greatest value of a quadratic expression at the vertex Two parabolas. The upward parabola y equals x squared minus 2x plus 3 has its lowest point at 1, 2, the least value. The downward parabola y equals minus x squared plus 2x plus 1 has its highest point at 1, 2, the greatest value. a > 0 opens upward least value −D/(4a) = 2 at x = −b/(2a) = 1 no greatest value a < 0 opens downward greatest value −D/(4a) = 2 at x = −b/(2a) = 1 no least value
Figure 1: The vertex gives the only extreme value. (, ) has least value at ; (, ) has greatest value at .
Key idea
The sign of fixes which way the parabola opens; the vertex gives its only extreme value, .

2. Sign of the Quadratic Expression

The sign of for all real depends on the sign of and the discriminant . Six standard sub-cases:

Case I: (parabola opens upward)

DiscriminantSign of Geometric picture
Parabola stays entirely above the -axis
Parabola touches the -axis at exactly one point (double root)
outside ; insideParabola cuts the -axis at two points

Case II: (parabola opens downward)

DiscriminantSign of Geometric picture
Parabola stays entirely below the -axis
Parabola touches the -axis at exactly one point
outside ; insideParabola cuts the -axis at two points
Six sign cases for a quadratic expression Six parabolas showing three upward and three downward cases with the three possible signs of the discriminant: always positive, non-negative touching the axis, changing sign at the roots, and the same three for a less than zero. a > 0, D < 0 always positive a > 0, D = 0 non-negative, touches axis a > 0, D > 0 changes sign at roots a < 0, D < 0 always negative a < 0, D = 0 non-positive, touches axis a < 0, D > 0 changes sign at roots
Figure 2: All six sign configurations of the quadratic expression , organised by sign of (row) and sign of (column). Drawn from , and .
Always positive: , The parabola never reaches the -axis, so for every . Example: ().
Non-negative: , The parabola may touch the axis once, so . Example: is at .
Exam Trick

No two distinct real roots ()? Then never changes sign, so one value away from a double root fixes its sign everywhere; is the quickest. For : and , so it is positive for every . Solved Example 3 uses the same idea.

Sign of a quadratic expression with two real roots Parabola y equals x squared minus 2x minus 3, green where it is above the x-axis and red where it is below, with roots minus 1 and 3, and a sign row underneath reading plus, minus, plus. a > 0, D > 0: f(x) = x2 − 2x − 3 x sign of f(x) + f > 0 − f < 0 + f > 0 α = −1 β = 3
Figure 3: With and , is positive outside and negative strictly between the roots. With the signs swap: negative outside, positive between.
Quick Recall: tap to check
Sign of for real ?
and : always negative.
When is for all real ?
Exactly when and .
For and , where is negative?
Strictly between the roots, .
Key idea
The sign of decides what happens far from the vertex; the sign of decides whether the parabola reaches the -axis.

3. Greatest and Least Values

When (parabola opens upward)

The expression has no greatest value (it goes to ) and a least value of attained at .

When (parabola opens downward)

The expression has no least value (it goes to ) and a greatest value of attained at .

Completing the square gives the same result: . Since the squared term is always , the extremum equals the constant , achieved when .
Completing the square moves the vertex The parabola y equals 2x squared, dashed, and the same parabola moved 1 to the right and 3 up, y equals 2 times x minus 1 squared plus 3, whose vertex 1, 3 gives the least value 3. y = 2x2 y = 2x2 − 4x + 5 = 2(x − 1)2 + 3 vertex moves 1 right, 3 up, to (1, 3) x O 1 3
Figure 4: Completing the square, : the graph is moved 1 right and 3 up. The squared term is never negative, so the least value is , at .
The extreme value: a number on the -axis. For it is .
Where it occurs: a point on the -axis. For it is .
Exam Trick

Know the roots? The vertex is midway, , and the extreme value is . So has its least value at : .

JEE Advanced

Greatest and least values on a closed interval. On the extremes of are among , and, if , the vertex value . If the vertex lies outside , is increasing or decreasing on the whole interval and both extremes sit at the ends (Figure 5).

This is how a quadratic in or is handled: put and treat on that interval (Solved Example 8).

Greatest and least values of a quadratic on a closed interval Two panels. Top: x squared minus 4x plus 5 on the interval 0 to 3, least value 1 at the vertex and greatest value 5 at the left end. Bottom: t squared minus 3t plus 2 on minus 1 to 1, vertex outside, greatest 6 and least 0 at the ends. Vertex inside [0, 3] f(x) = x2 − 4x + 5 least 1 (vertex x = 2), greatest 5 (x = 0) 0 3 Vertex outside [−1, 1] f(t) = t2 − 3t + 2, vertex t = 1.5 greatest 6 (t = −1), least 0 (t = 1) −1 1
Figure 5: On a closed interval the extreme values are among , and the vertex value (if the vertex is inside). Top: on has least value at the vertex and greatest at . Bottom: on has its vertex at , outside (hollow dot), so both extremes are at the ends: and (Solved Example 8). Green marks the greatest value, red the least.
Quick Recall: tap to check
Least value of ?
, at .
Does have a greatest value?
No: , so it grows without bound.
Greatest value of ?
, at .

4. Range of a Rational Expression in

To find the range of a rational expression where are quadratics in (or one is linear), use this four-step reduction:

  1. Set the rational expression equal to and clear denominators: .
  2. Rearrange as a quadratic equation in with as a parameter.
  3. For real to exist, the discriminant of that quadratic (in ) must be . This gives an inequality in .
  4. Solve the inequality in ; the resulting range is the range of the original expression.
Exam Trick

Check a range quickly: the end values it attains come from a repeated root in , at . In Solved Example 1, gives , so , and gives : substitute back and both values come out.

Flowchart: range of a rational expression Flowchart. Set the expression equal to y, cancel common factors but note the x values they remove, and clear the denominator to get a quadratic in x. If the x squared coefficient vanishes for some y, solve that linear case separately; otherwise require the discriminant in x to be at least zero. On both branches drop any y reached only at a removed x or where the denominator is zero. yes no y = P(x)/Q(x) cancel common factors, note the x they remove y·Q(x) = P(x): A(y)x2 + B(y)x + C(y) = 0 for each y: A(y) = 0? that y: keep it if B(y)x + C(y) = 0 has a solution real x needs B2 − 4AC ≥ 0 drop any y reached only at a removed x or where Q = 0 range = all y kept
Figure 6: Flowchart for the range of . The discriminant test in gives the possible , the value that kills the coefficient is solved separately, and on both branches a reached only at an removed by cancelling, or at a zero of , is dropped. For this removes
Quick Recall: tap to check
First step for the range of ?
Set it equal to and clear the denominator: .
Why and not ?
gives a repeated real , which is still a real , so that is attained (unless that makes the denominator zero).
What if the coefficient is for some ?
Solve that linear equation separately; Solved Example 1 gets this way.
Key idea
A value is in the range exactly when the equation in has a real solution that keeps the denominator non-zero.
Mind map: quadratic expressions Mind map with six branches: parabola, sign, extreme value, values on an interval, range of a rational expression, and common traps. Parabola a > 0: opens up a < 0: opens down vertex x = −b/(2a) Sign D < 0: sign of a D = 0: sign of a or 0 D > 0: changes sign Extreme value −D/(4a) at vertex a > 0: least a < 0: greatest On [p, q] vertex in: −D/(4a) and both ends else: ends only Range of P/Q set equal to y D (in x) ≥ 0 check A(y) = 0 Watch out f ≥ 0: a > 0, D ≤ 0 removed x: drop y D ≥ 0, not D > 0 Quadratic expressions
Figure 7: Mind map of quadratic expressions: the parabola, the sign cases for , and , the extreme value at the vertex, extremes on an interval, the range of a rational expression and the usual traps.

5. Solved Examples

Solved Example 1
Find the maximum and minimum values of for real .
Solution:

Set . Cross-multiplying:

For real , discriminant :

Factor as difference of squares:

So .

Aside: the case makes the quadratic degenerate to a linear equation , giving , which is valid. So is attained too, consistent with .

Range of a rational expression seen on its graph Graph of y equals x squared minus x plus 1 over x squared plus x plus 1, between the lines y equals one third and y equals 3, touching them at x equals 1 and x equals minus 1, cut twice by y equals 2, and tending to 1 far away. y = (x2 − x + 1)/(x2 + x + 1) y = 2 meets it twice y = 1: the curve tends to 1 greatest 3 at x = −1 least 1/3 at x = 1 x y −1 1
Figure 8: Solved Example 1. A horizontal line meets the curve exactly when : that is the discriminant condition. and touch it at and (a repeated root in ); cuts it twice, at
Solved Example 2
If , prove that .
Solution:

Complete the square in each expression. For the first (leading coefficient , minimum exists):

Minimum value .

For the second (leading coefficient , maximum exists):

Maximum value .

The given inequality becomes:

Least value of one quadratic above the greatest value of another Upward parabola x squared minus 1 with least value minus 1 and downward parabola minus x squared plus 2x minus 3 with greatest value minus 2, with a gap of 1 between the two levels. x2 − 1: least value −1 −x2 + 2x − 3: greatest −2 x gap 1
Figure 9: Solved Example 2 with , so . The least value of is , the greatest value of is , and as the condition needs.
Solved Example 3
If the quadratic equation () does not have two distinct real roots, find the minimum value of .
Solution:

Since the equation does not have two distinct real roots, either the roots are complex () or they are real and equal (). In either case, does not change sign, so it is either always or always .

Note , so for all real . In particular:

Hence the minimum value of is , achieved when equality holds in , i.e. when is a repeated root.

A quadratic with no two distinct roots stays on one side of the axis Two parabolas through the point 0, 5 that never go below the x-axis: one fifth of x plus 5 squared, touching the axis at minus 5, and x squared plus 5. a = 1/5, b = −2: 5a + b = −1 a = 1, b = 0: 5a + b = 5 x O f(0) = 5 f(−5) = 0
Figure 10: Solved Example 3. With no two distinct real roots, never changes sign, and , so , that is . The orange member touches the axis at and gives .
Solved Example 4
Find the range of for real .
Solution:

The denominator is never zero. Set and clear it:

For , real needs :

For the equation is linear, which gives : so is attained. Range: .

Solved Example 5
Find all real for which for every real .
Solution:

If the expression is , which is negative for : rejected.

Otherwise we need and :

So or . Together with : .

Solved Example 6
The least value of for real is
(A)
(B)
(C)
(D)
Solution:

Complete the square in each variable:

Each square is and all three vanish at , , , so the least value is . Answer: .

Solved Example 7
If is real, takes all values in
(A)
(B)
(C)
(D)
Solution:

has , so it is never zero. Set :

For , real needs :

For the equation is , so and is attained. Answer: .

Solved Example 8
Find the range of for real .
Solution:

Put , so and the expression is .

The vertex is at , outside , so is decreasing on the whole interval (Figure 5).

Greatest value (when ), least value (when ). Range: .

Practice Questions
  1. Find the least value of .Answer: , at .
  2. Find the greatest value of .Answer: , at .
  3. For which real is for every real ?Answer: .
  4. For which real is for every real ?Answer: .
  5. Find the range of .Answer:
  6. Find the range of .Answer:
  7. Find the greatest and least values of on .Answer: Least at , greatest at .

Common Mistakes to Avoid

Watch out
  • Confusing the max/min value of the expression with the location of the extremum. The value is ; the location is .
  • Assuming a quadratic with has both a maximum and minimum. It has only a minimum (at the vertex); it has no maximum since .
  • Using alone to conclude 'always positive'. You also need . If and , the expression is always negative.
  • In the range-of-rational-expression technique, forgetting to check when the coefficient of becomes zero (i.e. takes a value that makes the equation linear rather than quadratic). Handle that value separately.
  • In the range technique, using instead of . The equality case corresponds to a repeated real root of , which is still a valid real , so is correct.
  • Assuming that ' has no real roots' means the discriminant is zero. It means (strict inequality). gives one repeated real root, so the expression touches zero.
  • Using the vertex value on a restricted interval when the vertex lies outside it: then both extremes are at the ends (Solved Example 8, Figure 5).
  • Cancelling a common factor and forgetting the it removes: for the discriminant test allows every , but is never reached because it needs , where the expression is not defined (Figure 6).

Frequently Asked Questions

What is the difference between a quadratic equation and a quadratic expression?

A quadratic expression is - a polynomial in of degree 2. A quadratic equation is - setting the expression equal to zero and asking for the values of that satisfy it. The expression is a function of ; the equation has specific roots.

How do you find the maximum or minimum value of a quadratic expression?

The extremum is at the vertex , with value . If this is the minimum (no maximum); if this is the maximum (no minimum). You can also derive this by completing the square.

When is positive for all real ?

for all real if and only if and . Geometrically, the parabola opens upward and does not touch the -axis.

When is non-negative for all real ?

for all real if and only if and . The equality corresponds to the expression touching zero at exactly one point (a repeated root).

How do you find the range of a rational expression like ?

Set the expression equal to and clear denominators to get a quadratic in with as parameter. For to be real, the discriminant of that quadratic (in ) must be . Solve the resulting inequality in - the solution set is the range.

Why does completing the square give the vertex formula?

Writing shows the expression is a shifted-and-scaled version of . The squared term is minimised when , i.e. , giving the constant as the extremum.

When is a quadratic expression a perfect square?

is a perfect square (the square of a real linear polynomial) if and only if and . In that case .

How can a quadratic expression in two variables be factored into linear factors?

For to factor into two linear factors in and , treat it as a quadratic in with as a parameter. Its discriminant (in ) must be a perfect square in , which itself requires that discriminant's own discriminant (in ) to be zero. This gives an algebraic condition on the coefficients.

Keep going

Related in this chapter

Some Other Forms of Equations
All concepts in Quadratic Equations →