Least squares approximation

florence

New member
Joined
Sep 4, 2020
Messages
2
1. Let x, y ∈ Rn be two non-zero vectors. The least squares approximation of y in span {x} is the vector cx, with c ∈ R, that minimises the expression ∥y − cx∥^2.
  1. Find an expression for the minimiser cˆ in terms of x and y.
  2. Express the approximation error ∥y − cˆx∥ in terms of y and the angle θ between x and y. As
    always, simplify your answer as far as possible.
[work attached in response #3 ]
Can somebody please help me out on this question?
 
Last edited by a moderator:
1. Let x, y ∈ Rn be two non-zero vectors. The least squares approximation of y in span {x} is the vector cx, with c ∈ R, that minimises the expression ∥y − cx∥^2.
  1. Find an expression for the minimiser cˆ in terms of x and y.
  2. Express the approximation error ∥y − cˆx∥ in terms of y and the angle θ between x and y. As
    always, simplify your answer as far as possible.

Can somebody please help me out on this question?
Please show us what you have tried and exactly where you are stuck.

Please follow the rules of posting in this forum, as enunciated at:


Please share your work/thoughts about this problem.
 
1. Let x, y ∈ Rn be two non-zero vectors. The least squares approximation of y in span {x} is the vector cx, with c ∈ R, that minimises the expression ∥y − cx∥^2.
  1. Find an expression for the minimiser cˆ in terms of x and y.
  2. Express the approximation error ∥y − cˆx∥ in terms of y and the angle θ between x and y. As
    always, simplify your answer as far as possible.
This is my attempt but I don’t feel confident about the answer
 

Attachments

  • 6279B9DC-E14E-4FFC-86DC-5CB26852CF64.jpeg
    6279B9DC-E14E-4FFC-86DC-5CB26852CF64.jpeg
    1 MB · Views: 3
Last edited by a moderator:
Top