Solution to Av^2 + B = C dv/dt Differential Equation?

  • Thread starter Cyrus
  • Start date
  • Tags
    Formula
In summary, the conversation is about finding the solution to a differential equation involving drag forces on a falling body. The conversation includes discussions on using different initial conditions and velocity components, as well as the difference between speed and velocity. The final solution involves using the absolute value of the velocity and determining the appropriate coefficient based on the direction of the velocity and drag force.
  • #1
Cyrus
3,238
17
Does anyone know the solution to this differential equation. It's not for a class, it came up in another thread about drag forces on a falling body. I don't care how you get to the solution. If you want to post how, that's fine and thanks! If not, I don't care one way or another. I just want to know if there is a solution for this differenetial equation, and if so what is it? I can do the case for Av, but not [itex]Av^2[/itex].


[tex] Av^2 + B = C \frac {dv}{dt} [/tex]

Thanks guys,
 
Physics news on Phys.org
  • #2
[tex]t/C = \int \frac{dv}{Av^2 + B} = \frac{1}{A}\int\frac{dv}{v^2 + B/A} = \frac{1}{A}\frac{\arctan\left(\frac{v}{\sqrt(B/A)}\right)}{\sqrt{B/A}}[/tex]

Here's a useful website: The Wolfram Integrator
 
  • #3
Ah, that's great thank you very much!
 
  • #4
AKG said:
[tex]t/C = \int \frac{dv}{Av^2 + B} = \frac{1}{A}\int\frac{dv}{v^2 + B/A} = \frac{1}{A}\frac{\arctan\left(\frac{v}{\sqrt(B/A)}\right)}{\sqrt{B/A}}[/tex]

Here's a useful website: The Wolfram Integrator

Of course! (slapping myself in the face!)
I had the same question asked th eother day and I refer to Maple..
Thanks AKG
 
  • #5
Damn, one problem. If I use the case of a falling body, then that means,

[tex] B = -mg [/tex]

and the square root is complex. It can't take complex time to reach a certain speed. How do I fix this dilemma?

HELP!
 
  • #6
cyrusabdollahi said:
Damn, one problem. If I use the case of a falling body, then that means,

[tex] B = -mg [/tex]

and the square root is complex. It can't take complex time to reach a certain speed. How do I fix this dilemma?

HELP!

Then it is a logarithm instead of an arctan
 
  • #7
[tex]t/C = \int \frac{dv}{Av^2 - B} = \frac{1}{A}\int\frac{dv}{v^2 - B/A} = \frac{1}{2A} {\sqrt{A/B}} ln({x-{\sqrt{B/A}} \over x+ {\sqrt{B/A}}}) [/tex]
 
  • #8
You guys are the best! :-p
 
  • #9
Ah, not another problem.

With your new equation, if I set the inital conditions as t=0, v=0, I get:

0= ln (-1)

But that is undefined! :confused:


EDIT: My table of integrals says absolute value of ln

Arg, yet another problem,

that fraction is always going to be less than 1,

which means you will always get a negative value from the ln(x).

Would it be ok to just stick another absolute value sign around the ln?

|ln(|x|)| Another problem is when sqrt(B/A) = x, becaue the numerator is now zero and the function is undefined.

:confused:?
 
Last edited:
  • #10
No, remember that your velocity will be non-positive; hence, the absolute value of your fraction inside the log will be greater than 1.
When the velocity goes to [itex]v=-\sqrt{\frac{B}{A}}[/itex], then time goes to (positive) infinity, as it should.
 
  • #11
Why is it not positive?

I had the hunch that when the square root of (B/A) becomes close to V, it takes infinite time, so the sqrt(B/A) would be the terminal velocity.

I still don't see why the velocity is non-positive. If I give the body an initial thrust up, the initial conditions will be a positive upward velocity at t=0.
 
  • #12
cyrusabdollahi said:
Why is it not positive?

I had the hunch that when the square root of (B/A) becomes close to V, it takes infinite time, so the sqrt(B/A) would be the terminal velocity.

I still don't see why the velocity is non-positive. If I give the body an initial thrust up, the initial conditions will be a positive upward velocity at t=0.

There are two ways to do the problem: working with the y component of the velocity , [itex] v_y [/itex] or working with the speed .

I am assuming here that the object is moving downward...

