### 4.1 Solve Systems of Linear Equations with Two Variables

**How to solve a system of linear equations by graphing.**- Step 1. Graph the first equation.
- Step 2. Graph the second equation on the same rectangular coordinate system.
- Step 3. Determine whether the lines intersect, are parallel, or are the same line.
- Step 4. Identify the solution to the system.

If the lines intersect, identify the point of intersection. This is the solution to the system.

If the lines are parallel, the system has no solution.

If the lines are the same, the system has an infinite number of solutions. - Step 5. Check the solution in both equations.

**How to solve a system of equations by substitution.**- Step 1. Solve one of the equations for either variable.
- Step 2. Substitute the expression from Step 1 into the other equation.
- Step 3. Solve the resulting equation.
- Step 4. Substitute the solution in Step 3 into either of the original equations to find the other variable.
- Step 5. Write the solution as an ordered pair.
- Step 6. Check that the ordered pair is a solution to
**both**original equations.

**How to solve a system of equations by elimination.**- Step 1. Write both equations in standard form. If any coefficients are fractions, clear them.
- Step 2. Make the coefficients of one variable opposites.

Decide which variable you will eliminate.

Multiply one or both equations so that the coefficients of that variable are opposites. - Step 3. Add the equations resulting from Step 2 to eliminate one variable.
- Step 4. Solve for the remaining variable.
- Step 5. Substitute the solution from Step 4 into one of the original equations. Then solve for the other variable.
- Step 6. Write the solution as an ordered pair.
- Step 7. Check that the ordered pair is a solution to
**both**original equations.

$\begin{array}{}\\ \\ \mathbf{\text{Choose the Most Convenient Method to Solve a System of Linear Equations}}\hfill \\ \begin{array}{ccccccc}\underset{\text{\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d}}{\mathbf{\text{Graphing}}}\hfill & & & \underset{\text{\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d}}{\mathbf{\text{Substitution}}}\hfill & & & \underset{\text{\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d\xe2\u20ac\u201d}}{\mathbf{\text{Elimination}}}\hfill \\ \begin{array}{c}\text{Use when you need a}\hfill \\ \text{picture of the situation.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when one equation is}\hfill \\ \text{already solved or can be}\hfill \\ \text{easily solved for one}\hfill \\ \text{variable.}\hfill \end{array}\hfill & & & \begin{array}{c}\text{Use when the equations are}\hfill \\ \text{in standard form.}\hfill \end{array}\hfill \end{array}\hfill \end{array}$

### 4.2 Solve Applications with Systems of Equations

**How To Solve Applications with Systems of Equations**- Step 1.
**Read**the problem. Make sure all the words and ideas are understood. - Step 2.
**Identify**what we are looking for. - Step 3.
**Name**what we are looking for. Choose variables to represent those quantities. - Step 4.
**Translate**into a system of equations. - Step 5.
**Solve**the system of equations using good algebra techniques. - Step 6.
**Check**the answer in the problem and make sure it makes sense. - Step 7.
**Answer**the question with a complete sentence.

- Step 1.

### 4.3 Solve Mixture Applications with Systems of Equations

**Cost function:**The cost function is the cost to manufacture each unit times*x*, the number of units manufactured, plus the fixed costs.

$$C\left(x\right)=\left(\text{cost per unit}\right)\xc2\xb7x+\text{fixed costs}$$**Revenue:**The revenue function is the selling price of each unit times*x*, the number of units sold.

$$R(x)=\left(\text{selling}\text{price}\text{per}\text{unit}\right)\xc2\xb7x$$**Break-even point:**The break-even point is when the revenue equals the costs.

$$C\left(x\right)=R\left(x\right)$$

### 4.4 Solve Systems of Equations with Three Variables

**Linear Equation in Three Variables:**A linear equation with three variables, where*a, b, c*, and*d*are real numbers and*a, b,*and*c*are not all 0, is of the form

$$ax+by+cz=d$$

Every solution to the equation is an ordered triple, $\left(x,y,z\right)$ that makes the equation true.**How to solve a system of linear equations with three variables.**- Step 1. Write the equations in standard form

If any coefficients are fractions, clear them. - Step 2. Eliminate the same variable from two equations.

Decide which variable you will eliminate.

Work with a pair of equations to eliminate the chosen variable.

Multiply one or both equations so that the coefficients of that variable are opposites.

Add the equations resulting from Step 2 to eliminate one variable - Step 3. Repeat Step 2 using two other equations and eliminate the same variable as in Step 2.
- Step 4. The two new equations form a system of two equations with two variables. Solve this system.
- Step 5. Use the values of the two variables found in Step 4 to find the third variable.
- Step 6. Write the solution as an ordered triple.
- Step 7. Check that the ordered triple is a solution to
**all three**original equations.

- Step 1. Write the equations in standard form

### 4.5 Solve Systems of Equations Using Matrices

**Matrix:**A matrix is a rectangular array of numbers arranged in rows and columns. A matrix with*m*rows and*n*columns has*order*$m\phantom{\rule{0.2em}{0ex}}\xc3\u2014\phantom{\rule{0.2em}{0ex}}n.$ The matrix on the left below has 2 rows and 3 columns and so it has order $2\phantom{\rule{0.2em}{0ex}}\xc3\u2014\phantom{\rule{0.2em}{0ex}}3.$ We say it is a 2 by 3 matrix.

