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

Add and simplify x/(x - 8) + (x - 8)/x.

Question

Add and simplify

xx−8+x−8x\frac{x}{x-8}+\frac{x-8}{x}

Step-by-step solution

  1. Identify the common denominator and the domain. The denominators x−8x-8 and xx share no factor, so the least common denominator is their product:

    x(x−8),x≠0, x≠8x(x-8),\qquad x\neq 0,\ x\neq 8

  2. Rewrite each fraction over that denominator. Multiply the first by xx\tfrac{x}{x} and the second by x−8x−8\tfrac{x-8}{x-8}:

    xx−8=x2x(x−8),x−8x=(x−8)2x(x−8)\frac{x}{x-8}=\frac{x^2}{x(x-8)},\qquad\frac{x-8}{x}=\frac{(x-8)^2}{x(x-8)}

  3. Add the numerators.

    x2+(x−8)2x(x−8)\frac{x^2+(x-8)^2}{x(x-8)}

  4. Expand and simplify the numerator. (x−8)2=x2−16x+64(x-8)^2=x^2-16x+64, so

    x2+x2−16x+64=2x2−16x+64=2(x2−8x+32)x^2+x^2-16x+64=2x^2-16x+64=2\left(x^2-8x+32\right)

  5. Check whether anything cancels. The bracket x2−8x+32x^2-8x+32 has discriminant 64−128=−64<064-128=-64<0, so it has no real linear factors and in particular shares nothing with xx or x−8x-8. The expression is therefore fully simplified:

    2(x2−8x+32)x(x−8)\frac{2\left(x^2-8x+32\right)}{x(x-8)}

    Numerical check at x=4x=4: left =4−4+−44=−2=\tfrac{4}{-4}+\tfrac{-4}{4}=-2; right =2(16−32+32)4(−4)=32−16=−2=\tfrac{2(16-32+32)}{4(-4)}=\tfrac{32}{-16}=-2 ✓\checkmark.

Answer

xx−8+x−8x=2(x2−8x+32)x(x−8),x≠0, x≠8\frac{x}{x-8}+\frac{x-8}{x}=\frac{2\left(x^2-8x+32\right)}{x(x-8)},\qquad x\neq 0,\ x\neq 8

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