What is wrong with my matrix inversion?

  • Thread starter Thread starter k_squared
  • Start date Start date
  • Tags Tags
    Inversion Matrix
Click For Summary

Homework Help Overview

The original poster attempts to find the inverse of a given 3x3 matrix, expressing uncertainty about their approach and results.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss different methods for matrix inversion, including row reduction and augmented matrices. Some question the original poster's method and suggest alternatives, while others point out specific computational errors.

Discussion Status

The discussion includes various perspectives on matrix inversion techniques. Participants have offered guidance on alternative methods and highlighted errors in calculations, but there is no explicit consensus on the best approach.

Contextual Notes

There are indications of differing methods learned in class, and some participants express concerns about the potential for errors in the original poster's approach. The discussion reflects a mix of suggestions and critiques without resolving the underlying issues.

k_squared
Messages
62
Reaction score
0

Homework Statement


Find the inverse of the matrix:

1 1 -1
2 -1 1
1 1 2

Homework Equations


One must be aware of the identity matrix, as well as how add one row to another with matrix multiplication, for example, the matrix

1 0 0
k 1 0
0 0 1

would add k times the first row to the second row.

The Attempt at a Solution



xFZKqU9.jpg


Which must be wrong, sadly enough.
 
Physics news on Phys.org
After adding -5/2 times the third to the second (step 5), the number in the middle should be 1-5/2, but you wrote -3/5.
 
k_squared said:

Homework Statement


Find the inverse of the matrix:

1 1 -1
2 -1 1
1 1 2

Homework Equations


One must be aware of the identity matrix, as well as how add one row to another with matrix multiplication, for example, the matrix

1 0 0
k 1 0
0 0 1

would add k times the first row to the second row.

The Attempt at a Solution



xFZKqU9.jpg


Which must be wrong, sadly enough.
You're not doing it the way I learned to do this. How I learned was to set up an augmented matrix with the matrix to invert on the left, and the identity matrix on the right, like so:
$$\begin{bmatrix} 1 &1 & -1 &| & 1 & 0 & 0\\
2 & -1 & 1 & | & 0 & 1 & 0\\
1 & 1 & 2 & | & 0 & 0 & 1 \end{bmatrix}$$
Now completely row-reduce the matrix on the left to get it to the identity matrix, and your inverse will be on the right. When I did it, there were no "half" entries. Most of the entries had denominators of 3.
 
First of is this the method you learned in class? Because this seems prone to errors.
You could try Gauss-Jordan Elimination it is essentially the same, but you have some "book keeping" abilities.

It is similar to Gaussian Elimination for systems of linear equations.

[Edit] Too late :)
 
Just search for simple linear combinations.
Math is about using your brains.
If your method does not work invent a better one or study.
 
my2cts said:
Just search for simple linear combinations.
Math is about using your brains.
If your method does not work invent a better one or study.
It's true that OP would have benefited from using some simpler combinations.

However, the method works perfectly well. Fredrik has pointed out where a computational error occurred and Mark has suggest a method with easier "book keeping".
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K