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

  • Thread starter thomas49th
  • Start date
  • Tags
    Ode
In summary: I'll let you do the algebra.In summary, the equation x = e^t, when used in the equation ax^2(dy/dx)^2 + bx(dy/dx) + cy = 0, can be simplified using the chain rule to get the second derivative of y with respect to x, which is then substituted back into the original equation to find a solution.
  • #1
thomas49th
655
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
  • #2
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:
  • #3
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?
 
  • #4
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}
= \frac{d}{dt} ( \frac{dy(x(t))}{dx} \frac{dx(t)}{dt})
= ( \frac{d^2 y}{dx^2} (\frac{dx}{dt})^2 + \frac{dy}{dx} \frac{d^2 x}{dt^2})
)

[/tex]
 
  • #5
Ahhh almost get it.

I get this part:

[tex]

f(x(t)) = \frac{dy(x(t))}{dx}

[/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})
) [/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
 
  • #6
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...
 
  • #7
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}
= ( \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}
=(\frac{d^2y}{dt^2} - \frac{dy}{dt})e^{-2t}
[/tex]

now substitute into your original equation
 
  • #8
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]
 
  • #9
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}
= ( \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}
=(\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:
  • #10
we're looking at it 2 different ways, i was differentiating wrt t
[tex]
\frac{d^2y}{dt^2}
= ( \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]
 
  • #11
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:
  • #12
In order to avoid all this nonsense about tranformations, just look for solutions of the form x^n of your original equation
 
  • #13
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
 
  • #14
I'm still ending up with
[tex]

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

[/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]

= -\frac{1}{x^{2}}\frac{dy}{dt}+ \frac{1}{x}\frac{d}{dx}[\frac{dy}{dt}]

[/tex]

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

Thanks
Thomas
 
  • #15
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
 
  • #16
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
 
  • #17
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
 
  • #18
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:
  • #19
Well is it? and how so?
 
  • #20
Use chain rule
(d/dx)dy/dt=(d/dt.(dy/dt)).(dt/dx)=(d2y/dt2).(dt/dx)
 
  • #21
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)


[/tex]

Please. Going round in circles :cry:

oh and merry christmas!
 
Last edited:
  • #22
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]


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


[/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!
 
  • #23
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!
 
  • #24
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
 
  • #25
The first line is just the product rule.
 
  • #26
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 :(
 
  • #27
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:
  • #28
I know dt/dx = 1/x. Am I right in thinking

d/dx = dy/dx

How and why?[tex]

\frac{d}{dx}=\frac{dt}{dx}\frac{d}{dt}=\frac{1}{\d ot{x}}\frac{d}{dt}

[/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
 
  • #29
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..
 
  • #30
Okay. But

[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]

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:
  • #31
Standard terminology really, sorry if i didn't explain.

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

You know the chain rule?

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

Let:

[tex]
f=\frac{dy}{dt}
[/tex]

and you have your answer.
 
  • #32
Okay,

[tex]

\frac{df}{dx}=\frac{dt}{dx}\frac{df}{dt}

[/tex]

You were using f but in our case we set y = dy/dt?

Thanks
I think I see ;)
 
  • #33
hunt_mat said:
In order to avoid all this nonsense about tranformations, just look for solutions of the form x^n of your original equation
In other words just don't do the problem you are given?

There are many good reasons for knowing that this substitution will change an Euler-type (or "equipotential") equation to an equation with constant coefficients having the same characteristic equation.

For example, how would you solve
[tex]\frac{d^2y}{dx^2}+ 3x\frac{dy}{dx}+ y= cos(ln(x))[/tex]
by letting [itex]y= x^r[/itex]?
 
  • #34
For this particular problem why not do as I suggested? It's a valid teachnique, it's a known solution.
 

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

What is a Second Order Differential Equation (ODE)?

A second order differential equation is a mathematical equation that involves the second derivative of a function. It is commonly used to model physical systems and describe their behavior over time.

How is x = e^t used in Second Order Differential Equations?

In second order differential equations, the variable x = e^t is often used as a substitution for the independent variable t. This is because the derivative of e^t is simply e^t, which makes it easier to solve the equation.

What is the significance of using x = e^t in Second Order Differential Equations?

Using x = e^t allows us to transform a second order differential equation into a first order differential equation, which is often easier to solve. This substitution also helps to eliminate any complex or imaginary solutions.

Can x = e^t be used in any Second Order Differential Equation?

No, x = e^t can only be used in second order differential equations that are linear and homogeneous. It cannot be used in equations with non-constant coefficients or higher order derivatives.

What are some real-world applications of Second Order Differential Equations?

Second order differential equations are used in many fields of science and engineering, such as physics, chemistry, biology, and economics. They can be used to model the motion of objects, electrical circuits, population growth, and many other dynamic systems.

Back
Top