Calculating velocity with variable acceleration

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 10K views
scain6043
Messages
5
Reaction score
0
This is not so much coursework as it is a thought experiment that has been bugging me for a while now.

1. Homework Statement


Find the equation for velocity either as a function of distance (x) or time (t).

I have an object whose acceleration is given by the rational function a(x) = (a+x)/(b-x) where x is the distance traveled and a and b are some constant.

The actual equation has many more values and constants in it but this simplified version should be fairly similar.

2. The attempt at a solution

First, I resorted to the motion equations but quickly realized that the acceleration is not constant. My second thought was to use motion equations that deal with variable acceleration that use jerk and so forth but soon found that due to the rational nature of the function a(x) that it is not possible to get a derivative that is a constant.

Yesterday, the idea came to me that if I took the derivative of a(x) my resulting function would have the units 1/(sec)2 which could be manipulated by taking the square root of the reciprocal to obtain time with respect to distance (x). However, this still does not solve the problem because I'm not sure if the manipulation is mathematically sound and this still does not solve the problem of variable acceleration. Any thoughts?
 
Physics news on Phys.org
scain6043 said:
Yesterday, the idea came to me that if I took the derivative of a(x) my resulting function would have the units 1/(sec)2 which could be manipulated by taking the square root of the reciprocal to obtain time with respect to distance (x). However, this still does not solve the problem because I'm not sure if the manipulation is mathematically sound and this still does not solve the problem of variable acceleration. Any thoughts?
I would be surprised if that gave the correct t(x)

The goal is to solve the differential equation [itex]\frac{d^2x}{dt^2}=\frac{a+x}{b-x}[/itex]
I am the opposite of an expert at differential equations, but I'm thinking you might be able to separate it and integrate both sides twice:
[itex]∫∫\frac{b-x}{a+x}d^2x=∫∫dt^2[/itex]
The left side would be easier to integrate if you wrote it like this:
[itex]∫∫\frac{b-x}{a+x}d^2x=∫∫\frac{b+a-(a+x)}{a+x}d^2x=∫∫(\frac{b+a}{a+x}-1)d^2x[/itex]

I am not sure if this would give the correct solution. I replied to you so that I can also learn from this problem. I'm sure someone more knowledgeable will help soon.
 
Nathanael said:
I would be surprised if that gave the correct t(x)

The goal is to solve the differential equation [itex]\frac{d^2x}{dt^2}=\frac{a+x}{b-x}[/itex]
I am the opposite of an expert at differential equations, but I'm thinking you might be able to separate it and integrate both sides twice:
[itex]∫∫\frac{b-x}{a+x}d^2x=∫∫dt^2[/itex]
The left side would be easier to integrate if you wrote it like this:
[itex]∫∫\frac{b-x}{a+x}d^2x=∫∫\frac{b+a-(a+x)}{a+x}d^2x=∫∫(\frac{b+a}{a+x}-1)d^2x[/itex]

I am not sure if this would give the correct solution. I replied to you so that I can also learn from this problem. I'm sure someone more knowledgeable will help soon.
Hi Nathanial. You can't integrate it like that. It's not correct mathematically. But, here is something that will work:

By the chain rule:

##a = \frac{dv}{dt}=\frac{dv}{dx}\frac{dx}{dt}=v\frac{dv}{dx}=\frac{1}{2}\frac{dv^2}{dx}##

Chet
 
  • Like
Likes   Reactions: Nathanael
Chestermiller said:
It's not correct mathematically.
In particular ##\int d^2x## is meaningless. It can't be thought of as ##\int\int dx^2##.
Chestermiller said:
By the chain rule:
##a = \frac{dv}{dt}=\frac{dv}{dx}\frac{dx}{dt}=v\frac{dv}{dx}=\frac{1}{2}\frac{dv^2}{dx}##
Yes, a trick worth noting. It's equivalent to working with energy instead of forces, ##F.dx = mv.dv##. Typically, it allows you to get v as a function of position in closed form, but not v as a function of time. Fortunately, the OP asks for either.
 
  • Like
Likes   Reactions: Nathanael
Thanks for the replies! I understand that using energy I can find the velocity but isn't that only if the change in energy is already known?