# least squared problem and linear algebra

• Jun 2nd 2005, 06:14 AM
Mathman24
least squared problem and linear algebra
I´m presented with with the following problem:

$E(a,b) = \sum_{j=1} ^{N} (y_{j} - (ax_{j} + b)^2)$

Is used to calculate the distance between regular line y = ax + b and a set of points. Its called a least squared problem.

I´m tasked with determing $\frac{\partial E}{\partial a} , \frac{\partial E}{\partial b}$

Next if $\frac{\partial E}{\partial a} = 0 , \frac{\partial E}{\partial b}= 0$

Then this the result in the following set linear system.

More will follow shortly.

Sincerely and Best Regards,

Fred
• Jun 8th 2005, 05:00 AM
hpe
Google "least squares normal equations" and you will find plenty of help.