Each number in the matrix is called an*element*or*entry*in the matrix.**Row Operations:**In a matrix, the following operations can be performed on any row and the resulting matrix will be equivalent to the original matrix.- Interchange any two rows
- Multiply a row by any real number except 0
- Add a nonzero multiple of one row to another row

**Row-Echelon Form:**For a consistent and independent system of equations, its augmented matrix is in row-echelon form when to the left of the vertical line, each entry on the diagonal is a 1 and all entries below the diagonal are zeros.

**How to solve a system of equations using matrices.**- Step 1. Write the augmented matrix for the system of equations.
- Step 2. Using row operations get the entry in row 1, column 1 to be 1.
- Step 3. Using row operations, get zeros in column 1 below the 1.
- Step 4. Using row operations, get the entry in row 2, column 2 to be 1.
- Step 5. Continue the process until the matrix is in row-echelon form.
- Step 6. Write the corresponding system of equations.
- Step 7. Use substitution to find the remaining variables.
- Step 8. Write the solution as an ordered pair or triple.
- Step 9. Check that the solution makes the original equations true.

### 4.6 Solve Systems of Equations Using Determinants

**Determinant:**The determinant of any square matrix $\left[\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}\right],$ where*a, b, c,*and*d*are real numbers, is

$$\left|\begin{array}{c}a\phantom{\rule{1.5em}{0ex}}b\hfill \\ c\phantom{\rule{1.5em}{0ex}}d\hfill \end{array}\right|=ad\xe2\u02c6\u2019bc$$**Expanding by Minors along the First Row to Evaluate a 3 Ã— 3 Determinant:**To evaluate a $3\phantom{\rule{0.2em}{0ex}}\xc3\u2014\phantom{\rule{0.2em}{0ex}}3$ determinant by expanding by minors along the first row, the following pattern:

**Sign Pattern:**When expanding by minors using a row or column, the sign of the terms in the expansion follow the following pattern.

$$\left|\begin{array}{c}+\phantom{\rule{1.5em}{0ex}}\xe2\u02c6\u2019\phantom{\rule{1.5em}{0ex}}+\hfill \\ \xe2\u02c6\u2019\phantom{\rule{1.5em}{0ex}}+\phantom{\rule{1.5em}{0ex}}\xe2\u02c6\u2019\hfill \\ +\phantom{\rule{1.5em}{0ex}}\xe2\u02c6\u2019\phantom{\rule{1.5em}{0ex}}+\hfill \end{array}\right|$$**Cramerâ€™s Rule:**For the system of equations $\{\begin{array}{c}{a}_{1}x+{b}_{1}y={k}_{1}\hfill \\ {a}_{2}x+{b}_{2}y={k}_{2}\hfill \end{array},$ the solution $\left(x,y\right)$ can be determined by

Notice that to form the determinant*D*, we use take the coefficients of the variables.**How to solve a system of two equations using Cramerâ€™s rule.**- Step 1. Evaluate the determinant
*D*, using the coefficients of the variables. - Step 2. Evaluate the determinant ${D}_{x}.$ Use the constants in place of the
*x*coefficients. - Step 3. Evaluate the determinant ${D}_{y}.$ Use the constants in place of the
*y*coefficients. - Step 4. Find
*x*and*y*. $x=\frac{{D}_{x}}{D},$ $y=\frac{{D}_{y}}{D}.$ - Step 5. Write the solution as an ordered pair.
- Step 6. Check that the ordered pair is a solution to
**both**original equations. - Step 7.
**Dependent and Inconsistent Systems of Equations:**For any system of equations, where the**value of the determinant**$D=0,$

$\begin{array}{ccccccc}\mathbf{\text{Value of determinants}}\hfill & & & \mathbf{\text{Type of system}}\hfill & & & \mathbf{\text{Solution}}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are all zero}\hfill & & & \text{consistent and dependent}\hfill & & & \text{infinitely many solutions}\hfill \\ D=0\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{x},{D}_{y}\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}{D}_{z}\phantom{\rule{0.2em}{0ex}}\text{are not all zero}\hfill & & & \text{inconsistent}\hfill & & & \text{no solution}\hfill \end{array}$ - Step 8.
**Test for Collinear Points:**Three points $\left({x}_{1},{y}_{1}\right),$ $\left({x}_{2},{y}_{2}\right),$ and $\left({x}_{3},{y}_{3}\right)$ are collinear if and only if

$$\left|\begin{array}{c}{x}_{1}\phantom{\rule{1.5em}{0ex}}{y}_{1}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{2}\phantom{\rule{1.5em}{0ex}}{y}_{2}\phantom{\rule{1.5em}{0ex}}1\hfill \\ {x}_{3}\phantom{\rule{1.5em}{0ex}}{y}_{3}\phantom{\rule{1.5em}{0ex}}1\hfill \end{array}\right|=0$$

- Step 1. Evaluate the determinant

### 4.7 Graphing Systems of Linear Inequalities

**Solutions of a System of Linear Inequalities:**Solutions of a system of linear inequalities are the values of the variables that make all the inequalities true. The solution of a system of linear inequalities is shown as a shaded region in the*x, y*coordinate system that includes all the points whose ordered pairs make the inequalities true.**How to solve a system of linear inequalities by graphing.**- Step 1. Graph the first inequality.

Graph the boundary line.

Shade in the side of the boundary line where the inequality is true. - Step 2. On the same grid, graph the second inequality.

Graph the boundary line.

Shade in the side of that boundary line where the inequality is true. - Step 3. The solution is the region where the shading overlaps.
- Step 4. Check by choosing a test point.

- Step 1. Graph the first inequality.