Enter your system (2 equations)
Enter coefficients for: a·x + b·y = e and c·x + d·y = f. Tip: if a term is missing (like no x term), enter 0.
Solve two linear equations with two unknowns (x and y) instantly. Get the final answer, a clean step-by-step elimination path, and a quick verification check. No signup. Works on mobile. Great for homework screenshots.
Enter coefficients for: a·x + b·y = e and c·x + d·y = f. Tip: if a term is missing (like no x term), enter 0.
A system of equations is a set of two or more equations that share the same unknowns. Instead of solving each equation in isolation, you solve them together to find values of the variables that make all equations true at the same time. Systems show up everywhere: budgeting (income vs expenses), business (supply vs demand), chemistry (balancing mixtures), physics (forces), and of course math classes.
This page is a fast, mobile-friendly System of Equations Solver that focuses on the most common case: two linear equations with two unknowns (usually written as x and y). You can enter the equations in coefficient form (recommended for accuracy), and the calculator returns:
In linear algebra language, you can write a 2×2 system as: a·x + b·y = e and c·x + d·y = f. The key number is the determinant: Δ = a·d − b·c. If Δ ≠ 0, the system has a unique solution. If Δ = 0, the system is either inconsistent (no solution) or dependent (infinitely many solutions).
Elimination means combining equations to “eliminate” one variable, leaving a single-variable equation you can solve. For example, if you have:
You pick a variable to eliminate (x or y). Suppose you eliminate x. Multiply equation (1) by c and equation (2) by a so both have the same x coefficient:
Now subtract one from the other to cancel x: (b·c − d·a)·y = (e·c − f·a). Solve for y, then plug y back into either original equation to get x.
Cramer’s Rule gives direct formulas using determinants (perfect for calculators). Using Δ = a·d − b·c:
If Δ ≠ 0, you’re done. If Δ = 0, Cramer’s Rule tells you there is no unique solution, so you switch to reasoning about parallel vs identical lines (or use elimination to check consistency).
Example 1 (unique solution)
Solve: 2x + 3y = 13 and x − y = 1. Here a=2, b=3, e=13, c=1, d=−1, f=1. Compute Δ = a·d − b·c = 2·(−1) − 3·1 = −2 − 3 = −5. Since Δ ≠ 0, there is a unique solution. Now Δx = e·d − b·f = 13·(−1) − 3·1 = −13 − 3 = −16, so x = (−16)/(−5) = 3.2. And Δy = a·f − e·c = 2·1 − 13·1 = −11, so y = (−11)/(−5) = 2.2. Check quickly: 2(3.2)+3(2.2)=6.4+6.6=13 ✓ and 3.2−2.2=1 ✓.
Example 2 (no solution)
Solve: 2x + 4y = 10 and x + 2y = 8. Multiply the second equation by 2: 2x + 4y = 16. But the first says 2x + 4y = 10. Same left side, different right side → contradiction → no solution (parallel lines).
Example 3 (infinitely many solutions)
Solve: 3x − 6y = 9 and x − 2y = 3. Multiply the second equation by 3: 3x − 6y = 9, which matches the first exactly. So the equations are the same line, meaning infinitely many solutions. You can describe solutions as: x − 2y = 3 → x = 3 + 2y (pick any y and compute x).
When you press Solve, the calculator:
Want to go beyond 2 variables? The same ideas scale up: systems become matrices, determinants still matter, and elimination becomes Gaussian elimination. But for most homework, business modeling, and quick checks, the 2×2 solver is the sweet spot: fast, clear, and easy to verify.
It’s a set of equations that share the same variables. You’re looking for values (like x and y) that make every equation true at the same time.
This calculator solves two linear equations with two unknowns in coefficient form: a·x + b·y = e and c·x + d·y = f. It also detects when the system has no solution or infinitely many solutions.
Yes. You can enter fractions (e.g., 1/3) or decimals (e.g., 0.3333). The solver parses both. For clean-looking results, fractions often keep things exact.
The determinant Δ = a·d − b·c tells you whether the two lines are “tilted differently.” If Δ ≠ 0, the lines intersect once → one unique solution. If Δ = 0, the lines are parallel or the same line → no unique solution.
It means your constraints contradict each other. For example, one equation says the total must be 10, but another equation (with the same left side) says the total must be 16. Both can’t be true.
The equations are actually the same relationship written two different ways. Instead of one point, you get a whole line of solutions. You can describe it with a parameter like y = t.
If you use integers or fractions, the result is exact. With decimals, your answer may be rounded. The solver also verifies the solution by plugging it back into both equations.
Substitute x and y into each equation and make sure the left side equals the right side. The calculator prints those checks automatically under “Verification.”
Yes—just translate the story into two linear equations. Common patterns include: mixture problems, rate/time problems, and comparing two pricing plans.
Yep. Everything runs in your browser with plain JavaScript. No login, no API, no tracking needed for calculations.
Fast links pulled from the Math & Conversions category:
For the system: a·x + b·y = e and c·x + d·y = f, the determinant is Δ = a·d − b·c. If Δ ≠ 0, you have a unique solution:
The reason this works is that determinants measure how “non-parallel” the equations are. If the two equations point in different directions, they meet once (unique solution). If they point in the same direction, they never meet (no solution) or overlap (infinitely many solutions).
Screenshot tip: After solving, take a screenshot of the result + steps block. It’s clean enough for notes and tutoring chats.