Calculus of Variation Questions

Click For Summary

Homework Help Overview

The discussion revolves around the calculus of variations, specifically focusing on the differentiation of a function of multiple variables, including a function defined in terms of y, y', and x. The original poster expresses confusion regarding the computation of derivatives and the treatment of implicit dependencies in partial derivatives.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand the relationship between y, y', and their derivatives, questioning the treatment of implicit dependencies when calculating partial derivatives. Some participants clarify that only explicit dependencies should be considered in certain contexts.

Discussion Status

Participants are exploring different interpretations of the differentiation process, particularly regarding the computation of partial derivatives. Some guidance has been provided regarding the simplification of expressions and alternative methods for differentiation, but no consensus has been reached on the overall approach.

Contextual Notes

The original poster mentions feeling overwhelmed by the material and seeks clarification on specific points raised in lectures. There is an indication of missing information regarding the professor's expectations and the level of detail required in the problem-solving process.

MethAngel
Messages
3
Reaction score
0
Hey guys. In my mechanics course, we have began discussing calculus of variations, and I don't really understand what's going on, entirely. Any help understanding would be great. Our professor gave us an easy problem, but I feel like I am just missing something.

Homework Statement


Consider the function f(y,y',x)=3yy' + x^2 where y(x)=2x^2-3x+1. Compute df/dx and ∂f/∂x


Homework Equations


So our text says df/dx=df{y,y',x}/dx= (∂f/∂y)(dy/dx) + (∂f/∂y')(dy'/dx) + (∂f/∂x) = y'(∂f/∂y') + y''(∂f/∂y') + (∂f/∂x)

So, maybe I am oversimplifying it, but here's what confuses me from his lectures. Is y'=d(y)/dx and y''=d(y')/dx=d^2(y)/dx^2 ? In class, sometimes he leaves y' and sometimes he doesn't, because he knows how to get to the answer or objective, but I am just not sure what to do about them.


The Attempt at a Solution



Assuming the answer to my above question, what I did was...
y'=4x-3 y''=4 (∂f/∂y)=3y' and (∂f/∂y')=3y

It makes sense to go on to to ∂f/∂x, since it is needed for df/dx, so I got ∂f/∂x=∂(3yy' + x^2)/∂x, plugging in and doing some adding/multiplying, I finally go ∂f/∂x=72x^2-106x+39

Then, df/dx= y'(∂f/∂y') + y''(∂f/∂y') + (∂f/∂x) = (after multiplying and adding) 144x^2 - 214x +78.


I know I skipped a lot in the end there, but my questions arise before the simple algebra, I can easily do that, but this stuff here is causing me a lot of grief. Any help at all would be great. I have searched around and found nothing really that helped.
 
Physics news on Phys.org
∂f/∂x is just 2x. f is a function of the three variables y, y' and x. When you are taking the partial derivative you don't count the implicit dependence of y and y' on x. You just count the explicit dependence and differentiate the x^2.
 
Dick said:
∂f/∂x is just 2x. f is a function of the three variables y, y' and x. When you are taking the partial derivative you don't count the implicit dependence of y and y' on x. You just count the explicit dependence and differentiate the x^2.

Herp. You're right, I was just thinking it was different here. I have never taken a partial that had any implicit dependence on the independent variable (well, not explicitly stated, anyways). So then,

df/dx= y'(∂f/∂y) + y''(∂f/∂y') + (∂f/∂x) = (4x -3)(3y') + 4(3y) + 2x, that's all? That's much more simple than I expected.
 
MethAngel said:
Herp. You're right, I was just thinking it was different here. I have never taken a partial that had any implicit dependence on the independent variable (well, not explicitly stated, anyways). So then,

df/dx= y'(∂f/∂y) + y''(∂f/∂y') + (∂f/∂x) = (4x -3)(3y') + 4(3y) + 2x, that's all? That's much more simple than I expected.

That's it. You can substitute your expressions for y' and y into that and express it totally in terms of x. And there's another way to find df/dx. Just substitute your expressions for y' and y into f to express it totally in terms of x, then just differentiate with respect to x. You should get the same thing. It's not that mysterious.
 
Awesome, thanks a ton! That clears up so much confusion.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
Replies
26
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K