ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalMD-001Cramers Rule
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    MD-001

    Math Deficiency - I

    Progress0 / 38 done
    Topics38
    1Definition, Representation, and Operations
    2Graphical Transformation of Functions3Properties of Functions4Composition and Inverses of Functions5Domain and Range of Functions6Maximum and Minimum Values of Functions7Increasing and Decreasing Functions8Zeros and Intercepts of Functions9Piecewise Functions10Continuity and Discontinuity of Functions11Polynomials and Rational Functions12Polynomial Long Division and Synthetic Division13Solution of Rational Functions14Absolute Valued Functions and Their Properties
    15Horizontal, Vertical, and Oblique16Exponential Functions and Their Properties17Logarithmic Functions and Their Properties
    18Two Equations and Two Unknowns19Three Equations and Three Unknowns
    20Addition, Subtraction, and Multiplication21Row Operations and Row Echelon Forms22Augmented Matrices
    232x2 and Higher Order24Cramer's Rule25Inverse Matrices26Series and Sequences
    27Angles in Radians and Degrees28Right Triangle Trigonometry29Law of Cosines and Sines30Area of a Triangle31Graphs of Trigonometric Functions32Graphs of Inverse Trigonometric Functions33Basic Trigonometric Identities34Trigonometric Equations
    35Parabolas, Circles, Ellipses, and Hyperbolas36Degenerate Conics37Polar and Parametric Equations38Polar and Rectangular Coordinates
    14 min read
    Topic 24 of 38
    Topic Study Note Illustration
    24

    Cramer's Rule

    Cramer's Rule is a mathematical theorem used to solve a system of linear equations with as many equations as unknowns (i.e., a square system) using determinants ....

    Cramer's Rule

    Cramer's Rule is a mathematical theorem used to solve a system of linear equations with as many equations as unknowns (i.e., a square system) using determinants. It is applicable only when the system has a unique solution, which is the case when the determinant of the coefficient matrix is non-zero.

    Cramer's Rule provides explicit formulas for the solution of a system of linear equations. It is particularly useful for small systems (like 2×22 \times 22×2 or 3×33 \times 33×3) and can be applied to any square system where the determinant of the coefficient matrix is non-zero.


    System of Linear Equations

    Consider a system of nnn linear equations in nnn unknowns:

    a11x1+a12x2+⋯+a1nxn=b1a21x1+a22x2+⋯+a2nxn=b2⋮an1x1+an2x2+⋯+annxn=bn\begin{aligned} a_{11} x_1 + a_{12} x_2 + \dots + a_{1n} x_n &= b_1 \\ a_{21} x_1 + a_{22} x_2 + \dots + a_{2n} x_n &= b_2 \\ &\vdots \\ a_{n1} x_1 + a_{n2} x_2 + \dots + a_{nn} x_n &= b_n \end{aligned}a11​x1​+a12​x2​+⋯+a1n​xn​a21​x1​+a22​x2​+⋯+a2n​xn​an1​x1​+an2​x2​+⋯+ann​xn​​=b1​=b2​⋮=bn​​

    This system can be written in matrix form as:

    A⋅x=bA \cdot \mathbf{x} = \mathbf{b}A⋅x=b

    Where:

    • A=[aij]A = \begin{bmatrix} a_{ij} \end{bmatrix}A=[aij​​] is the coefficient matrix.
    • x=[x1x2⋮xn]\mathbf{x} = \begin{bmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{bmatrix}x=​x1​x2​⋮xn​​​ is the column vector of unknowns.
    • b=[b1b2⋮bn]\mathbf{b} = \begin{bmatrix} b_1 \\ b_2 \\ \vdots \\ b_n \end{bmatrix}b=​b1​b2​⋮bn​​​ is the column vector of constants (right-hand side of the system).

    Cramer's Rule for a System of Linear Equations

    To solve this system using Cramer's Rule, follow these steps:

    1. Compute the Determinant of the Coefficient Matrix AAA: The determinant of matrix AAA, denoted as det(A)\text{det}(A)det(A), must be non-zero for the system to have a unique solution. If det(A)=0\text{det}(A) = 0det(A)=0, the system either has no solution or infinitely many solutions.

    2. Form Matrices by Replacing Columns of AAA with the Vector b\mathbf{b}b: To find the solution for each variable xix_ixi​, replace the iii-th column of AAA with the vector b\mathbf{b}b. The resulting matrix is denoted as AiA_iAi​, where the iii-th column of AAA is replaced by b\mathbf{b}b.

    3. Compute the Determinants of These New Matrices: For each i=1,2,…,ni = 1, 2, \dots, ni=1,2,…,n, calculate the determinant of the matrix AiA_iAi​, denoted as det(Ai)\text{det}(A_i)det(Ai​).

    4. Solve for the Unknowns: The value of each unknown xix_ixi​ is given by the formula:

      xi=det(Ai)det(A)x_i = \frac{\text{det}(A_i)}{\text{det}(A)}xi​=det(A)det(Ai​)​

      Thus, for each variable, you divide the determinant of the modified matrix AiA_iAi​ by the determinant of the original coefficient matrix AAA.


    Example: Solving a 2x2 System Using Cramer's Rule

    Consider the following system of linear equations:

    2x1+3x2=54x1−x2=3\begin{aligned} 2x_1 + 3x_2 &= 5 \\ 4x_1 - x_2 &= 3 \end{aligned}2x1​+3x2​4x1​−x2​​=5=3​
    1. Write the system in matrix form:
    [234−1]⋅[x1x2]=[53]\begin{bmatrix} 2 & 3 \\ 4 & -1 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 5 \\ 3 \end{bmatrix}[24​3−1​]⋅[x1​x2​​]=[53​]

    Here, A=[234−1]A = \begin{bmatrix} 2 & 3 \\ 4 & -1 \end{bmatrix}A=[24​3−1​] and b=[53]\mathbf{b} = \begin{bmatrix} 5 \\ 3 \end{bmatrix}b=[53​].

    1. Find the determinant of AAA:
    det(A)=(2)(−1)−(3)(4)=−2−12=−14\text{det}(A) = (2)(-1) - (3)(4) = -2 - 12 = -14det(A)=(2)(−1)−(3)(4)=−2−12=−14

    Since det(A)=−14≠0\text{det}(A) = -14 \neq 0det(A)=−14=0, the system has a unique solution.

    1. Find A1A_1A1​ and A2A_2A2​:

      • To find x1x_1x1​, replace the first column of AAA with b\mathbf{b}b:
      A1=[533−1]A_1 = \begin{bmatrix} 5 & 3 \\ 3 & -1 \end{bmatrix}A1​=[53​3−1​]

      The determinant of A1A_1A1​ is:

      det(A1)=(5)(−1)−(3)(3)=−5−9=−14\text{det}(A_1) = (5)(-1) - (3)(3) = -5 - 9 = -14det(A1​)=(5)(−1)−(3)(3)=−5−9=−14
      • To find x2x_2x2​, replace the second column of AAA with b\mathbf{b}b:
      A2=[2543]A_2 = \begin{bmatrix} 2 & 5 \\ 4 & 3 \end{bmatrix}A2​=[24​53​]

      The determinant of A2A_2A2​ is:

      det(A2)=(2)(3)−(5)(4)=6−20=−14\text{det}(A_2) = (2)(3) - (5)(4) = 6 - 20 = -14det(A2​)=(2)(3)−(5)(4)=6−20=−14
    2. Solve for x1x_1x1​ and x2x_2x2​:

      • For x1x_1x1​:
      x1=det(A1)det(A)=−14−14=1x_1 = \frac{\text{det}(A_1)}{\text{det}(A)} = \frac{-14}{-14} = 1x1​=det(A)det(A1​)​=−14−14​=1
      • For x2x_2x2​:
      x2=det(A2)det(A)=−14−14=1x_2 = \frac{\text{det}(A_2)}{\text{det}(A)} = \frac{-14}{-14} = 1x2​=det(A)det(A2​)​=−14−14​=1

    Thus, the solution to the system is x1=1x_1 = 1x1​=1 and x2=1x_2 = 1x2​=1.


    Example: Solving a 3x3 System Using Cramer's Rule

    Consider the system of three linear equations:

    x+2y−z=12x−y+3z=93x+y+2z=8\begin{aligned} x + 2y - z &= 1 \\ 2x - y + 3z &= 9 \\ 3x + y + 2z &= 8 \end{aligned}x+2y−z2x−y+3z3x+y+2z​=1=9=8​
    1. Write the system in matrix form:
    [12−12−13312]⋅[xyz]=[198]\begin{bmatrix} 1 & 2 & -1 \\ 2 & -1 & 3 \\ 3 & 1 & 2 \end{bmatrix} \cdot \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 1 \\ 9 \\ 8 \end{bmatrix}​123​2−11​−132​​⋅​xyz​​=​198​​
    1. Find the determinant of AAA (the coefficient matrix):
    det(A)=1⋅det[−1312]−2⋅det[2332]+(−1)⋅det[2−131]\text{det}(A) = 1 \cdot \text{det}\begin{bmatrix} -1 & 3 \\ 1 & 2 \end{bmatrix} - 2 \cdot \text{det}\begin{bmatrix} 2 & 3 \\ 3 & 2 \end{bmatrix} + (-1) \cdot \text{det}\begin{bmatrix} 2 & -1 \\ 3 & 1 \end{bmatrix}det(A)=1⋅det[−11​32​]−2⋅det[23​32​]+(−1)⋅det[23​−11​]

    Computing the smaller 2×22 \times 22×2 determinants:

    det(A)=1⋅(−1⋅2−3⋅1)−2⋅(2⋅2−3⋅3)−1⋅(2⋅1−(−1)⋅3)\text{det}(A) = 1 \cdot (-1 \cdot 2 - 3 \cdot 1) - 2 \cdot (2 \cdot 2 - 3 \cdot 3) - 1 \cdot (2 \cdot 1 - (-1) \cdot 3)det(A)=1⋅(−1⋅2−3⋅1)−2⋅(2⋅2−3⋅3)−1⋅(2⋅1−(−1)⋅3) det(A)=1⋅(−2−3)−2⋅(4−9)−1⋅(2+3)\text{det}(A) = 1 \cdot (-2 - 3) - 2 \cdot (4 - 9) - 1 \cdot (2 + 3)det(A)=1⋅(−2−3)−2⋅(4−9)−1⋅(2+3) det(A)=1⋅(−5)−2⋅(−5)−1⋅5\text{det}(A) = 1 \cdot (-5) - 2 \cdot (-5) - 1 \cdot 5det(A)=1⋅(−5)−2⋅(−5)−1⋅5 det(A)=−5+10−5=0\text{det}(A) = -5 + 10 - 5 = 0det(A)=−5+10−5=0

    Since det(A)=0\text{det}(A) = 0det(A)=0, this system does not have a unique solution. It has either no solution or infinitely many solutions.


    Summary of Cramer's Rule

    • Cramer's Rule is a method to solve a system of linear equations using determinants.
    • It can only be applied if the determinant of the coefficient matrix is non-zero (det(A)≠0\text{det}(A) \neq 0det(A)=0).
    • For a system Ax=bA \mathbf{x} = \mathbf{b}Ax=b, each unknown xix_ixi​ is given by: xi=det(Ai)det(A)x_i = \frac{\text{det}(A_i)}{\text{det}(A)}xi​=det(A)det(Ai​)​ where AiA_iAi​ is the matrix formed by replacing the iii-th column of AAA with b\mathbf{b}b.
    • It provides a straightforward way to solve small systems but is computationally expensive for larger systems.
    ← Previous topic 23
    Determinant of Matrices: 2x2 and Higher Order
    Next topic 25 →
    Inverse Matrices

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    14mremaining
    2.3kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Math Deficiency - I