Solve the equation x=4-|2x+1|

We can start by rearranging the equation such that the modulus (also called the absolute value) is the only component on the right-hand-side of the equation.

This gives us: x-4=-|2x+1| (by subtracting 4 from each side) and we shall call this equation (1)

The modulus of a number may be thought of as its distance from zero e.g. |x|=x for a positive x, |x|=-x for a negative x.

Therefore, equation (1) can be written as two separate equations:

x-4=-(2x+1)   (2)   &   x-4=(2x+1)   (3)

We can now rearrange equation (2) and solve for x as follows:

x-4=-2x-1   (we can then plus 2x to each side)

3x-4=-1      (we can then plus 4 to each side)

3x=3           (we can then divide each side by 3)


We will now do the same with equation (3):

x-4=2x+1   (we can then minus x from each side)

-4=x+1       (we can then minus 1 from each side)


We have now solved the equation x=4-|2x+1| and found that the values of x which satisfy this equation are x=1 and x=-5.

Benjamin C. GCSE Maths tutor, 11 Plus Maths tutor, A Level Maths tuto...

1 year ago

Answered by Benjamin, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

John W.

Degree: Mathematics (Masters) - St. Andrews University

Subjects offered:Maths, Further Mathematics

Further Mathematics

“I've done a broad range of maths learning and tutoring over the years, now continuing this on to university I'm sure I'll be able to help you out!”

£20 /hr

Dan W.

Degree: Economics and Accounting (Bachelors) - Bristol University

Subjects offered:Maths, Economics


“I achieved top grades whilst juggling cricket at a high level. I’ve tutored for Young Einstein Tuition & been a Peer Mentor to those facing personal issues”

Maya B. GCSE Maths tutor, A Level Maths tutor, 13 Plus  Maths tutor, ...
£20 /hr

Maya B.

Degree: Mathematics with Physics (Bachelors) - Cambridge University

Subjects offered:Maths, Physics+ 1 more


“My approach is centred on deep understanding, and I constantly engage and encourage students to build both confidence and enthusiasm!”

About the author

Benjamin C.

Currently unavailable: for regular students

Degree: Financial Mathematics (Masters) - Exeter University

Subjects offered:Maths


“About Me:I have recently graduated from the Univeristy of Exeter with a degree in BSc. Mathematics. I am passionate about maths, and helping others understand and gain confidence in themselves is a rewarding experience and why I enjo...”

You may also like...

Other A Level Maths questions

The polynomial x^3 - 2*x + a, where x is a constant is denoted by p(x). It is given that x+2 is a factor of p(x). Find a

The polynomial p(x) is given by p(x) = x^3 – 5x^2 – 8x + 48 (a) (i) Use the Factor Theorem to show that x + 3 is a factor of p(x). [2 marks] (ii) Express p(x) as a product of three linear factors. [3 marks]

I struggle with integration, and don't understand why we need to do it

How do you differentiate a function comprised of two functions multiplied together?

View A Level Maths tutors

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this. Dismiss