Cramer Rule
Adjugate Matrix.
Let be the
-cofactor of
.
Then we define the adjugate “
” of
by
Inverse Formula.
By applying the Laplace expansions and the property (5) of determinants
(that is,
),
we can find that


Matlab/Octave.
The function adjoint(A) return
the adjugate (also known as classical adjoint) of a square matrix .
EXAMPLE 3.
Calculate the adjugate and find the inverse of
Cramer Rule.
Furthermore, we can express the solution
to the matrix equation
by
![$\displaystyle \mathbf{x}
= \frac{1}{\det A}
\begin{bmatrix}
C_{11} & C_{21}...
...
\det [ \mathbf{a}_1 \mathbf{a}_2 \ldots \mathbf{b} ]
\end{bmatrix}
$](img273.png)







Matlab/Octave. Engineering problems often involves linear equations whose coefficients contain unspecified parameters, and Cramer's rule can be used to describe the solution. In Matlab (but not in Octave) you can create an unspecified parameter s using syms or sym().
> syms s t
> sym('s')Afterward it calculates symbolically when s is used in matrix operations.
EXAMPLE 1. Find the solution to each of the following systems of linear equations:
© TTU Mathematics