# Linear algebra/System of linear equations

In this course we will investigate solutions to linear equations, vectors and vector spaces and connections between them.

Of course you're familiar with basic linear equations from Algebra. They consist of equations such as the following:

- .

Hopefully you are familiar with all of the usual problems that go along with this sort of equation, such as how to find the slope, or how to place the equation in point-slope form, standard form, or slope-intercept form.

All of these ideas are useful, but we will, at first, be interested in *systems* of linear equations. A **system** of equations is some collection of equations that are all expected to hold at the same time. Let us start with an example of such a system:

- .

Usually the first questions to ask is are there any solutions to a system of equations. By this we mean is there a pair of numbers so that both equations hold when you plug in this pair. For example, in the above system, if you take and then you can check that both equations hold for this pair of numbers:

- .

Notice that we are asking for the same pair of numbers to satisfy *both* equations. The first thing to realize is that just because you ask for two equations to hold at the same time doesn't mean it is always possible. Consider the system:

Clearly there is a problem. If and then you would have , and so . Which is absurd. Just because we would like there to be a pair of numbers that satisfy both equations doesn't mean that we will get what we like. One of the main goals of this course will be to understand when systems of equations have solutions, how many solutions they have, and how to find them.

In the first example above there is an easy way to find that and is the solution directly from the equations.
If you add these two equations together, you can see that the *y'*s cancel each other out. When this happens, you will get , or . Substituting back into the above, we find that . Note that this is the only solution to the system of equations.

Frequently one encounters systems of equations with more then just two variables. For example one may be interested in finding a solution to the system:

- .

## Solving Linear Systems AlgebraicallyEdit

One was mentioned above, but there are other ways to solve a system of linear equations without graphing.

### Variable EliminationEdit

Multiply 1st row by 2 add to 2nd row

Yields

- =>

Multiply 1st row by -3 add to 2nd row

Yields

- =>

### SubstitutionEdit

If you get a system of equations that looks like this:

You can switch around some terms in the first to get this:

Then you can *substitute* that into the bottom one so that it looks like this:

Then, you can substitute 2 into an *x* from either equation and solve for *y*. It's usually easier to substitute it in the one that had the single *y*. In this case, after substituting 2 for *x*, you would find that y = 7.

### DeterminantEdit

If you get a system of equations that looks like this:

Solve for y

Solve for x