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

23003 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Integrate x^2 + 2x + 5x^-1


If f(x) = (3x-2) / x-5 x>6, find a.) ff(8) b.) the range of f(x) c.) f^-1(x) and state its range.


express the following fraction in the form of m + (n)^1/2. the fraction is ((3*(5)^1/2)^2 - 7)/(3 + 7*(5)^1/2). where m,n are real numbers.


Find the integral between 1 and -2 for (4-x^2-3x^3)


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