Symmetric Expressions in the Roots of a Quadratic
Symmetric Expressions in the Roots of a Quadratic
Sum, product, sum of squares and a shifted product of the roots of a quadratic, without finding the roots.
- 55 bytes
- COMP mode
Worked examples
Example 1
α and β are the roots of x² + 6x + 4 = 0. Find the value of α/β + β/α.
Answer
Standard solution (without a calculator)
- Compare coefficients: (x − α)(x − β) = x² − (α + β)x + αβ, so α + β = −6 and αβ = 4. The discriminant 36 − 16 = 20 > 0, so α and β are real and non-zero.
- Rewrite the expression: α/β + β/α = (α² + β²)/(αβ), and α² + β² = (α + β)² − 2αβ = 36 − 8 = 28. So the value is 28 ÷ 4 = 7. The answer is C.
- All the screens: the program shows −6, 4 and 28; with D = 0 the fourth value is the product 4 again. The last division 28 ÷ 4 is done by hand.
Example 2
Two square metal sheets have sides α cm and β cm, where α and β are the two positive roots of 3x² − 21x + 15 = 0.
(a) Find α + β and αβ.
(b) Without finding α and β, find the total area of the two sheets.
Answer
Standard solution (without a calculator)
- Compare coefficients: 3(x − α)(x − β) = 3x² − 3(α + β)x + 3αβ. Comparing with 3x² − 21x + 15 gives α + β = 7 and αβ = 5.
- Total area as a symmetric expression: α² + β² = (α + β)² − 2αβ = 7² − 2(5) = 39, so the total area is 39 cm².
- Check the setting: dividing by 3 gives x² − 7x + 5 = 0; the discriminant 49 − 20 = 29 > 0 and the sum and product are positive, so there are two positive real roots. Enter 3, −21, 15 directly; with D = 0 the screens are 7, 5, 39, 5.
Example 3
α and β are the roots of x² − 5x − 3 = 0. Which of the following quadratic equations has roots α − 1 and β − 1?
Answer
Standard solution (without a calculator)
- Sum and product: α + β = 5 and αβ = −3, so the coefficients to enter are 1, −5, −3.
- New sum and product: (α − 1) + (β − 1) = 5 − 2 = 3, and (α − 1)(β − 1) = αβ − (α + β) + 1 = −3 − 5 + 1 = −7. The required equation is x² − 3x − 7 = 0. The answer is C.
- Sign of the shift: the fourth result is (α + h)(β + h); here 1 is subtracted, so D = h = −1, not 1. The screens are 5, −3, 5² − 2(−3) = 31 and then −7; the new sum 3 is worked out by hand.
When to use it
DSE algebra questions on the roots α and β of ax² + bx + c = 0 often ask for α + β, αβ, α² + β² or (α + h)(β + h) without solving the equation. Comparing a(x − α)(x − β) with ax² + bx + c gives α + β = −b/a and αβ = c/a, and the others follow. 029 takes A, B, C as the equation is written, shows the sum, the product and the sum of squares, then asks for the shift D = h and shows (α + h)(β + h). If you need only one of the first three, press AC once you see it.
What it is for
- Roots of ax² + bx + c = 0 (a repeated root counts twice)
- The sum, the product and the sum of squares of the roots
- Shifted products such as (α + 2)(β + 2) or (α − 2)(β − 2)
What you enter
- A, B, C: a, b, c of ax² + bx + c = 0 with their signs; 0 for a missing term
- A must not be 0 — the program asks for A again
- D: the shift h — 2 for (α + 2)(β + 2), −2 for (α − 2)(β − 2)
What it shows
- α + β, then αβ, then α² + β² (press EXE after each)
- Then the prompt D? and finally (α + h)(β + h)
- X and Y hold the sum and the product, not the two roots
Check before use
- The example uses an empty P1; the set-up keys MODE 6 → 3 → 1 clear P1. If P1 holds a program you need, use another empty area: MODE 6 → 1 (EDIT) → area number → 1 (COMP), and AC after entering.
- First write the equation as ax² + bx + c = 0 and enter A = a, B = b, C = c with their signs, 0 for a missing term. A = 0 is asked again.
- D is the shift h, not a function code: (α + 2)(β + 2) needs 2 and (α − 2)(β − 2) needs −2. The first three results come before D, so you can press AC as soon as you have the one you need.
- Only these four symmetric expressions are found — no individual roots, no comparison of the roots, no non-symmetric expressions. Coefficients must be real; repeated roots and complex conjugate roots also give correct values, but the program does not check whether the roots are real.
- A question with an unspecified parameter still needs its algebra on paper: for x² + kx + 5 = 0 the sum of squares is k² − 10, and the program can only check a chosen value of k.
- The fraction key ┘ keeps short whole numbers and fractions exact; with decimals or long fractions the results become decimals. Mixed numbers are the default: 9┘1┘4 means 9¼ = 37/4.
- This is not arbitrary precision: extreme sizes, near cancellation or already rounded coefficients may lose accuracy. In particular, do not judge a shifted product close to 0 to be exactly 0 from the screen alone.
- Enter A, B, C and D for each new question; a blank EXE keeps old values. To change only h for the same equation, run again and press EXE at A?, B? and C?. M is not changed. Run in COMP; Norm 1 is set and the angle unit does not matter
Checking access…