ALGEBRAAlgebraMathematics Calculator

Simultaneous Equations

Solve ax+by=e, cx+dy=f. Cramer: x=(ed−bf)/D, y=(af−ec)/D where D=ad−bc. Elimination: add multiples to cancel variable. Substitution: solve one, plug into other. Matrix: X=A⁻¹B.

Concept Fundamentals
x=(ed−bf)/D
Cramer
D=ad−bc
Determinant
X=A⁻¹B
Matrix
Unique solution
Consistent

Did our AI summary help? Let us know.

D=0: no unique solution — either no solution (inconsistent) or infinitely many (dependent). Cramer's rule extends to 3×3 using 3×3 determinants. Matrix form AX=B: solution X=A⁻¹B when A is invertible.

Key quantities
x=(ed−bf)/D
Cramer
Key relation
D=ad−bc
Determinant
Key relation
X=A⁻¹B
Matrix
Key relation
Unique solution
Consistent
Key relation

Ready to run the numbers?

Why: Simultaneous equations model constraints — supply/demand, mixtures, geometry. Cramer gives formula when D≠0. Elimination and substitution work for any consistent system. Used in economics and engineering.

How: Cramer: compute D=ad−bc. If D≠0, x=(ed−bf)/D, y=(af−ec)/D. Elimination: multiply equations to match coefficients, add to eliminate. Substitution: solve one for x or y, substitute.

D=0: no unique solution — either no solution (inconsistent) or infinitely many (dependent).Cramer's rule extends to 3×3 using 3×3 determinants.

Run the calculator when you are ready.

Solve System2×2, 3×3, Cramer, elimination

📐 Examples — Click to Load

ax + by = e

cx + dy = f

solutionCONSISTENT
x
2
y
1
Determinant
-5
Verification
L1: 2(2)+3(1) = 7 (expected 7)
L2: 1(2)+-1(1) = 1 (expected 1)

Solution Values

System Classification

ax+by=e, cx+dy=f → D = ad-bc = 2(-1)-3(1) = -5
Dx = ed-bf = -10, Dy = af-ec = -5
x = Dx/D = 2, y = Dy/D = 1

For educational and informational purposes only. Verify with a qualified professional.

🧮 Fascinating Math Facts

📐

2x+3y=7, 4x−y=5. D=2(−1)−3(4)=−14. x=(7(−1)−3(5))/−14=2.

— Cramer

D=0 means lines parallel (no solution) or same line (infinite).

— Geometry

📋 Elimination Method

Add or subtract multiples of equations to eliminate one variable. For 2×2: multiply to match coefficients, then add/subtract to get one equation in one unknown.

🔄 Substitution Method

Solve one equation for one variable, substitute into the others. Repeat until one equation in one unknown remains.

📐 Graphical Interpretation

Each equation is a line (2×2) or plane (3×3). Consistent: lines intersect at one point. Inconsistent: parallel lines, no intersection. Dependent: same line, infinitely many solutions.

🔢 Cramer's Rule

For AX = B, x_i = det(A_i)/det(A) where A_i is A with column i replaced by B. Works when det(A) ≠ 0.

📊 Matrix Method

X = A⁻¹B. Compute inverse of coefficient matrix and multiply by constant vector. Requires det(A) ≠ 0.

❓ FAQ

When does a 2×2 system have no solution?

When the lines are parallel: ad - bc = 0 but the system is inconsistent (e.g., 2x+4y=6 and 2x+4y=10).

What is Cramer's rule?

x = Dx/D, y = Dy/D where D is the determinant of the coefficient matrix, Dx and Dy replace the x or y column with the constants.

How many solutions can a linear system have?

Exactly one (consistent), none (inconsistent), or infinitely many (dependent).

What does dependent mean?

The equations represent the same line/plane — every point on it satisfies all equations.

When to use elimination vs substitution?

Elimination is often easier when coefficients are similar. Substitution when one equation is already solved for a variable.

📝 Worked Examples

2x+3y=7, x-y=1 — Add 3×(eq2) to eq1: 5x=10, x=2. Then y=1. Solution: (2,1).
Parallel (no solution) — 2x+4y=6 and 2x+4y=10. Same slope, different intercepts. No intersection.
Mixture problem — x+y=100, 0.5x+2y=140. Mix two blends to get 100 units at $1.40/unit. Solve for amounts.

⚠️ Common Mistakes

  • Forgetting to multiply both sides when eliminating — multiply the entire equation.
  • Sign errors when subtracting equations — distribute the negative carefully.
  • Using Cramer when D=0 — the formula gives division by zero; system is dependent or inconsistent.

📌 Summary

Solve ax+by=e, cx+dy=f using elimination, substitution, or Cramer's rule. Determinant D=ad-bc: if D≠0, unique solution; if D=0, check for inconsistent (no solution) or dependent (∞ solutions). For 3×3, use Cramer or Gaussian elimination. Applications: mixture problems, investment allocation, equilibrium.

👈 START HERE
⬅️Jump in and explore the concept!
AI

Related Calculators

Substitution Method Calculator

Solve 2×2 systems of linear equations using the substitution method. Isolate one variable, substitute into the other equation, and solve step-by-step....

Mathematics

Systems of Equations Calculator

Solve 2×2 and 3×3 systems of linear equations. Elimination method, Gaussian elimination, determinant, classification (consistent/dependent/inconsistent)....

Mathematics

Matrix Determinant Calculator

Calculate determinant of 2×2 (ad-bc) and 3×3 (Sarrus rule, cofactor expansion) matrices. Singular matrix check, cofactor matrix, adjugate. Geometric interpretation (area/volume), Cramer's rule. Bar and Doughnut charts.

Mathematics

Absolute Value Equation Calculator

Solve absolute value equations and inequalities including |ax+b|=c, |ax+b|=|cx+d|, and |ax+b|≤c forms. Features solution verification, number line...

Mathematics

Absolute Value Inequalities Calculator

Solve absolute value inequalities |ax+b| < c, > c, ≤ c, ≥ c. Get solution intervals, interval notation, set builder notation, number line visualization...

Mathematics

Bessel Function Calculator

Calculate Bessel functions J_n(x), Y_n(x), I_n(x), and K_n(x) with series approximation. Supports first kind (J), second kind/Neumann (Y), and modified Bessel functions (I, K). Applications include vibrating drum modes, electromagnetic waveguides, heat conduction in cylinders, and Bessel filter design in signal processing. Uses the power series J_n(x) = Σ (-1)^m/(m!(m+n)!)·(x/2)^(2m+n). Includes convergence info, Bar chart comparing values at different x, Doughnut chart showing series term contributions, and educational content on Bessel's differential equation and cylindrical harmonics.

Mathematics