First-order differential equation

In summary: The negative sign in front of the mg term represents the direction of gravity, which is downwards. Since we are measuring upwards as the positive direction, the force of gravity is considered negative. This is just a matter of convention and can be changed as long as it is consistent throughout the problem.
  • #1
DivGradCurl
372
0
"A ball with mass 0.15 kg is thrown upward with initial velocity 20 m/s from the roof of a building 30 m heigh. There is a force due to air resistance of [tex]\left| v \right|/30[/tex] where the velocity [tex]v[/tex] is measured in m/s. Find the time that the ball hits the ground." (Answer: 5.129 s)

I split the problem into two parts---namely, the way up and down. From the former, I get the time for the ball to reach the maximum height. Then, I use the latter to find the answer.

If we measure [tex]x[/tex] positively upward from the ground, then

[tex]m\frac{dv}{dt}=-mg-\frac{v}{30}, \qquad v(0) = v_0, \qquad x(0)=x_0[/tex]

[tex]\frac{dv}{dt} + \frac{v}{30m}=-g[/tex]

The Method of Integrating Factors gives

[tex]\mu = \exp \left( \frac{1}{30m} \int dt \right) =\exp \left( \frac{t}{30m} \right)[/tex]

[tex]v(t)=\exp \left( -\frac{t}{30m} \right) \int -g\exp \left( \frac{t}{30m} \right) \: dt[/tex]

[tex]v(t)=\exp \left( -\frac{t}{30m} \right) \left[ -g(30m) \exp \left( \frac{t}{30m} \right) + \mathrm{C} \right][/tex]

[tex]v(t)=-30gm + \mathrm{C} \exp \left( -\frac{t}{30m} \right)[/tex]

Next, we apply the initial condition in order to find the constant.

[tex]v(0) = v_0 \Rightarrow \mathrm{C} = v_0 + 30 gm[/tex]

Thus, we obtain

[tex]v(t) = -30gm + \left( v_0 + 30 gm \right) \exp \left( -\frac{t}{30m} \right)[/tex]

At the maximum height, we have

[tex]\frac{dx}{dt}=v=0[/tex]

which gives

[tex]t_{\mbox{up}} = 30m \ln \left( \frac{v_0}{30gm} + 1 \right)[/tex]

The way down is described as follows:

[tex]m\frac{dv}{dt}=-mg+\frac{v}{30}, \qquad v\left( t_{\mbox{up}} \right) = 0, \qquad x\left( t_{\mbox{up}} \right) = x_{\mbox{max}}[/tex]

[tex]\frac{dv}{dt} - \frac{v}{30m}=-g[/tex]

The Method of Integrating Factors gives

[tex]\mu = \exp \left( -\frac{1}{30m} \int dt \right) =\exp \left( -\frac{t}{30m} \right)[/tex]

[tex]v(t)=\exp \left( \frac{t}{30m} \right) \int -g \exp \left( -\frac{t}{30m} \right) \: dt[/tex]

[tex]v(t)=\exp \left( \frac{t}{30m} \right) \left[ -g (-30m) \exp \left( -\frac{t}{30m} \right) + \mathrm{C} \right][/tex]

[tex]v(t)= 30mg + \mathrm{C}\exp \left( \frac{t}{30m} \right)[/tex]

Next, we apply the initial condition in order to find the constant.

[tex]v\left( t_{\mbox{up}} \right) = 0 \Rightarrow \mathrm{C} = -\frac{(30mg) ^2}{v_0 + 30mg}[/tex]

Thus, we obtain

[tex]v(t)= 30mg -\frac{(30mg) ^2}{v_0 + 30mg} \exp \left( \frac{t}{30m} \right)[/tex]

and so

[tex]\int v(t) \: dt = 30mg\int dt -\frac{(30mg) ^2}{v_0 + 30mg} \int \exp \left( \frac{t}{30m} \right) \: dt[/tex]

[tex]x(t)= 30mgt -\frac{(30m) ^3 g^2}{v_0 + 30mg} \exp \left( \frac{t}{30m} \right) + \mathrm{C}[/tex]

Next, we apply the initial condition in order to find the constant.

[tex]x\left( t_{\mbox{up}} \right) = x_{\mbox{max}} \Rightarrow \mathrm{C} = x_{\mbox{max}} + (30m)^2 g - (30m)^2 g \ln \left( \frac{v_0}{30mg} + 1 \right)[/tex]

Thus, we obtain

