Skip to main content

Simultaneous Equations Solver

Solve systems of 2 or 3 simultaneous equations using elimination and substitution. Enter values for instant results with step-by-step formulas.

Skip to calculator
Mathematics

Simultaneous Equations Solver

Solve systems of 2 or 3 simultaneous equations using elimination and substitution. Get step-by-step solutions with verification.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
Equation 1:
x +y =
Equation 2:
x +y =
Solution
x = 1, y = 2
Unique solution found
x
1
y
2
Determinant
-14

Step-by-Step (Cramer's Rule)

Equation 1: 2x + 3y = 8
Equation 2: 4x + -1y = 2
Determinant D = (2)(-1) - (4)(3) = -14
Dx = (8)(-1) - (2)(3) = -14
Dy = (2)(2) - (4)(8) = -28
x = Dx / D = -14 / -14 = 1
y = Dy / D = -28 / -14 = 2
Verify Eq1: 2(1.0000) + 3(2.0000) = 8.0000 (should be 8)
Verify Eq2: 4(1.0000) + -1(2.0000) = 2.0000 (should be 2)

Elimination Method

Multiply Eq1 by 4 and Eq2 by 2:
8x + 12y = 32
8x + -2y = 4
Subtract: 14y = 28
y = 2.000000
Substitute back: x = 1.000000
Your Result
x = 1, y = 2 (D = -14)
Share Your Result
Understand the Math

Formula

x = Dx/D, y = Dy/D (Cramer's Rule)

Where D is the determinant of the coefficient matrix, Dx is the determinant with the x-column replaced by the constants, and Dy is the determinant with the y-column replaced by the constants. For 3x3 systems, Dz is computed similarly. The system has a unique solution when D is not zero.

Last reviewed: December 2025

Worked Examples

Example 1: 2x2 System - Supply and Demand

Solve the system: 2x + 3y = 8 and 4x - y = 2
Solution:
Using Cramer's Rule: D = (2)(-1) - (4)(3) = -2 - 12 = -14 Dx = (8)(-1) - (2)(3) = -8 - 6 = -14 Dy = (2)(2) - (4)(8) = 4 - 32 = -28 x = Dx/D = -14/-14 = 1 y = Dy/D = -28/-14 = 2 Verify: 2(1) + 3(2) = 8, 4(1) - 2 = 2
Result: x = 1, y = 2

Example 2: 3x3 System - Three Planes

Solve: x + y + z = 6, 2x - y + z = 3, x + 2y - z = 2
Solution:
Coefficient matrix determinant: D = 1(-1*-1 - 1*2) - 1(2*-1 - 1*1) + 1(2*2 - (-1)*1) D = 1(-1) - 1(-3) + 1(5) = -1 + 3 + 5 = 7 Dx = 6(1-2) - 1(3*-1 - 1*2) + 1(3*2 - (-1)*2) = 7 Dy = 1(-3-2) - 6(-2-1) + 1(4-3) = 14 Dz = 1(-2-6) - 1(4-3) + 6(4+1) = 21 x = 7/7 = 1, y = 14/7 = 2, z = 21/7 = 3
Result: x = 1, y = 2, z = 3
Expert Insights

Background & Theory

The Simultaneous Equations Solver applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Simultaneous Equations Solver traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

Simultaneous equations are a set of two or more equations that share the same variables and must be satisfied at the same time. They arise whenever you need to find values that satisfy multiple conditions simultaneously. Common real-world examples include finding the break-even point where revenue equals cost (two linear equations), determining mixture proportions when blending ingredients with different concentrations, calculating forces in equilibrium in physics problems, and solving supply and demand models in economics. A system of two equations with two unknowns represents two lines in a plane, and the solution is their intersection point. A system of three equations with three unknowns represents three planes in space.
The three primary methods for solving simultaneous equations are substitution, elimination, and matrix methods including Cramer's rule. In substitution, you solve one equation for one variable and substitute that expression into the other equation. In elimination, you multiply equations by constants and add or subtract them to eliminate one variable. Matrix methods use determinants and linear algebra to find solutions systematically. Each method has advantages depending on the system. Substitution works best when one variable has a coefficient of 1 or negative 1. Elimination is efficient for systems with convenient coefficients. Cramer's rule using determinants is systematic and easily programmable, making it ideal for computer implementations like Simultaneous Equations Solver.
Cramer's rule solves a system of n linear equations with n unknowns using determinants. For a 2x2 system ax + by = e and cx + dy = f, the solution is x = Dx/D and y = Dy/D, where D is the determinant of the coefficient matrix (ad - bc), Dx replaces the x-coefficients column with the constants (ed - bf), and Dy replaces the y-coefficients column with the constants (af - ce). The rule extends to 3x3 systems by computing 3x3 determinants using cofactor expansion. Cramer's rule only works when the determinant D is non-zero, meaning the system has a unique solution. While computationally less efficient than Gaussian elimination for large systems, Cramer's rule is elegant and provides a direct formula for each variable.
Setting up simultaneous equations from word problems requires identifying the unknowns, assigning variables, and translating each condition into an equation. First, identify what quantities you need to find and assign a variable to each one such as x, y, and z. Then read the problem carefully to identify distinct relationships between the unknowns, each of which becomes an equation. For example, if tickets cost 5 dollars for adults and 3 dollars for children, and 100 tickets were sold for 420 dollars total, the equations are x + y = 100 (total tickets) and 5x + 3y = 420 (total revenue). You need at least as many independent equations as unknowns for a unique solution. Practice helps in recognizing which phrases translate to which mathematical operations.
Yes, simultaneous equations frequently produce non-integer solutions including fractions, decimals, and irrational numbers. For example, the system 3x + 2y = 7 and x - y = 1 yields x = 9/5 (1.8) and y = 4/5 (0.8). Simultaneous Equations Solver displays solutions as decimal values with up to six decimal places for precision. In many real-world applications, non-integer solutions are the norm rather than the exception. Temperature conversions, financial calculations, physics problems, and engineering computations almost always produce non-integer results. When checking your work, substitute the decimal solutions back into the original equations to verify they satisfy both equations within acceptable rounding error.
Simultaneous equations are used extensively across many fields. In business, they determine break-even points, optimal pricing strategies, and resource allocation among multiple products. In chemistry, they balance chemical equations and solve concentration mixture problems. In physics, they resolve force components in static equilibrium, analyze electrical circuits using Kirchhoff laws, and solve kinematics problems with multiple moving objects. In engineering, they are fundamental to structural analysis, signal processing, and control systems. In nutrition, they calculate meal plans meeting multiple dietary requirements simultaneously. Computer graphics use systems of equations for coordinate transformations and ray tracing. Network flow problems in logistics and transportation also reduce to simultaneous equations.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

x = Dx/D, y = Dy/D (Cramer's Rule)

Where D is the determinant of the coefficient matrix, Dx is the determinant with the x-column replaced by the constants, and Dy is the determinant with the y-column replaced by the constants. For 3x3 systems, Dz is computed similarly. The system has a unique solution when D is not zero.

Worked Examples

Example 1: 2x2 System - Supply and Demand

Problem: Solve the system: 2x + 3y = 8 and 4x - y = 2

Solution: Using Cramer's Rule:\nD = (2)(-1) - (4)(3) = -2 - 12 = -14\nDx = (8)(-1) - (2)(3) = -8 - 6 = -14\nDy = (2)(2) - (4)(8) = 4 - 32 = -28\nx = Dx/D = -14/-14 = 1\ny = Dy/D = -28/-14 = 2\nVerify: 2(1) + 3(2) = 8, 4(1) - 2 = 2

Result: x = 1, y = 2

Example 2: 3x3 System - Three Planes

Problem: Solve: x + y + z = 6, 2x - y + z = 3, x + 2y - z = 2

Solution: Coefficient matrix determinant:\nD = 1(-1*-1 - 1*2) - 1(2*-1 - 1*1) + 1(2*2 - (-1)*1)\nD = 1(-1) - 1(-3) + 1(5) = -1 + 3 + 5 = 7\nDx = 6(1-2) - 1(3*-1 - 1*2) + 1(3*2 - (-1)*2) = 7\nDy = 1(-3-2) - 6(-2-1) + 1(4-3) = 14\nDz = 1(-2-6) - 1(4-3) + 6(4+1) = 21\nx = 7/7 = 1, y = 14/7 = 2, z = 21/7 = 3

Result: x = 1, y = 2, z = 3

Frequently Asked Questions

What are simultaneous equations and when do they arise?

Simultaneous equations are a set of two or more equations that share the same variables and must be satisfied at the same time. They arise whenever you need to find values that satisfy multiple conditions simultaneously. Common real-world examples include finding the break-even point where revenue equals cost (two linear equations), determining mixture proportions when blending ingredients with different concentrations, calculating forces in equilibrium in physics problems, and solving supply and demand models in economics. A system of two equations with two unknowns represents two lines in a plane, and the solution is their intersection point. A system of three equations with three unknowns represents three planes in space.

What methods can be used to solve simultaneous equations?

The three primary methods for solving simultaneous equations are substitution, elimination, and matrix methods including Cramer's rule. In substitution, you solve one equation for one variable and substitute that expression into the other equation. In elimination, you multiply equations by constants and add or subtract them to eliminate one variable. Matrix methods use determinants and linear algebra to find solutions systematically. Each method has advantages depending on the system. Substitution works best when one variable has a coefficient of 1 or negative 1. Elimination is efficient for systems with convenient coefficients. Cramer's rule using determinants is systematic and easily programmable, making it ideal for computer implementations like Simultaneous Equations Solver.

How does Cramer's rule work for solving simultaneous equations?

Cramer's rule solves a system of n linear equations with n unknowns using determinants. For a 2x2 system ax + by = e and cx + dy = f, the solution is x = Dx/D and y = Dy/D, where D is the determinant of the coefficient matrix (ad - bc), Dx replaces the x-coefficients column with the constants (ed - bf), and Dy replaces the y-coefficients column with the constants (af - ce). The rule extends to 3x3 systems by computing 3x3 determinants using cofactor expansion. Cramer's rule only works when the determinant D is non-zero, meaning the system has a unique solution. While computationally less efficient than Gaussian elimination for large systems, Cramer's rule is elegant and provides a direct formula for each variable.

How do I set up simultaneous equations from a word problem?

Setting up simultaneous equations from word problems requires identifying the unknowns, assigning variables, and translating each condition into an equation. First, identify what quantities you need to find and assign a variable to each one such as x, y, and z. Then read the problem carefully to identify distinct relationships between the unknowns, each of which becomes an equation. For example, if tickets cost 5 dollars for adults and 3 dollars for children, and 100 tickets were sold for 420 dollars total, the equations are x + y = 100 (total tickets) and 5x + 3y = 420 (total revenue). You need at least as many independent equations as unknowns for a unique solution. Practice helps in recognizing which phrases translate to which mathematical operations.

Can simultaneous equations have non-integer solutions?

Yes, simultaneous equations frequently produce non-integer solutions including fractions, decimals, and irrational numbers. For example, the system 3x + 2y = 7 and x - y = 1 yields x = 9/5 (1.8) and y = 4/5 (0.8). Simultaneous Equations Solver displays solutions as decimal values with up to six decimal places for precision. In many real-world applications, non-integer solutions are the norm rather than the exception. Temperature conversions, financial calculations, physics problems, and engineering computations almost always produce non-integer results. When checking your work, substitute the decimal solutions back into the original equations to verify they satisfy both equations within acceptable rounding error.

What are some real-world applications of simultaneous equations?

Simultaneous equations are used extensively across many fields. In business, they determine break-even points, optimal pricing strategies, and resource allocation among multiple products. In chemistry, they balance chemical equations and solve concentration mixture problems. In physics, they resolve force components in static equilibrium, analyze electrical circuits using Kirchhoff laws, and solve kinematics problems with multiple moving objects. In engineering, they are fundamental to structural analysis, signal processing, and control systems. In nutrition, they calculate meal plans meeting multiple dietary requirements simultaneously. Computer graphics use systems of equations for coordinate transformations and ray tracing. Network flow problems in logistics and transportation also reduce to simultaneous equations.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy