Second ODE - Using x = e^t show that the equation

  • Thread starter Thread starter thomas49th
  • Start date Start date
  • Tags Tags
    Ode
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
33 replies · 5K views
thomas49th
Messages
645
Reaction score
0

Homework Statement


Show that the equation x= e^t converts the equation

[tex]ax^{2}\frac{d^{2}y}{dx^{2}} + bx\frac{dy}{dx} + cy = 0[/tex]

in which a,b,c are coefficients

Homework Equations


The Attempt at a Solution



x = e^t and so does dx/dt. So you can write dx/dt = x

using the chain rule

dy/dx = dy/dt * dt/dx
=> dy/dt * 1/x

now here is the bit that is tricky.

[tex]ax^{2}\frac{d^{2}y}{dx^{2}} + b\frac{dx}{dt} + cy = 0[/tex]

Apparently I cannot simply stick [tex]\frac{dy}{dt} * \frac{1}{x}[/tex]
into the second order deravite to give [tex]\frac{d^{2}y}{d^{2}t} * \frac{1}{x^{2}}[/tex]. Why not? Does [tex]\frac{d^{2}y}{dx^{2}} \neq \frac{dy}{dx^{2}}[/tex]??

Also I thought maybe you differentiate the chain rule again
[tex]\frac{d^{2}y}{dx^{2}} = -\frac{dy}{dt}\frac{1}{x^{2}}[/tex]

But that doesn't seem to help (have I differentiated it correctly as I didn't use the product rule because I don't think dy/dt is a function of x).

Any suggestions
Thomas
 
Physics news on Phys.org
so start with
[tex]y(x(t))[/tex]

differntiate once to get
[tex]\frac{dy}{dt}= \frac{d}{dt}y(x(t)) = \frac{dy}{dx} \frac{dx}{dt}[/tex]

then differntiate again using some product rule
[tex]\frac{d^2y}{dt^2} = \frac{d}{dt} ( \frac{dy(x(t))}{dx} \frac{dx(t)}{dt})[/tex]

see if you can do the last step you'll need to use the product and chain rule, if it helps think of dy/dx as a function of x(t)
[tex]f(x(t)) = \frac{dy(x(t))}{dx}[/tex]

then the chain rule becomes
[tex]\frac{d}{dt} f(x(t)) =\frac{df}{dx}\frac{dx}{dt} = \frac{d^2 y}{dx^2}\frac{dx}{dt}[/tex]
 
Last edited:
I don't understand
[tex] f(x(t)) = \frac{dy(x(t))}{dx} [/tex]

what exactly are you saying here? that the function of f that depends on x which in turns depends on t is equal to the dervative of x(t) with respect to x? How can I visualise this?
 
thomas49th said:
I don't understand
[tex] f(x(t)) = \frac{dy(x(t))}{dx} [/tex]

what exactly are you saying here? that the function of f that depends on x which in turns depends on t is equal to the dervative of x(t) with respect to x? How can I visualise this?

I was just trying to use a notation that would be easy to differentiate and help apply the chain rule, to finish off you get

[tex]\frac{d^2y}{dt^2} <br /> = \frac{d}{dt} ( \frac{dy(x(t))}{dx} \frac{dx(t)}{dt}) <br /> = ( \frac{d^2 y}{dx^2} (\frac{dx}{dt})^2 + \frac{dy}{dx} \frac{d^2 x}{dt^2}) <br /> ) <br /> [/tex]
 
Ahhh almost get it.

I get this part:

[tex] <br /> f(x(t)) = \frac{dy(x(t))}{dx} <br /> [/tex]

and I see that you use the product rule

[tex] \frac{d^2y}{dt^2} = \frac{d}{dt} ( \frac{dy(x(t))}{dx} \frac{dx(t)}{dt}) [/tex]

on the RHS. I had a go and got the left part of it but the right most term is wrong

[tex] ( \frac{d^2 y}{dx^2} (\frac{dx}{dt})^2 + \frac{dy}{dx} \frac{dx}{dt}) <br /> )[/tex]

