Solving Absolute Value Equations

In summary, the system given is solved by considering cases for the values of x+y and 1-x, and then further sub-cases based on the values of y. Through this method, the two valid solutions are determined to be x=-2, y=-1 and x=-14/3, y=13/3. A potential shortcut using the absolute value property of |x|=a is suggested for further exploration.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Solve the system below:

$\displaystyle |x+y|+|1-x|=6$

$\displaystyle |x+y+1|+|1-y|=4$

I've solved this problem and my intention is purely to gain another insights on how others would approach it and I surely hope you find this problem as an interesting one!:)
 
Mathematics news on Phys.org
  • #2
x=-2 , y=-1 .
 
  • #3
anemone said:
Solve the system below:

$\displaystyle |x+y|+|1-x|=6$

$\displaystyle |x+y+1|+|1-y|=4$

I've solved this problem and my intention is purely to gain another insights on how others would approach it and I surely hope you find this problem as an interesting one!:)
That system is a very pretty problem. Could you show us your solution so we can see how you did it and see what other ways we can come up with?

Without having actually solved the problem it looks like you could solve the top equation for y and stick it in the second equation and solve for x. But it's likely to be a bit of a mess.

-Dan
 
  • #4
ZaidAlyafey said:
x=-2 , y=-1 .

Yes, that's correct(:cool:) but Zaid, you missed out another pair of answer where $\displaystyle x=-\frac{14}{3}$, $\displaystyle y=\frac{13}{3}$.

By the way, do you mind to share with me of your solution (but not the final answers)?

I will post my solution in full today too!:)
 
  • #5
anemone said:
Yes, that's correct(:cool:) but Zaid, you missed out another pair of answer where $\displaystyle x=-\frac{14}{3}$, $\displaystyle y=\frac{13}{3}$.

By the way, do you mind to share with me of your solution (but not the final answers)?

I will post my solution in full today too!:)

I expected to miss other solutions because I solved it by observation , no real method ...
 
  • #6
My solution:

$\displaystyle |x+y|+|1-x|=6$

$\displaystyle |x+y+1|+|1-y|=4$

My method is to consider the cases
A. $x+y\geq0$ or
B. $x+y<0$
for the following sub cases (I know it sounds extremely tedious but it is far from it if you read on...):
i. $1-x\geq0$ for the sub cases $y<1$ or $y\geq1$
ii. $1-x<0$ for the sub cases $y<1$ or $y\geq1$

Case A (i) +$y<1$ :
$x+y\geq0$, $1-x\geq0$ and $y<1$

From $ |x+y|+|1-x|=6$:

$\displaystyle x+y+1-x=6$ which immediately implies $y=5$.

But bear in mind that in this case, $y<1$, thus, this is not a valid case.

Case A (i)+$y\geq1$:
$x+y\geq0$, $1-x\geq0$ and $y\geq1$

From $ |x+y|+|1-x|=6$:

$\displaystyle x+y+1-x=6$, which immediately implies $y=5$.

But since $y<1$, this is not a valid case either and notice that the setting of this case does not give us another solution that is different from case 1.

Case A (ii)
+$y<1$ :
$x+y\geq0$, $1-x<0$ and $y<1$


From $ |x+y|+|1-x|=6$:

$ x+y-(1-x)=6$

$ 2x+y=7$From $|x+y+1|+|1-y|=4$:

$x+y+1+1-y=4$

$x=2$ and $ y=7-2x=7-2(2)=3$

But $y<1$, thus, this isn't a valid case either.

Case A (ii)+$y\geq1$:
$x+y\geq0$, $1-x<0$ and $y\geq1$

From $ |x+y|+|1-x|=6$, we get $ 2x+y=7$, and From $|x+y+1|+|1-y|=4$:

$x+y+1-(1-y)=4$

$x+2y=4$

$ 2x+y=7$

Solving these for y, we obtain $y=\frac{1}{3}$.

Since $y\geq1$, we need to eliminate this case too.

So, there are no solutions if $x+y\geq0$.

Now, let's start with the case B...(I'll do it in a separate post for easy reading.)
 
  • #7
