Definition

Let be a subspace of

Question

  • Does there always exist a minimum?
  • Is unique?

One-dimensional case

is a one dimensional subspace in This means: and with We know Hypothesis: with is orthogonal to (See proof below)

Lemma 5.2.2

(see the proof below)

Proof: is orthogonal to

Proof: Lemma 5.2.2 (recall that )

If and , then

General case

Consider Let Let

Lemma 5.2.3

The projection of on is a vector with

  • Proof

Lemma 5.2.4

Let then is invertible if and only if columns of are linear independent

Proof: invertible columns of are linear independent

Link to original
Since is invertible, according to Lemma 5.2.3,

Theorem 5.2.5

Remark

Least Square (Data Fitting)

When is minimal (OR we can write ) is the least square solution

Application: Linear Regression

Data: where

We want to find Solution:

We can extend this method to cubic, quadratic…