Solving AX=B when A is not invertible

  • Thread starter Thread starter drawar
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving the equation AX = B where the matrix A is not invertible. Participants explore the implications of A's non-invertibility on the uniqueness and existence of solutions.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants discuss setting up the augmented matrix and performing row operations, questioning what happens when A is not invertible. They consider the implications of obtaining zero rows and the concept of rank in relation to the solutions of the system.

Discussion Status

The discussion is active, with participants raising questions about the nature of solutions when A is not invertible. Some have suggested that the presence of zero rows indicates free variables, leading to non-unique solutions, while others inquire about the necessity of understanding linear independence and rank.

Contextual Notes

There is a focus on the conditions under which solutions exist, particularly regarding the vector B and its compatibility with the system defined by A. The conversation reflects uncertainty about the definitions and implications of rank and linear independence in this context.

drawar
Messages
130
Reaction score
0

Homework Statement


This is what I've just been tested and I didn't know what to do :( Sorry I can't remember what the question is since the question paper was collected after the test.

Homework Equations





The Attempt at a Solution


When A is invertible just set up the augmented matrix (A|B) and perform eros until we get the identity matrix on the LHS and X is what's on the RHS. What if A is not invertible?
 
Physics news on Phys.org
What do you think will happen if you set up the augmented matrix and try the same algorithm?
 
voko said:
What do you think will happen if you set up the augmented matrix and try the same algorithm?

The LHS is not the identity matrix and X is not unique?
 
Non-identity does not mean much. What will it really look like? Try this system:

1 2 3 | 1
1 2 3 | 1
4 5 6 | 0
 
Subtracting R1 from R2 and 4R1 from R3:

\left( {\left. {\begin{array}{*{20}{c}}<br /> 1 &amp; 2 &amp; 3 \\<br /> 0 &amp; 0 &amp; 0 \\<br /> 0 &amp; { - 3} &amp; { - 6} \\<br /> \end{array}} \right|\begin{array}{*{20}{c}}<br /> 1 \\<br /> 0 \\<br /> { - 4} \\<br /> \end{array}} \right)You mean it has a zero row?
 
Yes, the matrix will have one or more zero rows. Their number will depend on the rank of the matrix. How would you solve that?

Now there is one important observation. If B was not (1, 1, 0), but, for example, (1, 0, 1), would you be able to solve that?
 
voko said:
Yes, the matrix will have one or more zero rows. Their number will depend on the rank of the matrix. How would you solve that?
Err, what is the rank of a matrix?

Now there is one important observation. If B was not (1, 1, 0), but, for example, (1, 0, 1), would you be able to solve that?
Nope, since there is a row (0 0 0|1).
 
drawar said:
Err, what is the rank of a matrix?

The number of linearly independent rows or columns.
 
voko said:
The number of linearly independent rows or columns.

Thanks but can this problem be solved without knowledge of linear independence and rank of matrix?
 
  • #10
You don't need the rank to solve. Just continue solving the example.
 
  • #11
Oh my goodness! If only I had realized it earlier...
The problem actually asked us to solve the system of linear equations. Since there exists zero rows, there are free variables in the solution and hence the solution is not unique.
 
  • #12
drawar said:
Oh my goodness! If only I had realized it earlier...
The problem actually asked us to solve the system of linear equations. Since there exists zero rows, there are free variables in the solution and hence the solution is not unique.

Only if B is suitable. Otherwise, no solutions.
 
  • #13
If A is not invertible, then there are two possibilities for the equation Ax= B:
1) There are an infinite number of solutions.
2) There is no solution.

The equation Ax= 0 always has x= 0 as solution. If A is not invertible, then there exist an infinite number of solutions. In fact, the set of solutions is a sub-space, called the "null space" of A.

If Ax= B has a solution, and A is invertible, then every solution can be written as that solution plus some vector in the null space of A.
 

Similar threads

Replies
2
Views
2K
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K