Given
find .
Factor out the common . Every term contains at least one :
so is one branch, valid for every , and the rest of the work concerns the cubic factor.
Introduce polar radius to expose the structure. The variables enter only through , so the surface is rotationally symmetric about the -axis and the cubic is
This is already a depressed cubic (no term) with and , which is exactly the form Cardano formula handles.
Check how many real roots there are. The cubic discriminant condition uses
which is positive for every , since both terms are non-negative and the first is . A positive value here means exactly one real root and two complex ones, so the nonzero branch is single-valued — no case analysis needed.
Apply Cardano formula. With ,
The second cube root takes a negative argument (since the square root exceeds 4), which is fine for real cube roots.
Write the answer in the original variables.
Sanity-check at the origin. At the cubic is , giving ; the formula gives ✓. As the two cube roots nearly cancel and , matching the cubic , i.e. ✓.
Need to solve a different problem like this? Open the solver →