Given equation, x3+qx+r=0………………(1)
Roots of the required equation are cubes of the roots of given equation.
∴y=x3⟹x=3√y
Substituting value of x in (1), we get
(3√y)3+q(3√y)+r=0
⟹q(3√y)=−(y+r)
⟹q3y=−(y3+3yr2+3y2r+r3)[Taking cubes on both sides]
⟹y3+3ry2+(3r2+q3)y+r2=0