# Finding A Vector Position Function For Projectile Motionh

• Bashyboy
In summary, the cannon shoots a ball at an angle θ above the horizontal ground. The gravitational force only acts on the object and the ball's distance from the cannon increases throughout the ball's flight. The largest possible value of θ is one that satisfies 0 \le \theta < \frac{\pi}{2}.
Bashyboy

## Homework Statement

A cannon shoots a ball at an angle θ above the horizontal ground. Neglecting air resistance use Newton's second law to find the ball's position as a function of time. (Use the axes with x measured horizontally and y vertically.) Let r(t) denote the balls distance from the cannon. What is the largest possible value of θ if r(t) is to increase throughout the ball's flight? (Hint: using your solution to part (a) you can write down r^2 as x^2 + y^2, and then find the condition that r^2 is always increasing.)

## The Attempt at a Solution

Suppose that the magnitude of the initial velocity is $v_0$. Since we are neglecting air-resistance, no force opposes the motion directed parallel to the x-axis.

$v_x = v_0 \cos \theta$ (velocity does not change with time)

Integrating, $x(t) = v_0 (\cos)t \theta + x_0$

The only force acting on the object is the gravitational force.

$F_g = ma$

rewriting

$a = F_g/m$

Integrating twice, $y(t) = - \frac{1}{2}gt^2 + v_{y0}t + y_0$, where g = F_g/m and v_yo = v_0 sinθ.

y_0 and x_0 are the initial positions of the object. Define the origin of the coordinate system to coincide with the initial point. Hence, (x_0,y_0) = (0,0)

