Free to Use

System of Equations Solver

Solve systems of linear equations using elimination, substitution, and matrix methods. Supports 2-variable and 3-variable systems with step-by-step solutions.

๐Ÿ”น Elimination Method: Add or subtract equations to eliminate one variable, then solve for the remaining variables.

Equation System: aโ‚x + bโ‚y = cโ‚,   aโ‚‚x + bโ‚‚y = cโ‚‚
Eq 1: x + y =
Eq 2: x + y =

Real-World System of Equations Examples

๐ŸŽ’ Buying Supplies

Problem: 3 notebooks and 2 pens cost $7.00. 5 notebooks and 1 pen cost $10.50. How much does each cost?

Equations: 3x + 2y = 7, 5x + y = 10.50

Multiply Eq 2 by 2: 10x + 2y = 21. Subtract Eq 1: 7x = 14 โ†’ x = $2.00 per notebook

Substitute: 5(2) + y = 10.50 โ†’ y = $0.50 per pen

๐Ÿš— Speed & Distance

Problem: A boat travels 60 km downstream in 3 hours and returns upstream in 5 hours. Find boat speed (x) and current speed (y).

System: x + y = 20, x - y = 12

Add equations: 2x = 32 โ†’ x = 16 km/h (boat speed)

Substitute: 16 + y = 20 โ†’ y = 4 km/h (current speed)

๐Ÿงช Mixing Solutions

Problem: Mix 10% and 30% acid solutions to make 200 mL of 18% acid. How much of each?

Let x = mL of 10%, y = mL of 30%. System: x + y = 200, 0.10x + 0.30y = 36

Substitute y = 200 - x: 0.10x + 0.30(200 - x) = 36 โ†’ -0.20x = -24 โ†’ x = 120 mL of 10%, y = 80 mL of 30%

๐Ÿ“ 3-Variable: Investment Portfolio

Problem: $12,000 invested at 4%, 5%, and 6%. Total interest is $620. The 5% amount is twice the 4% amount. Find each amount.

Let x = 4% amount, y = 5% amount, z = 6% amount.

System: x + y + z = 12000, 0.04x + 0.05y + 0.06z = 620, y = 2x

Substitute y = 2x: 3x + z = 12000, 0.14x + 0.06z = 620. Solve: x = $2,500 at 4%, y = $5,000 at 5%, z = $4,500 at 6%

Understanding Systems of Linear Equations

A system of linear equations is a collection of two or more linear equations sharing the same variables. The solution is the set of values that satisfy all equations simultaneously.

General Form (2 Variables)

aโ‚x + bโ‚y = cโ‚, aโ‚‚x + bโ‚‚y = cโ‚‚
A unique solution exists when the determinant D = aโ‚bโ‚‚ - aโ‚‚bโ‚ โ‰  0.

Elimination Method

Multiply equations to match coefficients, then add/subtract to eliminate a variable
Solve one variable, then back-substitute to find the other.

Substitution Method

Solve one equation for one variable, substitute into the other
Useful when one variable has a coefficient of 1 or -1.

Cramer's Rule (Matrix Method)

D = aโ‚bโ‚‚ - aโ‚‚bโ‚, Dx = cโ‚bโ‚‚ - cโ‚‚bโ‚, Dy = aโ‚cโ‚‚ - aโ‚‚cโ‚
x = Dx/D, y = Dy/D (provided D โ‰  0). For 3 variables, use 3ร—3 determinants.

Possible Outcomes

1
Unique Solution: Lines/planes intersect at one point. D โ‰  0.
2
No Solution: Lines are parallel. D = 0 but numerators โ‰  0.
3
Infinite Solutions: Lines coincide. D = 0 and all numerators = 0.

Quick Tips

๐Ÿ“ Check Your Determinant

If D = 0, the system has no unique solution. Use elimination to check if it's dependent or inconsistent.

๐Ÿ”„ Elimination vs Substitution

Use elimination when coefficients are easy to match. Use substitution when a variable has coefficient 1 or -1.

โœ… Verify Your Solution

Always plug the solution back into all original equations to catch arithmetic errors.

๐Ÿ“ 3D Visualization

A 3-variable system represents three planes in 3D space. The solution is their intersection point.

