What this les­son cov­ers

The qua­dratic func­tion y=ax2+bx+cy = ax^2 + bx + c appears all through this course: in ranges, in domains and in inequal­i­ties. This les­son recalls the nature of the roots, describes the graph for a>0a > 0 and a<0a < 0, and turns those graphs into a com­plete rule for solv­ing qua­dratic inequa­tions.

Qua­dratic equa­tion and qua­dratic func­tion

An equa­tion of the form ax2+bx+c=0ax^2 + bx + c = 0, where a≠0a \neq 0 and a,b,ca, b, c are com­plex num­bers, is called a qua­dratic equa­tion in xx; a,b,ca, b, c are its coef­fi­cients. The func­tion y=ax2+bx+cy = ax^2 + bx + c with a≠0a \neq 0 is called a qua­dratic func­tion.

Nature of the roots

The roots of ax2+bx+c=0ax^2 + bx + c = 0 are

x=−b±b2−4ac2a.\displaystyle x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Let Δ=b2−4ac\Delta = b^2 - 4ac, the dis­crim­i­nant. When a,b,ca, b, c are real:

  • Δ>0\Delta > 0: the roots are real and dis­tinct.
  • Δ=0\Delta = 0: the roots are real and equal.
  • Δ<0\Delta < 0: the roots are com­plex (imag­i­nary).

Graph of a qua­dratic expres­sion

Com­plet­ing the square gives

y=ax2+bx+c=a(x+b2a)2+4ac−b24a.\displaystyle y = ax^2 + bx + c = a\left(x + \frac{b}{2a}\right)^2 + \frac{4ac - b^2}{4a}.

When a>0a > 0. The graph is an upward-open­ing parabola. The squared term is never neg­a­tive, so yy is small­est when x=−b2a\displaystyle x = -\frac{b}{2a}, and the min­i­mum value is 4ac−b24a\displaystyle \frac{4ac - b^2}{4a}.

Vertex=(−b2a,4ac−b24a),Range=[4ac−b24a,∞) for x∈R.\displaystyle \text{Vertex} = \left(-\frac{b}{2a}, \frac{4ac - b^2}{4a}\right), \qquad \text{Range} = \left[\frac{4ac - b^2}{4a}, \infty\right) \text{ for } x \in \mathbb{R}.

If Δ<0\Delta < 0 the whole parabola lies above the xx-axis; if Δ=0\Delta = 0 it touches the xx-axis at x=−b2a\displaystyle x = -\frac{b}{2a}; if Δ>0\Delta > 0 it cuts the xx-axis at two points and its ver­tex lies below the axis.

When a<0a < 0. The graph is a down­ward-open­ing parabola. It attains its max­i­mum value 4ac−b24a\displaystyle \frac{4ac - b^2}{4a} at x=−b2a\displaystyle x = -\frac{b}{2a}, the ver­tex is the same point as above, and

Range=(−∞,4ac−b24a] for x∈R.\displaystyle \text{Range} = \left(-\infty, \frac{4ac - b^2}{4a}\right] \text{ for } x \in \mathbb{R}.

If Δ<0\Delta < 0 the whole parabola lies below the xx-axis; if Δ=0\Delta = 0 it touches the axis from below at x=−b2a\displaystyle x = -\frac{b}{2a}; if Δ>0\Delta > 0 it cuts the axis at two points with the ver­tex above the axis.

Sign of a qua­dratic expres­sion

Let f(x)=ax2+bx+cf(x) = ax^2 + bx + c. Read­ing the sign of f(x)f(x) off the graphs gives:

Dis­crim­i­nant Con­clu­sion about f(x)f(x)
Δ<0\Delta < 0 The roots of f(x)=0f(x) = 0 are imag­i­nary, and for every x∈Rx \in \mathbb{R}, f(x)f(x) has the same sign as aa.
Δ=0\Delta = 0 The roots are real and equal, α=β=−b2a\displaystyle \alpha = \beta = -\frac{b}{2a}. Then f(x)=a(x+b2a)2\displaystyle f(x) = a\left(x + \frac{b}{2a}\right)^2 is a per­fect square times aa, and for every x∈R−{−b2a}\displaystyle x \in \mathbb{R} - \left\{-\frac{b}{2a}\right\}, f(x)f(x) has the same sign as aa.
Δ>0\Delta > 0 The roots α<β\alpha < \beta are real and dis­tinct. For α<x<β\alpha < x < \beta, f(x)f(x) and aa have oppo­site signs; for x<αx < \alpha or x>βx > \beta, they have the same sign.

Solu­tion sets of qua­dratic inequa­tions

From the table above we get the solu­tion set of each kind of inequa­tion. Here α<β\alpha < \beta are the real roots when Δ>0\Delta > 0, and p=−b2a\displaystyle p = -\frac{b}{2a} is the repeated root when Δ=0\Delta = 0.

