I have symbolic third and fourth-order polynomials which read.
$F_{3}= x^3+p x +q,$
$F_{4}= x^4+p_{0} x^2 +q_{0} x + r_{0}.$
Using the Mathematica, I can find the roots of these polynomials using
Solve[x^3 + p*x + q == 0, x]
Solve[x^4+p0 x^2 +q0 x + r0 == 0, x]
The solutions for instance for the 3rd order polynomial are \begin{align} \left\{\left\{\lambda \to \frac{\sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}{\sqrt[3]{2} 3^{2/3}}-\frac{\sqrt[3]{\frac{2}{3}} p}{\sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}\right\},\left\{\lambda \to \frac{\left(1+i \sqrt{3}\right) p}{2^{2/3} \sqrt[3]{3} \sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}-\frac{\left(1-i \sqrt{3}\right) \sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}{2 \sqrt[3]{2} 3^{2/3}}\right\},\left\{\lambda \to \frac{\left(1-i \sqrt{3}\right) p}{2^{2/3} \sqrt[3]{3} \sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}-\frac{\left(1+i \sqrt{3}\right) \sqrt[3]{\sqrt{3} \sqrt{4 p^3+27 q^2}-9 q}}{2 \sqrt[3]{2} 3^{2/3}}\right\}\right\}. \end{align}
Based on the Cardano's Method, solutions of $F_{3}$ can be also written as \begin{align} x &= u+v ,\\ u^{3} &= -\frac{q}{2} + \sqrt{ \frac{q^2}{4} + \frac{p^3}{27}},\\ v^{3} &= -\frac{q}{2} - \sqrt{ \frac{q^2}{4} + \frac{p^3}{27}} . \end{align}
How can I enforce the final solution of Solve
in Mathematica to keep radicals in the nominator?