Finding Solutions for a Modulus Equation

  • Context: MHB 
  • Thread starter Thread starter Prove It
  • Start date Start date
  • Tags Tags
    Modulus
Prove It
Gold Member
MHB
Messages
1,434
Reaction score
20
Solve $\displaystyle \begin{align*} \left| x - 4 \right| - \left| x + 2 \right| = 6 \end{align*}$ for $\displaystyle \begin{align*} x \end{align*}$.

To start with, we need to realize that each modulus function will be defined differently depending on the value of $\displaystyle \begin{align*} x \end{align*}$.

Notice that

$\displaystyle \begin{align*} \left| x - 4 \right| = \begin{cases} x - 4 \textrm{ if } x \geq 4 \\ 4 - x \textrm{ if } x < 4 \end{cases} \end{align*}$

and

$\displaystyle \begin{align*} \left| x + 2 \right| = \begin{cases} x + 2 \textrm{ if } x \geq -2 \\ - x - 2 \textrm{ if } x < -2 \end{cases} \end{align*}$

Thus

$\displaystyle \begin{align*} \left| x - 4 \right| - \left| x + 2 \right| &= \begin{cases} \left( 4 - x \right) - \left( -x - 2 \right) \textrm{ if } x < -2 \\ \left( 4 - x \right) - \left( x + 2 \right) \textrm{ if } -2 \leq x < 4 \\ \left( x - 4 \right) - \left( x + 2 \right) \textrm{ if } x \geq 4 \end{cases} \\ &= \begin{cases} 6 \textrm{ if } x < -2 \\ 2 - 2\,x \textrm{ if } -2 \leq x < 4 \\ -6 \textrm{ if } x \geq 4 \end{cases} \end{align*}$

Notice that we already have $\displaystyle \begin{align*} \left| x - 4 \right| - \left| x + 2 \right| = 6 \textrm{ if } x < -2 \end{align*}$.

If we solve $\displaystyle \begin{align*} 2 - 2\,x = 6 \end{align*}$ for $\displaystyle \begin{align*} x \end{align*}$ we find

$\displaystyle \begin{align*} 2 - 2\,x &= 6 \\ 2\,x &= -4 \\ x &= -2 \end{align*}$

which satisfies the condition $\displaystyle \begin{align*} -2 \leq x < 4 \end{align*}$.

Thus the solution to $\displaystyle \begin{align*} \left| x - 4 \right| - \left| x + 2 \right| = 6 \end{align*}$ is $\displaystyle \begin{align*} x \leq -2 \end{align*}$.
 
Mathematics news on Phys.org
Very interesting. At first glance I thought your answer couldn't be right because it was not a specific value but I see that it IS right in that all values <= -2 work. Very cool.
 
  • Like
Likes   Reactions: Greg Bernhardt
It's more obvious if we let ##x = y +4## and look for$$|y| = | y + 6|+6$$Especially if we look at that graphically.
 
  • Like
Likes   Reactions: Greg Bernhardt

Similar threads

  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K