Section 8.2 Factoring polynomials
You should be familiar with the quadratic formula, which allows us to factor any polynomial of degree two, into linear factors. Specifically, it tells us that the roots of ax2+bx+c areExample 8.2.1.
Factor \(3x^2-2x+1\) into linear factors.
We will use the formula given above. We have \(a=3\text{,}\) \(b=-2\text{,}\) and \(c=1\text{.}\) Then
Example 8.2.2.
Find the coefficient of \(x^r\) in \(f(x)\text{,}\) where
We have determined in the previous example, that
so we need to solve for \(A\) and \(B\text{,}\) where
Thus,
so the constant term gives \(A+B=1\text{,}\) while the coefficient of \(x\) gives \(A(1-i\sqrt{2})+B(1+i\sqrt{2})=0\text{.}\) Substituting \(B=1-A\) into the latter equation, gives
so \(1+i\sqrt{2}=i2\sqrt{2}A\text{.}\) Hence
We make the denominator of the first fraction rational, by multiplying numerator and denominator by \(\sqrt{2}i\text{,}\) giving
Now since \(B=1-A\text{,}\) we have
To make things a bit simpler, we'll rewrite \(A\) as \((2-\sqrt{2}i)/4\text{,}\) and \(B=(2+\sqrt{2}i)/4\text{.}\)
Thus we have
Using the Generalised Binomial Theorem and \(y=(1+i\sqrt{2})x\text{,}\) we see that the first fraction expands as
and the coefficient of \(x^r\) in this, will be \([(2-\sqrt{2}i)/4](1+i\sqrt{2})^r\text{.}\) Similarly, with \(y=(1-i\sqrt{2})x\text{,}\) the second fraction expands as
and the coefficient of \(x^r\) in this, will be \([(2+\sqrt{2}i)/4](1-i\sqrt{2})^r\text{.}\)
So the coefficient of \(x^r\) in \(f(x)\) is
Exercises 8.2.3.
For each of the generating functions given, factor the denominator and use the method of partial fractions to determine the coefficient of \(x^r\text{.}\)
\(\displaystyle \frac{x}{x^2+5x-1}\)
\(\displaystyle \frac{2+x}{2x^2+x-1}\)
\(\displaystyle \frac{x}{x^2-3x+1}\)