I have just started auditing Linear Algebra, and the first thing we learned was how to solve a syste

Lily Deleon

Lily Deleon

Answered question

2022-02-23

I have just started auditing Linear Algebra, and the first thing we learned was how to solve a system of linear equations by reducing it to row echelon form (or reduced row echelon form). I know how to solve a system of linear equations using determinants, and so the using row echelon form seems to be very inefficient and an easy way to make mistakes.
The lecturer seemed to indicate that this will be useful in the future for something else, but a friend who has a PhD in mathematics said it is totally useless.
Is this true? Is this technique totally useless or is there some "higher mathematics" field/ technique where row echelon form will be useful?

Answer & Explanation

Josef Beil

Josef Beil

Beginner2022-02-24Added 12 answers

Go beyond 2 x 2 and row echelon form is the way to solve systems of linear equations. This stuff is not done by hand, but by a computer. Row echelon form is much, much faster than using determinants (Cramer's formula). Ask someone who works in numerical analysis about this. Your friend with the Ph.D. is clearly unaware of the needs of applied math.
In pure math, Cramer's formula is very important for some proofs (and I personally prefer it for conceptual reasons over the algorithmic row echelon business, but then I don't work in numerical analysis). In applied math problems that give rise to systems of linear equations, you typically face equations in hundreds of variables. You are not going to solve that with a determinant. Moreover, if a computer needed to find a determinant of a 100 x 100 matrix it would not use the sum of 100! terms as in the Laplace expansion formula for determinants, but instead apply faster algorithms (the QR algorithm).
Your profile says you are studying economics. At some point when you may need to deal with some system of linear equations in economics and have the computer solve it for you, the method of solution could be treated as a black box in the same way most people drive without knowing how a car really works. But the reality is that if it were not for the algorithm of reducing to row echelon form, the computer couldn't solve systems of hundreds of equations rapidly.
Halle Hansen

Halle Hansen

Beginner2022-02-25Added 5 answers

Gaussian elimination on an n×n matrix takes takes on the order of n3 operations, where an operation is an addition, subtraction, multiplication, or a division. By contrast, computing determinants using the cofactor expansion takes n! operations, which is much, much longer.
For example, consider a 100×100 matrix. Then 1003 is a million, and a million operations can be done by a typical laptop in under a second; but 100! is approximately 1 followed by 158 zeros, which would take even a supercomputer more time than the age of the universe.
In fact, I believe the opposite of your claim is true: if you want to compute determinants, the best way is to to reduce to echelon form.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?