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

21064 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

If f'(x)=3x(x - 1), find f(x)


Express the polynomial x^3+x^2-14x-24 as a product of three linear factors.


Given that y=(4x+1)^3*sin(2x) , find dy/dx


If a ball is dropped from 6m above the ground, how long does it take to hit the floor and what is its speed at impact (assuming air resistance is negligible)?


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:

© 2025 by IXL Learning