Linear Simultaneous Equations¶
To solve linear simultaneous equation, you will need to solve the equation for one variable - and then calculate for the other.
Given two different linear equations, you could use either of the two example approaches below to solve.
Solving by elimination¶
Solving by elimination involves attempting to remove a variable by adding/subtracting the equations. This is accomplished by matching the coefficient of the same variable in both equations.
Example¶
Match 2 coefficients¶
For the sake of simplicity, match the \(y\) coefficient
The \(y\) coefficients match.
Add / Subtract Equations¶
Take a look at the operation before \(y\), and use the following table to establish whether to add or subtract the equations.
Operation | Add | Subtract |
---|---|---|
Add | Subtract | Add |
Subtract | Add | Subtract |
Using the above table, you can establish that the example needs to be subtracted.
Solving by substitution¶
Solving by substitution involves substituting one equation into the other to eliminate a variable. This typically involves rearranging an equation.
Example¶
Rearrange ready for substitution¶
Since it's the easiest to isolate, I will substitute to find \(y\) from the first equation.
Substitute into other equation (and find x)¶
Solve for second variable¶
To establish \(y\) you will need to substitute the \(x\) value back into one of the original equations.
Except as otherwise noted, the content of this page is licenced under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Mozilla Public License 2.0.