Coefficient from a Factor and the Remainder
Coefficient from a Factor and the Remainder
Coefficient from a Factor and the Remainder
- 126 bytes
- COMP mode
Worked examples
Example 1
Let f(x) = 3x⁴ + kx² − 12, where k is a constant. It is given that x − 2 is a factor of f(x).
(a) Find k.
(b) Explain why x + 2 is also a factor of f(x).
(c) Find the remainder when f(x) is divided by x − 1.
Answer
Standard solution (without a calculator)
- Factor theorem: x − 2 = 0 gives r = 2, so f(2) = 0: 3(16) + 4k − 12 = 0, i.e. 36 + 4k = 0 and k = −9.
- Even powers only: f(x) = 3x⁴ − 9x² − 12 has only even powers of x, so f(−2) = f(2) = 0 and x + 2 is also a factor.
- Remainder theorem: x − 1 = 0 gives s = 1, so R = f(1) = 3 − 9 − 12 = −18.
A constant term has exponent zero. The zero-root branch reads constants directly and avoids 0^0.
Example 2
Let g(x) = kx³ + 5x − 6, where k is a constant. It is given that 3x − 2 is a factor of g(x). Find k and the remainder when g(x) is divided by x + 1.
Answer
Standard solution (without a calculator)
- Root of the factor: 3x − 2 = 0 gives r = 2/3, so g(2/3) = 0: k(8/27) + 10/3 − 6 = 0.
- Solve: k(8/27) = 8/3, so k = (8/3)(27/8) = 9.
- Remainder: x + 1 = 0 gives s = −1, so R = g(−1) = −9 − 5 − 6 = −20. Enter the root 2÷3 at X, not the divisor 3x − 2.
A constant term has exponent zero. The zero-root branch reads constants directly and avoids 0^0.
Example 3
A workshop models its weekly profit, in hundreds of dollars, by P(x) = −x³ + 12x² + kx, where x is the number of items made, in hundreds, and k is a constant. The model gives zero profit when x = 10.
(a) Find k.
(b) Find the profit predicted when x = 6.
(c) Show that x − 2 is also a factor of P(x).
Answer
Standard solution (without a calculator)
- Factor theorem: P(10) = 0, so x − 10 is a factor: −1000 + 1200 + 10k = 0, 10k = −200 and k = −20.
- Remainder theorem: P(6) = −216 + 432 − 120 = 96, so the predicted profit is 96 hundred dollars, i.e. $9600.
- Another factor: P(2) = −8 + 48 − 40 = 0, so x − 2 is a factor; indeed P(x) = −x(x − 2)(x − 10). To see this on the calculator, run the program again with Y = 2.
Known terms −x³ and 12x², unknown term kx: enter A = −1, B = 3, C = 12, D = 2, M = 1. There is no constant term.
When to use it
Use f(x)=Ax^B+Cx^D+kx^M with two known terms and one unknown coefficient. Enter A,B,C,D,M and factor root X. Read k, then enter divisor root Y and read the remainder.
Purpose
- Apply the factor theorem and remainder theorem.
Input
- Use f(x)=Ax^B+Cx^D+kx^M with two known terms and one unknown coefficient. Enter A,B,C,D,M and factor root X. Read k, then enter divisor root Y and read the remainder.
Output
- k → R
- A constant term has exponent zero. The zero-root branch reads constants directly and avoids 0^0.
Check before use
- B,D,M must be nonnegative integers, although the program does not check the exponents. If the factor root is zero, only M=0 uniquely determines k; M>0 gives Math ERROR, whether the factor condition is impossible or indeterminate. A zero divisor root is supported. Enter the root −b/a of ax+b, not the divisor itself; do not divide the final remainder by a. Extreme powers or cancellation can exceed calculator precision.
- Use COMP and an empty program area. Enter every required value explicitly; a blank EXE keeps the old value and does not mean zero.
- Use (−) for a negative number and − for subtraction. While Disp is lit, press EXE to continue; the final screen ends the run. AC leaves safely; another EXE starts again.
- Use at most two known monomials and one unknown coefficient in a single monomial; this template does not handle three known terms or an unknown appearing in multiple terms.
Checking access…