I don't get the squares. :( So this means the part I'm getting wrong is

[tex]\frac{d}{dt}(\frac{dx}{dt}x(t))[/tex]

I'm having problems differentiating this. I like to think of it as
y = x(t)
for y' = x'(t)
dy/dt = x'(t) ? How do I write this is in dW/dZ form?

Thanks
Thomas
 
HANG ON I GOT IT! x'(t) is dx/dt derrrrr! so d/dt(dx/dt) = d^2x/dt^2

Now if I could only realize what we have just shown...
 
so you know that if x = e^t, then
[tex]x = e^t = \frac{dx}{dt}= \frac{d^2x}{dt^2}[/tex]


so the first derivative is
[tex]\frac{dy}{dt}= \frac{dy}{dx} e^t[/tex]
or re-arranging
[tex]\frac{dy}{dx} = \frac{dy}{dt}e^{-t}[/tex]


and the 2nd derivative is
[tex]\frac{d^2y}{dt^2} <br /> = ( \frac{d^2 y}{dx^2} (e^t)^2 + \frac{dy}{dt}e^{-t} e^t )[/tex]
re-arranging
[tex] \frac{d^2 y}{dx^2} <br /> =(\frac{d^2y}{dt^2} - \frac{dy}{dt})e^{-2t}[/tex]

now substitute into your original equation
 
in the simpler notation if we let ' mean diff wrt t, while a dot is diff wrt x

differntiate once to get
[tex]y'= \dot{y} x'[/tex]

differntiate again
[tex]y''= \ddot{y} (x')^2 + \dot{y} x''[/tex]
 
lanedance said:
so you know that if x = e^t, then
[tex]x = e^t = \frac{dx}{dt}= \frac{d^2x}{dt^2}[/tex]so the first derivative is
[tex]\frac{dy}{dt}= \frac{dy}{dx} e^t[/tex]
or re-arranging
[tex]\frac{dy}{dx} = \frac{dy}{dt}e^{-t}[/tex]and the 2nd derivative is
[tex]\frac{d^2y}{dt^2} <br /> = ( \frac{d^2 y}{dx^2} (e^t)^2 + \frac{dy}{dt}e^{-t} e^t )[/tex]
re-arranging
[tex] \frac{d^2 y}{dx^2} <br /> =(\frac{d^2y}{dt^2} - \frac{dy}{dt})e^{-2t}[/tex]

now substitute into your original equation

I'm lost again :blushing: It's the second derivative that's getting me. You've jumped to many steps for me

How do I work out

[tex]\frac{d^2y}{dx^2} = \frac{d}{dx}(\frac{dy}{dt}e^{-t})[/tex]

Thanks
 
Last edited:
we're looking at it 2 different ways, i was differentiating wrt t
[tex] \frac{d^2y}{dt^2} <br /> = ( \frac{d^2 y}{dx^2} (e^t)^2 + \frac{dy}{dt}e^{-t} e^t ) [/tex]

once you get here, re-arrange for [itex] \frac{d^2 y}{dx^2} [/itex]
 
thomas49th said:
I'm lost again :blushing: It's the second derivative that's getting me. You've jumped to many steps for me

How do I work out

[tex]\frac{d^2y}{dx^2} = \frac{d}{dx}(\frac{dy}{dt}e^{-t})[/tex]

Thanks
If [itex]x= e^t[/itex], [itex]t= ln(x)[/itex], and
[tex]\frac{dy}{dx}= \frac{1}{x}\frac{dy}{dt}[/tex]

So
[tex]\frac{d^2y}{dx^2}= \frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right)[/tex]
using the product rule, that is
[tex]-\frac{1}{x^2}\frac{dy}{dt}+ \frac{1}{x}\frac{d}{dx}\left(\frac{dy}{dt}\right)[/tex]
[tex]= -\frac{1}{x^3}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{1}{x}\frac{d^2y}{dt^2}\right)[/tex]
[tex]= -\frac{1}{x^2}\frac{dy}{dt}+ \frac{1}{x^2}\frac{d^2y}{dt^2}[/tex]
 