Then, using v to represent the *speed*, the equation is
[itex] C { dv \over dt} = - A v^2 + mg [/itex] (assuming A and C positive).

However, if you work with the y component of the velocity (with the positive y-axis pointing upward), you get

[itex] C {dv_y \over dt} = + A v_y^2 - m g [/itex]

Since you said B=-mg, it sounds like you are working with the y component and since it is moving downward, v will always be negative

(EDIT: If you throw it *upward* then the equation is

[itex] C {dv_y \over dt} = - A v_y^2 - m g [/itex])
Pat
 
  • #13
If you have a positive velocity, then your drag will act in the same direction as gravity (giving you an arctan result rather than the artanh result), rather than acting in the opposite direction as in your case. Thus, you would have a different expression to handle a positive velocity.

The general law for a "square-velocity" drag problem is:
[tex]-A|v|v-mg=m\frac{dv}{dt}, A>0[/tex]
where |v| is the absolute value of the velocity.
 
Last edited:
  • #14
nrqed said:
There are two ways to do the problem: working with the y component of the velocity , [itex] v_y [/itex] or working with the speed .

I am assuming here that the object is moving downward...

Then, using v to represent the *speed*, the equation is
[itex] C { dv \over dt} = - A v^2 + mg [/itex] (assuming A and C positive).

However, if you work with the y component of the velocity (with the positive y-axis pointing upward), you get

[itex] C {dv_y \over dt} = + A v_y^2 - m g [/itex]

Since you said B=-mg, it sounds like you are working with the y component and since it is moving downward, v will always be negative

(EDIT: If you throw it *upward* then the equation is

[itex] C {dv_y \over dt} = - A v_y^2 - m g [/itex])
Pat


I am not 100% sure what your doing here, so let's step back a moment.

For your first equation using speed, why did you have a +mg term, and not a minus?

For your second equation, why did you switch from + to - signs for the coefficient A?

What is your distinction between speed and velocity? To me, speed is the magnitude, velocity has magnitude and direction.
 
  • #15
cyrusabdollahi said:
I am not 100% sure what your doing here, so let's step back a moment.

For your first equation using speed, why did you have a +mg term, and not a minus?

For your second equation, why did you switch from + to - signs for the coefficient A?

What is your distinction between speed and velocity? To me, speed is the magnitude, velocity has magnitude and direction.

Arildno explained it well in post #13 but let me say it in a different way.
First, yes, velocity is a vector, v is the magnitude. And v_y is the y component (they are three different things, right?). the speed v can never be negative, v_y may be positive or negative. In the following, I use a y-axis pointing upward.


In an equation using the y component, gravity will always be -mg. But the drag force is opposite to th emotion so if the object is moving up, the drag force will be downward and vice versa. That explains my signs with the velocity equations.

For the speed, it's a bit different. Let's say you are moving downward. Does gravity tends to increase the speed? Yes, so you put +mg (notice that gravity always tend to *decrease* the y component of the velocity, no matter what the direction of the motion). And the drag force tends to decrease the speed, hence the minus sign. If the object was moving upward and you were writing an equation for the speed, both terms would be negative because both forces will act to decrease the speed.

I hope this helps

Patrick
 
  • #16
:cry: I see what you mean now, but god is that awfully sloppy notation :wink:
 
  • #17
cyrusabdollahi said:
:cry: I see what you mean now, but god is that awfully sloppy notation :wink:

What? My notation?? I use "v" for speed and v_y for y component of the velocity! That's standard!

Well, this is what I get for a lot of typing
 
  • #18
I am used to calling the velocity, [tex] \bar{V} [/tex], and the speed, is [tex] | \bar{V}|[/tex], and the y-component of the velocity is [tex] |V_y| [/tex]

Actually, I am more used to calling the speed, s, not v.
 
  • #19
cyrusabdollahi said:
I am used to calling the velocity, [tex] \bar{V} [/tex], and the speed, is [tex] | \bar{V}|[/tex], and the y-component of the velocity is [tex] |V_y\hat{y}| [/tex]

Actually, I am more used to calling the speed, s, not v.

Your very first post contains the symbol "v". This is always used to represent the speed so I assumed it was the speed! And I think I made it fairly clear early on that I was talking about the speed.


I have tried hard to make the notation crystal clear by writing v_y and showing all the cases separately. I don't knwo how I could have made things more clear.:mad:
 
  • #20
