Lesson 5 of 28 · Mathematics

Quadratic equations and inequalities

Use factors, the discriminant and the direction of a parabola to locate every real solution of a quadratic equation or inequality.

About 18 minutes

In this lesson

  • Find the real roots of a quadratic.
  • Decide which intervals have the required sign.
  • Handle repeated roots and strict endpoints.

The idea

Read the question as a height

Imagine a point moving along the graph of y=x2−9y=x^2-9. At each horizontal position the formula gives its height above or below the axis. For real xx, would the point be below the axis at x=−4x=-4? What about at x=0x=0? Work out both heights before continuing. At the first position the square is 1616, so the height is 77. At the second it is −9-9. A negative input can give a positive height. The inequality (disequazione) asks about the sign of the output.

An equation asks where the height equals zero. Its solutions, called roots, mark possible boundaries for an inequality involving the same expression. In the moving-point example the roots are −3-3 and 33. Move from left to right and the curve passes below the axis at the first root and emerges at the second. The solutions of x2−9<0x^2-9<0 therefore form one open interval. Writing x<3x<3 alone would accidentally admit the first position you tested.

Find the boundaries exactly

Collect the terms on one side so that the other side reads zero. If the expression factors, each factor can be set equal to zero in turn. For a quadratic equation in the form ax2+bx+c=0ax^2+bx+c=0, where a≠0a\ne0, the formula x=(−b±b2−4ac)/(2a)x=(-b\pm\sqrt{b^2-4ac})/(2a) also gives the roots when they are real. Include the coefficient's sign when you substitute, and divide the whole numerator by the denominator. Keep a square root in exact form if it does not simplify neatly.

The discriminant (discriminante) is the quantity under that square root. A positive discriminant gives two different real roots. Zero gives one repeated root, because adding and subtracting zero have the same effect. A negative discriminant gives no real roots. When a coefficient is unknown, you can sometimes answer a question about the number of roots without finding either root. For instance, the discriminant of x2+2x+kx^2+2x+k is 4−4k4-4k. The two roots coincide precisely when k=1k=1, as you can verify by writing the expression as a square.

Decide the sign on each interval

With distinct roots r<sr<s, write the quadratic as a(x−r)(x−s)a(x-r)(x-s). To the left of both roots the two bracketed factors are negative. Between the roots only the second is negative, and to the right both are positive. The product of the brackets therefore changes sign at each crossing. Multiplication by the leading coefficient gives the final sign. In particular, a negative leading coefficient makes both outer intervals negative and the middle interval positive. You can draw a short number line with two marks and write the signs over the gaps.

A sample value gives another way to recover the sign on a gap. The curve cannot switch from positive to negative there without passing through zero, and all its zeros are already marked. Choose an easy value inside the gap. Zero is convenient when the constant term is nonzero, since the height at zero equals the constant term. When zero is itself a root it tells you nothing about either neighbouring gap. Use another value, perhaps the midpoint between the roots, to decide the sign there.

Read the marks as well as the gaps

A strict inequality excludes every root. An inclusive one admits a root even if neither neighbouring interval works. For example, a square is positive on both sides of its repeated root, but equals zero at the root itself. Asking where a square is less than or equal to zero can therefore leave a single point. With no real roots the entire curve stays on one side of the axis. A single substitution then settles the sign everywhere. Finally, translate your number line back into the language of the question. If it asks for integers, count the eligible integer positions only after settling which boundary points belong.

Worked examples

Example 1: An upward parabola

Solve x2−5x+6<0x^2-5x+6<0 over the real numbers.

  1. The factors are (x−2)(x−3)(x-2)(x-3) because the constants multiply to six and sum to negative five.

  2. The heights at the roots are zero. Between them the factors have opposite signs, and outside they have matching signs.

Answer

The solution is 2<x<32<x<3. The endpoints solve the associated equation only.

Example 2: Change all the coefficients

Solve −x2+5x−6<0-x^2+5x-6<0 over the real numbers.

  1. The expression is −(x−2)(x−3)-(x-2)(x-3), so the two boundary positions stay fixed.

  2. Each nonzero height changes sign. The outer intervals now lie below the axis.

  3. Check an outer point: at zero the height is negative six.

Answer

Take x<2x<2 or x>3x>3. Negating all the coefficients reflects every height across the axis.

Common traps

  • Taking the root of a square

    The principal square root of x2x^2 is ∣x∣|x|. For x2<9x^2<9 both lower and upper bounds matter.

  • Testing a boundary

    If the trial value gives zero, it locates a root. Move into the gap before assigning its sign.

Check yourself

Answer each question before you open its answer.

Question 1: A closed solution set

Equations, inequalities and systems

Which real inputs satisfy −2x2+8x−6≥0-2x^2+8x-6\ge0?

  1. A.x≤1x\le1 or x≥3x\ge3
  2. B.1<x<31<x<3
  3. C.1≤x≤31\le x\le3
  4. D.x≤3x\le3
  5. E.x=1x=1 or x=3x=3
Show the answer

Answer: C. 1≤x≤31\le x\le3

Working

Divide by negative two and reverse the sign. The resulting product (x−1)(x−3)≤0(x-1)(x-3)\le0 holds between the roots and at both endpoints.

Why the other options are wrong

  • A. This assigns the positive sign to the outer gaps of a downward parabola.
  • B. Both endpoints give zero and satisfy the inclusive sign.
  • D. This includes zero, where the expression is negative.
  • E. These are the zeros alone. The value at two is also admissible.

What carries over

Include the roots when equality is allowed.

Question 2: A parameter at the boundary

Equations, inequalities and systems

For which real hh does x2−6x+h=0x^2-6x+h=0 have precisely one real root?

  1. A.h=3h=3
  2. B.h=−9h=-9
  3. C.h=36h=36
  4. D.h=9h=9
  5. E.h=0h=0
Show the answer

Answer: D. h=9h=9

Working

One root requires 36−4h=036-4h=0, giving h=9h=9. The equation becomes (x−3)2=0(x-3)^2=0.

Why the other options are wrong

  • A. Three is the position of the vertex, rather than the required constant.
  • B. This sign gives a positive discriminant and two roots.
  • C. This uses the squared middle coefficient without dividing by four.
  • E. This gives the distinct roots zero and six.

What carries over

A repeated root gives a zero discriminant.

Question 3: A curve above the axis

Equations, inequalities and systems

Which real inputs satisfy x2−2x+3<0x^2-2x+3<0?

  1. A.All real numbers
  2. B.No real numbers
  3. C.x<0x<0
  4. D.x=1x=1 only
  5. E.x<1x<1
Show the answer

Answer: B. No real numbers

Working

Completing the square gives (x−1)2+2(x-1)^2+2, at least two for every real input. It can never be below zero.

Why the other options are wrong

  • A. This reverses the sign of a quadratic that stays above the axis.
  • C. A negative input does not force the height to be negative.
  • D. One minimises the expression, but the minimum is positive.
  • E. The curve decreases on this interval, which does not make its height negative.

What carries over

A minimum above zero settles the sign everywhere.

Key points

  • Use the roots as boundary marks on the real line.

  • The leading coefficient controls the sign outside two distinct roots.

  • Check the endpoints separately for inclusive signs.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Practica este tema

Preguntas nuevas sobre esta habilidad, con explicaciones resueltas. La práctica requiere un Single Exam Pass o Plus.