MATH 417 Lecture 23

From Notes
Jump to navigation Jump to search

« previous | Tuesday, April 15, 2014 | next »


Conjugate Gradient

Given a system

The solution to is given by

Given (for sequence ), find using in the RHS.

We have , we have .

We want , where .

Therefore

If , then .

Hence the equation for in our matrix above is


Quiz

Find LU decomposition for :


Method 1

and


and


Method 2

If we wanted for , we multiply row 2 by , row 3 by , and row 4 by along the way. (this is where I made my mistake)


Traces back to Gauss

Objects orbit in an ellipse. An ellipse has two parameters. Suppose we have a bunch of measurements that are points close to an elliptical trajectory. We want to find an ellipse that best fits the data we have.


Given for , find such that

Let's look at the error: . We want to minimize .

Does such a minimum exist?

is a sum of all nonnegative terms. The minimum possible value of each term is 0, so if this is the case, the line is a perfect fit.

Let . Then the minimum of occurs when :


Break apart the components of :

Thus we have a system of the form:


The matrix of sums is symmetric and positive definite. Observe that for the overdefined system , we have

and

Hence

The resulting system is called the normal equations.


Now this method works for any parameterized equation.