Algebra · real student question

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

Question

Add and simplify

xx8+x8x\frac{x}{x-8}+\frac{x-8}{x}

Step-by-step solution

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

    x(x8),x0, x8x(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 x8x8\tfrac{x-8}{x-8}:

    xx8=x2x(x8),x8x=(x8)2x(x8)\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+(x8)2x(x8)\frac{x^2+(x-8)^2}{x(x-8)}

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

    x2+x216x+64=2x216x+64=2(x28x+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 x28x+32x^2-8x+32 has discriminant 64128=64<064-128=-64<0, so it has no real linear factors and in particular shares nothing with xx or x8x-8. The expression is therefore fully simplified:

    2(x28x+32)x(x8)\frac{2\left(x^2-8x+32\right)}{x(x-8)}

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

Answer

xx8+x8x=2(x28x+32)x(x8),x0, x8\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 →