Δ<0, a>0\Delta<0,\ a>0 Δ<0, a<0\Delta<0,\ a<0 Δ=0, a>0\Delta=0,\ a>0 Δ=0, a<0\Delta=0,\ a<0 Δ>0, a>0\Delta>0,\ a>0 Δ>0, a<0\Delta>0,\ a<0
f(x)=0f(x)=0 ϕ\phi ϕ\phi {p}\{p\} {p}\{p\} {α,β}\{\alpha,\beta\} {α,β}\{\alpha,\beta\}
f(x)>0f(x)>0 R\mathbb{R} ϕ\phi R−{p}\mathbb{R}-\{p\} ϕ\phi (−∞,α)∪(β,∞)(-\infty,\alpha)\cup(\beta,\infty) (α,β)(\alpha,\beta)
f(x)≥0f(x)\ge0 R\mathbb{R} ϕ\phi R\mathbb{R} {p}\{p\} (−∞,α]∪[β,∞)(-\infty,\alpha]\cup[\beta,\infty) [α,β][\alpha,\beta]
f(x)<0f(x)<0 ϕ\phi R\mathbb{R} ϕ\phi R−{p}\mathbb{R}-\{p\} (α,β)(\alpha,\beta) (−∞,α)∪(β,∞)(-\infty,\alpha)\cup(\beta,\infty)
f(x)≤0f(x)\le0 ϕ\phi R\mathbb{R} {p}\{p\} R\mathbb{R} [α,β][\alpha,\beta] (−∞,α]∪[β,∞)(-\infty,\alpha]\cup[\beta,\infty)

Use­ful spe­cial cases. For a<ba < b:

  • (x−a)(x−b)<0  ⟺  x∈(a,b)(x - a)(x - b) < 0 \iff x \in (a, b)
  • (x−a)(x−b)≤0  ⟺  x∈[a,b](x - a)(x - b) \le 0 \iff x \in [a, b]
  • (x−a)(x−b)>0  ⟺  x∈(−∞,a)∪(b,∞)(x - a)(x - b) > 0 \iff x \in (-\infty, a) \cup (b, \infty)
  • (x−a)(x−b)≥0  ⟺  x∈(−∞,a]∪[b,∞)(x - a)(x - b) \ge 0 \iff x \in (-\infty, a] \cup [b, \infty)

On a num­ber line, the prod­uct is pos­i­tive out­side the two roots and neg­a­tive between them.

Exam­ple 1

Find the min­i­mum value and the range of f(x)=x2−6x+13f(x) = x^2 - 6x + 13.

Here a=1>0a = 1 > 0. f(x)=(x−3)2+4f(x) = (x - 3)^2 + 4, so the min­i­mum value is 44 at x=3x = 3, the ver­tex is (3,4)(3, 4), and the range is [4,∞)[4, \infty). (Check: 4ac−b24a=52−364=4\displaystyle \frac{4ac - b^2}{4a} = \frac{52 - 36}{4} = 4.)

Exam­ple 2

Solve x2−5x+6≤0x^2 - 5x + 6 \le 0.

x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3), with roots 2<32 < 3 and a>0a > 0. So the solu­tion is x∈[2,3]x \in [2, 3].

Prac­tice

  1. Find the nature of the roots of 2x2−3x+5=02x^2 - 3x + 5 = 0.
  2. Find the max­i­mum value of f(x)=−x2+4x+1f(x) = -x^2 + 4x + 1 and the point where it occurs.
  3. Find the range of f(x)=2x2+4x+7f(x) = 2x^2 + 4x + 7, x∈Rx \in \mathbb{R}.
  4. Solve x2−x−12>0x^2 - x - 12 > 0.
  5. Solve −x2+2x+8≥0-x^2 + 2x + 8 \ge 0.
  6. For which real xx is x2−4x+4>0x^2 - 4x + 4 > 0?
  7. Show that x2+x+1>0x^2 + x + 1 > 0 for every real xx.

Answers

Show answers
  1. Δ=9−40=−31<0\Delta = 9 - 40 = -31 < 0, so the roots are imag­i­nary.
  2. a=−1<0a = -1 < 0; max­i­mum 4ac−b24a=−4−16−4=5\displaystyle \frac{4ac - b^2}{4a} = \frac{-4 - 16}{-4} = 5 at x=2x = 2.
  3. 4ac−b24a=56−168=5\displaystyle \frac{4ac - b^2}{4a} = \frac{56 - 16}{8} = 5, so the range is [5,∞)[5, \infty).
  4. (x−4)(x+3)>0(x - 4)(x + 3) > 0, so x∈(−∞,−3)∪(4,∞)x \in (-\infty, -3) \cup (4, \infty).
  5. −(x−4)(x+2)≥0-(x - 4)(x + 2) \ge 0, so x∈[−2,4]x \in [-2, 4].
  6. (x−2)2>0(x - 2)^2 > 0 for x∈R−{2}x \in \mathbb{R} - \{2\}.
  7. Δ=1−4=−3<0\Delta = 1 - 4 = -3 < 0 and a=1>0a = 1 > 0, so the expres­sion has the sign of aa for every xx, that is, it is pos­i­tive.