Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 05 / 10Complex Numbers and Quadratic Equations

Quadratic Equations: Roots, Discriminant and Relations Between Roots and Coefficients

Deriving the quadratic formula, the discriminant and the nature of roots over reals and rationals, Vieta's relations for sums and products, symmetric functions of roots, forming equations with transformed roots, and Vieta for higher-degree polynomials.

Figure 1
A quadratic equation is ax2+bx+c=0ax^{2} + bx + c = 0 with a≠0a \neq 0. Completing the square: divide by aa, then x2+bax=−cax^{2} + \frac{b}{a}x = -\frac{c}{a}, so (x+b2a)2=b2−4ac4a2(x + \frac{b}{2a})^{2} = \frac{b^{2} - 4ac}{4a^{2}}. Taking square roots gives x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^{2} - 4ac}}{2a}. The quantity D=b2−4acD = b^{2} - 4ac is the discriminant, and for real coefficients it decides the nature of the roots: D>0D > 0: two distinct real roots. D=0D = 0: two equal real roots, x=−b2ax = -\frac{b}{2a}. D<0D < 0: two non-real roots that are complex conjugates. If the coefficients are rational, the roots are rational exactly when DD is the square of a rational number; otherwise irrational roots come in conjugate pairs p±qp \pm \sqrt{q}. Graphically (for a>0a > 0), the parabola y=ax2+bx+cy = ax^{2} + bx + c cuts the xx-axis twice, touches it, or stays entirely above it, as in the figure. Relations between roots and coefficients (Vieta's formulas). If α,β\alpha, \beta are the roots, then ax2+bx+c=a(x−α)(x−β)ax^{2} + bx + c = a(x - \alpha)(x - \beta). Comparing coefficients: α+β=−ba\alpha + \beta = -\frac{b}{a} and αβ=ca\alpha\beta = \frac{c}{a}. Conversely, the quadratic with roots α,β\alpha, \beta is x2−(α+β)x+αβ=0x^{2} - (\alpha + \beta)x + \alpha\beta = 0. These relations hold whether the roots are real or complex, and whether the coefficients are real or complex. Symmetric functions. Any expression in α,β\alpha, \beta that is unchanged when they are swapped can be written in terms of S=α+βS = \alpha + \beta and P=αβP = \alpha\beta, without solving the equation. α2+β2=S2−2P\alpha^{2} + \beta^{2} = S^{2} - 2P. (α−β)2=S2−4P=Da2(\alpha - \beta)^{2} = S^{2} - 4P = \frac{D}{a^{2}}, so ∣α−β∣=D∣a∣|\alpha - \beta| = \frac{\sqrt{D}}{|a|} for real roots. α3+β3=S3−3PS\alpha^{3} + \beta^{3} = S^{3} - 3PS. 1α+1β=SP\frac{1}{\alpha} + \frac{1}{\beta} = \frac{S}{P}. For higher powers use the recurrence: if sn=αn+βns_{n} = \alpha^{n} + \beta^{n}, then asn+bsn−1+csn−2=0as_{n} + bs_{n-1} + cs_{n-2} = 0. This holds because each root satisfies aα2+bα+c=0a\alpha^{2} + b\alpha + c = 0; multiply by αn−2\alpha^{n-2} and add the same for β\beta. Transforming roots. To form the equation whose roots are f(α)f(\alpha) and f(β)f(\beta), set y=f(x)y = f(x), solve for xx in terms of yy, and substitute into the original equation. Roots kα,kβk\alpha, k\beta: replace xx by xk\frac{x}{k}. Roots α+k,β+k\alpha + k, \beta + k: replace xx by x−kx - k. Roots 1α,1β\frac{1}{\alpha}, \frac{1}{\beta}: replace xx by 1x\frac{1}{x}, which reverses the coefficients to cx2+bx+a=0cx^{2} + bx + a = 0. Roots −α,−β-\alpha, -\beta: replace xx by −x-x. Higher degree. For anxn+an−1xn−1+⋯+a0=0a_{n}x^{n} + a_{n-1}x^{n-1} + \cdots + a_{0} = 0 with roots α1,…,αn\alpha_{1}, \ldots, \alpha_{n}: the sum of the roots is −an−1an-\frac{a_{n-1}}{a_{n}}, the sum of the products two at a time is an−2an\frac{a_{n-2}}{a_{n}}, and so on with alternating signs, ending with the product of all roots, (−1)na0an(-1)^{n}\frac{a_{0}}{a_{n}}. For a cubic ax3+bx2+cx+dax^{3} + bx^{2} + cx + d: ∑α=−ba\sum\alpha = -\frac{b}{a}, ∑αβ=ca\sum\alpha\beta = \frac{c}{a} and αβγ=−da\alpha\beta\gamma = -\frac{d}{a}. An identity versus an equation. If a quadratic ax2+bx+cax^{2} + bx + c vanishes for three distinct values of xx, it must be identically zero (a=b=c=0a = b = c = 0), because a non-zero polynomial of degree at most 22 has at most 22 roots. This is often used to show that an expression is an identity. Key Takeaways: - x=−b±D2ax = \frac{-b \pm \sqrt{D}}{2a} with D=b2−4acD = b^{2} - 4ac. - Real coefficients: D>0D > 0 two real roots, D=0D = 0 equal roots, D<0D < 0 a conjugate pair. - Rational coefficients: rational roots iff DD is a perfect square. - α+β=−ba\alpha + \beta = -\frac{b}{a}, αβ=ca\alpha\beta = \frac{c}{a}, ∣α−β∣=D∣a∣|\alpha - \beta| = \frac{\sqrt{D}}{|a|}. - Power sums obey asn+bsn−1+csn−2=0as_{n} + bs_{n-1} + cs_{n-2} = 0. - Reciprocal roots: reverse the coefficients. - A quadratic with more than two roots is identically zero. - Pitfall: using the discriminant to decide 'real or not' when the coefficients are not real. Brain-Teaser 1: If α,β\alpha, \beta are the roots of x2−x−1=0x^{2} - x - 1 = 0, find α6+β6\alpha^{6} + \beta^{6} without solving. Solution: Here a=1a = 1, b=−1b = -1, c=−1c = -1, so the recurrence is sn=sn−1+sn−2s_{n} = s_{n-1} + s_{n-2}, the Fibonacci-type rule. Start with s0=2s_{0} = 2 and s1=α+β=1s_{1} = \alpha + \beta = 1. Then s2=3s_{2} = 3, s3=4s_{3} = 4, s4=7s_{4} = 7, s5=11s_{5} = 11 and s6=18s_{6} = 18. These are the Lucas numbers. The recurrence avoids expanding (1+52)6(\frac{1 + \sqrt{5}}{2})^{6}, and it works for any quadratic. Brain-Teaser 2: For what values of kk does x2−kx+9=0x^{2} - kx + 9 = 0 have (a) real roots, (b) roots that are both positive, (c) roots of opposite sign? Solution: (a) D=k2−36≥0D = k^{2} - 36 \ge 0, so k≤−6k \le -6 or k≥6k \ge 6. (b) Both roots positive requires real roots, a positive sum k>0k > 0 and a positive product 9>09 > 0. Together: k≥6k \ge 6. (c) Opposite signs require the product to be negative, but the product is 99, so this is impossible for every kk. The general principle: the signs of the roots are controlled by Vieta. A negative product guarantees real roots of opposite sign automatically, because then D=b2−4ac>0D = b^{2} - 4ac > 0. Brain-Teaser 3: If one root of ax2+bx+c=0ax^{2} + bx + c = 0 is the square of the other, show that b3+ac2+a2c=3abcb^{3} + ac^{2} + a^{2}c = 3abc. Solution: Let the roots be α\alpha and α2\alpha^{2}. Vieta gives α+α2=−ba\alpha + \alpha^{2} = -\frac{b}{a} and α3=ca\alpha^{3} = \frac{c}{a}. Cube the first equation: (α+α2)3=α3+α6+3α3(α+α2)(\alpha + \alpha^{2})^{3} = \alpha^{3} + \alpha^{6} + 3\alpha^{3}(\alpha + \alpha^{2}). Substituting, −b3a3=ca+c2a2+3ca(−ba)-\frac{b^{3}}{a^{3}} = \frac{c}{a} + \frac{c^{2}}{a^{2}} + 3\frac{c}{a}(-\frac{b}{a}). Multiplying by a3a^{3}: −b3=a2c+ac2−3abc-b^{3} = a^{2}c + ac^{2} - 3abc, which rearranges to b3+ac2+a2c=3abcb^{3} + ac^{2} + a^{2}c = 3abc. The technique is to express the given relation between the roots through Vieta, then eliminate the unknown root by cubing so that only α3\alpha^{3} (known from the product) appears.