Careers360 Logo
Cramer’s Rule: Definition, Properties, Formula and Examples

Cramer’s Rule: Definition, Properties, Formula and Examples

Edited By Komal Miglani | Updated on Sep 23, 2024 07:19 PM IST

In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column with the column vector of the right sides of the equations. In real life, we use Cramer's Rule to solve the system of linear equations which helps us to solve age-related problems and time-related problems.

This Story also Contains
  1. System of Linear Equation
  2. Methods to solve Systems of Linear Equations
  3. Solved Examples Based on Cramer’s Rule

In this article, we will cover the concept of Cramer's Rule. This category falls under the broader category of Matrices, which is a crucial Chapter in class 12 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination(JEE Main) and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. Questions based on this topic have been asked frequently in JEE Mains

Background wave

System of Linear Equation

A system of linear equations are group of n linear equations containing n number of variables.

1. System of 2 Linear Equations:

It is a pair of linear equations in two variables. It is usually of the form

a1x+b1y+c1=0

a2x+b2y+c2=0

Finding a solution for this system means finding the values of x and y that satisfy both equations.

2. System of 3 Linear Equations:

It is a group of 3 linear equations in three variables. It is usually of the form

a1x+b1y++c1z+d1=0

a2x+b2y++c2z+d2=0

a3x+b3y++c3z+d3=0

Finding a solution for this system means finding the values of x,y, and z that satisfy all three equations.

The system of equations is broadly classified into two types:

Methods to solve Systems of Linear Equations

We use the following method to solve a System of linear equations in three variables

  • Cramers Rule
  • Inverse method
  • Gaussian elimination method
  • Gaussian Jordan method
  • LU Decomposition method

Cramer’s law

For the system of equations in two variables:

Let a1x+b1y=c1 and a2x+b2y=c2, where

a1a2b1 b2


On solving this equation by cross multiplication, we get

xb2c1b1c2=ya1c2a2c1=1a1b2a2b1 or x|c1b1c2b2|=y|a1c1a2c2|=1|a1b1a2b2| or x=|c1b1c2b2||a1b1a2b2|,y=|a1c1a2c2||a1b1a2b2|

We can observe that the first column in the numerator of x is of constants and 2nd column in the numerator of y is of constants, and the denominator is of the coefficient of variables.

We can follow this analogy for the system of equations of 3 variables where the third column in the numerator of the value of z will be constant and the denominator will be formed by the value of coefficients of the variables.

For the system of equations in three variables:

Let us consider the system of equations

a1x+b1y+c1z=d1a2x+b2y+c2z=d2a3x+b3y+c3z=d3

then Δ, which will be the determinant of the coefficient of variables, will be Δ=|a1b1c1a2b2c2a3b3c3|
Δ1 numerator of x is :
Δ1=|d1b1c1d2b2c2d3b3c3|
Similarly Δ2=|a1d1c1a2d2c2a3d3c3| and Δ3=|a1b1d1a2b2d2a3b3d3|

i) If Δ0, then the system of equations has a unique finite solution and so equations are consistent, and solutions are

x=Δ1Δ,y=Δ2Δ,z=Δ3Δ

ii) If Δ=0 , and any of

Δ10orΔ20orΔ30

Then the system of equations is inconsistent and hence no solution exists.

iii) If all Δ=Δ1=Δ2=Δ3=0 then

The system of equations is consistent and it has an infinite number of solutions (except when all three equations represent parallel planes, in which case there is no solution)

Recommended Video :

Solved Examples Based on Cramer’s Rule

Example 1: If the system of linear equations

2x+yz=3xyz=α3x+3y+βz=3 has infinitely many solution, then α+βαβ is equal to_________. [JEE MAINS 2021]

Solution:

For infinitely many solutions :

Δ=0=Δ1=Δ2=Δ3

Δ=0|21111133β|=0
2(β+3)1(β+3)1(3+3)=0

3β3=0β=1

Δ1=0|311α11331|=0

3(1+3)1(α+3)1(3α+3)=0

12+α33α3=0

2α=6α=3

α=3,β=1

α+βαβ31+3=5

Example 2: Two pairs of dice are thrown. The number on them is taken as λandμ, and a system of linear equations

x+y+z=5

x+2y+3z=μ

x+3y+λz=1

is constructed, If p is the probability that the system has a unique solution and q is the probability that the system has no solution, then : [JEE MAINS 2021]

Solution:

For unique solution Δ0

|11112313λ|0

λ5
p=56

For no solution

Δ=0λ=5and

Δ10|11512μ131|0μ3
q=1656=536

Example 3: If the following system of linear equations

2x+y+z=5xy+z=3x+y+az=b
has no solution, then : [JEE MAINS 2021]

Solution

No solution Δ=0 and at least one of

Δ1,Δ2,Δ30
Δ=|21111111a|=0

2a+1+12a=0a=13
Δ3=|21511311b|0
2b+3+5+56b0
b73

Example 5: If for some αandβ in R, the intersection of the following three planes

x+4y2z=1

x+7y5z=β

x+5y+αz=5

is a line in R3 , then α+β is equal to : [JEE MAINS 2020]

Solution

Δ=0|14217515α|=0(7α+25)(4α+10)+(20+14)=03α+9=0α=3

 Also D3=0|14117β155|=01(355β)(15)+1(4β7)=0β=13

α+β=10


Frequently Asked Questions (FAQs)

1. What is a consistent Equation?

A system of equations is said to be consistent if it has at least one solution. Let the given system of equations is 

$\\mathrm{a_1x+b_1y=c_1}\\mathrm{a_2x+b_2y=c_2}\\\mathrm{\text{It has exactly one solution if}}\\\mathrm{\frac{a_1}{a_2}\neq \frac{b_1}{b_2}}$


2. What is Cramer’s Rule?

Cramer’s Rule is the method to find the solution of System of linear equations with three variables.

3. If Δ0 ,then what are the values of the system of equations?

If Δ0, then the system of equations has a unique finite solution and so equations are consistent, and solutions are 

$\\mathrm{x=\frac{\Delta_1}{\Delta}, y=\frac{\Delta_2}{\Delta}, z=\frac{\Delta_3}{\Delta}}$

4. If all Δ=Δ1=Δ2=Δ3=0 then what are the characteristics of the equation?

If all Δ=Δ1=Δ2=Δ3=0 then

The system of equations is consistent and it has an infinite number of solutions (except when all three equations represent parallel planes, in which case there is no solution).

5. If |A|=0 and (adjA)B0, then what is the characteristic of the system of equations?

If |A|=0 and (adjA)B0, then the system of equations is inconsistent and has no solution.

Articles

Back to top