What Is the Solution of the Following System Calculator

See also: matrix, Gauss-Jordan elimination, Geometric Linear Transformation


The calculator below will solve simultaneous linear equations with two, three and up to 10 variables if the system of equation has a unique solution.
For systems of equations with many solutions, please use the Gauss-Jordan Elimination method to solve it.

Please scroll down to read about various methods to solve simultaneous linear equations.

Simultaneous Linear Equation Solver

Choose the size of the system.

loading . . .

Calculating . . .

Please report any error to [email protected]


Methods to solve simultaneous linear equations

There are at least five methods to solve simultaneous linear equations.

  • Elimination
  • Substitution
  • Graphical
  • Inverse matrix
  • Gaussian elimination / Gauss-Jordan elimination

For example, let's try to find the solution for the following set of simultaneous linear equations with 3 variables

{ x + y z = 1 (1) 8 x + 3 y 6 z = 1 (2) 4 x y + 3 z = 1 (3)
Elimination method

As the name suggest, this method tries to eliminate variables until there's only 1 variable left.

First, look at the equations and try to find 2 equations which has the same coefficient (plus or minus) for the same variables. For example, see equations (1) and (3) . The coefficient for y is 1 and 1 respectively. We can add the two equations to eliminate y and we get equation (4) .

x + y z = 1 (1) 4 x y + 3 z = 1 (3) ------------------------ + 3 x + 0 + 2 z = 2 (4)

Note that equation (4) consists of variables x and z . Now we need another equation that has the same variables as equation (4) . To get this we will eliminate y from equation (1) and (2) . In equation (1) and (2) , the coefficients of y are 1 and 3 respectively. In order to eliminate y , we multiply equation (1) by 3 and then subtract equation (2) from equation (1) .

x + y z = 1 (1) × 3 8 x + 3 y 6 z = 1 (2)
3 x + 3 y 3 z = 3 (1) 8 x + 3 y 6 z = 1 (2) ------------------------ 5 x + 0 y + 3 z = 2 (5)

With equations (4) and (5) , we can now eliminate z .

3 x + 2 z = 2 (4) × 3 5 x + 3 z = 2 (5) × 2
9 x + 6 z = 6 (4) 10 x + 6 z = 4 (5) ------------------------ + 01 x + 0 z = 2 (6)

From equation (6) we get x = 2 . Now we can substitute this value of x to equation (4) to get the value for z .

3 ( 2 ) + 2 z = 2 (4) 6 + 2 z = 2 2 z = 2 + 6 2 z = 8 z = 8 ÷ 2 z = 4

Finally, we can substitute the values of x and z to equation (1) to get y .

2 + y 4 = 1 (1) y = 1 2 + 4 y = 3

Hence the solution to the system of linear equations is x = 2 , y = 3 , z = 4 .


Substitution method

First, let's re-arrange equation (1) such that only 1 variable is on the left hand side.

x = 1 y + z (1)

Now let's substitute this x to equation (2) .

8 ( 1 y + z ) + 3 y 6 z = 1 (2) 8 8 y + 8 z + 3 y 6 z = 1 5 y + 2 z = 1 8 5 y + 2 z = 7 (4)

Similarly, substitute x to equation (3) .

4 ( 1 y + z ) y + 3 z = 1 (3) 4 + 4 y 4 z y + 3 z = 1 3 y z = 1 + 4 3 y z = 5 (5)

Now let's re-arrange equation (5) so that only 1 variable is on the left hand side.

z = 3 y 5 (5)

Next, substitute this value of z to equation (4) .

5 y + 2 ( 3 y 5 ) = 7 (4) 5 y + 6 y 10 = 7 y = 7 + 10 y = 3

Now that we have found y , we can substitute this to equation (5) to find z .

z = 3 ( 3 ) 5 (5) z = 9 5 z = 4

Finally, we can substitute the value of y and z to equation (1) to get the value of x .

x = 1 3 + 4 (1) x = 2
Graphical method

Solving a system of linear equation using graphical method is done by drawing the lines or planes that represent each equation. The solution is the coordinates of the intersection of the lines or planes.

For simplicity sake, let's consider a system of linear equations with two variables.

{ x + y = 3 2 x y = 3

Plot the lines of these two equations.

Graph of two equations showing the intersection of the lines.

As shown on the graph, the two lines intersect at point ( 0 , 3 ) . This is the solution to the system of linear equations, i.e. x = 0 , y = 3 .

For system of linear equations with three variables, the solution is the point of intersection of the three planes that represent each equation.


Inverse Matrix Method

The system of linear equations defined by equations (1) , (2) and (3) can be expressed in matrix form as follows.

A B = C 1 2 1 8 3 6 4 1 3 x y z = 1 1 1

The solutions set is the matrix B . To isolate B alone on one side of the equation, we multiply both sides of the equation with the inverse of matrix A .

A 1 A B = A 1 C B = A 1 C

Now to find B we need to find A 1 . Please check the matrix page to learn how to find the inverse of a matrix.

A 1 = 3 2 3 0 1 2 4 3 5 B = 3 2 3 0 1 2 4 3 5 1 1 1 B = 2 3 4

Hence the solution set is x = 2 , y = 3 , z = 4 .


Gaussian Elimination / Gauss-Jordan Elimination

The system of linear equations defined by equations (1) , (2) and (3) can be expressed in augmented matrix form as follows.

A = 1 1 1 | 1 8 3 6 | 1 4 1 3 | 1

By performing a series of row operations (Gaussian elimination), we can reduce the above matrix to its row echelon form.

A = 1 0.375 0.75 | 0.125 0 1 0.4 | 1.4 0 0 1 | 4

We can then do back substitution to get the value of all the unknowns / variables or we can perform further row operations until the matrix is in reduced row echelon form (using Gauss-Jordan Elimination).

A = 1 0 0 | 2 0 1 0 | 3 0 0 1 | 4

By doing the Gauss-Jordan elimination, we get the solution of the system of equations on the last column: x = 2 , y = 3 , z = 4 .

To see step by step row operations involved, please see the Gauss-Jordan Elimination page.

Confused and have questions? We've got answers. With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field.

See also: matrix, Gauss-Jordan elimination, Geometric Linear Transformation


What Is the Solution of the Following System Calculator

Source: https://www.idomaths.com/simeq.php

0 Response to "What Is the Solution of the Following System Calculator"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel