Equating Coefficients/Examples/Quadratic

From ProofWiki
Jump to navigation Jump to search

Example of Equating Coefficients

Consider the quadratic equation:

$(1): \quad x^2 + a x + b = 0$

Let the roots of $(1)$ be $\alpha$ and $\beta$.

Thus:

\(\ds x^2 + a x + b\) \(=\) \(\ds \paren {x - \alpha} \paren {x - \beta}\)
\(\ds \) \(=\) \(\ds x^2 - \paren {\alpha + \beta} x + \alpha \beta\)


Hence by equating coefficients:

\(\ds -a\) \(=\) \(\ds \alpha + \beta\) as the coefficients of $x^1$ must be the same
\(\ds b\) \(=\) \(\ds \alpha \beta\) as the coefficients of $x^0$ must be the same


Sources