MATMathematics

Linear System Solver

Solve a system of two linear equations (ax + by = c, dx + ey = f) using Cramer's rule. Find x and y, or detect parallel/coincident lines.

Try an example

How It Works

Formula

det=a1b2a2b1\det = a_1 b_2 - a_2 b_1

x=c1b2c2b1detx = \frac{c_1 b_2 - c_2 b_1}{\det}

y=a1c2a2c1dety = \frac{a_1 c_2 - a_2 c_1}{\det}

Where

a1a_1

Coefficient of x in equation 1

b1b_1

Coefficient of y in equation 1

c1c_1

Constant term of equation 1

a2a_2

Coefficient of x in equation 2

b2b_2

Coefficient of y in equation 2

c2c_2

Constant term of equation 2

Enter coefficients for two equations: a1x + b1y = c1 and a2x + b2y = c2. The solver computes the determinant (a1b2 - a2b1). If non-zero, it applies Cramer's rule. If zero, it checks whether the system is inconsistent or dependent.

Frequently Asked Questions

Related Calculators

Ready to Calculate?

Free calculators.