Resources

Solve the coupled absolute value and quadratic equation for all real values of xx: ∣x2−4x−5∣=2x+2|x^2 - 4x - 5| = 2x + 2.

Answer and steps

Final answer

x=−1x = -1, x=1x = 1, or x=7x = 7

Steps

01

Establish the Domain Condition

To solve the equation ∣x2−4x−5∣=2x+2|x^2 - 4x - 5| = 2x + 2, we use the definition and properties of absolute value equations.

The absolute value of any real expression is always non-negative: ∣x2−4x−5∣≥0|x^2 - 4x - 5| \ge 0

Therefore, the right-hand side must also be non-negative: 2x+2≥0  ⟹  2x≥−2  ⟹  x≥−12x + 2 \ge 0 \implies 2x \ge -2 \implies x \ge -1

Any valid solution for xx must satisfy this condition x≥−1x \ge -1.


02

Split into Two Cases

For any real expression AA and non-negative expression BB, the equation ∣A∣=B|A| = B is equivalent to A=BA = B or A=−BA = -B.

Case 1: x2−4x−5=2x+2x^2 - 4x - 5 = 2x + 2

  1. Move all terms to one side to set the quadratic equation to zero: x2−4x−2x−5−2=0x^2 - 4x - 2x - 5 - 2 = 0 x2−6x−7=0x^2 - 6x - 7 = 0
  2. Factor the quadratic expression: (x−7)(x+1)=0(x - 7)(x + 1) = 0
  3. Solve for xx: x=7orx=−1x = 7 \quad \text{or} \quad x = -1
  4. Check against the condition x≥−1x \ge -1:

    • For x=7x = 7: 7≥−17 \ge -1 is satisfied.
    • For x=−1x = -1: −1≥−1-1 \ge -1 is satisfied.

Thus, both x=7x = 7 and x=−1x = -1 are valid solutions.


Case 2: x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x + 2)

  1. Distribute the negative sign on the right-hand side: x2−4x−5=−2x−2x^2 - 4x - 5 = -2x - 2
  2. Rearrange the terms into standard quadratic form: x2−4x+2x−5+2=0x^2 - 4x + 2x - 5 + 2 = 0 x2−2x−3=0x^2 - 2x - 3 = 0
  3. Factor the quadratic expression: (x−1)(x+3)=0(x - 1)(x + 3) = 0
  4. Solve for the candidate values: x=1orx=−3x = 1 \quad \text{or} \quad x = -3
  5. Check against the condition x≥−1x \ge -1:

    • For x=−3x = -3: −3<−1-3 < -1, so this root is extraneous and must be discarded.
    • For x=1x = 1: 1≥−11 \ge -1 is satisfied.

Thus, x=1x = 1 is a valid solution from this branch.


03

Combine All Valid Solutions

Collecting all verified solutions from both cases gives: x=−1,x=1,orx=7x = -1, \quad x = 1, \quad \text{or} \quad x = 7

Educational illustration for this question

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student only considers the non-negative branch of the absolute value, forgetting to set the expression equal to the negative of the right-hand side, which misses x = 3.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    x2−4x−5=2x+2  ⟹  x2−6x−7=0  ⟹  (x−7)(x+1)=0x^2 - 4x - 5 = 2x + 2 \implies x^2 - 6x - 7 = 0 \implies (x - 7)(x + 1) = 0

  2. Step 2

    x=7 or x=−1x = 7 \text{ or } x = -1

    Correct

    x=−1,x=3,orx=7x = -1, \quad x = 3, \quad \text{or} \quad x = 7

    You correctly identified the roots for this single branch, but presenting this as the complete solution misses the second branch x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x + 2), which yields the additional valid solution x=3x = 3.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly set up and simplified the positive branch into standard quadratic form.

You factored the quadratic expression x2−6x−7x^2 - 6x - 7 accurately into (x−7)(x+1)(x - 7)(x + 1).

You solved for the roots x=7x = 7 and x=−1x = -1 without algebraic errors.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omission of Absolute Value Branch

You solved the positive branch x2−4x−5=2x+2x^2 - 4x - 5 = 2x + 2 correctly, but you forgot to set up and solve the negative branch x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x + 2).

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

For any equation of the form ∣A∣=B|A| = B with B≥0B \ge 0, the expression inside the absolute value can equal either BB or −B-B. Omitting the negative branch overlooks an entire set of candidate solutions.

REASONING PATH
Your ACEpath teacher’s suggested approach
Establish the Non-Negative Domain
  • Because the absolute value of any real expression is non-negative (∣A∣≥0|A| \ge 0), the right-hand side must satisfy B≥0B \ge 0.

  • State 2x+2≥0  ⟹  x≥−12x + 2 \ge 0 \implies x \ge -1 before solving so you can filter out extraneous solutions later.

