Differential of a 1st ODE help understanding notation

In summary, the problem regards a ball thrown vertically. A model of the motion has been worked out, with help from another forum member. The problem is in integrating t (dv/dt?) this to solve the differential equation. The attempt at a solution is to first integrate velocity with respect to time, and then to integrate x with respect to v.
  • #1
Kawakaze
144
0

Homework Statement



The problem regards a ball thrown vertically, there is a model of the motion that we worked out, from the original equation

a(t) = -(g/b^2)(v^2+b^2)

With some help from another forum member I integrated with regard to t (dv/dt?) this to

t=-(b/g)(arctan(v/b)-arctan(v_0/b))

Where v is velocity, v_0 is initial velocity and b and g are constants

The question then states - By writing a = v dv/dx, solve the resulting differential equation

Homework Equations



I think this is somehow related to the chain rule as v dv/dx is equal to (dv/dt)(dt/dx)

The Attempt at a Solution



The first integration is velocity with respect to time. I know that v dv/dx is a standard result found with the chain rule, in this case (dv/dt)(dt/dx).

The problem I am having is where x comes into this, there is no mention of distance in any of the formulae I am using. How do I apply this to the problem?
 
Physics news on Phys.org
  • #2
Assuming that x is the distance, from some starting point, that an object is after time t. The v= dx/dt and, of course, a= dv/dt.

From the chain rule, we have a= dv/dt= (dv/dx)(dx/dt). Now, that would be true for x any function of t but since v= dx/dt, that becomes dv/dt= v(dv/dx). Motion in which the force (and so acceleration) is independent of time are very common in physics (essentially due to the idea that "if I do an experiment this morning rather than this afternoon, I should get the same result") so that technique (called "quadrature" since the integral of v dv is [itex](1/2)v^2[/itex]) allows us to remove time from the problem completely.
 
  • #3
Thanks for the explanation, but I have to say I don't really follow your point. If I throw a ball and am interested in its position, then isn't knowing the time essential? or at least relatively speaking. The ball would be the same height above the ground x seconds after you threw it, I agree that I would expect gravity to be the same in the morning and afternoon :)

I also don't follow how the chain rule applies in this case, because even before we started there was no mention of the time variable, and now it appears and disappears again in one line...
 
  • #4
HallsofIvy said:
From the chain rule, we have a= dv/dt= (dv/dx)(dx/dt). Now, that would be true for x any function of t but since v= dx/dt, that becomes dv/dt= v(dv/dx).

I was chewing this over, am I correct in thinking this - because we have an expression for velocity and acceleration, and with the expressions we know exactly what the ball is going to do, and because of this then the time is not needed. I am having trouble with your response, no doubt the info is all there, I just have to figure it out! :) Thanks for your help anyway!
 
  • #5
Here is my attempt at a solution, can someone please check it

From earlier in the question

a=-(g/b^2)(b^2+v^2)

Substitute this in

v(dv/dx) = -(g/b^2)(b^2+v^2)

Separate terms

dv/(v.g) = -dx

Integrate and get

x = -1/g ln v
 
  • #6
Hi Mark! :smile:

(try using the X2 button just above the Reply box :wink:)

If you have a = f(v),

you can either write dv/dt = f(v) and integrate to get v as a function of t

or write vdv/dx = f(v) and integrate to get v as a function of x

it just depends which result you want :smile:
Kawakaze said:
v(dv/dx) = -(g/b2)(b2+v2)

Separate terms

dv/(v.g) = -dx

noooo … how did you get that? :confused:
 
  • #7
Hi Tim!

Thanks for the reply, its been a while! :)

The question asks for the highest point. We have an expression for acceleration

a = -(g/b2)(v2+b2)

where g = acc. due to gravity, m = mass of ball. D=diameter of ball b = mg/0.2D2

I assume my approach up to the point you went nooooooo is ok :)

I got that by trying to isolate the terms

v(dv/dx) = -(g/b2)(v2+b2)

v(dv/dx)/(v2+b2) = -(g/b2)

(dv/dx)/(v+b2) = -(g/b2)

-dv/(vg) = dx

Then I integrated to get x in terms of v

I assume that we want an expression that when you enter v=0, you get the value of the highest point. For the rest I am pretty much scratching my head, as my answer contains ln(0), so the ball would go pretty high :)
 
  • #8
Kawakaze said:
v(dv/dx) = -(g/b2)(v2+b2)

