Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been having trouble sorting this one out. I need to compute the time it will take for a vehicle traveling along a straight line to reach a particular point. I have the initial velocity ($v_i$), acceleration ($a$), and distance ($dx$) to the point. I don't have the final velocity $v_f$ nor the time $t$ I've been trying to solve this equation for time ($t$) but that's where I'm stuck.

$$ dx = v_it + {1\over2}at^2$$

share|cite|improve this question
up vote 4 down vote accepted

You know everything except t in this equation. Therefore you should be able to re-arrange the equation into the form at^2 + bt + c = 0, the quadratic form. From there, you need to solve the quadratic (using the quadratic formula for example) to get two solutions for t. Since negative t does not make sense in this context, your answer will be the positive value for t.

share|cite|improve this answer
Well, it's possible to get two positive solutions, in case $a$ and $dx$ have opposite signs. The desired answer is probably the smallest positive solution. – Rahul Dec 26 '12 at 16:39
In this case $dx$ and $v_i$ are positive but $a$ can be negative. – progrmr Dec 26 '12 at 21:49
It looks like there may also be the case where there is no real solution (where the discriminant < 0). I'll have to deal with that situation in the software also. Thanks! – progrmr Dec 26 '12 at 22:10

Use the Quadratic Formula. ${}{}{}{}{}{}{}{}{}$

share|cite|improve this answer
Thanks for the link, that's a very helpful page. – progrmr Dec 26 '12 at 22:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.