Algebra · real student question

Solve 2x + 2(lambda)x + mu = 0 for x, treating lambda and mu as parameters.

Question

Solve for xx:

2x+2λx+μ=02x+2\lambda x+\mu=0

where λ\lambda and μ\mu are parameters. Discuss all cases.

Step-by-step solution

  1. Collect the xx terms and factor. Both variable terms carry a factor 2x2x:

    2x+2λx=2x(1+λ)2x(1+λ)+μ=02x+2\lambda x=2x(1+\lambda)\quad\Longrightarrow\quad 2x(1+\lambda)+\mu=0

  2. Isolate the product. Subtract μ\mu:

    2x(1+λ)=μ2x(1+\lambda)=-\mu

  3. Divide only when the coefficient is nonzero. Dividing by 2(1+λ)2(1+\lambda) requires 1+λ01+\lambda\neq 0:

    x=μ2(1+λ),λ1x=\frac{-\mu}{2(1+\lambda)},\qquad\lambda\neq-1

    Dividing without checking is the error that hides the whole second half of the answer.

  4. Handle the degenerate case λ=1\lambda=-1. Then the coefficient of xx is zero and xx disappears entirely:

    2x2x+μ=0μ=02x-2x+\mu=0\quad\Longrightarrow\quad\mu=0

    So if μ=0\mu=0 the equation is 0=00=0 and every real xx is a solution; if μ0\mu\neq 0 it is a contradiction and there is no solution.

  5. Check the generic formula numerically. Take λ=2\lambda=2, μ=1\mu=-1: then x=16x=\tfrac{1}{6}, and 2(16)+4(16)1=13+231=02\left(\tfrac16\right)+4\left(\tfrac16\right)-1=\tfrac13+\tfrac23-1=0 \checkmark. Take λ=0\lambda=0, μ=3\mu=3: x=32x=-\tfrac32, and 3+0+3=0-3+0+3=0 \checkmark.

Answer

x=μ2(1+λ) (λ1);λ=1: all x if μ=0, no solution if μ0x=\frac{-\mu}{2(1+\lambda)}\ (\lambda\neq-1);\quad\lambda=-1:\ \text{all }x\text{ if }\mu=0,\ \text{no solution if }\mu\neq 0

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