Unknown Coefficients in a Quadratic Identity
Unknown Coefficients in a Quadratic Identity
From the coefficient conditions of an identity, find two unknown constants and check the remaining condition.
- 119 bytes
- COMP mode
Worked examples
Example 1
To make values near x = 2 easy to work out, 3x² + mx − 1 is rewritten in powers of (x − 2): 3x² + mx − 1 ≡ 3(x − 2)² + n(x − 2) + 7, where m and n are constants. Find m and n.
Answer
Standard solution (without a calculator)
- Expand the right side: 3(x − 2)² + n(x − 2) + 7 = 3x² − 12x + 12 + nx − 2n + 7 = 3x² + (n − 12)x + (19 − 2n).
- Compare coefficients: the x terms give m = n − 12, that is m − n = −12; the constant terms give −1 = 19 − 2n, that is 2n = 20, so n = 10 and m = −2. Both x² coefficients are 3, so the remaining condition is 0 = 0.
- For the program: with m first and n second the conditions are 1m − 1n = −12, 0m + 2n = 20 and 0m + 0n = 0, so the rounds are (1, −1, −12), (0, 2, 20), (0, 0, 0). Key every 0.
Example 2
The expressions (x + 1)² and x² − 4 are to be combined to give 5x² + 6x − 5. Find the constants a and b such that a(x + 1)² + b(x² − 4) ≡ 5x² + 6x − 5.
(a) Use the x² and x coefficients to find a and b.
(b) Check that the constant terms also agree.
Answer
Standard solution (without a calculator)
- Expand the left side: a(x² + 2x + 1) + b(x² − 4) = (a + b)x² + 2ax + (a − 4b).
- Two conditions: the x² terms give a + b = 5 and the x terms give 2a = 6, so a = 3 and b = 2.
- Third condition: the constant terms need a − 4b = −5; with a = 3 and b = 2 the left side is 3 − 8 = −5, so it holds. The left side of the identity becomes 3x² + 6x + 3 + 2x² − 8 = 5x² + 6x − 5.
- For the program: a + b = 5, 2a + 0b = 6 and a − 4b = −5 give the rounds (1, 1, 5), (2, 0, 6), (1, −4, −5); the screens are 3, 2 and then D = 1.
Example 3
A student claims that there are real constants p and q such that (p + q)x² + (2p − q)x + (p − 2q) ≡ 5x² + x − 2. Which of the following is correct?
A. p = 2 and q = 3 make it an identity.
B. p = 3 and q = 2 make it an identity.
C. Infinitely many pairs p, q make it an identity.
D. No such p and q exist.
Answer
Standard solution (without a calculator)
- All the conditions: x²: p + q = 5; x: 2p − q = 1; constant: p − 2q = −2. All three must hold.
- The only candidate: adding the first two gives 3p = 6, so p = 2 and then q = 3. This uses only two conditions and does not yet prove an identity.
- The third condition fails: p − 2q = 2 − 6 = −4, not −2. The first two already fix p and q, so nothing can mend the third: the answer is D. With the rounds (1, 1, 5), (2, −1, 1), (1, −2, −2) the program shows only D = 0.
When to use it
DSE algebra questions on identities such as a(x + 1)² + b(x² − 4) ≡ 5x² + 6x − 5 are solved by comparing the coefficients of x², x and the constant term. Each comparison is a linear condition on two unknown constants. 024 reads three such conditions, always as A, B, C in A·u + B·v = C: it solves the first two by elimination and checks the third exactly. Memory aid: ABC in three times, X and Y out, D says whether it fits.
What it is for
- Identities at most quadratic in x and linear in two unknown constants
- Finding both constants and confirming the remaining coefficient condition
- Spotting an impossible identity (D = 0) or two dependent conditions (D = −1)
What you enter
- Expand, compare coefficients and write each condition as A·u + B·v = C
- Rounds 1 and 2: two independent conditions; an unknown that is missing has coefficient 0
- Round 3: the remaining condition; 0, 0, 0 when it is simply 1 = 1
What it shows
- D = 1: the first unknown, the second unknown, then 1
- D = 0: only 0 — the third condition fails and there is no identity
- D = −1: only −1, after six numbers — choose two other conditions
Check before use
- Expand, compare coefficients and move terms yourself; an identity with letters cannot be typed in directly.
- A and B are the coefficients of the unknown constants, not the x² or x coefficients of the polynomial. Enter 0 for an unknown that does not appear.
- The first two conditions must fix both unknowns. D = −1 means they are dependent or contradictory: choose another pair. It does not by itself mean that the question has no solution.
- Enter every number, 0 included; a blank EXE keeps the old value and gives a wrong condition.
- Keep each condition in whole numbers of at most 10000 in size: multiply out decimals and fractions first. Beyond that the program gives no warning and the check is not guaranteed exact.
- D = 1 only confirms that the three conditions entered agree; they must represent the whole question. When D = 0 no candidate values are shown — check the expansion and the inputs.
- The answers use the fraction key a b/c: short fractions stay as fractions and long ones become decimals; the whole-number check made before the division is not affected.
- Run in COMP (the example uses P1); the angle unit does not matter. A–D, X, Y and M are overwritten and Norm 1 is set. After the last result, AC leaves and EXE runs again.
Checking access…