Another x, Another y

Algebra Level 2

x + x + y = 8 x + y y = 14 x + y = ? \begin{aligned} \large |\color{#20A900}x| + \color{#20A900}x + \color{#3D99F6}y &=& \large \color{#624F41}8 \\\large \color{#20A900}x + |\color{#3D99F6}y|-\color{#3D99F6}y &=& \large \color{#69047E}{14} \\ \large \color{#20A900}x + \color{#3D99F6}y &=&\large \ \color{grey}? \end{aligned}


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

7 solutions

Otto Bretscher
May 23, 2015

To check in which quadrant the solution lies, I sketch the two curves (attached Figure)

Now x + x + y = 8 |x|+x+y=8 is 2 x + y = 8 2x+y=8 for x 0 x\geq{0} and y = 8 y=8 for x 0 x\leq{0} ... the discussion of the other equation is analogous. We see that the solution lies in the fourth quadrant, where x > 0 , y < 0 x>0,y<0 , with x = x |x|=x and y = y |y|=-y , so that we have to solve the equations 2 x + y = 8 , x 2 y = 14 2x+y=8, x-2y=14 . Substituting y = 8 2 x y=8-2x , we find x = 6 , y = 4 x=6,y=-4 . Thus x + y = 2 x+y=\boxed{2}

Moderator note:

Sometimes, the best way to understand absolute value equations, is to draw out the diagram.

Since we are dealing with x |x| and y |y| , we know that we should divide the plane into x 0 , x < 0 x 0, x < 0 and y > 0 , y < 0 y > 0, y < 0 , which gives us the 4 quadrants.

A very good idea. I solved the problem by considering all the possibilities in turn. So whilst I got the right answer, your method is far more 'neat'. Regards, David

David Fairer - 3 years, 9 months ago

A more appropriate method indeed

anukool srivastava - 3 years, 8 months ago
Amiel Chua
May 10, 2015

1. Confirm x x is not a negative number and thus proving x = x |x| = x (since |x| = x for non-negative numbers)

Assume x x is negative number a a , that is a -a

x + x + y = 8 |x| + x + y = 8

a + ( a ) + y = 8 |-a| + (-a) + y =8

a a + y = 8 a - a + y = 8

y = 8 y = 8 that means y is a positive number

if y = 8 y = 8 , then

x + y y = 14 x + |y| - y = 14

x + 8 8 = 14 x + |8| - 8 = 14

x = 14 x = 14 since x became positive, it disagreed with our assumption that x is a negative number, so therefore x in not a negative number and thus prove x = x |x| = x

2. Confirm y y is a negative number, proving y = y |y| = -y (since y will be negative to begin with, -y is positive)

let y y be a positive number

x + y y = 14 x + |y| - y = 14

x + y y = 14 x + y - y = 14

x x = 14

if x x = 14, then

x + x + y = 8 |x| + x + y = 8

14 + 14 + y = 8 |14| + 14 + y = 8

28 + y = 8 28 + y = 8

y = 20 y = -20 , y became negative which negates our assumption that y is positive so therefore it is not positive, proving y = y |y| = -y

3. Find y. Since|x| = x, substitute x for |x|

x + x + y = 8 |x| + x + y = 8

2 x + y = 8 2x + y = 8

y = 8 2 x y = 8 - 2x

4. Solve for x. Since|y| = -y, substitute -y for |y|

x + y y = 14 x + |y| - y = 14

x 2 y = 14 x - 2y = 14 , y = 8 - 2x

x 2 ( 8 2 x ) = 14 x -2(8 - 2x) = 14

x 16 + 4 x = 14 x - 16 + 4x = 14

5 x = 30 5x = 30

x = 6 x = 6

5. Solve for y.

y = 8 2 x y = 8 - 2x

y = 8 2 ( 6 ) y = 8 - 2(6)

y = 8 12 y = 8 - 12

y = 4 y = -4

6. Solve x + y

6 4 = 2 6 -4 = \boxed{2}

Chew-Seong Cheong
May 23, 2015

We can consider equations with absolute functions by inverting the ± \pm signs of variables { x , y } \{x,y\} at f ( x , y ) < 0 |f(x,y) < 0| . It is equivalent to drawing the graphs.

{ x + x + y = 8 { 2 x + y = 8 for x 0 . . . ( 1 a ) y = 8 for x < 0 . . . ( 1 b ) x + y y = 14 { x = 14 for y 0 . . . ( 2 a ) x 2 y = 14 for y < 0 . . . ( 2 b ) \begin{cases} |x|+x+y=8 & \Rightarrow \begin{cases} 2x + y = 8 & \text{for } x \ge 0 & ...(1a) \\ y = 8 & \text{for } x < 0 & ...(1b) \end{cases} \\ x+|y|-y=14 & \Rightarrow \begin{cases} x = 14 & \text{for } y \ge 0 & ...(2a) \\ x-2y = 14 & \text{for } y < 0 & ...(2b) \end{cases} \end{cases}

Consider all the cases:

{ Eq. 1a & Eq. 2a 28 + y = 8 y = 20 < 0 Rejected Eq. 1b & Eq. 2a y = 8 but x = 14 > 0 Rejected Eq. 1b & Eq. 2b y = 8 > 0 Rejected 2 × Eq. 1a + Eq. 2b 5 x = 30 x = 6 > 0 12 + y = 8 y = 4 < 0 Accepted \begin{cases} \text{Eq. 1a \& Eq. 2a} & \Rightarrow 28+y = 8 & \Rightarrow y = -20 \color{#D61F06}{< 0} & \color{#D61F06}{\text{Rejected}} \\ \text{Eq. 1b \& Eq. 2a} & \Rightarrow y = 8 & \text{but } x = 14 \color{#D61F06}{> 0} & \color{#D61F06}{\text{Rejected}} \\ \text{Eq. 1b \& Eq. 2b} & \Rightarrow y = 8 \color{#D61F06}{> 0} & & \color{#D61F06}{\text{Rejected}} \\ 2\times \text{Eq. 1a} + \text{Eq. 2b} & \Rightarrow 5x = 30 & \Rightarrow x = 6 \color{#3D99F6}{> 0} \\ & \Rightarrow 12 + y = 8 & \Rightarrow y = -4 \color{#3D99F6}{< 0} & \color{#3D99F6}{\text{Accepted}} \end{cases}

x + y = 6 4 = 2 \Rightarrow x + y = 6-4 = \boxed{2}

Moderator note:

For absolute value equations, splitting it into regions where the sign doesn't change allows us a simple way of doing case analysis.

i think x-2y=14 does not exist... if y is positive, then x=14 .. if y is negative, then x+2y =14 ..although i agree that the answer is x=6 and y=-4 .. i'm confused.. hmm..

Nino Enrico Bantolino - 5 years, 4 months ago

thanks for all ur solutions. they help me a lot.

Nikhil Raj - 4 years, 2 months ago

Amy Zhang
Jul 18, 2019

One solution would be to determine the nature of x and y first: From the first equation, ∣x∣+x+y=8, isolate the absolute value of x: ∣x∣ = 8 - x - y Because it is unclear if x is positive or negative, split the equation into cases. If x is positive, then x = 8 - x - y, because ∣x∣ = x if x > 0. Simplifying this equation gets 2x + y = 8. If x is negative, then x = -8 + x + y, because ∣x∣ = -x if x < 0. Simplifying this equation gets y = 8. One of the above equations must be false. y = 8 is clearly false because it would mean that x = 0, which does not agree with x + |y| - y = 14. Therefore, 2x + y = 8 is true and x > 0. The same technique can be applied to the second equation of x + |y| - y = 14, and isolating |y|. If y is positive, then x = 14. If y is negative, then -x + 2y = -14. x = 14 is false because it means that y = 0, which does not agree with ∣x∣ = 8 - x - y. So -x + 2y = -14 is true and y < 0. By setting up a system of equations with 2x + y = 8 and -x + 2y = -14, x = 6 and y = -4, so x + y = 2.

There are four possible cases: (x>0,y>0),(x<0,y<0),(x>0,y<0),(x<0,y>0). After testing, x>0, y<0 seems to work. As x is already positive, the first equation would be 2x + y = 8. The since y is absolute, y becomes -y. -y-y = -2y. Therefore the second equation is x - 2y = 14 Solving, we get x = 6, y = -4. x + y = 2.

Hadia Qadir
Aug 30, 2015

X=6,y=(-2) so, x+y=2

x=6, y=-2, x+y=6+(-2) = 4 :( how 2 ?

Manabendra Dey - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...