Case B (i) +$y<1$ :
$x+y<0$, $1-x\geq0$ and $y<1$

From $ |x+y|+|1-x|=6$:

$-(x+y)+1-x=6$

$2x+y=-5$From $|x+y+1|+|1-y|=4$:

$|x-5-2x+1|+1-y=4$

$|-x-4|=y+3$ or $|x+4|=y+3$

$x+4=-(y+3)$ or $x+4=y+3$

$x+y=-7$ or $x-y=-1$

Solving $x+y=-7$ and $2x+y=-5$ simultaneously, we get $x=2$ which contradicts our assumption that $1-x\geq0$.

Solving $x-y=-1$ and $2x+y=-5$ simultaneously, we get $x=-2$, $y=-1$ and this satisfies all of the constraints and thus, this is a pair of valid solutions.

Case B (i)+$y\geq1$:
$x+y<0$, $1-x\geq0$ and $y\geq1$

From $ |x+y|+|1-x|=6$, we get $2x+y=-5$.From $|x+y+1|+|1-y|=4$:

$|x+y+1|-(1-y)=4$

$|x-5-2x+1|=5-y$

$|-x-4|=5-y$

$|x+4|=5-y$

$x+4=-(5-y)$ or $x+4=5-y$

$x-y=-9$ or $x+y=1$

Solving $x-y=-9$ and $2x+y=-5$ simultaneously, we get $\displaystyle x=-\frac{14}{3}$, $\displaystyle y=\frac{13}{3}$ and this satisfies all of the constraints and thus, this is another pair of valid solutions.

Since $x+y=1$ contradicts the assumption that $x+y<0$, we'll just ignore this case.

Case B (ii)
+$y<1$ :$x+y<0$, $1-x<0$ and $y<1$

From $ |x+y|+|1-x|=6$:

$ -(x+y)-(1-x)=6$, this implies $y=-7$.From $|x+y+1|+|1-y|=4$:

$|x-7+1|+|1-(-7)|=4$

$|x-6|=-4$

and this isn't right because the absolute value can't be negative.

Case B (ii)+$y\geq1$:
$x+y<0$, $1-x<0$ and $y\geq1$

We get $y=-7$ from $ |x+y|+|1-x|=6$. But we have our assumption where $y\geq1$, thus, this isn't a valid case either.

Thus, we can conclude that the only solutions to the original system are $x=-\frac{14}{3}$, $y=\frac{13}{3}$ and $x=-2$, $y=-1$.
 
  • #8
As expected you went into all cases I wonder if there is a shortcut .
 
  • #9
I would actually prefer to use that |x|=a then $x=\pm a$ so I don't miss one of the cases .
 
  • #10
anemone,

Thank you for taking the time and effort to post your solution...I know that must've taken quite some time to so clearly elucidate all of the resulting cases. (Yes)

ZaidAlyafey,

If you come up with a shorter method, we're all eyes...(Nod) (Poolparty)
 

FAQ: Solving Absolute Value Equations

What is an absolute value equation?

An absolute value equation is an equation that contains an absolute value expression. The absolute value of a number is its distance from zero on a number line. In an equation, the absolute value expression is set equal to a number or variable, and the goal is to find the values of the variable that make the equation true.

How do you solve absolute value equations?

To solve an absolute value equation, you must isolate the absolute value expression on one side of the equation. Then, you must create two separate equations, one with the positive value of the absolute value expression and one with the negative value. Solve both equations for the variable, and check your solutions by plugging them back into the original equation.

What are extraneous solutions in absolute value equations?

Extraneous solutions are solutions that appear to satisfy the equation but do not actually make it true. They occur when solving absolute value equations because the absolute value expression can result in both positive and negative values, so the solutions must be checked in the original equation to ensure they are valid.

Can you use the same methods to solve all absolute value equations?

Yes, the same methods can be used to solve all absolute value equations. However, the specific steps and techniques may vary depending on the complexity of the equation.

Why are absolute value equations important?

Absolute value equations are important because they are frequently used in real-world applications to represent situations where there is a distance or magnitude involved. They are also an essential concept in higher-level math courses, such as algebra and calculus.

Back
Top