Pair of linear equations

Solve pair of linear equations with your values and follow each calculation step.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
ax+by=c; dx+ey=f

Variables & units

Equation 1 · coefficient of x
Numeric value · minimum -1000000, maximum 1000000
Equation 1 · coefficient of y
Numeric value · minimum -1000000, maximum 1000000
Equation 1 · right side
Numeric value · minimum -1000000, maximum 1000000
Equation 2 · coefficient of x
Numeric value · minimum -1000000, maximum 1000000
Equation 2 · coefficient of y
Numeric value · minimum -1000000, maximum 1000000
Equation 2 · right side
Numeric value · minimum -1000000, maximum 1000000

Worked example

x+y=5 and x−y=1 give x=3, y=2.

Assumptions

Both equations use right-side constants. A unique intersection is required. Displayed intermediate decimals are rounded.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.