v(dv/dx)/(v2+b2) = -(g/b2)

(dv/dx)/(v+b2) = -(g/b2)

-dv/(vg) = dx

(did you divide that v2 on the bottom by the v on the top? you can't do that! :redface:)

no, v(dv)/(v2+b2) = -(g/b2)dx …

∫ v/(v2+b2) dv = -∫ (g/b2) dx :smile:
 
  • #9
Oops, yea, that v/v2 should have been 1/v :redface:

So the equation as it stands so far is

v(dv)/(v2+b2) = -(g/b2)dx (which i had in one of my first attempts :biggrin: )

Integrating this

1/2 ln (v2 + b2) = -gx/(b2

A few steps later I get the expression for x to be

x = -b2((ln(v2)+ln(b2))/2g)

But then I have again the same problem, that my expression contains ln(0). Is my assumption correct, that the maximum height of the ball is found where velocity = 0? Because if I have a 1/v anywhere in my expression, when I integrate it, I will be left with ln(0) again.
 
  • #10
Kawakaze said:
v(dv)/(v2+b2) = -(g/b2)dx (which i had in one of my first attempts :biggrin: )

Integrating this

1/2 ln (v2 + b2) = -gx/(b2

yes (and you must also add a constant) :smile:
A few steps later I get the expression for x to be

x = -b2((ln(v2)+ln(b2))/2g)

your arithmetic is seriously bad :redface:

you can't go from ln(v2 + b2) to ln(v2)+ln(b2)
 
  • #11
I thought this was an ok move to be honest. Is this just for logs I can't do this?

3(5 + 7) could be 3 x 12 = 36 or 15 + 21 which also equals 36

So this far is correct although I can't remember how I did it and now I wonder where the v on the LHS goes to -

integrate v(dv/dx)

1/2 ln (v2 + b2) = -gx/(b2)

I want x on its own so multiply both sides by b2 and divide by -g?
 
  • #12
Kawakaze said:
I thought this was an ok move to be honest. Is this just for logs I can't do this?

3(5 + 7) could be 3 x 12 = 36 or 15 + 21 which also equals 36

no, for everything (except straight multiplication) you can't do it!
integrate v(dv/dx)

1/2 ln (v2 + b2) = -gx/(b2)

I want x on its own so …

do exp to both sides (using eln(A) = A) :smile:

(but add on the constant first)
 
  • #13
I redid the integration and got an expression for x without taking the exp. It is still incorrect, can you please explain why I would take the exp of both sides. I am wondering if I should solve this using the particular integral method instead.

(1/2)ln(b2+v2)+C1 = -(g/b2)+C2

Rearranging for x

x = -((b2/2)ln(b2+v2)+C3)/g

The ball is launched upwards at 20 ms-1, the other variables are given, and with this expression, the balls height is found to be 380 metres, which is clearly wrong, although an improvement over the infinity + 18 I got yesterday.
 
  • #14
Hi Kawakaze! :smile:
Kawakaze said:
I redid the integration and got an expression for x without taking the exp. It is still incorrect, can you please explain why I would take the exp of both sides.

But wouldn't you prefer to write v as a function of x, rather than x as a function of v ? :wink:
(1/2)ln(b2+v2)+C1 = -(gx/b2)+C2

Rearranging for x

x = -((b2/2)ln(b2+v2)+C3)/g

i] you only need one constant, so you could have gone straight to C3 (on either side of the equation)

ii] write A = (1/2)ln(C3), then that becomes …
(1/2){ln(b2+v2)+ln(A)] = -(gx/b2)

ie (1/2)ln(A(b2+v2)) = -(gx/b2) :smile:

(and then do exp for both sides if you want v as a function of x)
 
  • #15
Good Evening, Tim!

Before I begin, thanks! Secondly, what is the significance of the constant? If I do not know it, then I have a big problem, I thought maybe this would be the initial height but if it isnt, then how can I calculate this?
 
  • #16
Kawakaze said:
… what is the significance of the constant? If I do not know it, then I have a big problem, I thought maybe this would be the initial height …

you need to do the "initial" of both sides of the equation …

(1/2)ln{(b2+v2)/(b2+vo2)} = -(g(x-xo)/b2)
 
  • #17
Hi Tim,

I got the equation to the following.

x = -((b2/2)ln(b2+v2)+C)/g

The initial values, are b2 = 1090 (b=root(mg/0.2D2)), v = 20, g = 9.81

When I re-arrange for C I get

C = xg/((b2/2)ln(b2+v2)) = 0.0036m

The two things that stick out here, 1) the initial value when taking x as 0, gives no useable answer, the ball is thrown from 1.5m off the ground. 2) When I substitute this value for C in, I still get a crazy answer. This is weird as my tutor also told me these integrals are correct. Maybe its the fact i did 10hrs at work today and its now 00.15am
 
  • #18
