Algebra · real student question

Write a/x - x as a single fraction.

Question

Write

axx\frac{a}{x}-x

as a single fraction.

Step-by-step solution

  1. Note what kind of task this is. With no equals sign there is nothing to solve — the expression can only be simplified, and for a difference of a fraction and a whole term that means combining over one denominator.

  2. Give the second term the same denominator. The only denominator present is xx, so rewrite xx as a fraction over xx by multiplying top and bottom by xx:

    x=xxx=x2xx=\frac{x\cdot x}{x}=\frac{x^{2}}{x}

    This is legal for x0x\neq0, which the original expression already requires.

  3. Subtract the numerators over the shared denominator.

    axx2x=ax2x\frac{a}{x}-\frac{x^{2}}{x}=\frac{a-x^{2}}{x}

    Note the whole of x2x^{2} is subtracted, and the denominator is written once — a frequent error is doubling it to x2x^{2}.

  4. Check whether anything cancels. The numerator ax2a-x^{2} has no factor of xx (the aa blocks it), so the fraction is fully simplified as it stands. State the restriction x0x\neq0 alongside the answer.

  5. Verify numerically. Comparing axx\dfrac{a}{x}-x with ax2x\dfrac{a-x^{2}}{x} at (a,x)=(2,1.5)(a,x)=(2,1.5), (2,2.5)(2,-2.5), (3,1.5)(-3,1.5) and (3,2.5)(-3,-2.5) gives agreement to within 101210^{-12} in every case ✓. Spot check a=6a=6, x=2x=2: 32=13-2=1 and 642=1\dfrac{6-4}{2}=1 ✓.

  6. Note the payoff. In this form the equation axx=0\dfrac{a}{x}-x=0 is transparent: a fraction is zero exactly when its numerator is, so ax2=0a-x^{2}=0 and x=±ax=\pm\sqrt{a} — no separate denominator-clearing step is needed.

Answer

axx=ax2x,x0\frac{a}{x}-x=\frac{a-x^{2}}{x},\qquad x\neq0

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