Well, I am used to v for the case where the motion is along one orthagonal direction.

I am just splitting hairs now!

I get what your saying, and you are right!

In any event, I see what you mean now, Thanks for your help! :smile:
 
Last edited:
  • #21
could I integrate this solution to get position as a function of time as well?

[tex] \frac{t}{c} =\frac{1}{2A} {\sqrt{A/B}} ln({v-{\sqrt{B/A}} \over v+ {\sqrt{B/A}}}) [/tex]

[tex] \int \frac{t}{c} dt = \int \frac{1}{2A} {\sqrt{A/B}} ln({v-{\sqrt{B/A}} \over v+ {\sqrt{B/A}}} dv) [/tex]

and say:

[tex] \frac{t^2}{2C} = \frac{1}{2A} {\sqrt{A/B}}[ - \sqrt{A/B} log(x-\sqrt{A/B})+xlog( \frac{x-\sqrt{A/B}}{x+\sqrt{A/B}}) -\sqrt{A/B}log(x+\sqrt{A/B}) ][/tex]
?

Actually, I don't think I can just integrate like that. I think I have to somehow isolate the variable v, which is dx/dt, and then move over the dt and integrate. But that looks like a freaking mess. Help!

Oh, I was wrong earlier. What the hell was I saying velocity is s? No no no, displacement is usually s. Sorry, my mind is in pieces right now.
 
Last edited:
  • #22
Damn, the more I think about it, the more I it seems that I can't just integrate the function. Any thoughts?
 
  • #23
Hint: Move the constants all over to the side with t, and then take the exponential of both sides
 
  • #24
Yea, but then you have that faction which is not very nice.
 
  • #25
cyrusabdollahi said:
could I integrate this solution to get position as a function of time as well?

[tex] \frac{t}{c} =\frac{1}{2A} {\sqrt{A/B}} ln({v-{\sqrt{B/A}} \over v+ {\sqrt{B/A}}}) [/tex]

[tex] \int \frac{t}{c} dt = \int \frac{1}{2A} {\sqrt{A/B}} ln({v-{\sqrt{B/A}} \over v+ {\sqrt{B/A}}} dv) [/tex]

and say:

[tex] \frac{t^2}{2C} = \frac{1}{2A} {\sqrt{A/B}}[ - \sqrt{A/B} log(x-\sqrt{A/B})+xlog( \frac{x-\sqrt{A/B}}{x+\sqrt{A/B}}) -\sqrt{A/B}log(x+\sqrt{A/B}) ][/tex]
?

Actually, I don't think I can just integrate like that. I think I have to somehow isolate the variable v, which is dx/dt, and then move over the dt and integrate. But that looks like a freaking mess. Help!

Oh, I was wrong earlier. What the hell was I saying velocity is s? No no no, displacement is usually s. Sorry, my mind is in pieces right now.

Indeed, you must first isolate v, write this as dx/dt, isolate dx on one side, and integrate both sides. When you isolate v, you will get a ratio of the form (1+exponential)/(1-exponential). This is a simple hyperbolic trig function. Then you can look up an integral table and get x(t).

Patrick
 

FAQ: Solution to Av^2 + B = C dv/dt Differential Equation?

What is a differential equation?

A differential equation is a mathematical equation that describes the relationship between a function and its derivatives. It involves variables, functions, and their rates of change, and is often used to model natural phenomena in various fields such as physics, engineering, and economics.

What is the general form of a differential equation?

The general form of a differential equation is F(x, y, dy/dx, d2y/dx2, ... , dny/dxn) = 0, where y is the dependent variable, x is the independent variable, and n is the order of the highest derivative present in the equation.

What is the solution to a differential equation?

The solution to a differential equation is a function or set of functions that satisfies the equation for all values of the independent variable. In other words, the solution is a set of functions that make the equation true when substituted into it.

What is the order of a differential equation?

The order of a differential equation is the highest derivative present in the equation. For example, a first-order differential equation contains only first derivatives, while a second-order differential equation contains second derivatives.

How do you solve a differential equation?

There are various methods for solving differential equations, depending on their type and order. Some common methods include separation of variables, substitution, and using specific integration formulas. In the case of Av2 + B = C dv/dt, it can be solved through separation of variables and integration to find the general solution, which can then be used to find specific solutions for given initial conditions.

Back
Top