Nepedia
Back to Discover
Fluent Reader
🔢

Cramer's rule

math Maturity 11-13 Next article →

Math can help us solve puzzles with many missing numbers. Imagine you have several rules that all use the same unknown values. These rules are called a system of linear equations. Sometimes, we need to find the exact value for every unknown number. This is possible if there is only one right answer. Cramer's rule is a special formula used to find these answers. It works by using a math tool called a determinant. A determinant is a single number calculated from a grid of values.

Cramer
Cramer

To use this rule, you follow a specific set of steps. First, you look at your main grid of numbers. This is called the coefficient matrix. Next, you create new grids by swapping columns. You take one column from your main grid and replace it. You replace it with the numbers from the right side of your equations. Then, you calculate the determinant for each of these new grids. Finally, you divide the new determinant by the original one. This simple division gives you the value of one unknown.

Linear subspaces with shading
Linear subspaces with shading

People have been studying these patterns for a long time. A mathematician named Gabriel Cramer published this rule in 1750. He showed how it works for any number of unknowns. However, he might not have been the very first to find it. Another man named Colin Maclaurin published special cases in 1748. It is possible that Maclaurin knew the rule as early as 1729. History shows that many thinkers worked on these same ideas.

Cramer
Cramer

There are important details to remember about how this works. The rule only works if the original determinant is not zero. If the determinant is zero, the system might not have a unique solution. The rule can also work for many different types of numbers. It is not limited to just regular real numbers. It works in any mathematical field where these rules apply. This makes it a very flexible tool for math experts.

While the rule is beautiful, it is not always the best tool. For small puzzles with two or three unknowns, it works well. But it becomes very slow for huge puzzles. If you have many equations, it requires too many calculations. A different method called Gaussian elimination is much faster. Another way to work is the Bareiss algorithm. This is a special version of Gaussian elimination. It can find all the determinants you need in one go.

Cramer
Cramer
401 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Linear subspaces with shading.svg
Linear subspaces with shading.svg
File:Cramer.jpg
Cramer.jpg
More to explore

🔗 What's this?

Concepts mentioned in this article

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.