407 493 6601

# Algebra 2 - Determinants & Cramer's Rule

## Introduction

• A determinant is an array of numbers consisting of row elements and column elements that are typically used to solve systems of linear equations.
• In the symbol , the determinant of order $\mathbit{n}$ is defined.
• This algebraic symbol is employed to express the compact form for the sum of all possible products wherein each has $\mathbit{n}$ factors.
• Each element is contained with two subscripts, the first number indicates the row order in which the element is arranged, and the second number denotes the column order in which the element is arranged.

## Order and Evaluating Determinants

• The second order of determinant (also 2 x 2 determinant) is in the form of $\left|\begin{array}{cc}a& b\\ c& d\end{array}\right|$.
• To illustrate, this is defined as:

$\mathbf{|}{\mathbf{A}}_{\mathbf{2}}\mathbf{|}\mathbf{=}\mathbf{|}\begin{array}{cc}{\mathbf{a}}_{\mathbf{11}}& {\mathbf{a}}_{\mathbf{12}}\\ {\mathbf{a}}_{\mathbf{21}}& {\mathbf{a}}_{\mathbf{22}}\end{array}\mathbf{|}\mathbf{=}{\mathbit{a}}_{\mathbf{11}}{\mathbit{a}}_{\mathbf{22}}\mathbf{-}{\mathbit{a}}_{\mathbf{12}}{\mathbit{a}}_{\mathbf{21}}$

• For instance, if we have  this is evaluated as $\left(8\right)\left(-4\right)-\left(-7\right)\left(-6\right)=-32-42=-74$
• The third order of determinant is described as:

${\mathbit{A}}_{\mathbf{3}}\mathbf{=}|\begin{array}{ccc}{a}_{11}& {a}_{12}& {a}_{13}\\ {a}_{21}& {a}_{22}& {a}_{23}\\ {a}_{31}& {a}_{32}& {a}_{33}\end{array}|$

• Rewrite this first and second column in order to evaluate the third-order determinant:

${\mathbit{A}}_{\mathbf{3}}\mathbf{=}\mathbf{|}\begin{array}{ccc}{\mathbf{a}}_{\mathbf{11}}& {\mathbf{a}}_{\mathbf{12}}& {\mathbf{a}}_{\mathbf{13}}\\ {\mathbf{a}}_{\mathbf{21}}& {\mathbf{a}}_{\mathbf{22}}& {\mathbf{a}}_{\mathbf{23}}\\ {\mathbf{a}}_{\mathbf{31}}& {\mathbf{a}}_{\mathbf{32}}& {\mathbf{a}}_{\mathbf{33}}\end{array}\mathbf{|}\begin{array}{c}{\mathbf{a}}_{\mathbf{11}}\\ {\mathbf{a}}_{\mathbf{21}}\\ {\mathbf{a}}_{\mathbf{31}}\end{array}\begin{array}{c}{\mathbf{a}}_{\mathbf{12}}\\ {\mathbf{a}}_{\mathbf{22}}\\ {\mathbf{a}}_{\mathbf{32}}\end{array}\mathbf{\to }{\mathbit{A}}_{\mathbf{3}}\mathbf{=}{\mathbit{a}}_{\mathbf{11}}{\mathbit{a}}_{\mathbf{22}}{\mathbit{a}}_{\mathbf{33}}\mathbf{+}{\mathbit{a}}_{\mathbf{12}}{\mathbit{a}}_{\mathbf{23}}{\mathbit{a}}_{\mathbf{31}}\mathbf{+}{\mathbit{a}}_{\mathbf{13}}{\mathbit{a}}_{\mathbf{21}}{\mathbit{a}}_{\mathbf{32}}\mathbf{-}{\mathbit{a}}_{\mathbf{31}}{\mathbit{a}}_{\mathbf{22}}{\mathbit{a}}_{\mathbf{13}}\mathbf{-}{\mathbit{a}}_{\mathbf{32}}{\mathbit{a}}_{\mathbf{23}}{\mathbit{a}}_{\mathbf{11}}\mathbf{-}{\mathbit{a}}_{\mathbf{33}}{\mathbit{a}}_{\mathbf{21}}{\mathbit{a}}_{\mathbf{12}}$

## Basic Properties of Determinants

• When corresponding rows and columns are interchanged, it does not affect the value of the determinant.

Examples:

• Any two rows or columns interchanged alters the sign of the determinant.

Examples:

• Suppose that all elements in a row or column are zero; then the value of this determinant is 0.

Examples:

• If there are any two rows or columns that are identical, the value of this determinant is equal to 0.

Examples:

