Algebra · real student question

Solve a/x = x for x, where a is a constant.

Question

Solve for xx:

ax=x\frac{a}{x}=x

Step-by-step solution

  1. Record the domain restriction first. The left side has xx in a denominator, so

    x0x\neq0

    must hold for the equation to make sense. Noting this now is what makes the a=0a=0 case come out right at the end.

  2. Clear the denominator. Multiply both sides by xx (legitimate, since x0x\neq0):

    a=x2a=x^{2}

    The equation says xx is a number whose square is aa — equivalently, xx is the geometric mean relation between aa and 11.

  3. Take square roots, keeping both signs. For a>0a>0:

    x=±ax=\pm\sqrt{a}

    There are two real solutions, because squaring loses sign information. Writing only x=ax=\sqrt{a} misses the negative root, which genuinely works: aa=a\dfrac{a}{-\sqrt{a}}=-\sqrt{a} ✓ since a=(a)2a=\left(\sqrt a\right)^{2}.

  4. Handle the remaining cases of aa. If a=0a=0 the equation becomes 0x=x\dfrac{0}{x}=x, i.e. x=0x=0 — but x=0x=0 was excluded by the domain, so there is no solution. If a<0a<0 then x2=ax^{2}=a has no real root at all, though over the complex numbers x=±iax=\pm i\sqrt{|a|}.

  5. Verify numerically. For a=0.5a=0.5, 22 and 7.37.3, substituting x=ax=\sqrt{a} into ax\dfrac{a}{x} returns a\sqrt{a} to within 101210^{-12} ✓ in every case. Sanity check with a=9a=9: x=±3x=\pm3, and indeed 93=3\tfrac93=3 ✓ and 93=3\tfrac{9}{-3}=-3 ✓.

Answer

x=±a (a>0); no solution if a=0; x=±ia (a<0)x=\pm\sqrt{a}\ (a>0);\ \text{no solution if }a=0;\ x=\pm i\sqrt{|a|}\ (a<0)

Need to solve a different problem like this? Open the solver →