Hi Mark! :smile:
Kawakaze said:
x = -((b2/2)ln(b2+v2)+C)/g

The initial values, are b2 = 1090 (b=root(mg/0.2D2)), v = 20, g = 9.81

When I re-arrange for C I get

C = xg/((b2/2)ln(b2+v2)) = 0.0036m

I don't understand what you've done here. :confused:

The initial condition is that v = 20 when x = 0.

So when x = 0, the ln must be 0, so the thing inside the ln must be 1

ie it must be (b2+v2)/(b2+vo2).
 
  • #19
I don't understand what you mean. If x=0 then the top half of the equation is zero. So the only solution that could work is if the bottom half equals zero. But this is not correct, because if I put C=0 into the next part of the question where we find its max height, I get a crazy answer.

This is frustrating, can you please at least confirm the algebra is not where the fault is? Thanks!
 
  • #20
Kawakaze said:
I don't understand what you mean. If x=0 then the top half of the equation is zero

What top half? :confused:

I only see a left and a right …
Kawakaze said:
x = -((b2/2)ln(b2+v2)+C)/g

the left is 0, so the right must be 0, the right is a factor times a ln, so the inside of the ln must be 1
 
  • #21
Hi Tim :)

I rearranged the equation to get C, so I can solve the solution to find x. By doing this I got

xg/(b2/2)ln(b2+v2)

When I put in x's initial value of zero, I get 0/... which is infinity.
 
  • #22
Kawakaze said:
… I got

xg/(b2/2)ln(b2+v2)

no, there should be a minus in there …

xg/(b2/2) - ln(b2+v2)
 
  • #23
Hi Tim!

I see where this comes from, I made a mistake elsewhere and carried it forwards. You are quite correct, as always!

I get the constant to be -3.65. Giving a max height of the ball to be 383.55 metres. Which just doesn't seem right for something thrown at 20m/s
 
Last edited:
  • #24
Kawakaze said:
… Giving a max height of the ball to be 383.55 metres. Which just doesn't seem right for something thrown at 20m/s

It's difficult for me to comment on that, since this isn't a standard projectile problem :confused:
Kawakaze said:
The problem regards a ball thrown vertically, there is a model of the motion that we worked out, from the original equation

a(t) = -(g/b^2)(v^2+b^2)

Have you tried my earlier recommendation for dealing with the constant? …
tiny-tim said:
(1/2)ln{(b2+v2)/(b2+vo2)} = -(g(x-xo)/b2)
 

What is a first-order differential equation?

A first-order differential equation is a mathematical equation that relates the rate of change of a dependent variable to the value of the independent variable and the dependent variable itself. It can be written in the form dy/dx = f(x,y), where y is the dependent variable, x is the independent variable, and f(x,y) is a function that defines the relationship between them.

What does "d" mean in differential notation?

In differential notation, "d" represents the infinitesimal change in a variable. It is used to indicate that the dependent variable is changing with respect to the independent variable, and is often placed in front of the variable. For example, dy/dx can be read as "the change in y with respect to the change in x."

What is the difference between an ordinary differential equation (ODE) and a partial differential equation (PDE)?

An ordinary differential equation involves only one independent variable, while a partial differential equation involves multiple independent variables. ODEs are used to model systems that vary in only one dimension, while PDEs are used to model systems that vary in multiple dimensions.

How do you solve a first-order differential equation?

There are many methods for solving first-order differential equations, depending on the type of equation and the initial conditions given. Some common methods include separation of variables, substitution, and integrating factors. In general, solving a differential equation involves finding the function or functions that satisfy the equation.

Why are first-order differential equations important in science?

First-order differential equations are used to model many physical, biological, and social systems. They are essential in understanding how systems change over time and how different variables are related to each other. Applications of first-order differential equations can be found in fields such as physics, engineering, biology, economics, and more.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
578
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
954
  • Calculus and Beyond Homework Help
Replies
3
Views
571
  • Calculus and Beyond Homework Help
Replies
15
Views
787
Back
Top