# System of equations

A **system of equations** is a set of equations which share the same variables. Below is an example of a system of equations.

## Contents

## Solve 2 variable equations in less than 5 seconds!!!

Video Link: https://youtu.be/pSYT95hSH6M

## Solving Linear Systems

A system of linear equations is where all of the variables are to the power 1. There are three elementary ways to solve a system of linear equations.

### Gaussian Elimination

Gaussian elimination involves eliminating variables from the system by adding constant multiples of two or more of the equations together. Let's look at an example:

#### Problem

Find the ordered pair for which

#### Solution

We can eliminate by adding twice the second equation to the first:

Thus . We can then plug in for in either of the equations:

Thus, the solution to the system is .

### Substitution

The second method, substitution, requires solving for a variable and then plugging that variable into another equation therefore reducing the number of variables. We'll show how to solve the same problem from the elimination section using substitution.

#### Problem

Find the ordered pair for which

#### Solution

The first equation can be solved for :

Plugging this into the second equation yields

Thus . Plugging this into either of the equations and solving for yields .

### Graphing

The third method for solving a system of linear equations is to graph them in the plane and observe where they intersect. We'll go back to our same example to illustrate this.

#### Problem

Find the ordered pair for which

#### Solution

We graph the two lines as follows:

From the graph, we can see that the solution to the system is .

### Advanced Methods

Matrices can also be used to solve systems of linear equations. In fact, they provide a way to make much broader statements about systems of linear equations.

There is a whole field of mathematics devoted to the study of linear equations called linear algebra.

## Convenient Systems

Some systems can be solved by taking advantage of specific forms. Such systems can often seem tough to solve at first, however.

### Symmetry

Consider the below system.

The key here is to take advantage of the symmetry. If we add up all 5 equations we will have a total of 4 of each variable on the LHS. On the RHS we will have . Thus

So then subtracting the first equation from this leaves on the LHS and on the RHS. Subtracting this equation from the second equation leaves on the LHS and on the RHS. And thus we continue on in this way to find that

### Clever Substitution

Consider the below system.

We can let and to get the two-variable linear system below.

Solving the system results in and . Substituting that back results in and . We can do another substitution by letting and substituting to get . Rearranging results in , so . Finally, by substituting back in, we get . Plugging back satisfies the system.