PDA

View Full Version : Solve this differential equation


Fritz
Nov2-04, 11:19 AM
1. dy/dt + f(t)y = 0

2. 1/y.dy = -f(t)dt

3. F(t) = int f(t)dt

4. int 1/y.dy = - int f(t)dt

5. ln|y| = -F(t) + A

I understand up to here, but in my text book the logarithm is eliminated to give:

6. y = A.e^-F(t)

I don't understand how you get from step 5. to step 6. Can someone explain it in the simplest possible way (I get confused sometimes when people use shortcuts to explain things, like writing f instead of f(x)).

matt grime
Nov2-04, 11:25 AM
2 is dubious and 6 follows by exponentiating both sides, though the A's are different in the two cases:

if r+k= log(s), then

exp(r+k)= s (definition of log)

exp(r)exp(k)= s

or letting j=exp(k)

j*exp(r) = s.



Writing f instead of f(x) isn't a shortcut, it is common practice. Get used to it. That sounds ruder than it is intended, but really, it is very necessary for you to accept and understand that convention. It is also conventional and useful, to write words to explain to yourself, and others what you're doing at each stage in a mathematical argument.

JonF
Nov2-04, 11:27 AM
it should be (if up to 5 is right) and showing each step

ln|y| = -F(t) + A
raise each side to the power of e
|y|=e^{a-F(t)}
break the exponential apart across addition
|y| = e^(a)*e^(-F(t))
let e^a = b
|y| = b*e^(-F(t))

Fritz
Nov2-04, 11:31 AM
Why is 2. dubious?

Thank you guys.

arildno
Nov2-04, 11:41 AM
Please read my response in this thread:
http://www.physicsforums.com/showthread.php?t=51027

Fritz
Nov2-04, 11:46 AM
Please read my response in this thread:
http://www.physicsforums.com/showthread.php?t=51027

I don't really understand your explanation (my maths evidently isn't good enough).

You were referring to a D.E. f(y(x))\frac{dy}{dx}=g(x), but this is different from the D.E. I gave at the start of this thread.

Damn, I'm confused.

Fritz
Nov2-04, 11:46 AM
Why is 2. dubious?

Thank you guys.
...........................

arildno
Nov2-04, 11:49 AM
No, it is not!
You have:
\frac{1}{y(t)}\frac{dy}{dt}=-f(t)
This has EXACTLY the same form, once you recognize:
1) "t" is used instead of "x"
2) -f(t) is used instead of g(x)
3) \frac{1}{y(t)} is used instead of f(y(x))

JonF
Nov2-04, 11:51 AM
Why is 2. dubious?

y can't = 0

Fritz
Nov2-04, 11:51 AM
Does f(y(x))\frac{dy}{dx}=g(x) mean the derivative of f(y(x)) w.r.t x is equal to g(x)?

I EDITED THIS!

Fritz
Nov2-04, 11:54 AM
No, it is not!
You have:
\frac{1}{y(t)}\frac{dy}{dt}=-f(t)
This has EXACTLY the same form, once you recognize:
1) "t" is used instead of "x"
2) -f(t) is used instead of g(x)
3) \frac{1}{y(t)} is used instead of f(y(x))

Is this what the second step should have been?

arildno
Nov2-04, 11:56 AM
No it means that:
THE PRODUCT OF f, (EVALUATED AT y(x)), WITH THE DERIVATIVE OF y (with respect to x) EQUALS g (i.e., g evaluated at x)

Fritz
Nov2-04, 11:57 AM
I thought y is a variable like x, not a function like f.

arildno
Nov2-04, 11:58 AM
Is this what the second step should have been?
This is how it looks like JUST PRIOR to step 2!

matt grime
Nov3-04, 04:27 AM
y is a function of x, otherwise the question would be totally meaningless!##

"2 is dubious" because it *unnecessarily* treats dx as if it were a number, which at this stage I think I'd prefer you to leave alone until you understand why you can make this abuse of notation. But that's just me.