Open Book Publishers logo Open Access logo
  • button
  • button
  • button
GO TO...
Contents
Copyright
book cover
BUY THE BOOK

Problem 5:  The modulus function () 1997 Paper I

Find all the solutions of the equation

|x + 1||x| + 3|x 1| 2|x 2| = x + 2.

Comments

This looks more difficult than it is.

There is no clever way to deal with the modulus function: you have to look at the different cases individually. For example, for |x| you have to look at x 0 and x 0. The most straightforward approach would be to solve the equation in each of the different regions determined by the modulus signs: x 1, 1 x 0, 0 x 1, etc. You might find a graphical approach helps you to picture what is going on (I didn’t).

Solution to problem 5

Let

f(x) = |x + 1||x| + 3|x 1| 2|x 2| (x + 2).

We have to solve f(x) = 0 in the five regions of the x-axis determined by the modulus functions, namely

< x 1; 1 x 0;0 x 1;1 x 2;2 x < .

In the separate regions, we have

f(x) = (x + 1) + x 3(x 1) + 2(x 2) (x + 2) = 2x 4for < x 1 (x + 1) + x 3(x 1) + 2(x 2) (x + 2) = 2for 1 x 0 (x + 1) x 3(x 1) + 2(x 2) (x + 2) = 2x 2for 0 x 1 (x + 1) x + 3(x 1) + 2(x 2) (x + 2) = 4x 8for 1 x 2 (x + 1) x + 3(x 1) 2(x 2) (x + 2) = 0for 2 x <

Solving in each region gives:

1.
< x 1:   here, f(x) = 0 only if x = 2. This is a solution since the point x = 2 lies in the region x 1.
2.
1 x 0:   here, f(x) = 2   (0) so there is no solution.
3.
0 x 1:   here, f(x) = 0 only if x = 1. This is not a solution since the point x = 1 does not lie in the region 0 x 1.
4.
1 x 2:   here, f(x) = 0 only if x = 2, which is a solution since x = 2 lies in the range 1 x 2 .
5.
2 x < :   here, f(x) = 0 identically (i.e. for all values of x), so the equation is satisfied for all x in the region.

Collecting these results together shows that the equation f(x) = 0 is satisfied only by x = 2 and by any x in the region x 2.

Post-mortem

As mentioned before, this should not be found too difficult once you identify the different regions and consider each on its own. Some care is needed, though, and it would be sensible to go back and check that the solutions do indeed satisfy the original equation.

Two small points of technique:

  • Since it was necessary to refer to the original equation quite a few times, I found it useful to define a function f so that the equation became f(x) = 0.

    Alternatively, you could label the equation with a (), say, when you first write it down and then later say ‘Equation () becomes ...’.

  • It helped me to set out the different cases very clearly. I numbered them later but it might well have saved writing to number them at the beginning.