Least Squares Solutions for Inconsistent Linear Systems

Click For Summary

Homework Help Overview

The discussion revolves around a linear algebra problem involving an 8x5 matrix A of rank 3 and a nonzero vector b in the nullspace of A transpose. The original poster seeks to prove the inconsistency of the system Ax=b and to determine the number of least squares solutions for the system.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • The original poster attempts to prove the inconsistency of Ax=b by examining the relationship between b and the column space of A. They also explore the implications of the rank of A on the solutions to the normal equations ATAx=ATb.
  • Some participants question the nature of least squares solutions and whether multiple vectors can yield the same projection of b onto the range of A.
  • Others raise points about the rank of the product of matrices and its implications for the solutions of the system.

Discussion Status

The discussion is active, with participants exploring various interpretations of the problem and clarifying concepts related to least squares solutions and matrix rank. Some guidance has been offered regarding the nature of the subspace involved, though there is no explicit consensus on the number of least squares solutions.

Contextual Notes

Participants are navigating the complexities of linear algebra concepts, including the implications of matrix rank and the properties of projections in relation to least squares solutions. There is an acknowledgment of potential missing information and the challenge of visualizing the relationships between vectors in the context of the problem.

StandardBasis
Messages
22
Reaction score
0

Homework Statement


Hi there! First time user, so I hope I do this right. The question is: Let A be an 8x5 matrix of rank 3, and let b be a nonzero vector in N(AT). First, prove that the system Ax=b must be inconsistent. Then, how many least squares solutions will the system have?


Homework Equations





The Attempt at a Solution


I got the first part fine (I think...). I assume that Ax=b is consistent, and look for a contradiction. There is one: for Ax=b to be consistent, b must be in the column space of A. But we are told b is in the nullspace of AT, which is the orthogonal complement of R(A). So b isn't actually in R(A), and thus Ax=b is inconsistent by the fact that b isn't a linear combination of A's columns.

Now for the second part, I know I need to find all solutions to ATAx=ATb. In class we proved that if A is mxn with rank n, then there is a unique solution to the normal equations. Obviously rank is not n here, so I'm not sure what to do. I'm used to systems having either 0, 1, or infinitely many solutions... so I'm tempted to say infinitely many? But I can't justify that.
 
Physics news on Phys.org
ATA will be 5x5 rank 3, yes? And you want all solutions of ATAx=0. Won't that be a 2-D subspace?
 
But I don't want to find the solutions to ATAx=0, I want to find solutions to ATAx=ATb.

Second, unless I misunderstand what it means to find a least squares solution, I thought I'm looking for the vector(s) that produce a projection of b (which isn't in the range aka column space of A) onto the range of A. If 2 vectors did do this, wouldn't linear combos of them also do it?
 
StandardBasis said:
But I don't want to find the solutions to ATAx=0, I want to find solutions to ATAx=ATb.
You wrote that b is in the nullspace of AT, so isn't ATb zero?
Second, unless I misunderstand what it means to find a least squares solution, I thought I'm looking for the vector(s) that produce a projection of b (which isn't in the range aka column space of A) onto the range of A. If 2 vectors did do this, wouldn't linear combos of them also do it?
I don't understand how a vector can 'produce' a projection of another vector. But we agree you're looking for a subspace.
 
Ah, yes, my mistake for forgetting that.

Probably not the best choice of words on my part, to say produce. I meant that in the sense that if z is the particular least squares solution we're talking about, the p=Az where p is the 'closest' vector to b. So I chose produce because not z itself, but the product of A and z gives the vector we are searching for.

So I now understand we're looking for a 2-D subspace. But why would that mean there are 2 least squares solutions, and not infinitely many? After all, there are infinitely many solutions to the normal equations (the entire 2-D subspace in question!)
 
StandardBasis said:
So I now understand we're looking for a 2-D subspace. But why would that mean there are 2 least squares solutions, and not infinitely many?
It would indeed mean infinitely many. Who's saying there are two?
 
Apologies, I thought your reference to a 2d subspace meant that the two basis vectors were the solutions.

Is there a way to visualize how infinitely many vectors can all lead to the same "closest vector" to b?
 
StandardBasis said:
Is there a way to visualize how infinitely many vectors can all lead to the same "closest vector" to b?
Yes, I was wondering about that. Clearly it is what will happen if ATA is singular, so need to construct an example like that. Suppose some column is all zeroes. That means we have no information about that dimension, so we can vary the solution in that dimension without changing the sum of squares.
 
Wait, one more question: how did I know that the product of A transpose and A has rank 3?
 
  • #10
StandardBasis said:
Wait, one more question: how did I know that the product of A transpose and A has rank 3?
I was rather hoping that was a standard result you could appeal to. It's 30 years since I did any of this stuff.
 
  • #11
Well, I guess I know that since A has rank 3, then transpose of A also has rank 3. The rank of a product is less than or equal to the minimum of the rank of the two multiplied matrices. So the rank is at least less than or equal to 3; but in any case, the product is not a matrix of full rank.

Is that enough? Perhaps someone with more immediate experience can provide a hint?
 
  • #12
StandardBasis said:
Well, I guess I know that since A has rank 3, then transpose of A also has rank 3. The rank of a product is less than or equal to the minimum of the rank of the two multiplied matrices. So the rank is at least less than or equal to 3; but in any case, the product is not a matrix of full rank.
Yes, that suffices for this question. More generally, I would think ATA would have the same rank as A, but I don't see how to prove it easily.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
Replies
3
Views
2K
Replies
15
Views
2K