Solving an equation with an absolute value within an absolute value

CASE 23x + 1 \geq 0 \rightarrow x \geq -\frac{1}{3}||3x + 1| - x| = -|2x + 1|2x + 1 \geq 0 \rightarrow x \geq -\frac{1}{2}-|2x + 1| = -2 \Leftrightarrow...CASE 33x + 1 < 0 \rightarrow x < -\frac{1}{3} ||3x + 1| - x| = -|2x + 1|2x + 1 < 0 \rightarrow x < -\frac{
  • #1
5hassay
82
0

Homework Statement



Solve the equation

[itex] | | 3x + 1 | - x | = 2 [/itex]

Homework Equations



[itex] |x| = x [/itex] if [itex]x \geq 0 [/itex]
[itex] |x| = -x [/itex] if [itex]x < 0 [/itex]

The Attempt at a Solution



To start, I have never dealt with such an equation before, and am partly 'iffy' with absolute values in general, but, up until now in my calculus textbook (Calculus A First Course), I have been okay with them.

I would begin to think that there could be four possibilities: the inner absolute value could be greater than or equal to zero in combination with the outer absolute value being greater than or equal to zero, or it could be a combination of greater than or equal to zero and less than zero, the reverse of that, and both being less than zero.

And, there must be a method to see which of the four solved x-values are true.

Supposedly, if there are two absolute values in an equation, one must create the intervals of the domain and see which solved x-values exist in the interval you are solving in.

For example, I would create the following two inequalities and solve for x:

[itex]3x + 1 \geq 0[/itex]
[itex]3x \geq -1 [/itex]
[itex]x \geq -\frac{1}{3}[/itex]

[itex]3x + 1 - x \geq 0[/itex]
[itex]2x \geq -1[/itex]
[itex]x \geq -\frac{1}{2}[/itex]

Then, the corresponding 'less than' inequalities would be done.

[itex]3x + 1 < 0[/itex]
[itex]3x < -1[/itex]
[itex]x < -\frac{1}{3}[/itex]

Here, I am not certain as to using [itex]3x + 1[/itex] or [itex]-(3x + 1)[/itex]

[itex]3x + 1 - x < 0[/itex]
[itex]2x < -1[/itex]
[itex] x < -\frac{1}{2}[/itex]

So, I now have the domain,

[itex] x < -\frac{1}{3}, -\frac{1}{3} \leq x < -\frac{1}{2}, x \geq -\frac{1}{2}[/itex]

Now, I will do cases in each interval, where the nature of the absolute values will be decided by whether they are positive or negative in the interval. And, if the solved x-value exists in the interval, it is a solution.

CASE 1

[itex] x < -\frac{1}{3}[/itex]

[itex]3(-2) + 1 < 0[/itex]

(Here, I am not sure again to use the positive absolute value or negative.)

[itex]3(-2) + 1 - (-2) < 0[/itex]

Therefore,

[itex]-[-(3x + 1) - x] = 2[/itex]
[itex]-(-3x - 1 - x) = 2[/itex]
[itex]-(-4x - 1) = 2[/itex]
[itex]4x + 1 = 2[/itex]
[itex]x = \frac{1}{4}[/itex]

However, 1/4 does not exist in this interval.

Now, I would continue on, but it strongly appears that with this method I will not get the answers supplied in the textbook. So, any help on how to do this correctly would be much appreciated. (As a note, I was able to solve it and get the correct answers on first try [not through this method], but then I realized I had no way of proving why these two values of the four were correct and the other two were not.)

Much appreciation for any help!
 
Physics news on Phys.org
  • #2
The absolute value of |x| is defined as x if x>0 and -x if x<0. So if you say 3x+1<0,

|3x+1|= -(3x+1)

How will your answers vary then?
 
  • #3
For the specific problem you listed, I would start with

|3x+1|-x = + 2

And solving for x in each case. For the general case with inequalities, I would work ina similar fashion.
 
  • #4
daveb said:
For the specific problem you listed, I would start with

|3x+1|-x = + 2

And solving for x in each case. For the general case with inequalities, I would work ina similar fashion.

Ah, yes, I forgot about the choice of moving the negative sign.

CASE 1

[itex]3x + 1 < 0[/itex]
[itex]|3x + 1| - x \geq 0[/itex]

[itex]-(3x + 1) - x = 2[/itex]
[itex]-4x - 1 = 2[/itex]
[itex]x = -\frac{3}{4}[/itex] --- This is one of the textbook's solutions.

CASE 2

[itex]3x + 1 < 0[/itex]
[itex]|3x + 1| - x < 0[/itex]

[itex]-(3x + 1) - x = -2[/itex]
[itex]-4x - 1 = -2[/itex]
[itex]x = \frac{1}{4}[/itex]

CASE 3

[itex]3x + 1 \geq 0[/itex]
[itex]|3x + 1| - x \geq 0[/itex]

[itex]3x + 1 - x = 2[/itex]
[itex]2x + 1 = 2[/itex]
[itex]x = \frac{1}{2}[/itex] --- This is the other (and last) textbook solution.

CASE 4

[itex]3x + 1 \geq 0[/itex]
[itex]|3x + 1| - x < 0[/itex]

[itex]3x + 1 - x = -2[/itex]
[itex]2x + 1 = -2[/itex]
[itex]x = -\frac{3}{2}[/itex]

And, I believe I was intended to stop here and await another reply. (Thanks for your help!)
 
  • #5
Pi-Bond said:
The absolute value of |x| is defined as x if x>0 and -x if x<0. So if you say 3x+1<0,

|3x+1|= -(3x+1)

How will your answers vary then?

(Thanks for your help!)

If I state such, then my answers, that is I think you are referring to the result of the solving of the equation, should include it. For example, if I say such, and then I decide on the inequality for [itex]|3x+1| - x[/itex] as [itex]|3x+1| - x \geq 0[/itex], then that first decision should continue:

[itex]-(3x+1) - x = 2[/itex]
[itex]-4x - 1 = 2[/itex]
[itex]x = -\frac{3}{4}[/itex]
 
  • #6
You need to be careful when removing the outermost absolute value sign. If you say (3x+1)>0, then x>-1/3. Then

||3x+1|-x|=|2x+1|

Now 2x+1>0 if x>-1/2. So

|2x+1|=2x+1 if x>-1/2
and
|2x+1|=-(2x+1) if x<-1/2 (but you also have the condition x>-1/3, which is not possible if x<-1/2, so this case is redundant)

So all in all you will have to deal with 4 cases

EDIT: Ooops...I changed a sign there
 
Last edited:
  • #7
Once you have your 4 answers, check them in the original expression.

The following was added in the Edit:

Decompose the inner absolute value first.

If 3x+1 ≥ 0 , then ||3x+1|-x| = |3x+1-x| = |2x + 1| .
Now, also notice that 3x+1 ≥ 0 → x ≥ 1/3 → 2x ≥ 2/3 → 2x +1 ≥ 5/3 > 0
What does this imply regarding |2x + 1| ?

Do similarly for 3x+1 < 0 .
 
Last edited:
  • #8
Pi-Bond said:
You need to be careful when removing the outermost absolute value sign. If you say (3x+1)>0, then x>-1/3. Then

||3x+1|-x|=|2x+1|

Now 2x+1>0 if x>-1/2. So

|2x+1|=2x+1 if x>-1/2
and
|2x+1|=-(2x+1) if x<-1/2 (but you also have the condition x>-1/3, which is not possible if x<-1/2, so this case is redundant)

So all in all you will have to deal with 4 cases

EDIT: Ooops...I changed a sign there

(Thanks!)

Interesting. (The following cases might not correspond to my previous replies.)

CASE 1

[itex]3x + 1 \geq 0 \rightarrow x \geq -\frac{1}{3} [/itex]
[itex]||3x + 1| - x| = |2x + 1|[/itex]
[itex] 2x + 1 \geq 0 \rightarrow x \geq -\frac{1}{2}[/itex]
[itex]|2x + 1| = 2 \Leftrightarrow 2x + 1 = 2 \Leftrightarrow x = \frac{1}{2}[/itex] if dom [itex] = \left\{x| x \geq -\frac{1}{3}\right\}[/itex], which is true (this x-value does belong in this domain)

CASE 2

[itex]3x + 1 \geq 0 \rightarrow x \geq -\frac{1}{3} [/itex]
[itex]||3x + 1| - x| = |2x + 1|[/itex]
[itex] 2x + 1 < 0 \rightarrow x < -\frac{1}{2}[/itex]
[itex]|2x + 1| = 2 \Leftrightarrow 2x + 1 = -2 \Leftrightarrow x = -\frac{3}{2}[/itex] if dom [itex] = \left\{x| -\frac{1}{3} \leq x < -\frac{1}{2} \right\}[/itex], which is false (this x-value does not belong in this domain)

CASE 3

[itex]3x + 1 < 0 \rightarrow x < -\frac{1}{3} [/itex]
[itex]||3x + 1| - x| = |-4x - 1|[/itex]
[itex] -4x - 1 \geq 0 \rightarrow x \leq -\frac{1}{4}[/itex]
[itex]|-4x - 1| = 2 \Leftrightarrow -4x - 1 = 2 \Leftrightarrow x = -\frac{3}{4}[/itex] if dom [itex] = \left\{ x| x < -\frac{1}{3} \right\}[/itex], which is true

CASE 4

[itex]3x + 1 < 0 \rightarrow x < -\frac{1}{3} [/itex]
[itex]||3x + 1| - x| = |-4x - 1|[/itex]
[itex] -4x - 1 < 0 \rightarrow x > -\frac{1}{4}[/itex]
[itex]|-4x - 1| = 2 \Leftrightarrow -4x - 1 = -2 \Leftrightarrow x = \frac{1}{4}[/itex] if dom [itex] = \left\{ x| -\frac{1}{4} < x < -\frac{1}{3} \right\}[/itex], which is false

Therefore! The solutions are [itex]x = -\frac{3}{4}, \frac{1}{2}[/itex]. Oooooo! I think I did this correctly! =D.

But, about your statement of redundancy, wouldn't [itex]x < -\frac{1}{2}[/itex] be true if [itex]x \geq -\frac{1}{3}[/itex], that is that the interval [itex]-\frac{1}{3} \leq x < -\frac{1}{2}[/itex] would be true?
 
  • #9
Are you sure about the domain of your second case? Look at the number line; (1/2)>(1/3) so (-1/2)<(-1/3). So the conditions x<(-1/2) and x>(-1/3) cannot be met at the same time. You don't need to consider such a case because the conditions for x are not possible.
 
  • #10
I am a great fan of plotting in cases like this one, as a graph gives you a lot of insight (although, of course, it can only be used easily for a single variable, x). What does the graph y = f(x) [f(x) = ||3x+1|-x| look like. Consider first the plot of |3x+1|; this will be "V" shaped, with a minimum of 1 at x = -1/3, and a slope of +3 to the right of the minimum and a slope of -3 to the left. Now subtract x: |3x+1|-x has a slopt of +2 to the right of x = -1/3 and a slope of -4 to the left of x = -1/3. At the point x = 0 it coincides with the graph of |3x+1|. So, you can easily plot |3x+1| - x. Now you want to look at the absolute value of the above, so if the plot goes negative you change the sign, but where it is positive you do nothing. Then you want to find the points on the final plot where y = 2.

RGV
 
  • #11
Pi-Bond said:
Are you sure about the domain of your second case? Look at the number line; (1/2)>(1/3) so (-1/2)<(-1/3). So the conditions x<(-1/2) and x>(-1/3) cannot be met at the same time. You don't need to consider such a case because the conditions for x are not possible.

Oh, hahaha! Yes, I understand now -- I was indeed thinking of [itex]-\frac{1}{3}[/itex] as being less than [itex]-\frac{1}{2}[/itex], while the reverse is actually true.

Thanks for all your help!
 
  • #12
SammyS said:
Once you have your 4 answers, check them in the original expression.

The following was added in the Edit:

Decompose the inner absolute value first.

If 3x+1 ≥ 0 , then ||3x+1|-x| = |3x+1-x| = |2x + 1| .
Now, also notice that 3x+1 ≥ 0 → x ≥ 1/3 → 2x ≥ 2/3 → 2x +1 ≥ 5/3 > 0
What does this imply regarding |2x + 1| ?

Do similarly for 3x+1 < 0 .

Thanks for your reply!

But, I think Pi-Bond has got me through it, and my revised solution is a reply to one of Pi-Bond's comments.
 
  • #13
Ray Vickson said:
I am a great fan of plotting in cases like this one, as a graph gives you a lot of insight (although, of course, it can only be used easily for a single variable, x). What does the graph y = f(x) [f(x) = ||3x+1|-x| look like. Consider first the plot of |3x+1|; this will be "V" shaped, with a minimum of 1 at x = -1/3, and a slope of +3 to the right of the minimum and a slope of -3 to the left. Now subtract x: |3x+1|-x has a slopt of +2 to the right of x = -1/3 and a slope of -4 to the left of x = -1/3. At the point x = 0 it coincides with the graph of |3x+1|. So, you can easily plot |3x+1| - x. Now you want to look at the absolute value of the above, so if the plot goes negative you change the sign, but where it is positive you do nothing. Then you want to find the points on the final plot where y = 2.

RGV

Thanks for your reply!

I do also agree that graphing problems when possible is a great way of understanding it.
 
  • #14
Ray Vickson said:
I am a great fan of plotting in cases like this one, as a graph gives you a lot of insight ...

RGV

I also agree. That's why I thought looking at |3x + 1| first would show why there are only two solutions rather than four.
 

1. How do you solve an equation with an absolute value within an absolute value?

To solve an equation with an absolute value within an absolute value, you will need to use the principles of absolute value and follow certain steps. First, rewrite the equation as two separate equations, one with the absolute value and one without. Then, solve each equation separately to find two possible solutions. Finally, check each solution in the original equation to determine the actual solution(s).

2. What are the key principles of solving equations with absolute values?

The key principles of solving equations with absolute values include:

  • When the absolute value is equal to a positive number, the equation inside the absolute value can be rewritten as the number itself.
  • When the absolute value is equal to a negative number, the equation inside the absolute value can be rewritten as the opposite of the number.
  • If the absolute value is set equal to a variable, the equation will have two possible solutions.

3. What is the importance of checking solutions in an absolute value equation?

Checking solutions in an absolute value equation is important because the equation may have multiple solutions, and it is necessary to determine which solution(s) satisfy the original equation. Additionally, it helps to catch any extraneous solutions, which can occur when the absolute value equation is rewritten as two separate equations.

4. Can you solve an equation with multiple absolute values?

Yes, an equation can have multiple absolute values and can still be solved by using the principles of absolute value and following the necessary steps. However, the number of solutions may increase with each additional absolute value, making it more important to check solutions at the end.

5. Are there any special cases when solving an equation with absolute values?

Yes, the equation may have special cases when:

  • The absolute value is set equal to zero, resulting in only one solution.
  • The absolute value is set equal to a variable and the original equation is already in absolute value form, resulting in an infinite number of solutions.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
721
  • Precalculus Mathematics Homework Help
Replies
9
Views
762
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
856
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
18
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
929
  • Precalculus Mathematics Homework Help
Replies
11
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
770
Back
Top