HexMathv1.0.4

Solve absolute value equations with steps

This absolute value equation calculator solves equations with one absolute value or with absolute values on both sides. Type the equation or scan it from a photo. HexMath splits it into cases, solves each one and shows the check of every candidate in the original equation, so only the solutions that hold are returned, with each step shown.

Loading math input...

What this page covers

  • Equations with one absolute value, after isolating it on one side.
  • An absolute value equal to an expression in x, where each candidate must be checked.
  • Absolute values on both sides of the equation.
  • Not covered here: absolute value inequalities such as |x − 2| ≤ 5 (see the inequality calculator).

How to enter the problem

  • Type a vertical bar | on each side of the expression, such as |2x - 3| = 7.
  • Scan it. Fit the one problem in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked examples

Example 1: Solve |2x - 3| = 7.

Problem

Solve ∣2x−3∣=7\displaystyle |2x - 3| = 7.

Answer

Verified

The answer is

x=5x = 5 or x=−2x = -2

Explanation

  1. Check the right-hand side
    The absolute value is already alone on the left and 77 is positive, so there are two cases: the inside equals 77 or the inside equals −7-7.
  2. Case 1: the inside is positive
    2x−3=72x - 3 = 7, so 2x=102x = 10 and x=5x = 5.
  3. Case 2: the inside is negative
    2x−3=−72x - 3 = -7, so 2x=−42x = -4 and x=−2x = -2.
  4. Check both answers
    ∣2⋅5−3∣=∣7∣=7|2 \cdot 5 - 3| = |7| = 7 and ∣2⋅(−2)−3∣=∣−7∣=7|2 \cdot (-2) - 3| = |-7| = 7. Both work.

Example 2: Solve |x + 4| = 3x.

Problem

Solve ∣x+4∣=3x\displaystyle |x + 4| = 3x.

Answer

Verified

The answer is

x=2x = 2

Explanation

  1. Note the condition
    An absolute value is never negative, so 3x≥03x \geq 0, that is x≥0x \geq 0.
  2. Positive case
    x+4=3xx + 4 = 3x gives x=2x = 2.
  3. Negative case
    x+4=−3xx + 4 = -3x gives x=−1x = -1.
  4. Check each candidate
    x=2x = 2: ∣6∣=6|6| = 6, true. x=−1x = -1: ∣3∣=3|3| = 3 but 3x=−33x = -3, false, so −1-1 is rejected.

Example 3: Solve |x - 1| = |2x + 3|.

Problem

Solve ∣x−1∣=∣2x+3∣\displaystyle |x - 1| = |2x + 3|.

Answer

Verified

The answer is

x=−4,x=−23x = -4, x = -\frac{2}{3}

Explanation

  1. Use equal distances
    Two absolute values are equal when the insides are equal or opposite.
  2. Equal case
    x−1=2x+3x - 1 = 2x + 3 gives x=−4x = -4.
  3. Opposite case
    x−1=−(2x+3)x - 1 = -(2x + 3) gives 3x=−23x = -2, so x=−23x = -\frac{2}{3}.
  4. Check
    x=−4x = -4: ∣−5∣=∣−5∣|-5| = |-5|. x=−23x = -\frac{2}{3}: ∣−53∣=∣53∣|-\frac{5}{3}| = |\frac{5}{3}|. Both hold.

Common mistakes

  • Solving only the positive case. ∣2x−3∣=7|2x - 3| = 7 has two solutions, one from 2x−3=72x - 3 = 7 and one from 2x−3=−72x - 3 = -7.
  • Splitting into cases before isolating. In 3∣x+2∣−4=113|x + 2| - 4 = 11, first reach ∣x+2∣=5|x + 2| = 5.
  • Keeping a candidate that fails the check, such as x=−1x = -1 in ∣x+4∣=3x|x + 4| = 3x, where the left side is 33 and the right side is −3-3.
  • Splitting when the other side is negative. ∣2x−3∣=−7|2x - 3| = -7 has no solution, since an absolute value is never negative.

Checks, assumptions and limits

  • Substitute each answer. For the example in the solver above, x=5x = 5 gives ∣7∣=7|7| = 7 and x=−2x = -2 gives ∣−7∣=7|-7| = 7.
  • An absolute value is a distance from 0, so it is never negative.
  • When the other side contains x, every candidate must be checked in the original equation.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

Two numbers sit at the same distance from 0. If |A| = 7, then A is 7 or -7, and each case gives its own solution.

Then there is no solution. An absolute value is a distance, so it can be 0 or positive but never negative.

Yes. Use the camera on the one equation, or choose a photo. Several problems in one photo are solved as a list.

No. This page solves equations. For an inequality such as |x − 2| ≤ 5, use the inequality calculator.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath