Setting a moving projectile's acceleration so it goes through the origin

49 Views Asked by At

Scenario: Suppose there is a projectile traveling in two-dimensional space. It is currently at point $(p_x, p_y)$ and has velocity $(v_x, v_y)$. It can accelerate in any direction but the magnitude of its acceleration must be $m$.

Goal: I want to find out what acceleration $(a_x, a_y)$ will cause its trajectory to go through the origin.

Work so far: I have the following system of three equations, with three unknowns $a_x$, $a_y$, and $t$: $$\frac{1}{2}a_xt^2+v_xt+p_x=0$$ $$\frac{1}{2}a_yt^2+v_yt+p_y=0$$ $$a_x^2+a_y^2=m^2$$ The first two come from integrating each respective component of acceleration twice with respect to time and setting the result equal to 0. The last one is from the requirement that the magnitude of its acceleration be a constant $m$.

If I solve the third equation for $a_y$ in terms of $a_x$, I get:

$$a_y = \sqrt{m^2 - a_x^2}$$

If I solve the second equation for $t$ in terms of $a_y$, I get:

$$t = \frac{-v_y + \sqrt{v_y^2 - 2p_ya_y}}{a_y}$$

Composing these provides $t$ in terms of $a_x$:

$$t = \frac{-v_y + \sqrt{v_y^2 - 2p_y\sqrt{m^2-a_x^2}}}{\sqrt{m^2-a_x^2}}$$

I can then set this equal to the first equation solved for $t$ in terms of $a_x$:

$$\frac{-v_y + \sqrt{v_y^2 - 2p_y\sqrt{m^2-a_x^2}}}{\sqrt{m^2-a_x^2}} = \frac{-v_x + \sqrt{v_x^2 - 2p_xa_x}}{a_x}$$

And here I am stuck. I have one equation with unknown, $a_x$, but I cannot get any computer algebra system to solve for $a_x$. I can't proceed from here using this approach, but I can't think of any other way to approach the problem, either.

My question: Am I going in the right direction? Is there an easier way to solve it?

1

There are 1 best solutions below

1
On BEST ANSWER

I'm afraid the reason that no system can solve for $a_x$ is that the problem leads to a fourth-order equation no matter how you approach it. You could get a polynomial equation from the equation you derived by repeatedly squaring it, but there is indeed a simpler approach.

If you know the magnitude of a vector but not the direction, instead of having two free Cartesian coordinate variables and constraining them with the magnitude, it's often easier to write the vector in polar coordinates, as it leaves you with one less variable and one less constraint. In the present case, you don't really need that though, you can easily get rid of the extra variables: Solve the first equation for $a_x$ and the second for $a_y$ and substitute into the third to obtain

$$ \left(\frac{v_xt+p_x}{\frac12t^2}\right)^2+\left(\frac{v_yt+p_y}{\frac12t^2}\right)^2=m^2\;, $$

and thus

$$ t^4=\frac4{m^2}\left((v_xt+p_x)^2+(v_yt+p_y)^2\right)\;. $$

This is a fourth-order equation for $t^4$, and I doubt that you can avoid solving at least one of those to solve the problem.