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

23340 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Line AB has equation 4x+5y+2=0. If the point P=(p, p+5) lies on AB, find P . The point A has coordinates (1, 2). The point C(5, k) is such that AC is perpendicular to AB. Find the value of k.


find the diffrential of 3sin2x+4cos2x


Use simultaneous equations to find the points where the following lines cross: 3x - y = 4 and x^2 + 7y = 5


Given the function y = x^5 + x^3/2 + x + 7 Express the following in their simplest forms: i) dy/dx ii) ∫ y dx


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