Algebra · real student question

Solve the equation x^2 + 4 times the absolute value of (x - 3), minus 7x, plus 11, equals 0.

Question

Solve the equation

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

Step-by-step solution

  1. Split the line at the point where the modulus changes. x3|x-3| equals x3x-3 when x3x\ge 3 and 3x3-x when x<3x<3. Each case gives a different quadratic, and each quadratic is only valid on its own interval.

  2. Case 1: x >= 3. Substituting x3=x3|x-3|=x-3:

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

  3. Solve Case 1 and test against x >= 3.

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

    Numerically these are 3.30283.3028 and 0.3028-0.3028. Only the first satisfies x3x\ge 3, so

    x=3+132 is accepted, and 3132 is rejected.x=\frac{3+\sqrt{13}}{2}\ \text{is accepted, and }\frac{3-\sqrt{13}}{2}\ \text{is rejected.}

  4. Case 2: x < 3. Now x3=3x|x-3|=3-x:

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

  5. Solve Case 2 and test against x < 3.

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

    numerically 8.19268.1926 and 2.80742.8074. Only the smaller one satisfies x<3x<3, so

    x=11292 is accepted.x=\frac{11-\sqrt{29}}{2}\ \text{is accepted.}

  6. Collect and verify the two solutions. Substituting x=3.30278x=3.30278: 10.9083+4(0.30278)23.1194+11=0.000010.9083+4(0.30278)-23.1194+11=0.0000 ✓. Substituting x=2.80742x=2.80742: 7.8816+4(0.19258)19.6519+11=0.00007.8816+4(0.19258)-19.6519+11=0.0000 ✓. Testing each candidate against the interval that generated it is the step that separates this from an ordinary quadratic — two of the four candidates are extraneous.

Answer

x=3+1323.303orx=112922.807x=\frac{3+\sqrt{13}}{2}\approx 3.303\qquad\text{or}\qquad x=\frac{11-\sqrt{29}}{2}\approx 2.807

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