When we have a system of linear equations where one of the equations is of the form y=[stuff] or x=[stuff], we can solve it algebraically by using a technique called substitution. The basic idea is to replace a variable with an expression that it is equal to (so the expression is like a substitute for the variable). For example, let's start with the system:
{y=5x2x−y=9
Because we know that y=5x, we can substitute 5x for y in the equation 2x−y=9,
2x−(5x)=9
and then solve the equation for x,
x=-3
We can find y using either equation. Using the first one, y=5⋅-3.
So (-3,-15) is the solution to this system.
We can verify this by looking at the graphs of the equations in the system:
Sure enough! They intersect at (-3,-15).
We didn't know it at the time, but we were actually using substitution in the last lesson as well. In that lesson, we looked at the system
{y=2x+6y =-3x−4
We substituted 2x+6 for y into the second equation to get 2x+6=-3x−4. Go back and check for yourself!