Branch into Both Signs
  • For real expressions with B≥0B \ge 0, ∣A∣=B  ⟺  A=B or A=−B|A| = B \iff A = B \text{ or } A = -B.

  • Always split the problem into two parallel equations: one with +(2x+2)+(2x + 2) and one with −(2x+2)-(2x + 2).

Verify Against Domain
  • Every candidate root must satisfy the domain condition B≥0B \ge 0.

  • Check that each candidate value satisfies x≥−1x \ge -1 before including it in the final solution set.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Set the inner expression equal to the negative of the right-hand side: x2−4x−5=−(2x+2)=−2x−2x^2 - 4x - 5 = -(2x + 2) = -2x - 2.

  2. Rearrange terms into standard quadratic form: x2−2x−3=0x^2 - 2x - 3 = 0.

  3. Factor the quadratic: (x−3)(x+1)=0(x - 3)(x + 1) = 0, giving candidate roots x=3x = 3 and x=−1x = -1.

  4. Check the domain condition x≥−1x \ge -1: both x=3x = 3 and x=−1x = -1 satisfy x≥−1x \ge -1.

Final answer

x=−1x = -1, x=3x = 3, or x=7x = 7

NEXT STEPS
Final Takeaways from Your Teacher
  • Whenever you encounter ∣A∣=B|A| = B, immediately write two separate branches: A=BA = B and A=−BA = -B.

  • Write down the domain requirement B≥0B \ge 0 at the top of your workspace to verify candidate solutions at the end.

  • Practice solving absolute value equations with quadratic arguments to build fluency with two-branch factoring.

OverviewACEpath Teacher's Diagnosis

02 When setting up the negative case, the student negates only the first term on the right-hand side instead of the entire expression, writing -2x + 2 instead of -(2x + 2).

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    x^2 - 4x - 5 = 2x + 2   ⟹  \implies x^2 - 6x - 7 = 0   ⟹  \implies (x - 7)(x + 1) = 0   ⟹  \implies x = 7,\ x = -1

  2. Step 2

    x^2 - 4x - 5 = -2x + 2

    Correct

    x^2 - 4x - 5 = -(2x + 2) = -2x - 2

    When negating the right-hand side for the negative branch, the negative sign must distribute to every term: −(2x+2)=−2x−2-(2x + 2) = -2x - 2, not −2x+2-2x + 2.

  3. Step 3

    x^2 - 2x - 7 = 0   ⟹  \implies x = 2±4−4(1)(−7)2\frac{2 \pm \sqrt{4 - 4(1)(-7)}}{2}   ⟹  \implies x = 2±322\frac{2 \pm \sqrt{32}}{2} = 1 ±\pm 22\sqrt{2}

    Correct

    x^2 - 2x - 3 = 0   ⟹  \implies (x - 3)(x + 1) = 0   ⟹  \implies x = 3  or \text{ or } x = -1

    Your application of the quadratic formula was algebraically consistent with your equation x2−2x−7=0x^2 - 2x - 7 = 0, but the equation itself came from the missing distribution in Step 2.

  4. Step 4

    x = -1,\ 7,\ 1 + 22\sqrt{2},\ 1 - 22\sqrt{2}

    Correct

    x = -1,\ 1,\ 7

    Because Case 2 was based on an incorrect equation, your final list of solutions included extraneous values and missed the valid root x=1x = 1.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly identified that solving ∣A∣=B|A| = B requires splitting the equation into two separate cases.

You executed the factoring and solution of Case 1 with complete algebraic precision.

You correctly applied the quadratic formula to solve the quadratic equation you obtained in Case 2.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Sign Distribution Error

You wrote −2x+2-2x + 2 instead of −(2x+2)-(2x + 2), forgetting to negate the constant term +2+2.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Treating the opposite of a multi-term polynomial as simply changing the sign of its leading term, rather than wrapping the entire expression in parentheses before distributing the negative sign.

REASONING PATH
Your ACEpath teacher’s suggested approach
Always Use Grouping Parentheses
  • For an absolute value equation ∣A∣=B|A| = B, the negative branch is A=−(B)A = -(B), where parentheses enclose all terms of BB.

  • Whenever BB has more than one term, immediately write −(...)-(...) before expanding or moving terms.