Last edited by a moderator:
I'm stupid, I know, but what is the derivatice of dy/dt. It must be a funciton of x right? Which we know as dy/dt = x * dy/dx . Otherwise we can treat it like a constant.

I can see what is going apart from the derivative of dy/dt with respect to x. It's implicit so you differentiate it as you would normally (d^2y/dt^2) then multiply it by dy/dx. So shouldn't term be

[tex] = -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{dy}{dx}\frac{d^2y}{dt^2}\right)[/tex]

HOI - did you make a typo in your previous post ( shouldn't the left term be -1/x^2)??

Thanks
 
I'm still ending up with
[tex] <br /> = -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{dy}{dx}\frac{d^2y}{dt^2}\right)<br /> [/tex]

from applying the product rule to

[tex]\frac{d^{2}y}{dx^{2}} = \frac{d}{dx}[\frac{dy}{dt}\frac{1}{x}][/tex]

[tex] <br /> = -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\frac{d}{dx}[\frac{dy}{dt}]<br /> [/tex]

What the flup can I do. Want to be able to do this question before Christmas. What do I do!?

Thanks
Thomas
 
Ok, so starting fresh, changing notation as I'm on mobile
x=e^t and consider

dy/dx=dy/dt.dt/dx=dy/dt.1/x

Differentiating again
d2y/dx2=d2y/dt2.1/x2-dy/dt.1/x2

Now sub these into original de and note all the x factors cancel
 
The key to note is the original de has the second derivative multiplied by x^2, so the x's cancel with the 1/x^2 in the chain rule calculated derivative, and similarly with thenfirst derivative
 
The key to note is the original de has the second derivative multiplied by x^2, so the x's cancel with the 1/x^2 in the chain rule calculated derivative, and similarly with the first derivative
 
lanedance said:
Differentiating again
d2y/dx2=d2y/dt2.1/x2-dy/dt.1/x2

So, is [tex]\frac{d}{dx}\left \frac{dy}{dt} \right[/tex]
just

[tex]\frac{d^{2}y}{dt^{2}}[/tex]

I refuse to believe it. We're differentiating with respect to x. Doesn't it has to be implicit so you multiply d2y/dt2 by dy/dt?

If i can understand that differential I should be able to complete the question. It is this differential that has been stopping me complete the question.

Thanks
Thomas
 
Last edited:
Well is it? and how so?
 
lanedance said:
Use chain rule
(d/dx)dy/dt=(d/dt.(dy/dt)).(dt/dx)=(d2y/dt2).(dt/dx)

arghh! I thought so but how do I get

d2y/dx2=d2y/dt2.1/x2-dy/dt.1/x2
from

[tex] \frac{d^{2}y}{dx^{2}} = \frac{d}{dx}[\frac{dy}{dt}\frac{1}{x}][/tex]

When I try I get

[tex]= -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{dy}{dx}\frac{d^2y}{dt^2}\right)<br /> <br /> [/tex]

Please. Going round in circles :cry:

oh and merry christmas!
 
Last edited:
thomas49th said:
arghh! I thought so but how do I get

d2y/dx2=d2y/dt2.1/x2-dy/dt.1/x2
from

[tex] \frac{d^{2}y}{dx^{2}} = \frac{d}{dx}[\frac{dy}{dt}\frac{1}{x}][/tex]
Yes, that was exactly what I said in post #11

When I try I get

[tex] <br /> <br /> = -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{dy}{dx}\frac{d^2y}{dt^2}\right)<br /> <br /> [/tex]
No,
[tex]\frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right)= \frac{d}{dx}(1/x)}\frac{dy}{dt}+ \frac{1}{x}\frac{d}{dx}\left(\frac{dy}{dt}\right)[/tex]
[tex]= -\frac{1}{x^2}\frac{dy}{dt}+ \frac{1}{x}\left(\frac{1}{x}\frac{d}{dt}\left(\frac{dy}{dt}\right)\right)[/tex]
[tex]= \frac{1}{x^2}\left(\frac{d^2y}{dt^2}- \frac{dy}{dt}\right)[/tex]

