Solve for :
Record the domain restriction first. The left side has in a denominator, so
must hold for the equation to make sense. Noting this now is what makes the case come out right at the end.
Clear the denominator. Multiply both sides by (legitimate, since ):
The equation says is a number whose square is — equivalently, is the geometric mean relation between and .
Take square roots, keeping both signs. For :
There are two real solutions, because squaring loses sign information. Writing only misses the negative root, which genuinely works: ✓ since .
Handle the remaining cases of . If the equation becomes , i.e. — but was excluded by the domain, so there is no solution. If then has no real root at all, though over the complex numbers .
Verify numerically. For , and , substituting into returns to within ✓ in every case. Sanity check with : , and indeed ✓ and ✓.
Need to solve a different problem like this? Open the solver →