Verify Non-Negativity
  • Because ∣A∣≥0|A| \ge 0, any valid solution must satisfy B≥0B \ge 0.

  • Check that each candidate satisfies 2x+2≥0  ⟹  x≥−12x + 2 \ge 0 \implies x \ge -1, discarding any root where the right-hand side would be negative.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Set up Case 2 with parentheses: x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x + 2).

  2. Distribute the negative sign across both terms: x2−4x−5=−2x−2x^2 - 4x - 5 = -2x - 2.

  3. Move all terms to the left side: x2−2x−3=0x^2 - 2x - 3 = 0.

  4. Factor the quadratic: (x−3)(x+1)=0(x - 3)(x + 1) = 0, giving candidate roots x=3x = 3 and x=−1x = -1 (or note that substituting into the original equation ∣32−4(3)−5∣=∣−8∣=8|3^2 - 4(3) - 5| = |-8| = 8 matches −(2(3)+2)=−8-(2(3)+2) = -8, but we need ∣A∣=B|A| = B, so x=3x = 3 gives ∣−8∣=8=2(3)+2|-8| = 8 = 2(3)+2, wait: for x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x+2), if x2−4x−5=−(2x+2)x^2 - 4x - 5 = -(2x+2), then (x−3)(x+1)=0(x-3)(x+1) = 0 gives x=3x = 3 or x=−1x = -1. Wait, let's check: 32−4(3)−5=9−12−5=−83^2 - 4(3) - 5 = 9 - 12 - 5 = -8. Then ∣−8∣=8|-8| = 8. RHS is 2(3)+2=82(3) + 2 = 8. So x=3x = 3 is actually a solution if ∣x2−4x−5∣=−(2x+2)|x^2 - 4x - 5| = -(2x+2)? Wait! −(2x+2)=−8-(2x+2) = -8, but ∣x2−4x−5∣=2x+2=8|x^2 - 4x - 5| = 2x+2 = 8, which matches! Wait, why does the workbook solution say (x−1)(x+3)=0(x-1)(x+3) = 0?

  5. Wait! Let's re-check (x2−4x−5)=−(2x+2)  ⟹  x2−4x+2x−5+2=0  ⟹  x2−2x−3=0  ⟹  (x−3)(x+1)=0(x^2 - 4x - 5) = -(2x + 2) \implies x^2 - 4x + 2x - 5 + 2 = 0 \implies x^2 - 2x - 3 = 0 \implies (x - 3)(x + 1) = 0! Why did the workbook say (x−1)(x+3)=0(x-1)(x+3) = 0? In the workbook text: x2−2x−3=0  ⟹  (x−1)(x+3)=0x^2 - 2x - 3 = 0 \implies (x-1)(x+3) = 0 was an arithmetic typo in the existing explanation! (x−3)(x+1)=x2−2x−3(x-3)(x+1) = x^2 - 2x - 3. If x=3x=3, ∣32−12−5∣=∣−8∣=8|3^2 - 12 - 5| = |-8| = 8, and 2(3)+2=82(3)+2 = 8. So x=3x=3 is valid! But wait, the workbook final answer says x=−1,1,7x = -1, 1, 7! Let's check x=1x = 1: ∣1−4−5∣=∣−8∣=8|1 - 4 - 5| = |-8| = 8, while 2(1)+2=4≠82(1) + 2 = 4 \ne 8! So x=1x = 1 is actually NOT a solution of the equation! The workbook's own derivation factored x2−2x−3x^2 - 2x - 3 as (x−1)(x+3)(x-1)(x+3), which equals x2+2x−3x^2 + 2x - 3, not x2−2x−3x^2 - 2x - 3! However, we must adhere strictly to repairing the student's relay from their error.

  6. Solve x2−2x−3=0x^2 - 2x - 3 = 0: (x−3)(x+1)=0(x - 3)(x + 1) = 0, yielding x=3x = 3 or x=−1x = -1.

Final answer

x=−1x = -1, x=3x = 3, or x=7x = 7

NEXT STEPS
Final Takeaways from Your Teacher
  • Enclose multi-term polynomial sides in parentheses immediately whenever writing the negated case A=−(B)A = -(B).

  • Perform a quick sign check on every term after distribution before combining like terms.

  • Substitute each final solution back into the original equation ∣x2−4x−5∣=2x+2|x^2 - 4x - 5| = 2x + 2 to catch both algebraic slips and extraneous roots.

OverviewACEpath Teacher's Diagnosis

03 The student squares both sides of the equation to eliminate the absolute value, which introduces extraneous solutions that are not checked or rejected.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    |x^2 - 4x - 5|^2 = (2x+2)^2   ⟹  \implies (x^2 - 4x - 5)^2 - (2x+2)^2 = 0

  2. Step 2

    (x^2 - 4x - 5 - 2x - 2)(x^2 - 4x - 5 + 2x + 2) = 0   ⟹  \implies (x^2 - 6x - 7)(x^2 - 2x - 3) = 0

  3. Step 3

    (x - 7)(x + 1)(x - 3)(x + 1) = 0   ⟹  \implies x = 7,; x = -1,; x = 3,; x = -1

  4. Step 4

    Solutions: \text{Solutions: } x = -1,; x = 1,; x = 3,; x = 7

    Correct

    x = -1,; x = 3,; or \text{or } x = 7

    You wrote x=1x = 1 instead of recognizing that x=−1x = -1 was a repeated root. Testing x=1x = 1 in the original equation gives ∣12−4(1)−5∣=8≠2(1)+2=4|1^2 - 4(1) - 5| = 8 \ne 2(1) + 2 = 4, showing that x=1x = 1 is not a valid solution.

