Stuck on this? Solve it with AI
Algebra · real student question

Write a/x - x as a single fraction.

Question

Write

ax−x\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=x⋅xx=x2xx=\frac{x\cdot x}{x}=\frac{x^{2}}{x}

    This is legal for x≠0x\neq0, which the original expression already requires.

  3. Subtract the numerators over the shared denominator.

    ax−x2x=a−x2x\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 a−x2a-x^{2} has no factor of xx (the aa blocks it), so the fraction is fully simplified as it stands. State the restriction x≠0x\neq0 alongside the answer.

  5. Verify numerically. Comparing ax−x\dfrac{a}{x}-x with a−x2x\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 10−1210^{-12} in every case ✓. Spot check a=6a=6, x=2x=2: 3−2=13-2=1 and 6−42=1\dfrac{6-4}{2}=1 ✓.

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

Answer

ax−x=a−x2x,x≠0\frac{a}{x}-x=\frac{a-x^{2}}{x},\qquad x\neq0

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