Algebra · real student question

Solve (x − 2x/(x + 2))² + 4x²/(x + 2) = 5.

Question

Solve

(x2xx+2)2+4x2x+2=5\left(x-\frac{2x}{x+2}\right)^{2}+\frac{4x^{2}}{x+2}=5

Step-by-step solution

  1. Simplify the bracket first — it is the whole trick. Putting the two terms over the common denominator x+2x+2:

    x2xx+2=x(x+2)2xx+2=x2+2x2xx+2=x2x+2x-\frac{2x}{x+2}=\frac{x(x+2)-2x}{x+2}=\frac{x^{2}+2x-2x}{x+2}=\frac{x^{2}}{x+2}

    So the messy bracket is just x2x+2\dfrac{x^{2}}{x+2}.

  2. Introduce the substitution. Let

    y=x2x+2y=\frac{x^{2}}{x+2}

    Then the second term is 4x2x+2=4y\dfrac{4x^{2}}{x+2}=4y, and the equation becomes a plain quadratic:

    y2+4y=5y2+4y5=0y^{2}+4y=5\quad\Longrightarrow\quad y^{2}+4y-5=0

  3. Solve for y.

    (y+5)(y1)=0y=1 or y=5(y+5)(y-1)=0\quad\Longrightarrow\quad y=1\ \text{or}\ y=-5

  4. Unwind y = 1.

    x2x+2=1  x2=x+2  x2x2=0  (x2)(x+1)=0\frac{x^{2}}{x+2}=1\ \Longrightarrow\ x^{2}=x+2\ \Longrightarrow\ x^{2}-x-2=0\ \Longrightarrow\ (x-2)(x+1)=0

    giving x=2x=2 or x=1x=-1 (both allowed, since neither is 2-2).

  5. Check whether y = −5 gives real solutions.

    x2x+2=5  x2=5x10  x2+5x+10=0\frac{x^{2}}{x+2}=-5\ \Longrightarrow\ x^{2}=-5x-10\ \Longrightarrow\ x^{2}+5x+10=0

    Its discriminant is 2540=15<025-40=-15<0, so this branch contributes no real roots. Discarding it without checking would be the one place an answer could go wrong.

    x=2 or x=1\boxed{x=2\ \text{or}\ x=-1}

  6. Verify in the original equation. At x=2x=2: the bracket is 244=12-\tfrac{4}{4}=1 and the second term is 164=4\tfrac{16}{4}=4, so 1+4=51+4=5 ✓. At x=1x=-1: the bracket is 121=1-1-\tfrac{-2}{1}=1 and the second term is 41=4\tfrac{4}{1}=4, so 1+4=51+4=5 ✓.

Answer

x=2 or x=1x=2\ \text{or}\ x=-1

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