- What is the remainder theorem and how do I use it?
- When p(x) is divided by (x - a) the remainder is p(a), found by substitution with no long division. For a divisor (ax - b) the remainder is p(b/a). For p(x) = 2x³ - 5x² + kx + 4 with remainder 6 on division by (x - 2), the equation p(2) = 6 gives k = 3.
- How do I tell whether x + 2 is a factor of a polynomial?
- (x - a) is a factor of p(x) if and only if p(a) = 0. For (x + 2) substitute x = -2. Each factor gives one equation for the unknown coefficients. For p(x) = x³ + ax² + bx - 6 with factors (x - 1) and (x + 2), the equations a + b = 5 and 2a - b = 7 give a = 4 and b = 1.
- How do I find the sum and product of the roots of a cubic equation?
- For sum a_r x^(r) = 0, the sum of the roots is (-an₋₁)/an and the product is ((-1)ⁿ a₀)/an. Count every root, complex ones included. For 2x³ - 3x² - 11x + 6 = 0 with roots -2 and 3, the sum 3/2 gives the third root 1/2, and the product -3 checks it.
- How do I factorise a polynomial that has complex roots, using only real factors?
- With real coefficients, complex roots come in conjugate pairs, so list all n roots first. A pair a ± bi gives the real quadratic factor z² - 2az + (a² + b²). Write the polynomial as the leading coefficient times one factor for each root. Then combine the factors, so that the polynomial factorises over the reals into linear and quadratic factors.
- Why is the product of the roots of my cubic the wrong sign?
- For 3z³ - 6z² + 2z - 9 = 0 the product is ((-1)³(-9))/3 = 3. Leaving out the (-1)ⁿ gives -3, which is wrong, because for a cubic the product is (-a₀)/an. The sum is found the same way: the coefficient -6 gives a sum of 2.