Hey guys, take a look at my work for a stationary integral?

  • Thread starter Thread starter Kidphysics
  • Start date Start date
  • Tags Tags
    Hey Integral Work
Kidphysics
Messages
164
Reaction score
0

Homework Statement



Path between O=(0,0) and P=(0,4) for which the integral

int. O to P (x (1-y'^2))^(1/2) dx

becomes stationary.


Homework Equations



http://en.wikipedia.org/wiki/Calculus_of_variations#Example

The Attempt at a Solution



Okay guys,

so mimicking the example from wiki but with L= (x)^1/2 (1-y'^2)^1/2

dL/dy=0 and dL/dy'= -(x)^1/2 y' / (1-y'^2)^1/2 and then d/dx dL/df' = - y'/[(2x^1/2)(1-y'^2)^1/2]

and since d/dx dL/df' =0 this implies y'=0 and we integrate to get y=c, adhering to boundary conditions y must equal 0... was that the correct way sorry for not writing in latex if I must I will redo the post
 
Physics news on Phys.org
Kidphysics said:
dL/dy'= -(x)^1/2 y' / (1-y'^2)^1/2 and then d/dx dL/df' = - y'/[(2x^1/2)(1-y'^2)^1/2]
That last expression looks too simple. There should be a y" in there, and two different powers of x. Remember it's not a partial derivative this time.
 
haruspex said:
That last expression looks too simple. There should be a y" in there, and two different powers of x. Remember it's not a partial derivative this time.

ahhhh you are correct! y is a function of x..
 
well.. I used the product rule and the chain rule and now I am looking at an unbelievable

2 x^1/2 y'^2 y'' - 1/2 x^-1/2 y' - x^1/2 y'' + 1/2 x^-1/2 y'^3 =0 .

I believe I took the derivative correctly this time but now I am lost as what to do with this..
 
haruspex said:
That last expression looks too simple. There should be a y" in there, and two different powers of x. Remember it's not a partial derivative this time.

well.. I used the product rule and the chain rule and now I am looking at an unbelievable

2 x^1/2 y'^2 y'' - 1/2 x^-1/2 y' - x^1/2 y'' + 1/2 x^-1/2 y'^3 =0 .

I believe I took the derivative correctly this time but now I am lost as what to do with this.
 
Allow me to put that in LaTex:

2 x^{1/2} y&#039;^2 y&#039;&#039; - (1/2)x^{-1/2} y&#039; - x^{1/2} y&#039;&#039; + (1/2) x^{-1/2} y&#039;^3 =0 <br />
Simplifying:
4 x y&#039;^2 y&#039;&#039; - y&#039; - 2x y&#039;&#039; + y&#039;^3 =0
But that's not quite what I get. Writing K = (1-y'2)1/2:
L = x1/2K
∂K/∂y' = -y'/K
∂L/∂y' = -x1/2y'/K
0 = -\frac{d(∂L/∂y&#039;)}{dx} = \frac{x^{-1/2}y&#039;}{2K} + \frac{x^{1/2}y&#039;&#039;}{K} - \frac{x^{1/2}y&#039;\frac{∂K}{∂y&#039;}y&#039;&#039;}{K^2}
0 = y&#039;+ 2xy&#039;&#039; - 2\frac{xy&#039;\frac{∂K}{∂y&#039;}y&#039;&#039;}{K}
0 = y&#039;+ 2xy&#039;&#039; + 2\frac{xy&#039;^2y&#039;&#039;}{K^2}
0 = (y&#039;+ 2xy&#039;&#039;)(1-y&#039;^2) + 2xy&#039;^2y&#039;&#039;
0 = y&#039;+ 2xy&#039;&#039; - y&#039;^3
Is that right or did I get sign wrong somewhere?
 
haruspex said:
Allow me to put that in LaTex:

2 x^{1/2} y&#039;^2 y&#039;&#039; - (1/2)x^{-1/2} y&#039; - x^{1/2} y&#039;&#039; + (1/2) x^{-1/2} y&#039;^3 =0 <br />
Simplifying:
4 x y&#039;^2 y&#039;&#039; - y&#039; - 2x y&#039;&#039; + y&#039;^3 =0
But that's not quite what I get. Writing K = (1-y'2)1/2:
L = x1/2K
∂K/∂y' = -y'/K
∂L/∂y' = -x1/2y'/K
0 = -\frac{d(∂L/∂y&#039;)}{dx} = \frac{x^{-1/2}y&#039;}{2K} + \frac{x^{1/2}y&#039;&#039;}{K} - \frac{x^{1/2}y&#039;\frac{∂K}{∂y&#039;}y&#039;&#039;}{K^2}
0 = y&#039;+ 2xy&#039;&#039; - 2\frac{xy&#039;\frac{∂K}{∂y&#039;}y&#039;&#039;}{K}
0 = y&#039;+ 2xy&#039;&#039; + 2\frac{xy&#039;^2y&#039;&#039;}{K^2}
0 = (y&#039;+ 2xy&#039;&#039;)(1-y&#039;^2) + 2xy&#039;^2y&#039;&#039;
0 = y&#039;+ 2xy&#039;&#039; - y&#039;^3
Is that right or did I get sign wrong somewhere?

hey thanks, jumped out of bed to respond.. I'm sure you have the math correct but I can't see how this helps us get a solution the the original problem. At this step we have a nonlinear ode so I'm a little frightened we are on the wrong track? Thank you for helping thus far
 
haruspex said:
0 = y&#039;+ 2xy&#039;&#039; - y&#039;^3
It's not hard from there. There are no y terms, so it's first order, and you can get it into the form f(x) = g(t)t' where t = y', so then it's just an integration to get an equation relating x to y'.
 
Back
Top