To solve the system of equations using Cramer's Rule, we first need to write down the equations clearly and identify the coefficients.
Given system of equations:
- (-2x + 6y + 4z = -2)
- (2x + 3y + 5z = -25)
- (-x - 4y + z = 2)
Cramer's Rule requires us to use the determinant of matrices. For a system of three equations, it is given as:
[ Ax = B ]
Where ( A ) is the coefficient matrix, ( x ) is the column matrix representing the variables, and ( B ) is the constant column matrix.
Coefficient matrix ( A ):
[ A = \begin{bmatrix} -2 & 6 & 4 \ 2 & 3 & 5 \ -1 & -4 & 1 \end{bmatrix} ]
Constant matrix ( B ):
[ B = \begin{bmatrix} -2 \ -25 \ 2 \end{bmatrix} ]
Now, compute the determinant of matrix ( A ) which we'll denote as ( \text{det}(A) ).
To find ( \text{det}(A) ), use the formula for the determinant of a ( 3 \times 3 ) matrix:
[
\text{det}(A) = \begin{vmatrix} -2 & 6 & 4 \ 2 & 3 & 5 \ -1 & -4 & 1 \end{vmatrix}
= -2 \begin{vmatrix} 3 & 5 \ -4 & 1 \end{vmatrix}
- 6 \begin{vmatrix} 2 & 5 \ -1 & 1 \end{vmatrix}
- 4 \begin{vmatrix} 2 & 3 \ -1 & -4 \end{vmatrix}
]
Calculating each ( 2 \times 2 ) determinant:
[
\begin{vmatrix} 3 & 5 \ -4 & 1 \end{vmatrix} = (3)(1) - (5)(-4) = 3 + 20 = 23
]
[
\begin{vmatrix} 2 & 5 \ -1 & 1 \end{vmatrix} = (2)(1) - (5)(-1) = 2 + 5 = 7
]
[
\begin{vmatrix} 2 & 3 \ -1 & -4 \end{vmatrix} = (2)(-4) - (3)(-1) = -8 + 3 = -5
]
Now plug them back into the original formula:
[
\text{det}(A) = -2(23) - 6(7) + 4(-5) = -46 - 42 - 20 = -108
]
Now we will find the determinants for each of the matrices ( A_x ), ( A_y ), and ( A_z ). These are created by replacing the respective column in matrix ( A ) with matrix ( B ).
For ( x ):
[
A_x = \begin{bmatrix} -2 & 6 & 4 \ -25 & 3 & 5 \ 2 & -4 & 1 \end{bmatrix}
]
[
\text{det}(A_x) = -2 \begin{vmatrix} 3 & 5 \ -4 & 1 \end{vmatrix}
- 6 \begin{vmatrix} -25 & 5 \ 2 & 1 \end{vmatrix}
- 4 \begin{vmatrix} -25 & 3 \ 2 & -4 \end{vmatrix}
]
The values of these determinants:
[
\begin{vmatrix} 3 & 5 \ -4 & 1 \end{vmatrix} = 23 \quad \text{(already calculated)}
]
[
\begin{vmatrix} -25 & 5 \ 2 & 1 \end{vmatrix} = (-25)(1) - (5)(2) = -25 - 10 = -35
]
[
\begin{vmatrix} -25 & 3 \ 2 & -4 \end{vmatrix} = (-25)(-4) - (3)(2) = 100 - 6 = 94
]
Substituting back,
[
\text{det}(A_x) = -2(23) - 6(-35) + 4(94) = -46 + 210 + 376 = 540
]
For ( y ):
[
A_y = \begin{bmatrix} -2 & -2 & 4 \ 2 & -25 & 5 \ -1 & 2 & 1 \end{bmatrix}
]
[
\text{det}(A_y) = -2 \begin{vmatrix} -25 & 5 \ 2 & 1 \end{vmatrix}
- 2 \begin{vmatrix} 2 & 5 \ -1 & 1 \end{vmatrix}
- 4 \begin{vmatrix} 2 & -25 \ -1 & 2 \end{vmatrix}
]
Already calculated:
[
\begin{vmatrix} -25 & 5 \ 2 & 1 \end{vmatrix} = -35
]
[
\begin{vmatrix} 2 & 5 \ -1 & 1 \end{vmatrix} = 7
]
New calculations:
[
\begin{vmatrix} 2 & -25 \ -1 & 2 \end{vmatrix} = (2)(2) - (-25)(-1) = 4 - 25 = -21
]
Substitute back,
[
\text{det}(A_y) = -2(-35) + 2(7) + 4(-21) = 70 + 14 - 84 = 0
]
For ( z ):
[
A_z = \begin{bmatrix} -2 & 6 & -2 \ 2 & 3 & -25 \ -1 & -4 & 2 \end{bmatrix}
]
[
\text{det}(A_z) = -2 \begin{vmatrix} 3 & -25 \ -4 & 2 \end{vmatrix}
- 6 \begin{vmatrix} 2 & -25 \ -1 & 2 \end{vmatrix}
- 2 \begin{vmatrix} 2 & 3 \ -1 & -4 \end{vmatrix}
]
New calculations:
[
\begin{vmatrix} 3 & -25 \ -4 & 2 \end{vmatrix} = (3)(2) - (-25)(-4) = 6 - 100 = -94
]
[
\begin{vmatrix} 2 & -25 \ -1 & 2 \end{vmatrix} = -21 \quad \text{(already calculated)}
]
[
\begin{vmatrix} 2 & 3 \ -1 & -4 \end{vmatrix} = -5 \quad \text{(already calculated)}
]
Final substitution,
[
\text{det}(A_z) = -2(-94) - 6(-21) - 2(-5) = 188 + 126 + 10 = 324
]
Now, using Cramer's Rule, solve for ( x ), ( y ), and ( z ):
[
x = \frac{\text{det}(A_x)}{\text{det}(A)} = \frac{540}{-108} = -5
]
[
y = \frac{\text{det}(A_y)}{\text{det}(A)} = \frac{0}{-108} = 0
]
[
z = \frac{\text{det}(A_z)}{\text{det}(A)} = \frac{324}{-108} = -3
]
So, the solution to the system is ( x = -5 ), ( y = 0 ), and ( z = -3 ).