Least Square Solution(zeros in one row)

  • Thread starter Thread starter rey242
  • Start date Start date
  • Tags Tags
    Row Square
Click For Summary

Homework Help Overview

The problem involves finding a least squares solution to the equation Ax=C, where A is a matrix with a row of zeros, and C is a vector. The context is linear algebra, specifically focusing on concepts related to least squares solutions and residual errors.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to perform RREF on the augmented matrix but expresses uncertainty about the implications of a row of zeros in the result. Some participants question the rank of matrix A and its implications for the solution.

Discussion Status

The discussion is ongoing, with participants exploring the implications of the row of zeros and the rank of matrix A. Some guidance has been offered regarding examining specific equations within the system.

Contextual Notes

There is mention of the column space of A being 3x2, suggesting a potential rank deficiency. The original poster is also uncertain about how to proceed given the infinite solutions indicated by the RREF result.

rey242
Messages
40
Reaction score
0

Homework Statement


Give a least squares solution to Ax=C and give the residual error

A=
-1, 1, 2;
1, -1, 0;
1, -1, 2;

C=
-1;
-1;
2;


Homework Equations



Residual Error= |Ax-C|

The Attempt at a Solution


I have done an RREF on the Transpose of A times A augmented with the Transpose of A time C and got this:
1, -1, 0, 2/3;
0, 0, 1, 1/4;
0, 0, 0, 0;

I'm not sure what I should do about the bottom row... I know that SHOULD be always an LSQ but it doesn't seem to come out. I know that bottom row indicates an infinite amount of solutions but not sure how to proceed next. Please help
 
Physics news on Phys.org
Does anyone have any clue?

If it helps, I tried to set the third variable as a number and first and second as equations in terms of each other (i.e 1st in terms of 2nd).
 
I presume this is a linear algebra class and you've learned about rank and rank deficiency. Is A full rank?
 
not in precise terms...I know the columm space of A is 3x2. I looked up rank in wikipedia...
 
I suggest you look at the 2nd equation. What does that tell you? Then, look at the 1st equation. It may help to write them out.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K