Euler Lagrange Equation Question

AI Thread Summary
The discussion focuses on computing the partial derivatives ∂f/∂x and the full derivative df/dx for the function f(y, y', x) = 2yy' + 3x²y, given y(x) = 3x⁴ - 2x + 1. Participants clarify that the Euler-Lagrange equation is not necessary for this problem, as it primarily tests knowledge of partial differentiation. The correct expressions for ∂f/∂x and df/dx are derived, with some confusion arising around the treatment of y' in the full derivative calculation. Ultimately, it is emphasized that the approach should remain straightforward without overcomplicating the problem. The conversation highlights the importance of understanding the fundamentals of differentiation in this context.
HiggsBrozon
Messages
7
Reaction score
0

Homework Statement



Consider the function f(y,y',x) = 2yy' + 3x2y where y(x) = 3x4 - 2x +1. Compute ∂f/∂x and df/dx. Write both solutions of the variable x only.


Homework Equations



Euler Equation: ∂f/∂y - d/dx * ∂f/∂y' = 0



The Attempt at a Solution



Would I first just find ∂f/∂y and ∂f/∂y' as follows:

∂f/∂y = 2y' + 3x2
∂f/∂y' = 2y

and then insert y(x) and y'(x) into my two equations for ∂f/∂y and ∂f/∂y':

y(x) = 3x4 - 2x +1
y'(x) = 12x3 - 2

→ ∂f/∂y = 2(12x3 - 2) + 3x2
→ ∂f/∂y' = 2(3x4 - 2x +1)

This is where I begin to get lost. Would I plug these values into my Euler equation to find an expression for df/dx and ∂f/∂x?

I would attempt this but I want to see if I'm headed in the right direction or not first. Any help would be much appreciated.
 
Physics news on Phys.org
HiggsBrozon said:
Would I first just find ∂f/∂y and ∂f/∂y' as follows:
You don't need to find those at all. You don't need to use the Euler-Lagrange equations either. Just calculate the things they ask for in the question. I think they are just testing your knowledge of how to do partial differentiation and the full derivative.
 
Thanks for you response. I feel as if I made this problem more complicated than it should.

For ∂f/∂x:

∂f/∂x = 6xy = 6x(3x4 - 2x +1)

and df/dx:

df/dx = ∂f/∂y * dy/dx
= d/dy(3x2y + 2yy') * (12x3 - 2)
= (3x2 + 2(d/dy(yy'))) * (12x3 - 2)
= (3x2 + 2(y * d/dy(y') + y')) * (12x3 - 2)

However I'm a bit confused on how to take the derivative of d/dy(y')
Would I just treat y' as a fraction and cancel out dy's like so: y * d/dy(dy/dx) = d/dx * y = y'
 
I think your answer for ∂f/∂x is correct. But I don't agree with your answer for df/dx. The line: df/dx = ∂f/∂y * dy/dx I think is not right. This is not the correct expression for the full derivative. p.s. you can realize this by thinking what is being held constant for ∂f/∂y
 
Last edited:
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
TL;DR Summary: I came across this question from a Sri Lankan A-level textbook. Question - An ice cube with a length of 10 cm is immersed in water at 0 °C. An observer observes the ice cube from the water, and it seems to be 7.75 cm long. If the refractive index of water is 4/3, find the height of the ice cube immersed in the water. I could not understand how the apparent height of the ice cube in the water depends on the height of the ice cube immersed in the water. Does anyone have an...
Back
Top