Algebra · real student question

Solve the equation x^2 + 4|x - 3| - 7x + 11 = 0.

Question

Solve the equation

x2+4x37x+11=0x^{2}+4|x-3|-7x+11=0

Step-by-step solution

  1. Find where the expression inside the bars changes sign. x3|x-3| behaves differently on either side of x=3x=3, so the real line splits into two branches: x3x\ge 3 and x<3x<3. On each branch the absolute value can be replaced by an ordinary linear expression, turning one hard equation into two ordinary quadratics.

  2. Branch 1: x3x\ge 3, so x3=x3|x-3|=x-3. Substituting and collecting terms:

    x2+4(x3)7x+11=x2+4x127x+11=x23x1=0x^2+4(x-3)-7x+11=x^2+4x-12-7x+11=x^2-3x-1=0

    x=3±9+42=3±132x=\frac{3\pm\sqrt{9+4}}{2}=\frac{3\pm\sqrt{13}}{2}

  3. Keep only the branch-1 root that actually satisfies x3x\ge 3. Numerically 3+1323.303 3\frac{3+\sqrt{13}}{2}\approx 3.303\ \ge 3 (accept), while 31320.303<3\frac{3-\sqrt{13}}{2}\approx-0.303<3 (reject). The rejected value solves the rewritten equation but not the original one, because on that side x3|x-3| is not x3x-3.

  4. Branch 2: x<3x<3, so x3=3x|x-3|=3-x.

    x2+4(3x)7x+11=x24x+127x+11=x211x+23=0x^2+4(3-x)-7x+11=x^2-4x+12-7x+11=x^2-11x+23=0

    x=11±121922=11±292x=\frac{11\pm\sqrt{121-92}}{2}=\frac{11\pm\sqrt{29}}{2}

    Here 112922.807<3\frac{11-\sqrt{29}}{2}\approx 2.807<3 (accept) and 11+2928.193 3\frac{11+\sqrt{29}}{2}\approx 8.193\ \ge 3 (reject).

  5. Verify both survivors in the original equation. For x=3+1323.30278x=\frac{3+\sqrt{13}}{2}\approx3.30278: x210.9083x^2\approx10.9083, 4x31.21114|x-3|\approx1.2111, 7x23.1194-7x\approx-23.1194, so the total is 10.9083+1.211123.1194+11010.9083+1.2111-23.1194+11\approx 0. For x=112922.80742x=\frac{11-\sqrt{29}}{2}\approx2.80742: x27.8816x^2\approx7.8816, 4x30.77034|x-3|\approx0.7703, 7x19.6519-7x\approx-19.6519, total 0\approx 0. Both check out.

  6. Report both roots. The equation has exactly two solutions,

    x=112922.807andx=3+1323.303x=\frac{11-\sqrt{29}}{2}\approx2.807\qquad\text{and}\qquad x=\frac{3+\sqrt{13}}{2}\approx3.303

    One root sits on each side of the break point x=3x=3 — a useful reminder that a case split can, and often does, contribute a root from every branch.

Answer

x=11292orx=3+132x=\frac{11-\sqrt{29}}{2}\quad\text{or}\quad x=\frac{3+\sqrt{13}}{2}

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