Find the solution to the system of 5x+2y=-24 x-y=5

Sagot :

So to do this, we have to get rid of one of the variables by adding or subtracting the two equations together.
I will get rid of y. So, we can multiply the second equation by 2. This gives us
2x-2y=10
Now, we can add both equations
This gives us 7x=-14
Therefore, x = -2
Plug that into another equation.
-10 + 2y=-24
Therefore, y = -7

Hope this helped!! :D
5x + 2y = -24 ⇒ 5x + 2y = -24
1x -  1y =    5 ⇒ 2x -  2y =  10
                                  7x = -14
                                   7       7
                                     x = -2
                                x - y = 5
                              -2 - y = 5
                            + 2       + 2
                                   -y = 7
                                   -1   -1
                                     y = -7
                               (x, y) = (-2, -7)