It is very common in physics to have accelerations given as functions of variables other than time, like position or velocity. This is because accelerations are related to force by Newton's Law
, and most forces are most naturally expressed as functions of position - gravity gets weaker the farther you get from a massive body, the tension in a spring increase as you pull it away from equilibrium. And sometimes we know forces as functions of velocity as in wind resistance - the faster you go the harder the wind pushes against you.
In each of these cases we do not have acceleration as a function of time, and thus we need to know how to handle these situations. And, as in most cases, we can write down the position dependence easily, but writing down the time-dependence will be very difficult or even impossible (in closed form - we can always make numerical approximations).
So, say we're given acceleration as a function of position and we want to find the velocity
. We have the relationship
In order to make progress we have to deal with the dependence has on
. What we notice is that if we can express
as a function of
, then naturally we can express
as a function of
as well. Thus we have:
So, by the definition of derivative for any function we have:
But we have the relation
Now, in the current case we have , and we can identify
as the velocity
of the particle so that we have
Note, this formula is particularly easy to remember because you can just think of putting in a into the normal derivative formula. This can also be extended to functions of several variables in a straightforward way, but that would lead us too far astray.