Math, asked by vanshuparadhi, 1 day ago

What is the cramer's rule​

Answers

Answered by Aagnick16
10

Answer:

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. Cramer's rule can also be numerically unstable even for 2×2 systems.

Answered by ItzMuskansoni87xd
3

Answer:

5In linear algebra, Cramer’s rule is a specific formula used for solving a system of linear equations containing as many equations as unknowns, efficient whenever the system of equations has a unique solution. This rule is named after Gabriel Cramer (1704–1752), who published the rule for an arbitrary number of unknowns in 1750. This is the most commonly used formula for getting the solution for the given system of equations formed through matrices. The solution obtained using Cramer’s rule will be in terms of the determinants of the coefficient matrix and matrices obtained from it by replacing one column with the column vector of the right-hand sides of the equations.

Cramer’s Rule Definition

Cramer’s rule is one of the important methods applied to solve a system of equations. In this method, the values of the variables in the system are to be calculated using the determinants of matrices. Thus, Cramer’s rule is also known as the determinant method.

Read more:

Consistent and Inconsistent system

Linear equations in Two variables

Solving linear equations

Cramer’s Rule Formula

Consider a system of linear equations with n variables x₁, x₂, x₃, …, xₙ written in the matrix form AX = B.

Here,

A = Coefficient matrix (must be a square matrix)

X = Column matrix with variables

B = Column matrix with the constants (which are on the right side of the equations)

Now, we have to find the determinants as:

D = |A|, Dx1, Dx2, Dx3,…, Dxn

Here, Dxi for i = 1, 2, 3,…, n is the same determinant as D such that the column is replaced with B.

Thus,

x1 = Dx1/D; x2 = Dx2/D; x3 = Dx3/D; ….; xn = Dxn/D {where D is not equal to 0}

Also, try: Cramer’s Rule Calculator

Let’s have a look at the formulas of Cramer’s rule for 2×2 and 3×3 matrices.

Cramer’s Rule 2×2

Cramer’s rule for the 2×2 matrix is applied to solve the system of equations in two variables.

Let us consider two linear equations in two variables.

a1x + b1y = c1

a2x + b2y = c2

Let us write these two equations in the form of AX = B.

Here,

Coefficient matrix =

Variable matrix =

Constant matrix =

And

Therefore,

x = Dx/D

y = Dy/D

Learn: Determinant of a Matrix

Cramer’s Rule Example – 2×2

Question:

Solve the following system of equations using Cramer’s rule:

2x – y = 5

x + y = 4

Solution:

Given,

2x – y = 5

x + y = 4

Let us write these equations in the form AX = B.

Here,

Now,

D = |A|

= 2(1) – (-1)1

= 2 + 1

= 3 ≠ 0

So, the given system of equations has a unique solution.

= 5(1) – (-1)(4)

= 5 + 4

= 9

= 2(4) – 5(1)

= 8 – 5

= 3

Therefore,

x = Dx/D = 9/3 = 3

y = Dy/D = 3/3 = 1

Cramer’s Rule 3×3

To find the Cramer’s rule formula for a 3×3 matrix, we need to consider the system of 3 equations with three variables.

Consider:

a1x + b1y + c1z = d1

a2x + b2y + c2z = d2

a3x + b3y + c3z = d3

Let us write these equations in the form AX = B.

Now,

And

Cramer's rule 3x3

Therefore, x = Dx/D, y = Dy/D, z = Dz/D; D ≠ 0

Go through the example given below to learn how to solve Cramer’s rule for the 3×3 matrix.

Cramer’s Rule Example – 3×3

Question:

Solve the following system of equations using Cramer’s rule:

x + y + z =6

y + 3z = 11

x + z =2y or x – 2y + z = 0

Solution:

Given,

x + y + z =6

y + 3z = 11

x + z =2y or x – 2y + z = 0

Let us write these equations in the form AX = B.

Now,

D ≠ 0 so the given system of equations has a unique solution.

Also,

Thus,

x = Dx/D = 9/9 = 1

y = Dy/D = 18/9 = 2

z = Dz/D = 27/9 = 3

Cramer’s Rule Conditions

There are certain conditions to applying Cramer’s rule for solving the given system of equations. Some of them include the following:

Cramer’s rule fails for the system of equations in which D = 0 since for finding the values of unknowns, D must be in the denominator and hence these values go undefined.

Also, when D = 0, there will be two possibilities for which:

The system may have no solution.

The system may have an infinite number of solutions.

From this, we can say that at least one of the numerator determinants is a 0 (that means infinitely many solutions) or none of the numerator determinants is 0 (that means no solution)

If D ≠ 0, we say that the system AX = B has a unique solution.

Thus, Cramer’s rule helps us determine whether the given system has “no solution” or “infinite number of solutions”, using the determinants we calculate to apply the rule.

Similar questions