โœ‚๏ธ
Elimination Method
Solve by adding or subtracting equations to eliminate variables. See each multiplication and addition step clearly.
๐Ÿ”„
Substitution Method
Solve one equation for a variable and substitute into the others. Perfect when one variable is easy to isolate.
๐Ÿ“Š
Matrix Method (Cramer's Rule)
Use determinants to solve the system directly. Shows determinant calculation and applies Cramer's Rule for each variable.
๐Ÿ“
Step-by-Step Solutions
Every calculation is broken down into clear numbered steps. Follow the solution from start to finish.

What is a System of Linear Equations?

A system of linear equations (simultaneous equations) is a set of two or more linear equations sharing the same variables. Solving it means finding values that satisfy every equation simultaneously. A 2-variable system represents two lines; their intersection is the solution. A 3-variable system represents three planes in 3D space.

Types of Solutions

How to Solve Systems of Equations

Three primary methods are available. Choose the one best suited to your problem.

Elimination Method

Multiply equations to align coefficients, then add/subtract to eliminate a variable. Solve the resulting equation, then back-substitute.

Example: 2x + 3y = 12, 4x - y = 10. Multiply Eq 2 by 3: 12x - 3y = 30. Add to Eq 1: 14x = 42 โ†’ x = 3. Then 2(3) + 3y = 12 โ†’ y = 2. Solution: (3, 2).

Substitution Method

Solve one equation for one variable, then substitute into the other. Especially useful when a variable has coefficient 1 or -1.

Example: x + y = 10, 3x - 2y = 5. From Eq 1: y = 10 - x. Substitute: 3x - 2(10 - x) = 5 โ†’ 5x = 25 โ†’ x = 5, y = 5.

Matrix Method (Cramer's Rule)

Calculate the determinant D of the coefficient matrix. Replace each variable column with constants to get Dx, Dy, Dz. Then x = Dx/D, y = Dy/D, z = Dz/D (when D โ‰  0).

Real-World Applications

Systems of equations are used across many fields:

๐Ÿ’ฐ Business & Economics

Find break-even points, equilibrium price and quantity, and allocate resources across multiple constraints.

๐Ÿ”ฌ Science & Engineering

Solve circuit problems (Kirchhoff's laws), analyze forces in structures, and model chemical reactions.

๐Ÿš— Transportation

Calculate speeds, distances, and times for multiple vehicles. Solve rate-of-work problems with multiple workers.

๐Ÿงช Chemistry & Medicine

Mix solutions to target concentrations, calculate medication dosages, and balance chemical equations.

Frequently Asked Questions

What does it mean to solve a system of equations?
Solving means finding values for the variables that make all equations true simultaneously. For 2 variables, the solution (x,y) is where the two lines intersect. A system can have one unique solution, no solution, or infinitely many solutions.
Which method should I use: elimination, substitution, or matrix?
Elimination works well when coefficients are easy to match. Substitution is best when a variable has coefficient 1 or -1. Cramer's Rule gives the solution directly using determinants. All three give the same answer.
What if the determinant is zero?
If D = 0, there's no unique solution. It could be: (1) No solution โ€” parallel lines that never meet, or (2) Infinite solutions โ€” the equations represent the same line. The calculator identifies which case applies.
Can I solve a 3-variable system using substitution?
Yes. Solve one equation for one variable, substitute into the other two to create a 2-variable system, then solve that. Elimination and Cramer's Rule also work well for 3-variable systems.
What is Cramer's Rule?
Cramer's Rule uses determinants to solve linear systems. For 2 variables: D = aโ‚bโ‚‚ - aโ‚‚bโ‚, Dx = cโ‚bโ‚‚ - cโ‚‚bโ‚, Dy = aโ‚cโ‚‚ - aโ‚‚cโ‚. Then x = Dx/D, y = Dy/D (when D โ‰  0). For 3 variables, the same idea extends to 3ร—3 determinants.
How do I check if my solution is correct?
Substitute the values back into every original equation. If all equations balance, the solution is correct. Our calculator automatically shows this verification step in the solution details.

โš ๏ธ Important Note: This System of Equations Solver is for educational and informational purposes only. While every effort has been made to ensure accuracy, results should be verified independently for critical applications such as engineering, scientific research, financial decisions, or medical calculations. Always consult a qualified professional for high-stakes decision-making.