46,650 views
45 votes
45 votes
Given the graphs of f(x) = –x – 2 and g(x) = –2x + 1, find the solution to this system of equations:

x + y = –2
2x + y = 1

User Ammar Khan
by
2.6k points

1 Answer

12 votes
12 votes

Answer:

(3, -5) or x=3, y=-5

Explanation:

Systems of Equations:

In a systems of equation, we're looking for what pair of (x, y) values make both equations true. When a pair of (x, y) makes an equation true, that just means it's on the line of the graph. So a pair of (x, y) values that makes both equations true, is simply when both lines intersect.

Solving Systems of Equations:

There are multiple methods to solve a systems of equation including: elimination, substitution, and graphing.

Each way has their advantages, and I'll show to to apply substitution and elimination

Elimination Method:

In this method we want to manipulate one of equations (or possibly both) so that they each have a variable with the "same coefficient" but different sign (one positive, one negative).

In the equations given, you may notice that the "y" variables each have the same coefficient, so we could multiply either of the equations by negative one, so one has positive y and another has negative y.

The reason we want the equations set up in this way, is so that we can add the equations which results in one of the variables being "eliminated" so that we can solve for a single value for the other variable.

So we start with:


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

let's multiply the top equation by -1 (remember to apply this to both sides so you don't actually change the equation)


-(x+y)=-(-2)\implies -x-y=2

So now from here we have the two equations


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

If we add the two equations we get the following


(-x+2x)+(-y+y)=(2+1)

Notice how the -y and y cancel each other out? This is the entire point of the elimination method, so now we can solve for x


x=3

This actually simplifies in our favor since -x + 2x = x, and the right side is just some constant, so we don't need to manipulate the equation anymore to solve for x.

Now that we know what the x-value is, we can plug this into either equation to solve for y. For simplicity I'll use the x + y = -2 equation.


3+y=-2\\y=-2-3\\y=-5

So we know the solution is (3, -5) or
x=3,\ y=-5

Substitution Method

The substitution method has the same goal as the elimination method, that is, get a one-variable equation so we can solve for one value. In this method, we want to define one variable in terms of the other variable, that way we can substitute this into the other equation, giving us a new equation with only one variable.

So let's just start with the top equation:


x+y=-2

From here we can define "y" in terms of x, by subtracting x from both sides.


y=-2-x

Now let's look at our other equation


2x+y=1

Notice how it has a y variable, well we have one way of defining it: y = -2 - x. If we plug this into the bottom equation, now we only have x terms, giving us a one-variable equation.


2x+(-2-x)=1

Now let's add 2 to both sides to cancel out the -2, and simplify 2x - x


x=3

From here we essentially do the same thinkg we did in elimination method, except it may be a bit easier since we already have "y" solved for, we just need an x-value, which we now have!


y=-2-x\\\text{we know that x = 3}\\y=-2-(3)\\y=-5

so now we have our solution:
(3, -5)\text{ or }x=-3, y=-5

User Erik Gillespie
by
2.8k points