Let f(x)=x2+px+q and g(x)=x2+rx+s. Find an expression for f(g(x)) and hence find a necessary and sufficient condition on a, b and c for it to be possible to write the quartic expression x4+ax3+bx2+cx+d in the form f(g(x)), for some choice of values of p, q, r and s.
Show further that this condition holds if and only if it is possible to write the quartic expression x4+ax3+bx2+cx+d in the form (x2+vx+w)2−k, for some choice of values of v, w and k.
Find the roots of the quartic equation x4−4x3+10x2−12x+4=0.