Linear Algebra tutorial Solving System Linear Equations (original) (raw)

By Kardi Teknomo, PhD.
LinearAlgebra

<Next | Previous | Index>

Solving System Linear Equation

Linear equation is an equation in the form of Solving System Linear Equations
The Solving System Linear Equationsare the known constant.
The Solving System Linear Equationsare the Solving System Linear Equationsunknown variables. The problem in linear equation is to find the values of the unknown variables that satisfy the equation.

For example, whenSolving System Linear Equations, Solving System Linear Equationsand Solving System Linear Equationswe have linear equation Solving System Linear Equationsand the solution isSolving System Linear Equations.

We may also have several equations and several unknowns that we would like to find out. A linear system is a set of Solving System Linear Equationslinear equations each in Solving System Linear Equationsunknown. We can write a linear system as
Solving System Linear Equations

When we have many equations and many unknowns, it is easier to represent the linear system into matrix. We put the constant coefficients of the equations into a matrix, and then we can multiply with the unknown to obtain the constants. To transform the system of linear equations into matrix format, you need to reorder the equations according to the order of the unknowns Solving System Linear Equationsand put the coefficients of the unknowns into matrix coefficientsSolving System Linear Equations. The constants on the right hand side of the equation are written into vector constantsSolving System Linear Equations. The linear system above can be written as
Solving System Linear Equations

Thus, a linear system can be simplified into a matrix product
Solving System Linear Equations

A solution of the linear system is an ordered collection of Solving System Linear Equationsnumbers that satisfies the Solving System Linear Equationslinear equations, which can be written in short as a vector solutionSolving System Linear Equations.

Example:
Solve a linear system with three equations and three unknowns
Solving System Linear Equations
The linear system can be written as Solving System Linear Equationswhere matrix
Solving System Linear EquationsSolving System Linear Equationsand Solving System Linear Equations
The solution of the linear system is
Solving System Linear Equations

The interactive program below will help you to solve a system of linear equationsSolving System Linear Equations. To use the program, first you need to transform your system of linear equations into matrix format as explained in the example above. Your input is matrix coefficients Solving System Linear Equationsand vector constantsSolving System Linear Equations. Then you click “Solve Linear System Ax=b” button and the program will produce the vector solutionSolving System Linear Equations. Optionally, you can select your output is either in decimal or in rational format. The rational output is an approximation of the decimal format. When you click “Random Example” button, it will create random input matrix to provide you with more examples of linear system. Note that if the coefficient matrix is singular or nearly singular, you will get only the approximate solution in least square sense using generalized inverse such that the error is minimized Solving System Linear Equations .

Notes

Some important notes on linear systems are:

Solving System Linear Equations

See also: Generalized Inverse, matrix rank, determinant, Solving Linear equations using MS Excel

<Next | Previous | Index>

Rate this tutorial or give your comments about this tutorial

This tutorial is copyrighted.

Preferable reference for this tutorial is

Teknomo, Kardi (2011) Linear Algebra tutorial. https:\\people.revoledu.com\kardi\tutorial\LinearAlgebra\