[tex]x(t)= 30mgt -\frac{(30m) ^3 g^2}{v_0 + 30mg} \exp \left( \frac{t}{30m} \right) + x_{\mbox{max}} + (30m)^2 g - (30m)^2 g \ln \left( \frac{v_0}{30mg} + 1 \right)[/tex]

When the ball hits the ground, [tex]x(t)=0[/tex]. Solving for [tex]t[/tex] gives [tex]t \approx 4.429 \mbox{ s}[/tex]. The result is clearly wrong, but there is something even more weird than that. Using [tex]x(t)[/tex] (way up) gives the right answer! In other words

[tex]v(t) = -30gm + \left( v_0 + 30 gm \right) \exp \left( -\frac{t}{30m} \right)[/tex]

gives

[tex]\int v(t) \: dt = -30gm \int dt + \left( v_0 + 30 gm \right) \int \exp \left( -\frac{t}{30m} \right) \: dt[/tex]

[tex]x(t) = -30gmt -30m \left( v_0 + 30 gm \right) \exp \left( -\frac{t}{30m} \right) + \mathrm{C}[/tex]

Next, we apply the initial condition in order to find the constant.

[tex]x(0) = x_0 \Rightarrow \mathrm{C} = x_0 + 30m \left( v_0 + 30gm \right)[/tex]

[tex]x(t) = x_0 -30gmt + 30m \left( v_0 + 30 gm \right) \left[ 1 - \exp \left( -\frac{t}{30m} \right) \right][/tex]

Again, setting [tex]x(t)=0[/tex] and solving for [tex]t[/tex] gives [tex]t \approx 5.129 \mbox{ s}[/tex]. Can anybody please explain me why this is happening? From what I have, it seems that the differential equation that models the ball falling is not necessary, which is strange.

Any help is highly appreciated.
 
Last edited:
Physics news on Phys.org
  • #2
It's good that you noted the resistance is always opposite to the direction of motion.
You actually made it too difficult for yourself. You need only one equation

[tex]ma=-mg-v/30[/tex]
which is your first one.
The minus sign in front of the resistance term automatically makes it opposed to the direction of motion.
Since you've chosen the positive direction upwards. Now, when the ball rises v is positive so the resistance force is negative (downwards).
When the ball falls v is negative and the resistance force is positive (upwards). So you don't need to fuss with signs. You probably mistakenly assumed v to be always positive or something.
 
  • #3
Oh, sure! The reason why I posted this question is because the other day I was solving a similar DE where there was a [tex]v^2[/tex] term. It's clear to me now.

Thanks
 
  • #4
Hello, I have just worked this problem and had issue with getting 5.129s as an answer also. The only thing i don't understand is why the differential equation has -mg and not mg. Shouldn't this term be mg if the ball is falling because gravity is speeding it up not slowing it down?Thanks
 
  • #5
Thank you.

Your calculations are correct, and the answer of 5.129 seconds is indeed the correct time for the ball to hit the ground. The reason why your second approach using the position equation x(t) gives the correct answer is because it takes into account the initial position of the ball, which is 30 meters above the ground. In your first approach, you only considered the velocity equation and did not take into account the initial position, which is why you got the wrong answer.

It may seem strange that the differential equation for position is not necessary, but this is because the initial conditions are already taken into account when solving the differential equation for velocity. The differential equation for position only becomes necessary when the initial position is not given. In this case, we already know the initial position, so it is not necessary to use the position equation.

In summary, both approaches are correct, but the second approach is more straightforward and takes into account the initial position of the ball. Keep up the good work with your calculations and problem solving!
 

FAQ: First-order differential equation

What is a first-order differential equation?

A first-order differential equation is an equation that involves a function and its derivative. It describes the relationship between a variable and its rate of change.

What is the order of a differential equation?

The order of a differential equation is determined by the highest derivative present in the equation. A first-order differential equation has a first derivative as its highest derivative.

How do you solve a first-order differential equation?

First-order differential equations can be solved using various methods such as separation of variables, integrating factors, and substitution. The specific method used depends on the type of equation and its initial conditions.

What is the importance of first-order differential equations?

First-order differential equations are used to describe many real-world phenomena, such as population growth, radioactive decay, and the motion of objects under the influence of forces. They are also fundamental in many areas of science, including physics, chemistry, and engineering.

Can first-order differential equations have multiple solutions?

Yes, first-order differential equations can have multiple solutions. This is because the solutions of a differential equation depend on the initial conditions given. Different initial conditions can result in different solutions to the same differential equation.

Back
Top