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 αβ.
Here α+β=−p and αβ=q. First find α2+β2, which both parts need:
α2+β2=(α+β)2−2αβ=p2−2q
(a)
Step 1 — Take out the common factor αβ. Both terms contain αβ, so take it out:
α3β+αβ3=αβ(α2+β2)
Step 2 — Substitute. Use αβ=q; also α2+β2=p2−2q, because α+β=−p:
αβ(α2+β2)=q(p2−2q)
α3β+αβ3=q(p2−2q).
(b)
Step 1 — Complete the square. Since (α2+β2)2=α4+2α2β2+β4,
α4+α2β2+β4=(α2+β2)2−(αβ)2
Step 2 — Substitute and expand. Put α2+β2=p2−2q and αβ=q, then expand the square:
(p2−2q)2−q2=p4−4p2q+4q2−q2=p4+3q2−4p2q
α4+α2β2+β4=p4+3q2−4p2q.