• If each element in a row or column is multiplied by any number $\mathbit{n}$, the value of the entire determinant is also multiplied by the number $\mathbit{n}\mathbf{.}$

Example:

• If each element in a row or column of a determinant is expressed as a sum of two or more numbers, the determinant can be written as a sum of two or more determinants.

Example:

• Suppose that each element of a row or column is being added $\mathbit{n}$ times the corresponding elements of another row or column; the value of the determinant will not change.

Example:

$|\begin{array}{ccc}5& 9& 3\\ 6& 8& 7\\ 7& 4& 2\end{array}|\mathbf{=}|\begin{array}{ccc}5+4\left(9\right)& 9& 3\\ 6+4\left(8\right)& 8& 7\\ 7+4\left(4\right)& 4& 2\end{array}|\mathbf{=}|\begin{array}{ccc}5& 9& 3\\ 6& 8& 7\\ 7& 4& 2\end{array}|$

## Determinant of a Matrix

• To evaluate the determinant of a matrix, the matrix has to be a square matrix.
• The determinant of a matrix is useful in calculus applications, determining the inverse of a matrix, and solving systems of linear equations.
• To illustrate, we have:

• For a 3 x 3 matrix, we have the following:

$B=\left[\begin{array}{ccc}{a}_{1}& {b}_{1}& {c}_{1}\\ {a}_{2}& {b}_{2}& {c}_{2}\\ {a}_{3}& {b}_{3}& {c}_{3}\end{array}\right]=\left({a}_{1}\right)det\left[\begin{array}{cc}{b}_{2}& {c}_{2}\\ {b}_{3}& {c}_{3}\end{array}\right]-\left({b}_{1}\right)det\left[\begin{array}{cc}{a}_{2}& {c}_{2}\\ {a}_{3}& {c}_{3}\end{array}\right]+\left({c}_{1}\right)det\left[\begin{array}{cc}{a}_{2}& {b}_{2}\\ {a}_{3}& {b}_{3}\end{array}\right]$

## Cramer's Rule

• Cramer's Rule is a procedure that is used to solve for the solutions of a system of linear equations in $\mathbit{n}$ unknowns.
• To illustrate the process of solving a system of linear equations in two unknowns, we have:
• Given the system of linear equations $\left\{\begin{array}{l}{a}_{1}x+{b}_{1}y={c}_{1}\\ {a}_{2}x+{b}_{2}y={c}_{2}\end{array}$, then the solution is determined using the following:

• This can also be simplified using the following formulas:

• To illustrate the process of solving a system of linear equations in three unknowns, we have:
• Given the linear system $\left\{\begin{array}{l}{a}_{1}x+{b}_{1}y+{c}_{1}z={d}_{1}\\ {a}_{2}x+{b}_{2}y+{c}_{2}z={d}_{2}\\ {a}_{3}x+{b}_{3}y+{c}_{3}z={d}_{3}\end{array}$, then this is expressed as a determinant .

• Hence, we have the following equations to find the solution:

## Berzen's Layer Reduction Method

• Another method of solving systems of linear equations in three unknowns is Berzen's Layer Reduction Method.
• Given a linear system $\left\{\begin{array}{l}{a}_{1}x+{b}_{1}y+{c}_{1}z={d}_{1}\\ {a}_{2}x+{b}_{2}y+{c}_{2}z={d}_{2}\\ {a}_{3}x+{b}_{3}y+{c}_{3}z={d}_{3}\end{array}$, then we solve the following determinants: .

• To find the value of $\mathbit{z}$ first, we have:

$\mathbit{z}\mathbf{=}\frac{\mathbf{A}\mathbf{F}\mathbf{-}\mathbf{D}\mathbf{C}}{\mathbf{A}\mathbf{E}\mathbf{-}\mathbf{B}\mathbf{D}}$

• After getting the value of $\mathbit{z}$, the next step is to find the value of $\mathbit{x}$ and $\mathbit{y}$ by solving the obtained linear system in two unknowns.

## Cheat Sheet

• In case of $\left\{\begin{array}{l}x+y=1\\ 2x+3y=6\end{array}$, then
• In a system of the linear equation of two variables, we have the following equations: .
• In case of
• In solving a linear system of three unknowns, we have
• In case of

## Blunder Areas

• Do not be confused with the symbol used in determinant of a matrix and absolute value. The determinant of a matrix is not an absolute value symbol.
• When using Cramer's Rule in solving linear systems, the process may fail if the determinant of the coefficient array is zero.
• Cramer's Rule only applies to a square matrix wherein that system has a unique solution and has a non-zero determinant.
• Berzen's Layer Reduction Method only works for a linear system of three variables.