The system of linear equations you've provided consists of two equations:
- x + y = 5
- 3x + y = 7
To solve this system, we can use either the substitution method or the elimination method. Here, the elimination method seems straightforward since both equations have the variable y with the same coefficient. Let's subtract the first equation from the second equation to eliminate y.
Subtract equation 1 from equation 2: (3x + y) - (x + y) = 7 - 5
Solve for x: 3x + y - x - y = 2 3x - x = 2 2x = 2 x = 2/2 x = 1
Now that we know the value of x, we can use it to solve for y by substituting x into either of the original equations. Let's use the first equation:
x + y = 5 1 + y = 5 y = 5 - 1 y = 4
Thus, the solution to the system of equations is x = 1 and y = 4.