Again, that was given in post #11.
Please. Going round in circles :cry:

oh and merry christmas!
 
So because d/dx is really dy/dx (this is where I'm going wrong and I still not that familiar with it)

dy/dx = dy.dt * 1/x
and so substitute that into the product rule expression

WHEY!
AT LAST. IT'S NOT THAT HARD!

Thank you!
 
I've come to look back over this and again I'm lost :(

HallsofIvy said:
Yes, that was exactly what I said in post #11 No,
[tex]\frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right)= \frac{d}{dx}(1/x)}\frac{dy}{dt}+ \frac{1}{x}\textcolor{red}{\frac{d}{dx}\left(\frac{dy}{dt}\right)}[/tex]
[tex]= -\frac{1}{x^2}\frac{dy}{dt}+ \frac{1}{x}\left(\textcolor{red}{\frac{1}{x}\frac{d}{dt}\left(\frac{dy}{dt}\right)}\right)[/tex]
[tex]= \frac{1}{x^2}\left(\frac{d^2y}{dt^2}- \frac{dy}{dt}\right)[/tex]

Again, that was given in post #11.

Can someone please show me at the simpliest of simpleist, with the chain rule how the part in red it done. I cannot see how to differentiate

[tex]\frac{d}{dx}\frac{dy}{dt}[/tex]

I know [tex]\frac{dy}{dx} = \frac{1}{x}\frac{dy}{dt}[/tex] but I don't see how that is used.

Thank you
 
I have just had another attempt using implicit differentiation

[tex]\frac{d}{dx}[\frac{dy}{dt}] = \frac{1}{x}\frac{d^{2}y}{dt^2}\frac{dt}{dt}[/tex]But you got a one term minus the other while I got the product

Hmmm :(
 
It's like this:

[tex] \frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right) =\frac{d}{dx}\left(\frac{1}{x}\right)\frac{dy}{dt}+\frac{1}{x}\frac{d}{dx}\frac{dy}{dt}[/tex]

But:

[tex] \frac{d}{dx}=\frac{dt}{dx}\frac{d}{dt}=\frac{1}{\dot{x}}\frac{d}{dt}[/tex]

So

[tex] \frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right) =\frac{d}{dx}\left(\frac{1}{x}\right)\frac{dy}{dy}+\frac{1}{x\dot{x}}\frac{d^{2}y}{dt^{2}}[/tex]
 
Last edited:
I know dt/dx = 1/x. Am I right in thinking

d/dx = dy/dx

How and why?[tex] <br /> \frac{d}{dx}=\frac{dt}{dx}\frac{d}{dt}=\frac{1}{\d ot{x}}\frac{d}{dt}<br /> [/tex]also what is [tex]\frac{1}{x}\frac{\textcolor{red}{d}}{dt}[/tex]

what does d mean on it's own. I thought it needs something to operate on?

Thanks
Thomas
 
It's an operator, it acts on things to give something else, so if you like:

[tex] \frac{df}{dx}=\frac{dt}{dx}\frac{df}{dt}[/tex]

via the chain rule..
 
Okay. But

[tex] <br /> \frac{d}{dx}\left(\frac{1}{x}\frac{dy}{dt}\right) =\frac{d}{dx}\left(\frac{1}{x}\right)\frac{dy}{dy} +\frac{1}{x\dot{x}}\frac{d^{2}y}{dt^{2}}<br /> [/tex]

did you mean to write dy/dy or dy/dt? Please don't jump steps quickly :( Also please please please show me how you got the term [tex]\frac{1}{x\dot{x}}\frac{d^{2}y}{dt^{2}}[/tex]

I see the 1/x must be there because of the product rule but how did the dt/dx (1/x dot) come in?

Thanks :D
 
Last edited: