solving quadratic equation in motion equations

243 Views Asked by At

Is it possible to solve this equation for $t$

$$x_f = x_0 + v_0t + \tfrac{1}{2}at^2~?$$

It feels like its a quadratic but since x final and initial are not the same and sometimes initial is not zero any idea?

I asked this question on physics stack over flow and someone gave me this answer

$$t=-v_0+{\frac{\sqrt{(v_0^2-2a(x_0-x_f)}}{a}}$$

which is not right in my understanding I'm solving a problem $$ x_0 = 0, x_f = 0, v_0 = 8.1\ a = -9.81$$ if I solve in the first equation I get 1.65 but -8.1 if I use the 2nd one

I'm trying to solve this by matlab this is why I use trying to separate the t

2

There are 2 best solutions below

2
On BEST ANSWER

We are trying to find the positive real root of the equation $$\frac{1}{2}at^2+v_0t+(x_0-x_f).$$ Since this is a quadratic equation in $t$, it has roots at $$t=\frac{-v_0\pm \sqrt{{v_0}^2-4(a/2)(x_0-x_f)}}{2(a/2)}$$ Or more succinctly, $$t=\frac{-v_0\pm \sqrt{{v_0}^2+2a(x_f-x_0)}}{a}$$ Putting these into our equation, we get $$t=\frac{-8.1\pm \sqrt{{8.1}^2+2(-9.81)(0-0)}}{-9.81}$$ Simplifying and ignoring the zero root, $$t=\frac{-2\times 8.1}{-9.81}$$ Thus $t\approx 1.651.$

1
On

The solution given on physics SE is most likely formatted incorrectly. It should be $$t = \frac{-v_0 \pm \sqrt{v_0^2-2a(x_0-x_f)}}{a}$$ This gives you the solutions $t = 0, t=1.65$ and you can safely ignore the root $t=0$.

There is a simpler way to solve this equation. If $x_0$ and $x_f$ are 0, you can remove them from the equation directly. The equation then becomes $$2v_0t = -at^2$$ Ignoring the trivial solution $t = 0$, $$t = -\frac{2v_0}{a} = \frac{16.2}{9.81} \approx 1.65$$

In physical terms, your equation of motion describes a ball thrown up with velocity $v_0$. You are simply finding the time of flight of the particle in this case.