Now, the vector position function $\vec{r(t}$ can be written as $\vec{r(t)}= (v_0 cos \theta t) \hat{i} + (gt^2 + v_0 sin (\theta) t$

The magnitude of this is:

$| \vec{r(t)} | = \sqrt{v^2_0 cos^2 \theta - \frac{1}{4} g^2 t^4 + gt^3 v_0 sin \theta + v_0^2 sin^2 (\theta) t^2}$

-----------------------------------------------------------

Does this appear correct? Also, when it says that you can write r^2 as x^2 + y^2, are they asking me to convert my position into polar coordinates?

Last edited:
See if you can find the (typographical ?) errors in the following:

What is the largest possible value of if r(t) is to...

Integrating, $x(t) = v_0 \cos \theta + x_0$

$y(t) = \frac{1}{2}gt^2 + v_{y0}t + y_0$

$\vec{r(t)}$ can be written as $\vec{r(t)}= (v_0 cos \theta t) \hat{i} + (gt^2 + v_0 sin \theta t) \hat{j}$

$| \vec{r(t)} | = \sqrt{v^2_0 cos^2 \theta 1/4 g^2 t^4 + gt^3 v_0 sin \theta + v_0^2 sin^2 \theta t^2}$

-----------------------------------------------------------

They are not asking you to work in polar coordinates. But you will want to follow the hint and work with ##r^2## rather than ##r## in order to avoid dealing with the square root.

All right, I believe I amended every error. So, the hint is to take the function |r(t)| and square it?
Can't I determine the largest value for θ simply by looking at the vector position function? If θ = pi/2, then there would be no horizontal velocity, and the distance wouldn't increase with time--it would increase, and then decrease. So, the largest value that θ that can attain is one that satisfies $0 \le \theta < \frac{\pi}{2}$. Isn't this true?

Last edited:
Just note ##r(t)^2 = x(t)^2 + y(t)^2##. You still have some errors left. Each line that I quoted had at least one error. There's an important sign error associated with the direction of the acceleration of gravity.

All right, I think I got them all. Also, I edited post #3, could you possibly check it?

Bashyboy said:
Can't I determine the largest value for θ simply by looking at the vector position function? If θ = pi/2, then there would be no horizontal velocity, and the distance wouldn't increase with time--it would increase, and then decrease. So, the largest value that θ that can attain is one that satisfies $0 \le \theta < \frac{\pi}{2}$. Isn't this true?

Even if ##\theta_0## is less than ##\pi/2##, ##r## can still end up decreasing through part of the flight unless ##\theta_0## is [STRIKE]large[/STRIKE] small enough.

{EDIT! Yuck, what I just said is backwards! ##r## will always increase as long as ##\theta_0## is less than a certain value. You need to find that value.}

Last edited:
It's best not to go back to previous posts and change things too much because it can cause confusion when others are reading through the sequence of posts. Just make the corrections in new posts. (I'm guilty of the same thing.)

Bashyboy said:
$| \vec{r(t)} | = \sqrt{v^2_0 cos^2 \theta - \frac{1}{4} g^2 t^4 + gt^3 v_0 sin \theta + v_0^2 sin^2 (\theta) t^2}$

One of the terms here is missing some factors of ##t## and two of the terms have the wrong sign.

All right, how about I just write r(t) as:

$r(t) = \sqrt{(v_0 \cos (\theta) t)^2 + (- \frac{g}{2} t^2 + v_0 \sin (\theta) t)^2}$

And squaring,

$r^2 = (v_0 \cos (\theta) t)^2 + (- \frac{g}{2} t^2 + v_0 \sin (\theta) t)^2$

I am not sure how helpful this is. What should I do next?

You want to show that ##r## is an increasing function of ##t## for all ##t## if ##\theta_0## is small enough. Note that ##r## increases if and only if ##r^2## increases. You have a functional expression for ##r^2(t)##. What is the calculus way of showing that a function is increasing?

Would it be taking the partial derivative of r with respect to theta?

No, you want ##r^2(t)## to be an increasing function of time ##t##.

Oh, okay, so I take the partial of r^2 with respect to time.. Why does showing r^2 is an increasing function also indicate that r is an increasing function?

The only way for ##r^2## to increase is for ##r## to increase (note ##r## is always positive in our application). And the only way for ##r## to increase is for ##r^2## to increase. A graph of ##r^2## vs ##r## (restricted to positive ##r##) is a good way to see it. So, showing that ##r^2## is increasing with time is equivalent to showing ##r## is increasing with time.

All right, I computed the partial derivative of r^2 with respect to time:

$2r \frac{\partial r}{\partial t} = 2v_0 \cos \theta(v_0t \cos \theta) + 2(-gt + v_0 \sin \theta)(- \frac{q}{2} t^2 + v_0t \sin \theta)$ (chain rule)

$2r \frac{\partial r}{\partial t} = 2v_0^2t \cos^2 \theta + 2v_0t \sin^2 \theta - g^2t^3 - 3gv_0t^2 \sin \theta$ (rearranging and simplification)

$2r \frac{\partial r}{\partial t} = 4v_0t - g^2t^3 - 3gt^2 \sin \theta$ pythagorean identity

So, I set $\frac{\partial r}{\partial t} = 0$, and then solve for theta?

$r^2 = (v_0 \cos (\theta) t)^2 + (- \frac{g}{2} t^2 + v_0 \sin (\theta) t)^2$

I think it is easier to square out the expressions and simplifying before taking the derivatives. But of course it should work your way.

Bashyboy said:
All right, I computed the partial derivative of r^2 with respect to time:

$2r \frac{\partial r}{\partial t} = 2v_0 \cos \theta(v_0t \cos \theta) + 2(-gt + v_0 \sin \theta)(- \frac{q}{2} t^2 + v_0t \sin \theta)$ (chain rule)

$2r \frac{\partial r}{\partial t} = 2v_0^2t \cos^2 \theta + 2v_0t \sin^2 \theta - g^2t^3 - 3gv_0t^2 \sin \theta$ (rearranging and simplification)

$2r \frac{\partial r}{\partial t} = 4v_0t - g^2t^3 - 3gt^2 \sin \theta$ pythagorean identity

Your second line looks good except for one sign error.

In going to the last line, it looks like you made a mistake in getting the factor of 4 and also in dropping some factors of ##v_0##.

So, I set $\frac{\partial r}{\partial t} = 0$, and then solve for theta?

You want to find the condition on ##\theta## such that that there will never be a solution for ##t## of the equation ##dr/dt = 0##

I believe I fixed the errors, except the one in line two. I don't see how there is sign error.

Bashyboy said:
I believe I fixed the errors, except the one in line two. I don't see how there is sign error.

Should the ##g^2t^3## term be positive or negative?

My apologies for being rather tardy in replying. I reworked the solution, and here is what I got:$r^2 = (- \frac{1}{2}gt^2 + v_0t \sin \theta)^2 + (v_0t \cos \theta)^2$

Expanding and using the pythagorean identity:

$r^2 = \frac{1}{4}g^2t^4 - gv_0t^3 \sin \theta + 2v_0^2t^2$

Taking the partial of r with respect to time:

$2r \frac{\partial r}{\partial t} = g^2t^3 -3gv_0t^2 \sin \theta + 4v_0t$

I really can't see how any value that theta can assume will cause this to be zero.

Bashyboy said:
$r^2 = \frac{1}{4}g^2t^4 - gv_0t^3 \sin \theta + 2v_0^2t^2$

Check to see if the factor of 2 in the last term is correct.

Taking the partial of r with respect to time:
I really can't see how any value that theta can assume will cause this to be zero.

After taking the derivative with respect to time and setting it equal to zero, you should be able to simplify it to a quadratic equation. Then apply the quadratic formula for solving a quadratic equation.

I get$0 = g^2t^3-3gv_0t^2 \sin \theta 2v_0^2t$. I don't see how this reduces to a quadratic equation.

Divide through by ##t##.

## 1. What is a vector position function for projectile motion?

A vector position function for projectile motion is a mathematical representation of the position of an object in motion. It includes both the magnitude (distance) and direction of the object's displacement from its initial position.

## 2. How is a vector position function for projectile motion different from a scalar position function?

A scalar position function only includes the magnitude of an object's displacement, while a vector position function includes both magnitude and direction. This is because projectile motion involves both horizontal and vertical components, making it a two-dimensional motion.

## 3. What are the variables used in a vector position function for projectile motion?

The variables commonly used in a vector position function for projectile motion are time (t), initial velocity (v0), initial height (y0), and acceleration due to gravity (g). Other variables such as angle of launch, air resistance, and initial horizontal velocity can also be included depending on the specific problem.

## 4. How can a vector position function be used to predict the trajectory of a projectile?

By using the equations of motion, such as the kinematic equations, a vector position function can be used to calculate the position of a projectile at any given time. This allows us to predict the trajectory of the projectile and determine its maximum height, range, and time of flight.

## 5. What are some real-life applications of vector position functions for projectile motion?

Vector position functions for projectile motion are used in a variety of fields, including engineering, physics, and sports. They can be used to design and predict the trajectory of projectiles, such as rockets, missiles, and sports balls. They are also used in computer simulations and video games to accurately represent the motion of objects in a virtual environment.

• Introductory Physics Homework Help
Replies
9
Views
1K
• Introductory Physics Homework Help
Replies
4
Views
314
• Introductory Physics Homework Help
Replies
5
Views
691
• Introductory Physics Homework Help
Replies
10
Views
379
• Introductory Physics Homework Help
Replies
2
Views
387
• Introductory Physics Homework Help
Replies
62
Views
4K
• Introductory Physics Homework Help
Replies
38
Views
732
• Introductory Physics Homework Help
Replies
6
Views
1K
• Introductory Physics Homework Help
Replies
13
Views
876
• Introductory Physics Homework Help
Replies
2
Views
722