We can use math to solve puzzles. 
Math can help us solve hard puzzles. 
Math can help us solve puzzles with many missing numbers. 
You can change a matrix using three simple steps. First, you can swap two rows. Second, you can multiply a row by a number. Third, you can add one row to another. These steps help you reach a special shape called echelon form. In this form, many numbers at the bottom become zero. This makes the puzzle much easier to solve.
Some people stop at echelon form. Others keep going to find the final answer. This second way is called Gauss-Jordan elimination. It turns the grid into a very simple form. This method helps us find the inverse of a matrix. An inverse is like a math tool that undoes a change. This math is very old. It appears in ancient Chinese books from long ago. It was also used by Isaac Newton. Today, computers use these steps to solve big problems fast.
Imagine you have a big puzzle with many missing numbers. These numbers are part of a group of equations that all work together. To solve them, mathematicians use a clever tool called Gaussian elimination. 

To use this method, you perform three specific steps on the rows. First, you can swap the places of two rows. Second, you can multiply a whole row by a number that is not zero. Third, you can add a multiple of one row to another row. 
This math has a very long and interesting history. It appears in an ancient Chinese book called The Nine Chapters on the Mathematical Art. This text was written as early as 150 BC. Later, the famous Isaac Newton used these ideas in his own notes. He wrote about solving these equations around 1669. By the end of the 1700s, this method was a standard lesson in algebra books. 
There are different ways to finish the work. Some people stop once they reach the echelon form. This first part is often called forward elimination. Others keep going to reach a form called reduced row echelon form. This second part is known as back substitution. 
Gaussian elimination is used for many big jobs in math today. It helps computers find the inverse of a matrix. An inverse is a special matrix that can undo a change. It can also be used to calculate determinants very quickly. 
Gaussian elimination is a fundamental algorithm used to solve systems of linear equations. It works by performing a sequence of operations on a matrix of coefficients. A matrix is a rectangular array of numbers organized into rows and columns. This method is essential because it provides a structured way to find unknown values. Beyond solving equations, it is used to calculate the rank of a matrix. It can also determine the determinant of a square matrix. Additionally, it helps find the inverse of an invertible matrix. 
The process relies on three specific types of elementary row operations. The first operation is interchanging two rows within the matrix. The second operation involves multiplying a single row by a non-zero scalar, which is just a constant number. The third operation is adding a scalar multiple of one row to another row. These operations are powerful because they do not change the solution set of the system. They simply reorganize the information into a more readable format. 
There are two distinct stages in the full algorithm. The first stage is called forward elimination. This part reduces the matrix into a specific state known as row echelon form. In this form, the matrix has a triangular shape where the lower left-hand corner is filled with zeros. This stage allows mathematicians to see if a system has no solution, one unique solution, or infinitely many solutions. The second stage is called back substitution. This process continues the operations until the matrix reaches reduced row echelon form. 
A matrix in row echelon form follows strict rules regarding its leading entries. A leading entry, or pivot, is the first non-zero number in a row. In echelon form, each leading entry must be to the right of the leading entry in the row above it. All rows consisting entirely of zeros must be placed at the bottom. To reach reduced row echelon form, further steps are required. Every leading entry must be equal to 1. Furthermore, every column containing a leading 1 must have zeros in all other positions. This final reduced form is unique for any given matrix. 
The history of this method spans many centuries and cultures. It appears in the ancient Chinese text, The Nine Chapters on the Mathematical Art. This book was written as early as 150 BC, with some parts dated to 179 AD. The method was likely developed independently across many Eurasian cultures. In Europe, the procedure was known by the late Renaissance in the 1550s. Isaac Newton also recorded notes on solving simultaneous equations between 1669 and 1670. His notes were eventually published as Arithmetica Universalis in 1707. 
Although named after Carl Friedrich Gauss, the name is somewhat a historical accident. Gauss devised a specific notation for symmetric elimination in 1810. This notation was used by professional hand computers for least-squares problems. The term Gaussian elimination only became standard in the 1950s due to historical confusion. Some mathematicians distinguish between Gaussian elimination and Gauss-Jordan elimination. Gauss-Jordan refers specifically to the process that reaches the reduced row echelon form. This distinction honors Wilhelm Jordan, who described the variation in 1888. 
This algorithm is highly significant for modern computational mathematics. It is much more efficient for computers than other methods like the Leibniz formula. For a matrix of size 20, other methods become impractical for even the fastest computers. Gaussian elimination can also be used to find the inverse of a matrix. To do this, an identity matrix is augmented to the right of the original matrix. By reducing this augmented matrix, the inverse appears on the right side. This makes it a vital tool for complex mathematical systems. 
🖼️ Images & Media (1)
More to explore
✨ What else?
Related topics you might enjoy
🔬 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.