Solving system of linear equations




Solution:

a+b=40
140b+60a =3200

a+b=40
140·b+60·a =3200

a+b = 40
60a+140b = 3200

Pivot: Row 1 ↔ Row 2
60a+140b = 3200
a+b = 40

Row 2 - 1/60 · Row 1 → Row 2
60a+140b = 3200
-1.33b = -13.33


b = -13.33333333/-1.33333333 = 10
a = 3200-140b/60 = 3200-140 · 10/60 = 30

a = 30
b = 10


Write each equation on a new line or separate it by a semicolon. The online calculator solves a system of linear equations (with 1,2,...,n unknowns), quadratic equation with one unknown variable, cubic equation with one unknown variable, and finally, any other equation with one variable. Even if an exact solution does not exist, it calculates a numerical approximation of roots.

Examples:

a+b = 12
a-3b = a-b+43
x+y+z=100
3x-6y+2z=50
y-3z+x=(44-22)x+45
(x+4)(x-3)+34x+6x^2 = 256
(x+4)+34x+x^2-x^3 = -32
ln x = 1.2-x
sin x = cos(x-pi/3)+x
sin x = x^3+2x+x-1
sin x = 0.5
(cos x)^2 = tan(x-pi/3)
x^5+x^4 = -23+sin x
|log x|=2
|ln x+1|=x/10
|ln x+1|=ln x^2
1/(x+2)=1/x+4
sqrt(x^4+x^2+2)=22

Our mission:

Provide simple, fast, and reliable mathematical service for solving any equation(s).

More info:

Unknowns (variables) write as one character a-z, i.e., a, b, x, y, z. No matter whether you want to solve an equation with a single unknown, a system of two equations of two unknowns, the system of three equations and three unknowns, or a linear system with twenty unknowns. The number of equations and the number of unknowns should be equal, and the equation should be linear (and linear independent). Then you can be expected that the equations have one solution.
It is not necessary to write equations in the basic form. The calculator quickly performs equivalent operations on the given linear system.