Problem : A basketball player who is standing 15 feet away from a basketball hoop is trying to make a basket. If the height of the hoop is 10 feet, and the height at which the player shoots the ball is 6 feet, at what angle and with what speed should the player shoot the ball?
Using the general formula for projectile motion worked out in this section, we find that the position function for a ball which is shot from a height of 6ft, with initial velocity vector v _{0} , is:
where we are taking the origin of coordinates to be at the player's feet, and the positive z -direction points upwards. If we choose the x -direction to point in the direction of the hoop, we can ignore the y -direction and reduce this to a two-dimensional problem.
For the player to make his basket, the trajectory of the ball must pass through the point (15, 0, 10) (since the basket is located 15 ft away and is 10 ft high). Therefore, we need to find v _{0} = (v _{x}, 0, v _{z}) such that x(t) = (15, 0, 10) at some time t (since there is no motion in the y -direction we know that v _{y} must be zero). To do this, we write out the one-dimensional equations for the x - and z -directions:
(1) 15 = v _{x} t , and (2) 10 = - gt ^{2} + v _{z} t + 6
From (2) we find that the ball reaches a height of 10 ft at a time t such that:
Using the quadratic formula, we find two solutions for t :
t _{2} , which is the earlier time, corresponds to when the ball passes through a height of 10 feet on its way up. However, the basket must be made as the ball is falling back down. Therefore, t _{1} is the time we are interested in.
It is not enough for the ball to have a height of 10 ft, however, in order for the basketball player to make the basket. At the same time it reaches that height (i.e. at time t _{1} ) it must also have traveled 15 ft in the x - direction. We are now in a position to solve for v _{x} in terms of v _{z} . Using (1), and plugging in the time t _{1} , we find that:
So, any initial velocity vector of the form
will ensure that the player makes his basket.
Problem : Assume that the basketball player in the previous problem has a special condition which allows him only to shoot basketballs at a speed of 10 ft/s. How might someone go about finding at what angle must he shoot the ball in order to make the basket?
Using the solution to the previous problem,
we need only require that the magnitude of v _{0} is 10 ft/s. This will enable us to solve for a single value of v _{z} , which will in turn provide us with a unique value for v _{x} . Following familiar rules from trigonometry, by taking arctanv _{z}/v _{x} we can then get the angle at which the player must shoot. The details of these particular calculations become quite ugly and are left as an exercise.