Solution:
Concept: If α and β are the roots of ax2+bx+c=0, then
α+βαβ=−ab=ac
So any symmetric expression in α and β can be found without solving the equation: write it in terms of α+β and αβ.
Step 1 — Sum and product. For px2−2(p+2)x+3p=0, the sum of the roots is −ab and the product is ac:
α+βαβ=p2(p+2)=p3p=3
Step 2 — Use (α−β)2=(α+β)2−4αβ. The difference is 2, so its square is 4. Put in the sum and product, then clear the fraction:
4=p24(p+2)2−12
p24(p+2)2=16
(p+2)2=4p2
Step 3 — Take square roots. Two squares are equal when the numbers are equal or opposite, so p+2=±2p:
p+2=2porp+2=−2p
So p=2, or p=−32.
Step 4 — Case p=2.
The equation is 2x2−8x+6=0.
Dividing by 2:
(x−3)(x−1)=0
Since α−β=2, we get α=3 and β=1.
Step 5 — Case p=−32. The equation is
−32x2−38x−2=0
Multiply by −23:
x2+4x+3=0
(x+1)(x+3)=0
Since α−β=2, we get α=−1 and β=−3.
α=3, β=1, p=2; or α=−1, β=−3, p=−32.