Least Square Minimisation and Partial Differentiation

Click For Summary

Homework Help Overview

The discussion revolves around understanding the derivation of equations related to least squares minimization and partial differentiation, as presented in lecture notes. The original poster is attempting to navigate through a specific starting equation and the conditions that need to be satisfied to reach a desired outcome.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the application of the chain rule in partial differentiation and the implications of constants in the context of summation. Questions arise regarding the simplification of terms and the process of differentiation.

Discussion Status

Some participants have provided insights into the differentiation process and the handling of constants within summations. There is an acknowledgment of the complexity involved in the calculations, and one participant expresses a desire for more efficient methods to approach similar problems in the future.

Contextual Notes

The original poster references specific equations and conditions from their lecture notes, which are not fully detailed in the discussion. The focus remains on the understanding of the mathematical principles rather than the application of specific numerical values or solutions.

skaboy607
Messages
103
Reaction score
0

Homework Statement



I am trying to understand how some equations are obtained in some lecture notes I have.

This is my starting equation-http://i423.photobucket.com/albums/pp315/skaboy607/StartEquation.png

And I need to satisfy these conditions

http://i423.photobucket.com/albums/pp315/skaboy607/Conditions.png

And somehow get to here

http://i423.photobucket.com/albums/pp315/skaboy607/WhatIshouldendupwith.png

Homework Equations



all above

The Attempt at a Solution



I've stared at it for a while now and just don't get it. Wouldn't the square come down in front of the brackets? and surely the other constants would dissapear?

any help most appreciated..

Thanks
 
Last edited by a moderator:
Physics news on Phys.org
Looking at only one term of the summation, if F=[R1*a - R2*b + R3 - c]^2 (here a, b, and c are constants), then partial of F with respect to R1 is, by the chain rule,

2[R1*a - R2*b + R3 - c]^1 * a,

where a is the derivative of R1*a - R2*b + R3 - c with respect to R1.

But your 2 "disappears" when you set this equal to 0 and divide by 2.

"a" would disappear too, if there were no summation, but in this case "a" is really a_i, so it can't be brought outside of the summation over i.
 
Nice one, thanks very much.
 
Hi, I've done this now. But I have just a quick question about it? The way I did it was to multiply the brackets then do partial differentiation with respect to R1, then divide 2 and take out cos(theta) as a common factor. This was quite time consuming, is there something i don't know about that will enable me to look at an equation like that, and jump to final stage like you did so I can miss out the bits in the middle?

Thanks
 

Similar threads

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