Existence and Uniqueness of a Linear Least Squares Solution

Click For Summary
The discussion focuses on the existence and uniqueness of solutions for the linear least squares problem, particularly in the context of preparing for a numerical analysis exam. The key equation presented is y ≈ xB, where the goal is to minimize the norm of the residuals, expressed as ||y - xB||. The approach involves setting up the residuals and differentiating to find conditions for minimization. The conversation highlights the importance of deriving the sum of squares to characterize the error and optimizing it with respect to the parameters a and b. Overall, the thread emphasizes understanding the mathematical foundations and methods for solving linear least squares problems.
scotchtapeman
Messages
1
Reaction score
0
I'm studying for my numerical analysis final on tuesday, and I know this is going to be one of the problems, so any help is greatly appreciated.

Homework Statement


State and prove existence and uniqueness for the solution of the linear least squares problem.

Homework Equations


y \approx x B
x' x B = x' y

The Attempt at a Solution


linear least squares finds B such that \| y - x B \| is minimized.

Since this is linear least squares, y = B_0 + B_1 x

r_i = y_i - (B_0 + B_1 x_i)
For 1 \le i \le n, \delta r_i / \delta x_i = 0
Then (\delta y_i / \delta x_i) - B_1 = 0

I missed this lecture and I can't find much help online, so I could be headed in the wrong direction. Thanks!
 
Last edited:
Physics news on Phys.org
so say you want to find a,b such that it minimises the least square error in y = a + bx

start with the sum of the squares, to characterise the error for given a and b, then minimise w.r.t. a,b and you should be most of the way there
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

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