Skip to content

Unit 11: Matrices and Systems

AP Precalc cheatsheet

Open β†—

Loading…


A system of equations asks for the values of the variables that make every equation true at the same time. For two linear equations in two variables, there are three possibilities:

Graphs of the linesNumber of solutionsName
Intersect once11consistent and independent
Parallel and distinct00inconsistent
Same lineinfinitely manyconsistent and dependent

The same idea extends to larger linear systems: the solution set can be one point, no points, or infinitely many points.

Geometrically, each equation describes a set of points. In two variables, each linear equation is a line, so solving a system means finding where the lines overlap. In three variables, each linear equation is usually a plane, so solving a system means finding where the planes overlap.

For a system in three variables:

  • one solution means the planes meet at one point,
  • no solution means the planes never all meet in one common place,
  • infinitely many solutions usually means the planes overlap along a line or plane.

Each method isolates the variables while preserving the set of points that satisfies every equation.

The two basic algebraic methods are:

  • Substitution: solve one equation for one variable, then substitute into the other equations.
  • Elimination: add multiples of equations together until one variable disappears.

Example. Solve

{2x+3y=135xβˆ’y=7\begin{cases} 2x+3y=13\\ 5x-y=7 \end{cases}

From the second equation,

y=5xβˆ’7.y=5x-7.

Substitute into the first equation:

2x+3(5xβˆ’7)=13.2x+3(5x-7)=13.

Then

17xβˆ’21=13,17x=34,x=2.17x-21=13,\qquad 17x=34,\qquad x=2.

Now

y=5(2)βˆ’7=3.y=5(2)-7=3.

So the solution is

(2,3).(2,3).

A matrix is a rectangular array of numbers. The numbers inside the matrix are called entries or elements.

Matrices are useful because linear systems have a lot of repeated structure. In a system like

{2xβˆ’y+4z=73x+5yβˆ’z=1\begin{cases} 2x-y+4z=7\\ 3x+5y-z=1 \end{cases}

the variable names x,y,zx,y,z and the plus signs do not change much. The important changing information is the coefficients and constants. A matrix strips the system down to that information so the algebra becomes cleaner.

For example,

A=[2βˆ’14035]A= \begin{bmatrix} 2 & -1 & 4\\ 0 & 3 & 5 \end{bmatrix}

has 22 rows and 33 columns, so its size is 2Γ—32\times 3. The entry in row ii and column jj is often written aija_{ij}. In the matrix above,

a23=5.a_{23}=5.

For a linear system, the coefficient matrix stores the coefficients of the variables. The augmented matrix also includes the constants on the right side.

The order of the columns matters. If the columns are arranged as x,y,zx,y,z, then every row must follow that same order. Missing variables get coefficient 00. For example, 3x+z=53x+z=5 becomes

3x+0y+z=5,3x+0y+z=5,

so its coefficient row is

[301].\begin{bmatrix} 3 & 0 & 1 \end{bmatrix}.

For

{x+2yβˆ’3z=43x+z=5βˆ’xβˆ’3y+4z=0\begin{cases} x+2y-3z=4\\ 3x+z=5\\ -x-3y+4z=0 \end{cases}

the coefficient matrix is

[12βˆ’3301βˆ’1βˆ’34]\begin{bmatrix} 1 & 2 & -3\\ 3 & 0 & 1\\ -1 & -3 & 4 \end{bmatrix}

and the augmented matrix is

[12βˆ’343015βˆ’1βˆ’340].\left[ \begin{array}{ccc|c} 1 & 2 & -3 & 4\\ 3 & 0 & 1 & 5\\ -1 & -3 & 4 & 0 \end{array} \right].

The vertical bar is only a visual separator. It reminds you where the equals signs were.


Gaussian elimination is a systematic version of elimination. The main idea is to use one equation to remove a variable from the equations below it, then repeat with the next variable.

The reason this works is that each row in an augmented matrix is just one equation. If you replace an equation with a combination of equations that has the same information, the solution set stays the same.

For example, suppose a solution satisfies both

E1:x+y=5E_1:\quad x+y=5

and

E2:2xβˆ’y=4.E_2:\quad 2x-y=4.

Then that same solution must also satisfy

E2βˆ’2E1:(2xβˆ’y)βˆ’2(x+y)=4βˆ’2(5).E_2-2E_1:\quad (2x-y)-2(x+y)=4-2(5).

This new equation is not random. It is built from equations the solution already satisfies, so it does not throw away any valid solutions. Gaussian elimination keeps doing this kind of replacement until the system is easy to read.

The allowed row operations are:

  1. Multiply a row by a nonzero constant.
  2. Interchange two rows.
  3. Add a multiple of one row to another row.

These operations do not change the solution set of the corresponding linear system.

The goal is usually to create row echelon form, which has a staircase of zeros:

[⋆⋆⋆⋆0⋆⋆⋆00⋆⋆],\left[ \begin{array}{ccc|c} \star & \star & \star & \star\\ 0 & \star & \star & \star\\ 0 & 0 & \star & \star \end{array} \right],

where the leading nonzero entries move down and to the right. Then use back substitution.

Why is this shape useful? Because the bottom equation has only one variable, the row above it has two variables, and the row above that has three variables. So you solve from the bottom upward.

For example, the matrix

[12βˆ’14035210026]\left[ \begin{array}{ccc|c} 1 & 2 & -1 & 4\\ 0 & 3 & 5 & 21\\ 0 & 0 & 2 & 6 \end{array} \right]

means

{x+2yβˆ’z=43y+5z=212z=6\begin{cases} x+2y-z=4\\ 3y+5z=21\\ 2z=6 \end{cases}

The last equation gives z=3z=3. Then the second equation gives

3y+5(3)=21,3y+5(3)=21,

so y=2y=2. Then the first equation gives

x+2(2)βˆ’3=4,x+2(2)-3=4,

so x=3x=3.

That is the whole purpose of Gaussian elimination: create a system where this bottom-up solving is possible.

A pivot is the entry you use to eliminate the numbers below it. In a typical 3Γ—33\times 3 system, the first pivot is in the xx-column. You use it to turn the entries below it into zeros:

[⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆⋆]⟹[⋆⋆⋆⋆0⋆⋆⋆0⋆⋆⋆].\left[ \begin{array}{ccc|c} \boxed{\star} & \star & \star & \star\\ \star & \star & \star & \star\\ \star & \star & \star & \star \end{array} \right] \quad\Longrightarrow\quad \left[ \begin{array}{ccc|c} \boxed{\star} & \star & \star & \star\\ 0 & \star & \star & \star\\ 0 & \star & \star & \star \end{array} \right].

Then the second pivot is in the yy-column. Use it to eliminate below it:

[⋆⋆⋆⋆0⋆⋆⋆0⋆⋆⋆]⟹[⋆⋆⋆⋆0⋆⋆⋆00⋆⋆].\left[ \begin{array}{ccc|c} \star & \star & \star & \star\\ 0 & \boxed{\star} & \star & \star\\ 0 & \star & \star & \star \end{array} \right] \quad\Longrightarrow\quad \left[ \begin{array}{ccc|c} \star & \star & \star & \star\\ 0 & \boxed{\star} & \star & \star\\ 0 & 0 & \star & \star \end{array} \right].

It is often nice to make pivots equal to 11, but it is not required. The only thing a pivot cannot be is 00. If the entry where you want a pivot is 00, swap rows if possible.

Suppose the pivot is 11 and the entry below it is 44:

[1β‹―4β‹―].\begin{bmatrix} 1 & \cdots\\ 4 & \cdots \end{bmatrix}.

To turn the 44 into 00, replace the second row with

R2←R2βˆ’4R1.R_2\leftarrow R_2-4R_1.

If the pivot is 22 and the entry below it is 66:

[2β‹―6β‹―],\begin{bmatrix} 2 & \cdots\\ 6 & \cdots \end{bmatrix},

then use

R2←R2βˆ’3R1,R_2\leftarrow R_2-3R_1,

because 6βˆ’3(2)=06-3(2)=0.

In general, you choose the multiple that makes

entryΒ belowΒ pivotβˆ’(multiple)(pivot)=0.\text{entry below pivot}-(\text{multiple})(\text{pivot})=0.

Example. Solve

{x+y+z=62xβˆ’y+z=3x+2yβˆ’z=2\begin{cases} x+y+z=6\\ 2x-y+z=3\\ x+2y-z=2 \end{cases}

Start with the augmented matrix:

[11162βˆ’11312βˆ’12].\left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6\\ 2 & -1 & 1 & 3\\ 1 & 2 & -1 & 2 \end{array} \right].

The first pivot is the 11 in the top-left corner. Use it to eliminate the xx-terms below it.

For row 22, the entry below the pivot is 22, so subtract 22 times row 11:

R2←R2βˆ’2R1.R_2\leftarrow R_2-2R_1.

For row 33, the entry below the pivot is 11, so subtract 11 times row 11:

R3←R3βˆ’R1.R_3\leftarrow R_3-R_1.

This gives

[11160βˆ’3βˆ’1βˆ’901βˆ’2βˆ’4].\left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6\\ 0 & -3 & -1 & -9\\ 0 & 1 & -2 & -4 \end{array} \right].

Now we need a pivot in the second column. The entry 11 in row 33 is easier to use than the entry βˆ’3-3 in row 22, so swap rows 22 and 33:

[111601βˆ’2βˆ’40βˆ’3βˆ’1βˆ’9]\left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6\\ 0 & 1 & -2 & -4\\ 0 & -3 & -1 & -9 \end{array} \right]

Now use the second pivot, which is 11, to eliminate the βˆ’3-3 below it. Since

βˆ’3+3(1)=0,-3+3(1)=0,

use

R3←R3+3R2.R_3\leftarrow R_3+3R_2.

Then

[111601βˆ’2βˆ’400βˆ’7βˆ’21].\left[ \begin{array}{ccc|c} 1 & 1 & 1 & 6\\ 0 & 1 & -2 & -4\\ 0 & 0 & -7 & -21 \end{array} \right].

Now the matrix is in row echelon form. Translate it back into equations:

{x+y+z=6yβˆ’2z=βˆ’4βˆ’7z=βˆ’21\begin{cases} x+y+z=6\\ y-2z=-4\\ -7z=-21 \end{cases}

Back substitution starts at the bottom. The last row gives

βˆ’7z=βˆ’21,-7z=-21,

so

z=3.z=3.

The second row gives

yβˆ’2z=βˆ’4⟹y=2.y-2z=-4 \quad\Longrightarrow\quad y=2.

The first row gives

x+y+z=6⟹x=1.x+y+z=6 \quad\Longrightarrow\quad x=1.

Thus

(x,y,z)=(1,2,3).(x,y,z)=(1,2,3).

During elimination, a row like

[0005]\left[ \begin{array}{ccc|c} 0 & 0 & 0 & 5 \end{array} \right]

means

0=5,0=5,

so the system has no solution.

A row like

[0000]\left[ \begin{array}{ccc|c} 0 & 0 & 0 & 0 \end{array} \right]

means one equation became redundant. If at least one variable is free, the system has infinitely many solutions.


Matrix operations are designed to preserve the rectangular structure of the data. The rules may feel more restrictive than ordinary arithmetic, but each restriction is there because the entries have positions. You can only combine entries when their positions match, and matrix multiplication has to respect row-column relationships.

Two matrices are equal only if they have the same size and all corresponding entries are equal.

You can add or subtract matrices only when they have the same size:

This is because addition is done position-by-position. The top-left entries combine, the top-right entries combine, and so on. If the matrices have different sizes, some entries do not have partners.

[14βˆ’23]+[5βˆ’170]=[6353].\begin{bmatrix} 1 & 4\\ -2 & 3 \end{bmatrix} + \begin{bmatrix} 5 & -1\\ 7 & 0 \end{bmatrix} = \begin{bmatrix} 6 & 3\\ 5 & 3 \end{bmatrix}.

To multiply a matrix by a scalar, multiply every entry by that scalar:

Scalar multiplication stretches every entry by the same factor. If the matrix represents data, every data value is being scaled. If the matrix represents equations, multiplying a row by a scalar is the same idea as multiplying both sides of an equation by that scalar.

βˆ’2[3βˆ’105]=[βˆ’620βˆ’10].-2 \begin{bmatrix} 3 & -1\\ 0 & 5 \end{bmatrix} = \begin{bmatrix} -6 & 2\\ 0 & -10 \end{bmatrix}.

The product ABAB is defined only when the number of columns of AA equals the number of rows of BB.

Matrix multiplication is not entry-by-entry multiplication. It is built around dot products. The rows of the first matrix interact with the columns of the second matrix.

One reason this rule matters is that matrices often represent transformations or systems of linear combinations. Multiplying matrices combines those actions. If AA changes one vector and BB changes another, then ABAB represents doing one action after the other. Order matters, which is why ABAB and BABA can be different.

If AA is mΓ—nm\times n and BB is nΓ—pn\times p, then ABAB is mΓ—pm\times p.

Each entry of ABAB is found by taking a row-column dot product:

[1234][5678]=[1(5)+2(7)1(6)+2(8)3(5)+4(7)3(6)+4(8)]=[19224350].\begin{bmatrix} 1 & 2\\ 3 & 4 \end{bmatrix} \begin{bmatrix} 5 & 6\\ 7 & 8 \end{bmatrix} = \begin{bmatrix} 1(5)+2(7) & 1(6)+2(8)\\ 3(5)+4(7) & 3(6)+4(8) \end{bmatrix} = \begin{bmatrix} 19 & 22\\ 43 & 50 \end{bmatrix}.

Matrix multiplication is not usually commutative:

AB≠BAAB\ne BA

in general. Sometimes one product is defined and the other is not.


A square matrix has the same number of rows and columns. The identity matrix is the matrix version of the number 11.

Multiplying by the identity matrix leaves a compatible matrix unchanged. An inverse matrix uses this property to β€œundo” multiplication by another matrix.

For 2Γ—22\times 2 matrices,

I2=[1001].I_2= \begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}.

For any compatible square matrix AA,

AI=IA=A.AI=IA=A.

If a square matrix AA has a matrix Aβˆ’1A^{-1} such that

AAβˆ’1=Aβˆ’1A=I,AA^{-1}=A^{-1}A=I,

then Aβˆ’1A^{-1} is the inverse of AA. A matrix with an inverse is invertible or nonsingular. A matrix without an inverse is singular.

Think of Aβˆ’1A^{-1} as the operation that reverses AA. If multiplying by AA mixes the variables together, multiplying by Aβˆ’1A^{-1} unmixes them. This is why inverses can solve systems: the coefficient matrix mixes the variables into the constants, and the inverse recovers the original variables.

Not every square matrix can be undone. Some matrices collapse information. For example, if two equations are really multiples of the same equation, they do not contain enough independent information to recover a unique solution.

For

A=[abcd],A= \begin{bmatrix} a & b\\ c & d \end{bmatrix},

the determinant is

det⁑(A)=adβˆ’bc.\det(A)=ad-bc.

Example. Find the inverse of

A=[2153].A= \begin{bmatrix} 2 & 1\\ 5 & 3 \end{bmatrix}.

The determinant is

2(3)βˆ’1(5)=1.2(3)-1(5)=1.

Therefore

Aβˆ’1=11[3βˆ’1βˆ’52]=[3βˆ’1βˆ’52].A^{-1} = \frac{1}{1} \begin{bmatrix} 3 & -1\\ -5 & 2 \end{bmatrix} = \begin{bmatrix} 3 & -1\\ -5 & 2 \end{bmatrix}.

A linear system can be written as

AX=B,AX=B,

where AA is the coefficient matrix, XX is the variable column, and BB is the constant column. If Aβˆ’1A^{-1} exists, then

X=Aβˆ’1B.X=A^{-1}B.

Example. Solve

{2x+y=75x+3y=18\begin{cases} 2x+y=7\\ 5x+3y=18 \end{cases}

Write the system as

[2153][xy]=[718].\begin{bmatrix} 2 & 1\\ 5 & 3 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 7\\ 18 \end{bmatrix}.

Using the inverse from the previous example,

[xy]=[3βˆ’1βˆ’52][718]=[21βˆ’18βˆ’35+36]=[31].\begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 3 & -1\\ -5 & 2 \end{bmatrix} \begin{bmatrix} 7\\ 18 \end{bmatrix} = \begin{bmatrix} 21-18\\ -35+36 \end{bmatrix} = \begin{bmatrix} 3\\ 1 \end{bmatrix}.

So

(x,y)=(3,1).(x,y)=(3,1).

For larger square matrices, one way to find the inverse is to row-reduce the augmented matrix

[AI].\left[ \begin{array}{c|c} A & I \end{array} \right].

If row operations transform it into

[IB],\left[ \begin{array}{c|c} I & B \end{array} \right],

then

B=Aβˆ’1.B=A^{-1}.

The determinant is a number calculated from a square matrix. A nonzero determinant means its rows and columns are linearly independent, so the matrix is invertible.

For a 2Γ—22\times 2 coefficient matrix

[abcd],\begin{bmatrix} a & b\\ c & d \end{bmatrix},

the two rows correspond to the coefficient patterns in two equations:

ax+by=constant,cx+dy=constant.ax+by=\text{constant}, \qquad cx+dy=\text{constant}.

If the two rows point in genuinely different directions, the equations usually give two independent pieces of information and the system has one solution. If one row is a multiple of the other, the equations are parallel or identical, so the system either has no solution or infinitely many solutions.

The determinant detects this. For a 2Γ—22\times 2 matrix,

det⁑[abcd]=adβˆ’bc.\det \begin{bmatrix} a & b\\ c & d \end{bmatrix} =ad-bc.

If adβˆ’bc=0ad-bc=0, the rows or columns are dependent in the sense that one direction has collapsed into another. The matrix is singular and has no inverse. If adβˆ’bcβ‰ 0ad-bc\ne 0, the matrix is invertible.

Example. Compare the determinants:

A=[1236],B=[1235].A= \begin{bmatrix} 1 & 2\\ 3 & 6 \end{bmatrix}, \qquad B= \begin{bmatrix} 1 & 2\\ 3 & 5 \end{bmatrix}.

For AA,

det⁑(A)=1(6)βˆ’2(3)=0.\det(A)=1(6)-2(3)=0.

The second row is 33 times the first row, so the two rows do not give independent information.

For BB,

det⁑(B)=1(5)βˆ’2(3)=βˆ’1.\det(B)=1(5)-2(3)=-1.

This is nonzero, so BB is invertible and a system with coefficient matrix BB has exactly one solution.

For a 3Γ—33\times 3 matrix, one useful expansion is along the first row. Each entry in the first row gets multiplied by the determinant of the 2Γ—22\times 2 matrix left behind after deleting that entry’s row and column:

det⁑[abcdefghi]=a(eiβˆ’fh)βˆ’b(diβˆ’fg)+c(dhβˆ’eg).\det \begin{bmatrix} a & b & c\\ d & e & f\\ g & h & i \end{bmatrix} = a(ei-fh)-b(di-fg)+c(dh-eg).

If det⁑(A)β‰ 0\det(A)\ne 0, then AA is invertible and the system AX=BAX=B has exactly one solution.

The determinant also has a geometric meaning. In two dimensions, the absolute value of the determinant gives the area scale factor of the matrix transformation. If the determinant is 00, area gets flattened to zero, meaning the transformation collapses the plane onto a line or point. That collapse is exactly why the matrix cannot be undone.

Cramer’s Rule is a determinant-based way to solve a system. It is not usually the fastest method for large systems, but it is useful because it shows how determinants encode the solution.

The denominator determinant DD measures whether the coefficient matrix is invertible. The numerator determinants DxD_x and DyD_y replace one coefficient column at a time with the constants. This isolates how much of the solution belongs to each variable.

For

{a1x+b1y=c1a2x+b2y=c2\begin{cases} a_1x+b_1y=c_1\\ a_2x+b_2y=c_2 \end{cases}

let

D=∣a1b1a2b2∣.D= \begin{vmatrix} a_1 & b_1\\ a_2 & b_2 \end{vmatrix}.

If D≠0D\ne 0, then

x=DxD,y=DyD,x=\frac{D_x}{D},\qquad y=\frac{D_y}{D},

where

Dx=∣c1b1c2b2∣,Dy=∣a1c1a2c2∣.D_x= \begin{vmatrix} c_1 & b_1\\ c_2 & b_2 \end{vmatrix}, \qquad D_y= \begin{vmatrix} a_1 & c_1\\ a_2 & c_2 \end{vmatrix}.

Example. Solve

{3x+2y=16xβˆ’4y=βˆ’6\begin{cases} 3x+2y=16\\ x-4y=-6 \end{cases}

Compute

D=∣321βˆ’4∣=3(βˆ’4)βˆ’2(1)=βˆ’14.D= \begin{vmatrix} 3 & 2\\ 1 & -4 \end{vmatrix} =3(-4)-2(1)=-14.

Then

Dx=∣162βˆ’6βˆ’4∣=16(βˆ’4)βˆ’2(βˆ’6)=βˆ’52,D_x= \begin{vmatrix} 16 & 2\\ -6 & -4 \end{vmatrix} =16(-4)-2(-6)=-52,

and

Dy=∣3161βˆ’6∣=3(βˆ’6)βˆ’16(1)=βˆ’34.D_y= \begin{vmatrix} 3 & 16\\ 1 & -6 \end{vmatrix} =3(-6)-16(1)=-34.

Thus

x=βˆ’52βˆ’14=267,y=βˆ’34βˆ’14=177.x=\frac{-52}{-14}=\frac{26}{7}, \qquad y=\frac{-34}{-14}=\frac{17}{7}.

A nonlinear system has at least one equation that is not linear. The solutions are still points that satisfy every equation at once, but the graphs may intersect in more than one point.

Linear systems are predictable: two lines can meet once, never meet, or be the same line. Nonlinear systems are more flexible because curves can bend back and meet each other multiple times. A line and a circle can intersect twice, once, or not at all. Two circles can also intersect twice, once, or not at all.

The goal is still the same: find all ordered pairs that satisfy every equation. The difference is that the algebra often produces quadratics or higher-degree equations, so there may be multiple solutions.

Example. Solve

{x2+y2=25y=x+1\begin{cases} x^2+y^2=25\\ y=x+1 \end{cases}

Substitute y=x+1y=x+1 into the circle equation:

x2+(x+1)2=25.x^2+(x+1)^2=25.

Then

2x2+2x+1=25,2x^2+2x+1=25,

so

2x2+2xβˆ’24=0.2x^2+2x-24=0.

Divide by 22:

x2+xβˆ’12=0.x^2+x-12=0.

Factor:

(x+4)(xβˆ’3)=0.(x+4)(x-3)=0.

Thus x=βˆ’4x=-4 or x=3x=3. Since y=x+1y=x+1, the solutions are

(βˆ’4,βˆ’3)Β andΒ (3,4).(-4,-3)\text{ and }(3,4).

A system of inequalities asks for the region that satisfies every inequality at the same time.

Equations usually describe boundaries: lines, circles, parabolas, and so on. Inequalities describe regions on one side of those boundaries. A system of inequalities asks where all the shaded regions overlap.

For example, y>2x+1y>2x+1 means all points above the line y=2x+1y=2x+1. The line itself is not included because the inequality is strict. In contrast, yβ‰₯2x+1y\ge 2x+1 includes the line.

Example. Describe the solution region:

{yβ‰₯2xβˆ’1y<βˆ’x+5\begin{cases} y\ge 2x-1\\ y< -x+5 \end{cases}

The first boundary is the solid line y=2xβˆ’1y=2x-1. Shade above it.

The second boundary is the dashed line y=βˆ’x+5y=-x+5. Shade below it.

The solution is the region between the two lines:

2xβˆ’1≀y<βˆ’x+5.2x-1\le y< -x+5.

This region exists where

2xβˆ’1<βˆ’x+5,2x-1<-x+5,

so

3x<6,x<2.3x<6,\qquad x<2.
---
  1. Solve the system using Gaussian elimination:

    {2xβˆ’y+3z=9x+2yβˆ’z=23x+y+z=8\begin{cases} 2x-y+3z=9\\ x+2y-z=2\\ 3x+y+z=8 \end{cases}
  1. Solve the system and classify it as having one solution, no solution, or infinitely many solutions:

    {x+2yβˆ’z=42x+4yβˆ’2z=83xβˆ’y+z=1\begin{cases} x+2y-z=4\\ 2x+4y-2z=8\\ 3x-y+z=1 \end{cases}
  1. Find all values of kk for which the system has no unique solution:

    {kx+2y=68x+ky=12\begin{cases} kx+2y=6\\ 8x+ky=12 \end{cases}

    For each such value of kk, determine whether the system has no solution or infinitely many solutions.

  1. Let

    A=[2βˆ’134],B=[05βˆ’21].A=\begin{bmatrix}2&-1\\3&4\end{bmatrix}, \qquad B=\begin{bmatrix}0&5\\-2&1\end{bmatrix}.

    Compute 2Aβˆ’3B2A-3B, ABAB, and BABA.

  1. Let

    A=[1203],B=[abcd].A=\begin{bmatrix}1&2\\0&3\end{bmatrix}, \qquad B=\begin{bmatrix}a&b\\c&d\end{bmatrix}.

    Find all matrices BB such that AB=BAAB=BA.

  1. Find Aβˆ’1A^{-1}, if it exists, and use it to solve AX=BAX=B:

    A=[4725],B=[1βˆ’3].A=\begin{bmatrix}4&7\\2&5\end{bmatrix}, \qquad B=\begin{bmatrix}1\\-3\end{bmatrix}.
  1. Find the inverse of

    A=[120013002].A=\begin{bmatrix} 1&2&0\\ 0&1&3\\ 0&0&2 \end{bmatrix}.
  1. Find all values of tt for which the matrix is singular:

    A=[t102t103t].A=\begin{bmatrix} t&1&0\\ 2&t&1\\ 0&3&t \end{bmatrix}.
  1. Use Cramer’s Rule to solve:

    {3xβˆ’2y=115x+4y=7\begin{cases} 3x-2y=11\\ 5x+4y=7 \end{cases}
  1. A quadratic function f(x)=ax2+bx+cf(x)=ax^2+bx+c passes through (βˆ’1,6)(-1,6), (2,3)(2,3), and (4,15)(4,15). Use a system of equations to find a,b,ca,b,c.
  1. Solve the nonlinear system:

    {x2+y2=25xβˆ’y=1\begin{cases} x^2+y^2=25\\ x-y=1 \end{cases}
  1. Solve the nonlinear system:

    {xy=12x+y=8\begin{cases} xy=12\\ x+y=8 \end{cases}
  1. Find the vertices and area of the region satisfying

    {xβ‰₯0yβ‰₯0x+2y≀83x+y≀9\begin{cases} x\ge 0\\ y\ge 0\\ x+2y\le 8\\ 3x+y\le 9 \end{cases}
  1. A matrix transformation sends the point (x,y)(x,y) to

    [xβ€²yβ€²]=[2βˆ’111][xy].\begin{bmatrix} x'\\ y' \end{bmatrix} = \begin{bmatrix} 2&-1\\ 1&1 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix}.

    Find the original point (x,y)(x,y) that maps to (7,5)(7,5). Then find the image of the line y=2x+1y=2x+1 under this transformation.

  1. A small economy has two sectors: food and tools. Producing one unit of food requires 0.200.20 units of food and 0.100.10 units of tools. Producing one unit of tools requires 0.300.30 units of food and 0.200.20 units of tools. External demand is 110110 units of food and 8080 units of tools. Let FF and TT be the total production levels. Set up and solve the matrix equation for FF and TT.
  1. Extension (Cayley-Hamilton and Matrix Powers).

Let

$$
A=\begin{bmatrix}a&b\\c&d\end{bmatrix},
\qquad
\operatorname{tr}(A)=a+d,
\qquad
\det(A)=ad-bc.
$$
$$(A)$$ Prove the Cayley-Hamilton identity
$$
A^2-\operatorname{tr}(A)A+\det(A)I=0.
$$
$$(B)$$ Use part $$(A)$$ to derive the inverse formula for $$A$$ when $$\det(A)\ne 0$$.
$$(C)$$ Explain why every power $$A^n$$ for $$n\ge 2$$ can be rewritten in the form
$$
A^n=\alpha_n A+\beta_n I
$$
for some constants $$\alpha_n$$ and $$\beta_n$$.
$$(D)$$ Let
$$
M=\begin{bmatrix}2&1\\1&1\end{bmatrix}.
$$
Use part $$(C)$$ to compute $$M^6$$ without multiplying six matrices directly.