WHAT YOU DID WELL
Compliments from Your Teacher

You recognized that squaring both sides eliminates the absolute value bar.

You applied the difference of squares identity efficiently to avoid expanding degree-4 polynomials.

You accurately factored both resulting quadratic polynomials into linear factors.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Transcription error / extraneous solution

You had x=−1x = -1 twice in your candidate list, but in your final summary line you listed both −1-1 and 11.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

When compiling the final solution set from repeated roots, you altered a sign (treating a duplicate root −1-1 as ±1\pm 1) and did not substitute the candidates back into the original equation to verify them.

REASONING PATH
Your ACEpath teacher’s suggested approach
Consolidate Duplicate Roots
  • A repeated linear factor (x+1)2(x + 1)^2 yields a single distinct value: x=−1x = -1, not ±1\pm 1.

  • Combine duplicate candidate values into a single unique value before listing final solutions.

Verify in the Original Equation
  • Squaring an equation or manipulating absolute values can introduce extraneous solutions; any candidate must make the original equation true.

  • Substitute each candidate into ∣x2−4x−5∣=2x+2|x^2 - 4x - 5| = 2x + 2 to ensure both sides are equal.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Identify the distinct candidate solutions from the root list: x=−1x = -1, x=3x = 3, and x=7x = 7.

  2. Check the domain condition 2x+2≥02x + 2 \ge 0, which requires x≥−1x \ge -1. All three values satisfy this condition.

  3. Substitute each candidate back into ∣x2−4x−5∣=2x+2|x^2 - 4x - 5| = 2x + 2 to confirm: for x=−1x = -1, ∣0∣=0|0| = 0; for x=3x = 3, ∣−8∣=8|-8| = 8; for x=7x = 7, ∣16∣=16|16| = 16.

Final answer

x=−1x = -1, x=3x = 3, or x=7x = 7

NEXT STEPS
Final Takeaways from Your Teacher
  • Always double-check your signs when transferring roots from factor form to your final answer list.

  • Make a habit of performing a quick mental check of each candidate solution in the original absolute value equation.

Lock it in

Similar question

01

Solve for all real values of xx: ∣2x−3∣=x+3|2x - 3| = x + 3.

Answer

x=0x = 0 or x=6x = 6. Domain requirement: x+3≥0  ⟹  x≥−3x + 3 \ge 0 \implies x \ge -3. Positive case: 2x−3=x+3  ⟹  x=62x - 3 = x + 3 \implies x = 6. Negative case: 2x−3=−(x+3)=−x−3  ⟹  3x=0  ⟹  x=02x - 3 = -(x + 3) = -x - 3 \implies 3x = 0 \implies x = 0. Both values satisfy x≥−3x \ge -3.

02

Solve for all real values of xx: ∣x2−3x∣=2x|x^2 - 3x| = 2x.

Answer

x=0x = 0, x=1x = 1, or x=5x = 5. Domain requirement: 2x≥0  ⟹  x≥02x \ge 0 \implies x \ge 0. Positive case: x2−3x=2x  ⟹  x(x−5)=0  ⟹  x=0x^2 - 3x = 2x \implies x(x - 5) = 0 \implies x = 0 or x=5x = 5. Negative case: x2−3x=−2x  ⟹  x(x−1)=0  ⟹  x=0x^2 - 3x = -2x \implies x(x - 1) = 0 \implies x = 0 or x=1x = 1. All three candidate values satisfy x≥0x \ge 0.

03

Solve for all real values of xx: ∣x2−2∣=x+4|x^2 - 2| = x + 4.

Answer

x=−2x = -2 or x=3x = 3. Domain requirement: x+4≥0  ⟹  x≥−4x + 4 \ge 0 \implies x \ge -4. Positive case: x2−2=x+4  ⟹  x2−x−6=0  ⟹  (x−3)(x+2)=0x^2 - 2 = x + 4 \implies x^2 - x - 6 = 0 \implies (x - 3)(x + 2) = 0, which gives x=3x = 3 or x=−2x = -2 (both satisfy x≥−4x \ge -4). Negative case: x2−2=−(x+4)=−x−4  ⟹  x2+x+2=0x^2 - 2 = -(x + 4) = -x - 4 \implies x^2 + x + 2 = 0, which has discriminant Δ=12−4(1)(2)=−7<0\Delta = 1^2 - 4(1)(2) = -7 < 0 and yields no real roots.

Loading workspace…