solve the following system by the substitution method 3x+y=12 y=3x
To solve the system of equations by substitution, we need to substitute the expression for y in one equation into the other equation.
The second equation is already in the form y = 3x, so we can substitute this expression into the first equation:
3x + (3x) = 12
Now, combine like terms:
6x = 12
Next, divide both sides of the equation by 6:
x = 2
Now that we have the value for x, we can substitute it back into one of the original equations to find the value of y. Let's use the second equation:
y = 3(2)
y = 6
Therefore, the solution to the system of equations is x = 2 and y = 6.