We may earn an affiliate commission when you visit our partners.

Cramer's Rule

Save
May 1, 2024 4 minute read

Cramer's Rule is a method for solving systems of linear equations with the same number of equations as variables. It is named after Gabriel Cramer, a Swiss mathematician who first published the rule in 1750.

Cramer's Rule Formula

Cramer's Rule states that the solution to a system of linear equations is given by,
Solution of x = (Determinant of numerator)/Determinant of whole matrix

where the determinant of the numerator is the determinant of the matrix formed by replacing the column of coefficients of the variable being solved for with the column of constants, and the determinant of the whole matrix is the determinant of the matrix of coefficients.

Example

For example, consider the following system of equations:
x + 2y = 5
3x + 4y = 8

Using Cramer's Rule, we can solve for x as follows:
Determinant of numerator =
|5 2|
|8 4| = 20 - 16 = 4
Determinant of whole matrix =
|1 2|
|3 4| = 4 - 6 = -2
So, x = 4/-2 = -2.

Similarly, we can solve for y as follows:
Determinant of numerator =
|1 5|
|3 8| = 8 - 15 = -7
Determinant of whole matrix =
|1 2|
|3 4| = 4 - 6 = -2
So, y = -7/-2 = 3.5.

Applications

Cramer's Rule can be used to solve systems of linear equations in a variety of applications, including:

  • Engineering: Solving systems of equations is essential in engineering for designing structures, analyzing circuits, and solving other complex problems.
  • Physics: Cramer's Rule can be used to solve systems of equations in physics for problems involving forces, motion, and energy.
  • Economics: Cramer's Rule is used in economics to solve systems of equations for problems involving supply and demand, pricing, and market equilibrium.
  • Computer Science: Cramer's Rule is used in computer science for solving systems of equations in linear algebra, computer graphics, and other applications.

Benefits of Learning Cramer's Rule

Path to Cramer's Rule

Take the first step.
We've curated two courses to help you on your path to Cramer's Rule. Use these to develop your skills, build background knowledge, and put what you learn to practice.
Sorted from most relevant to least relevant:

Share

Help others find this page about Cramer's Rule: by sharing it with your friends and followers:

Reading list

We've selected five books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Cramer's Rule.
Table of Contents
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser