This page uses ASCIIMathML to generate MathML on the fly from plain text math. Netscape 7, Mozilla, Firefox, and Internet Explorer 6 can display MathML, but IE6 needs the MathPlayer plugin and the others need some fonts.

Maximizing distance traveled by a thrown object

A puzzle from mathpuzzle.com, November 11, 2004.

Ed Pegg Asked

You throw a ball over a flat field as hard as you can. Easy: what upward angle maximizes the distance away that the ball lands? Harder: what upward angle maximizes the distance that the ball travels?

Basic Equations

This is a basic dynamics problem where details like wind resistance and the curvature of the earth are meant to be ignored. Suppose you throw the ball with an initial speed V0 at an initial angle θ above the horizontal. This gives it an initial upward component of velocity V=V0sin(θ) and an unchanging forward component of velocity of H=V0cos(θ). The vertical velocity is reduced by the acceleration due to gravity; that is dVdt=-g and therefore V(t)=V0sin(θ)-gt.

Due to conservation of energy, the ball reaches the ground at the same speed, but downward, that it had when you threw it. So if the final time is t=F, V(F)=-V0sin(θ)=V0sin(θ)-gF so F=2(V0g)sin(θ).

Part 1 Solution

Since it travels the same horizontal speed at all times, to compute the distance A away from you where the ball lands, you simply need to multiply the time it is in the air times the horizontal velocity. Thus maximize A=FH=2(V02g)sin(θ)cos(θ)=(V02g)sin(2θ). dFHdthη=2(V02g)cos(2θ) which is zero when cos(2 theta) is zero at θ=π4.

Part 2 Solution

The distance traveled D is a bit harder to compute. This is the integral of the full speed S (considering both components of the velocity) from 0 to F. S(t)=V(t)2+H2=V02sin2(θ)+g2t2-2V0gtsin(θ)+V02cos2(θ).

Since sin2(θ)+cos2(θ)=1, this reduces to S(t)=V02+g2t2-2V0gtsin(θ). Then the distance traveled is 0FS(t)dt. How do you integrate this?

The Standard Math Tables provide a solution. Let S(t)=X, X=a+bt+ct2, a=V02, b=-2V0gsin(θ), and c=g2. Then q=4ac-b2=4V02g2(1-sin2(θ))=4V02g2cos2(θ), and k=4cq=1V02cos2(θ), then Xdt=(2ct+b)X4c+(12k)dtX.

The math tables also provide a solution for the new integral. Actually, it provides three of them, but the one that fits best here, for c>0 as it is in this case, is dtX=(1c)log(X+tc+b2c).

Substituting in the variables from the problem, S(t)dt=(gt-V0sin(θ))St2g+V02cos2(θ)2glog(S(t)+gt-V0sin(θ)). Then we need to evaluate this at F=2(V0g)sin(θ) and 0. Remember from above that S(0)=S(F)=V0.

D=(2V0sin(θ)-V0sin(θ))V02g+V02cos2(θ)2glog(V0+2V0sin(θ)-V0sin(θ))+(V0sin(θ))V02g-V02cos2(θ)2glog(V0-V0sin(θ))

D=V02sin(θ)g+V02cos2(θ)2g(log(V0+V0sin(θ))-log(V0-V0sin(θ)))

D=V02sin(θ)g+V02cos2(θ)2glog(1+sin(θ)1-sin(θ))

The arrangement inside the logarithm suggests the application of trig identities. Multiply numerator and denominator by 1+sin(θ), leading to log((1+sin(θ))2cos2(θ))=2log(1+sin(θ)cos(θ)).

D=V02sin(θ)g+V02cos2(θ)glog(1+sin(θ)cos(θ))

The angle at which the maximum in the distance occurs is then the solution of dDdthη=0

dDdthη=V02cos(θ)g-2V02cos(θ)sin(θ)glog(1+sin(θ)cos(θ))+V02cos2(θ)gcos(θ)1+sin(θ)(sec2(θ)+sec(θ)tan(θ))=0

cos(θ)-2cos(θ)sin(θ)log(1+sin(θ)cos(θ))+cos2(θ)cos(θ)1+sin(θ)(sec2(θ)+sec(θ)tan(θ))=0

cos(θ)-2cos(θ)sin(θ)log(1+sin(θ)cos(θ))+cos(θ)1+sin(θ)(1+sin(θ))=0

cos(θ)-2cos(θ)sin(θ)log(1+sin(θ)cos(θ))+cos(θ)=0

2cos(θ)=2cos(θ)sin(θ)log(1+sin(θ)cos(θ))

1=sin(θ)log(1+sin(θ)cos(θ))

This can be solved numerically, to find θ is about 0.985515 radians or 56.4658 degrees. And D(θ)=1.19968V02g. Compare this with the distance at the 45 degree angle throw, where D=1.14779V02g.