1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Calculus of Variations

  1. Jan 21, 2009 #1
    Just did this in class today and was doing a problem to see if I understood it and I'm not sure I did. Thanks for any help

    1. The problem statement, all variables and given/known data

    Solve the Euler equation to make the following integral:

    (integral from x1->x2)

    ∫ [(y')² + y²] dx

    2. Relevant equations

    Euler-Lagrange equation

    ∂F/∂y - d/dx (∂F/∂y') = 0

    3. The attempt at a solution

    Clearly F = (y')² + y²

    In class we had been rearranging the integral so that ∂F/∂y = 0, which made the problem much simpler. I was unable to do this here as there was no apparent way to introduce ds to swap y' for x'. This was my concern as, although I didn't think all equations would be this simple, I thought most would reduce.

    So instead I proceeded as follows:

    ∂F/∂y - d/dx (∂F/∂y') = 2y - d/dx (2y') = 2y - 2y'' = 0 => y'' = y

    And this is easy enough to solve. But I'm concerned I've made a mistake getting there.

    Have I made a mistake up to here or is there a better way to proceed?

  2. jcsd
  3. Jan 21, 2009 #2


    User Avatar
    Science Advisor

    AFAIK this is the best you can do. You can't eliminate the dF/dy term in general.
  4. Jan 21, 2009 #3
    Cheers. I'm a bit rusty on my calculus, but is there anything wrong with the step:

    d/dx(2y') = 2y''

    My lecturer made note to be careful of the d/dx part, but I don't think that applies here, just want to check.
  5. Jan 21, 2009 #4


    User Avatar
    Science Advisor
    Homework Helper

    That's just fine.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook