How do I solve equations with modulus functions on both sides?

Whilst it is possible to do it algebraically, it's usually easier to solve it graphically. For example: for which values of x is |x+2| = |3x-6|. By sketching the graphs of y=|x+2| and y=|3x-6|, it is easy to see that there are 2 intersections: one for positive values of x+2 and negative values of 3x-6, the other for positive values of x+2 and positive values of 3x-6. To find the first x value solve x+2 = -3x+6, to find the second x value solve x+2 = 3x-6.

If you prefer to work algebraically, simply ask "for which values of x is x+2 negative, and for which is it positive". Do the same for 3x-6. Now solve for x in each section (with the 3 sections being: both negative, one positive one negative, both positive). Check each value you've found to see if it makes sense. Demonstrated below.

For both negative:
-x-2 = -3x+6, x<-2
x = 4, x<-2. This is a clear contradiction, so we ignore this value.

For x+2 positive and 3x-6 negative:
x+2 = -3x+6, -2<x<2
x = 1, -2<x<2. This is a valid statement, so this value of x satisfies the original equation.

For both positive:
x+2 = 3x-6, 2<x
x = 4, 2<x. This is also a valid statement, so this value also satisfies the original equation.

Therefore the answer to |x+2| = |3x-6| is x = 1, x = 4

SG
Answered by Seb G. Maths tutor

22085 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A curve has the equation, 6x^2 +3xy−y^2 +6=0 and passes through the point A (-5, 10). Find the equation of the normal to the curve at A.


Given that y = 16x + x^-1, find the two values of x for which dy/dx = 0


Prove that the square of an odd integer is odd.


Express (1 + 4 * 7^0.5)/(5 + 2 * 7^0.5) in the form m + n * 7^0.5


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning