# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/matrix/matrix-determinant
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/matrix/matrix-determinant/en.mdx
Output docs content for large language models.
---
export const metadata = {
  title: "Matrix Determinant",
  description: "Calculate 2x2 matrix determinants and solve linear equations using Cramer's Rule. Master determinant formulas with step-by-step examples and practice.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "06/05/2025",
  subject: "Matrix",
};
## Understanding Matrix Determinants
The determinant of a matrix is a scalar value (a single number) that can be calculated from the elements of a square matrix. The concept of a determinant is very important in linear algebra, one of its uses being to help solve systems of linear equations. Every square matrix has a unique determinant value.
## Calculating the Determinant of a 2x2 Order Matrix
A 2x2 order matrix is a matrix that has two rows and two columns. Suppose we have matrix A as follows:
The determinant of matrix A, usually written as  or , is calculated by subtracting the product of the elements of the main diagonal from the product of the elements of the second diagonal.
The formula is:
Note that the notation  uses straight lines, which denote the determinant, as opposed to square brackets  which denote the matrix itself.
### Calculation of a 2x2 Matrix Determinant
Suppose we have matrix B:
To calculate its determinant, we identify , , , and .
Then, the determinant of matrix B is:
  
  
  
  
So, the determinant value of matrix B is 26.
## Solving Systems of Linear Equations with Two Variables (SPLDV) using Determinants
One important application of determinants is to solve systems of linear equations. This method is often called Cramer's Rule.
Consider the following system of linear equations with two variables (SPLDV):
  
  
In this system,  and  are the variables whose values we want to find. The coefficients  and constants  are known numbers.
This system of equations can be converted into matrix multiplication form:
The first step is to calculate the determinant of the coefficient matrix, which we call :
A system of linear equations will have a unique solution if and only if .
Next, we calculate two other determinants:
1.  , which is the determinant of the coefficient
    matrix where the first column (coefficients of ) is replaced
    by the constant column (
    ):
    
2.  , which is the determinant of the coefficient
    matrix where the second column (coefficients of ) is replaced
    by the constant column (
    ):
    
After obtaining the values of , , and , we can find the values of  and  using the formulas:
  
  
These formulas are only valid if .
### Solving SPLDV with Determinants
Determine the solution of the following system of linear equations:
  
  
From the system above, we get:
, , 
, , 
**Step 1**: Calculate the determinant .
Since , this system has a unique solution.
**Step 2**: Calculate the determinant .
**Step 3**: Calculate the determinant .
**Step 4**: Calculate the values of  and .
  
  
So, the solution set of the system of linear equations is  and , or can be written as the ordered pair .
## Exercises
1.  Given matrix  and . Determine the value of .
2.  Determine the solution of the following system of linear equations:
    
### Answer Key
1.  For matrix , its determinant is:
    
    Given , then:
    
      
      
      
      
      
    
    So, the value of  is -9.
2.  System of linear equations:
    
      
      
    
    We determine  and .
    
      
      
      
    
    Then, the values of  and  are:
    
      
      
    
    So, the solution of the system of linear equations is  and , or the ordered pair .