# Linear algebra

Talk0*875*pages on

this wiki

A branch of algebra called **linear algebra** is the study of topics pertaining to the analysis of linear equations
at the elementary level. In a more sophisticate terms one should say that **linear algebra** is the study of vector spaces and the transformations inter them. In the ultra abstract set up **linear algebra** is the category of vector spaces.

## Linear equationsEdit

A **linear equation** is an equation with variables *x*_{1},...,*x*_{n} (commonly *x*, *y* with two variables and *x*, *y*, *z* with three) that can be written in the form

*a*_{1}*x*_{1}+*a*_{2}*x*_{2}+ ... +*a*_{n}*x*_{n}=*b*,

where *b* and *a*_{1},...,*a*_{n} are real or complex numbers which are usually known beforehand.

A **system of linear equations** is a collection of linear equations using the same variables. For example, the equations

- 3
*x*_{1}+ 5*x*_{2}= 9 - 2
*x*_{3}- 9*x*_{4}= 10

are not a system of linear equations because the two equations do not share any variables, whereas adding the equation

- 8
*x*_{2}+ 2*x*_{3}= 0

makes the collection a system of equation because variables are shared between equations.

A **solution** to a system of linear equations is a list of values *s*_{1},...,*s*_{n} that can be exchanged with the variables *x*_{1},...,*x*_{n} such that every equation becomes true. A system of linear equations may have no solution, exactly one solution, or infinitely many solutions.

## Solving systems of equationsEdit

When solving a system of equations, there are several ways to go about solving it.

### Matrix NotationEdit

For a given system of equations, each equation can be written as a row in a matrix. For a *coefficient matrix*, each of the coefficients is written in aligned columns. For example, the system

would be written as the coefficient matrix

- .

An *augmented matrix* shows the coefficient matrix with an additional column for the values of *b*. The augmented matrix for the above system is

- .

The goal of solving by a matrix is to produce a matrix of the form

- ,

so that each variable is paired with a solution value. This is done by the use of *elementary row operations*. Matrices are said to be *row-equivalent* if one matrix may be transformed into the other using only elementary row operations. The three elementary row operations are:

- Replacement - replacing one row by a sum of itself and a multiple of another row.
- Interchange - exchange two rows
- Scaling - multiply a row by a non-zero constant.

The standard way, also known as the Gauss-Jordon Elimination Method, of solving using row operations is to work from left to right and attempt to make the value in the appropriate row (for example, the first row in the first column) equal to 1, then bring all the other values to 0. This has the advantage of never undoing work previously done. To solve the augmented matrix:

- .

Interchange the first and second rows to get 1 in

- .

Replace with

Scale by

Replace with

Replace with

Replace with

Replace with

Thus, the solution to the system is (29, 16, 3).