ODE - First encounter, not understanding them

  • Thread starter Thread starter Astrum
  • Start date Start date
  • Tags Tags
    Ode
Astrum
Messages
269
Reaction score
5

Homework Statement


First time I've had to deal with ODEs, an I'm pretty confused.

This SHOULD be a simple ODE for finding air resistance, that is only dealing with the y vector (up and down in this case)

m\frac{dv_{y}}{dt}=mg-kv_{y}

Homework Equations


F=ma
f=-kV

The Attempt at a Solution


First order differential equation, so we only need to integrate once.

m\frac{dv_{y}}{dt}=mg-kv_{y}=g-\frac{kv}{m}

\int\frac{dv}{dt}=gt-\frac{k}{m}\int v dt

I have no idea where to go from here. The answer in the book gives:

v=\frac{mg}{k}(1-e^{-\frac{kt}{m}})
 
Physics news on Phys.org
Astrum said:

Homework Statement


First time I've had to deal with ODEs, an I'm pretty confused.

This SHOULD be a simple ODE for finding air resistance, that is only dealing with the y vector (up and down in this case)

m\frac{dv_{y}}{dt}=mg-kv_{y}

Homework Equations


F=ma
f=-kV

The Attempt at a Solution


First order differential equation, so we only need to integrate once.

m\frac{dv_{y}}{dt}=mg-kv_{y}=g-\frac{kv}{m}

\int\frac{dv}{dt}=gt-\frac{k}{m}\int v dt
This (above) won't work.
Astrum said:
I have no idea where to go from here. The answer in the book gives:

v=\frac{mg}{k}(1-e^{-\frac{kt}{m}})

Divide both sides by m to get
dv/dt = g - (k/m)v

This equation is separable, so get everything involving v and dv on one side, and everything involving t and dt on the other. (There is nothing that involves t, though.)
 
The book answer does not include a possible initial velocity .

I'm sure there's a "classical" way to solve this equation. As an EE I would of course use the Laplace transform method, which sadly is not taught in most diff. eq. courses but should be.

The book answer is correct if initial velocity = 0.

(If you're interested in the Laplace method let me know.)

EDIT: Mark44 has the way to go. I tried but could not figure out how to separate the variables.
 
Mark44 said:
This (above) won't work.Divide both sides by m to get
dv/dt = g - (k/m)v

This equation is separable, so get everything involving v and dv on one side, and everything involving t and dt on the other. (There is nothing that involves t, though.)

I'll be honest, I had to look up what a separable ODE was.

So, after doing that, I got:

\int\frac{k}{m}v-g dv=\int dt

so this equals: \frac{k}{2m}v^{2}-gv=t

And the next step is to just rearrange?
 
Astrum said:
I'll be honest, I had to look up what a separable ODE was.

So, after doing that, I got:

\int\frac{k}{m}v-g dv=\int dt
This isn't right, due to an algebra error.

Starting from dv/dt = g - (k/m)v,

we have dv/(g - (k/m)v) = dt

Now the equation is separated, and you can integrate both sides.
Astrum said:
so this equals: \frac{k}{2m}v^{2}-gv=t

And the next step is to just rearrange?
 
rude man said:
The book answer does not include a possible initial velocity .

I'm sure there's a "classical" way to solve this equation. As an EE I would of course use the Laplace transform method, which sadly is not taught in most diff. eq. courses but should be.
I taught diff. eqns. for a lot of years, and Laplace transforms were one of the techniques presented. They weren't taught at the beginning of the course, though, and that's where the OP is, I believe.
rude man said:
The book answer is correct if initial velocity = 0.

(If you're interested in the Laplace method let me know.)

EDIT: Mark44 has the way to go. I tried but could not figure out how to separate the variables.
 
Mark44 said:
I taught diff. eqns. for a lot of years, and Laplace transforms were one of the techniques presented. They weren't taught at the beginning of the course, though, and that's where the OP is, I believe.

I had two texts on diff. eq's and neither mentioned Laplace. One was by MIT people.
 
Personally, I dislike the "Laplace transform method". It loved by engineers because it gives a very "mechanical" way of solving differential equations. You just "look up" the inverse transfors in a table. But I have never met a differentia equation, solvable by Laplace transform, that was not, in my opinion, more easily solved by direct methods.
 
HallsofIvy said:
Personally, I dislike the "Laplace transform method". It loved by engineers because it gives a very "mechanical" way of solving differential equations. You just "look up" the inverse transfors in a table. But I have never met a differentia equation, solvable by Laplace transform, that was not, in my opinion, more easily solved by direct methods.

I'm not sure that "guessing" a solution to a diff. eq., as is done classically, is more insightful than looking up an inverse in a table. And I like the convenience of not having to do two solutions (homogeneous & inhomogeneous) and also including the initial conditions automatically.

Chaqu'un a son gout.
 
Back
Top