How do you solve by substitution x+-y=1x±y=1 and -2x+y=42x+y=4?

1 Answer
Sep 8, 2015

The problem has two solutions:
x=-1,y=2x=1,y=2.
x=-5,y=-6x=5,y=6.

Explanation:

To solve by substitution, we isolate one of the variables in one equation, and use that to solve the other equation.

x+-y =1x±y=1 shows two cases: x+y=1x+y=1 or x-y=1xy=1.

Case 1:
Our system is:

x+y=1x+y=1
-2x+y=42x+y=4

Since the first equation is easier to work with, we can isolate a variable there.
x+y=1x+y=1
x=1-yx=1y

Now, we substitute 1-y1y into xx in the other equation, and simplify.

-2x+y=42x+y=4
-2(1-y)+y=42(1y)+y=4
-2+2y+y=42+2y+y=4
3y=63y=6
y=2y=2

We now know the value of yy, which we can use to solve for xx using either equation:

x+y=1x+y=1
x+2=1x+2=1
x=-1x=1

Therefore, the solution to Case 1 is x=-1,y=2x=1,y=2.

Case 2:
Our system is:

x-y=1xy=1
-2x+y=42x+y=4

Like before, we isolate one of the variables in one equation and solve using the other equation.

x-y=1xy=1
x=1+yx=1+y

-2x+y=42x+y=4
-2(1+y)+y=42(1+y)+y=4
-2-2y+y=422y+y=4
-y=6y=6
y=-6y=6

At this point, we know the y=-6y=6, so we can solve for xx using either equation:

x-y=1xy=1
x+6=1x+6=1
x=-5x=5

Therefore the solution to case 2 is x=-5,y=-6x=5,y=6.

The problem has two solutions:
x=-1,y=2x=1,y=2.
x=-5,y=-6x=5,y=6.