Three point shot: the half-court heave

Steph Curry regularly wows crowds with his incredible 3-point shooting, as he did in Game 1 of the 2018 NBA championship last Thursday when he made a shot from half-court right at the buzzer.

When he shoots, he aims the ball at the center of the rim, horizontal distance d d ahead of him and vertical distance h h above. There is some freedom in making the shot — there are an infinite number of pairs of shot velocity and shot angle that will result in the ball passing through the target point ( d , h ) (d,h) . But the key to a consistent shot is minimizing the effect of small errors in execution. In fact, there's a magic angle at which the variation in both d d and h h with respect to θ \theta is minimized.

At what angle (in degrees) should he take his shots for the most reproducible three-pointer?

Assumptions and Details:

  • d = 14.5 m d = \SI{14.5}{\meter} and h = 1.15 m . h = \SI{1.15}{\meter}.
  • Neglect air resistance.
  • In general, a player needs to be consistent in their shot angle and shot velocity but, for simplicity, we focus on shot angle and assume that Curry can set his shot velocity with no error.


The answer is 47.2673.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

4 solutions

Mark Hennings
Jun 4, 2018

If the ball is to pass through the point ( d , h ) (d,h) , when projected at an angle α \alpha to the horizontal, then it has to be projected at speed v α v_\alpha , where h = d tan α g d 2 2 v α 2 cos 2 α h \; = \; d\tan\alpha - \tfrac{gd^2}{2v_\alpha^2\cos^2\alpha} If the ball is projected at this speed v α v_\alpha at an angle of θ \theta to the horizontal, its trajectory is y = x tan θ g 2 v α 2 cos 2 θ x 2 = x tan θ ( d tan α h ) cos 2 α d 2 cos 2 θ x 2 y \; = \; x\tan\theta - \tfrac{g}{2v_\alpha^2\cos^2\theta}x^2 \; = \; x\tan\theta - \frac{(d\tan\alpha - h)\cos^2\alpha}{d^2\cos^2\theta}x^2 and so the ball passes through the points ( d , H ( θ ) ) (d,H(\theta)) and ( D ( θ ) , h ) (D(\theta),h) where H ( θ ) = d tan θ ( d tan α h ) cos 2 α sec 2 θ h = D ( θ ) tan θ ( d tan α h ) cos 2 α d 2 cos 2 θ D ( θ ) 2 \begin{aligned} H(\theta) & = \; d\tan\theta - (d\tan\alpha - h)\cos^2\alpha\,\sec^2\theta \\ h & = \; D(\theta)\tan\theta - \frac{(d\tan\alpha - h)\cos^2\alpha}{d^2\cos^2\theta}D(\theta)^2 \end{aligned} Measures of vertical and horizontal deviation for the shot are H ( α ) |H'(\alpha)| and D ( α ) |D'(\alpha)| respectively, and it is easy to calculate that H ( α ) = d + 2 h tan α d tan 2 α D ( α ) = d ( d + 2 h tan α d tan 2 α ) d tan α h \begin{aligned} H'(\alpha) & = \; d + 2h\tan\alpha - d\tan^2\alpha \\ D'(\alpha) & =\; \frac{d(d + 2h\tan\alpha - d\tan^2\alpha)}{d\tan\alpha - h} \end{aligned} Thus the least possible horizontal and vertical deviation occurs by choosing α \alpha such that D ( α ) = H ( α ) = 0 D'(\alpha) = H'(\alpha) = 0 , which can be done by solving d tan 2 α 2 h tan α d = 0 d\tan^2\alpha - 2h\tan\alpha - d \; = \; 0 and hence (since tan α > 0 \tan\alpha > 0 ) tan α = h + h 2 + d 2 d \tan\alpha \; = \; \frac{h + \sqrt{h^2 + d^2}}{d} For this problem, this means α = 47.2673 3 \alpha = \boxed{47.26733^\circ} .

Your approach is computationally much easier than the way I did it. But notice that if h = 0 h=0 , then α = 45 \alpha = 45 , which is why most shots are at about this angle or slightly steeper. Furthermore, since at about 45 45 degrees, any deviation from this angle will result in the ball arriving at the hoop closer to the player, the player should ideally shoot for a spot just slightly further from him than the center of the hoop.

Michael Mendrin - 3 years ago

Log in to reply

If h = 0 h=0 , then d d is the maximum range that can be achieved for the α = 4 5 \alpha=45^\circ throwing speed, so it will be hard to aim further away without changing the rules/throwing the ball faster than the current rules permit.

Mark Hennings - 3 years ago

Log in to reply

This problem did state that the player is aiming for the center of the hoop. I'm just saying that in practice, he should be aiming for a spot further away from him than the center, for greater chance of success.

Anyhow, it's interesting that by assuming that we also want to minimize the vertical deviation as well as the horizontal, you've come up with a simpler result, even though the vertical deviation shouldn't even matter in the first place! This gives me something to think about.

Michael Mendrin - 3 years ago

Log in to reply

@Michael Mendrin I only came up with this answer by pressing for clarification about the wording...

Mark Hennings - 3 years ago

Nicely done! Although not intuitive, tan α = h + h 2 + d 2 d \tan \alpha = \frac{h + \sqrt{h^2 + d^2}}{d} can be simplified to α = 45 ° + 1 2 tan 1 h d \alpha = 45° + \frac{1}{2} \tan^{-1} \frac{h}{d} .

tan α \tan \alpha

= h + h 2 + d 2 d = \frac{h + \sqrt{h^2 + d^2}}{d}

= 2 h 2 + 2 h h 2 + d 2 2 h d = \frac{2h^2 + 2h\sqrt{h^2 + d^2}}{2hd}

= h 2 + 2 h h 2 + d 2 + h 2 + d 2 d 2 ( h + d ) 2 ( h 2 + d 2 ) = \frac{h^2 + 2h\sqrt{h^2 + d^2} + h^2 + d^2 - d^2}{(h + d)^2 - (h^2 + d^2)}

= ( h + h 2 + d 2 ) 2 d 2 ( h + d h 2 + d 2 ) ( h + d + h 2 + d 2 ) = \frac{(h + \sqrt{h^2 + d^2})^2 - d^2}{(h + d - \sqrt{h^2 + d^2})(h + d + \sqrt{h^2 + d^2})}

= ( h + h 2 + d 2 d ) ( h + h 2 + d 2 + d ) ( h + d h 2 + d 2 ) ( h + d + h 2 + d 2 ) = \frac{(h + \sqrt{h^2 + d^2} - d)(h + \sqrt{h^2 + d^2} + d)}{(h + d - \sqrt{h^2 + d^2})(h + d + \sqrt{h^2 + d^2})}

= h + h 2 + d 2 d h + d h 2 + d 2 = \frac{h + \sqrt{h^2 + d^2} - d}{h + d - \sqrt{h^2 + d^2}}

= 1 + h 2 + d 2 d h 1 + d h 2 + d 2 h = \frac{1 + \frac{\sqrt{h^2 + d^2} - d}{h}}{1 + \frac{d - \sqrt{h^2 + d^2}}{h}}

= 1 + h 2 + d 2 d h 1 h 2 + d 2 d h = \frac{1 + \frac{\sqrt{h^2 + d^2} - d}{h}}{1 - \frac{\sqrt{h^2 + d^2} - d}{h}}

= 1 + 1 cos ( tan 1 h d ) sin ( tan 1 h d ) 1 1 cos ( tan 1 h d ) sin ( tan 1 h d ) = \frac{1 + \frac{1 - \cos (\tan^{-1} \frac{h}{d})}{\sin (\tan^{-1} \frac{h}{d})}}{1 - \frac{1 - \cos (\tan^{-1} \frac{h}{d})}{\sin (\tan^{-1} \frac{h}{d})}}

= 1 + tan ( 1 2 t a n 1 h d ) 1 tan ( 1 2 t a n 1 h d ) = \frac{1 + \tan(\frac{1}{2}tan^{-1}\frac{h}{d})}{1 - \tan(\frac{1}{2}tan^{-1}\frac{h}{d})}

= tan 1 45 ° + tan ( 1 2 t a n 1 h d ) 1 tan 1 45 ° tan ( 1 2 t a n 1 h d ) = \frac{\tan^{-1} 45° + \tan(\frac{1}{2}tan^{-1}\frac{h}{d})}{1 - \tan^{-1} 45° \tan(\frac{1}{2}tan^{-1}\frac{h}{d})}

= tan ( 45 ° + 1 2 tan 1 h d ) = \tan(45° + \frac{1}{2} \tan^{-1} \frac{h}{d})

David Vreken - 3 years ago

Log in to reply

A great way of saying that "...or slightly steeper" is more precisely equal to 1 2 t a n 1 h d \frac{1}{2}tan^{-1}\frac{h}{d}\;\; See my comments to Mark.

Michael Mendrin - 3 years ago

or even, more simply, d tan 2 α 2 h tan α d = 0 tan 2 α = 2 tan α 1 tan 2 α = d h 2 α = 18 0 tan 1 d h = 9 0 + tan 1 h d α = 4 5 + 1 2 tan 1 h d \begin{aligned} d\tan^2\alpha - 2h\tan\alpha - d & = \; 0 \\ \tan2\alpha \; =\; \frac{2\tan\alpha}{1 - \tan^2\alpha} & = \; -\tfrac{d}{h} \\ 2\alpha & = \; 180^\circ - \tan^{-1}\tfrac{d}{h} \; = \; 90^\circ + \tan^{-1}\tfrac{h}{d} \\ \alpha & = \; 45^\circ + \tfrac12\tan^{-1}\tfrac{h}{d} \end{aligned}

Mark Hennings - 3 years ago

Log in to reply

I knew there had to be a better way! Thanks for sharing. (By the way, some of the d h \frac{d}{h} should be h d \frac{h}{d} .)

David Vreken - 3 years ago

Log in to reply

@David Vreken No, the first two should be d h \tfrac{d}{h} . I am using the identity tan 1 x 1 = cot 1 x = 9 0 tan 1 x \tan^{-1}x^{-1} = \cot^{-1}x \; = \; 90^\circ - \tan^{-1}x

Mark Hennings - 3 years ago

Log in to reply

@Mark Hennings Oh yes, you are right! My mistake.

David Vreken - 3 years ago

By the way, I found the equation in this article . "Brancazio explains that you need 45 degrees plus half the angle formed by a straight line between the position of the ball at launch and the basket [to give the maximum probability of a perfect telegenic swish]." The way the article was written and without any mathematical proof I was not sure if this was just a quick approximate solution or an actual accurate calculation. Now we know that it is an accurate calculation.

David Vreken - 3 years ago

Log in to reply

Interestingly as well, the ball is being released at the least possible speed that will enable it to reach the basket. Releasing a ball at an angle of 4 5 + 1 2 tan 1 h d 45^\circ + \tfrac12\tan^{-1}\tfrac{h}{d} (halfway between the vertical and the straight line direction from point of release to the basket) attains the maximum range along that straight line direction (as noted by Ed Sirett). Thus any slower ball release will not reach the basket, no matter at what angle it is shot.

The perfect shot is (perhaps) the least tiring!

Mark Hennings - 3 years ago

Log in to reply

@Mark Hennings If one were to shoot from the center of the hoop back down to the player, then the ideal angle is 45 ° 1 2 t a n 1 h d 45° - \frac{1}{2} tan ^{-1} \frac{h}{d} , which is the same as the incoming angle as shot by the player. In other words, the sum of the angles is always twice 45 ° 45° , i.e., slopes are orthogonal, and the trajectory is the same, regardless of where it was shot from.

Michael Mendrin - 3 years ago

Actually it can be done much more easily. By just only finding dh/d@ and equating it to 0

Abir Ifc - 3 years ago

Log in to reply

Yes, but that does not show that D ( α ) = 0 D'(\alpha) = 0 as well.

Mark Hennings - 3 years ago

The players hands and the hoop are on about the same height at point of release of ball so an hour of zero should be used for all of these solutions if it is supposed to have a connection with the problem given.

Philip Sidwell - 2 years, 12 months ago
Ed Sirett
Jun 5, 2018

I did some intuition. I knew that firing angle for the maximum range for a projectile is the bisector of the base line (whether down, level or up) and the vertical. Or the minimum firing velocity for a given range. As this is a maximum range d r a n g e d a n g l e \frac{drange}{dangle} = 0. So this is likely to be the magic angle in the question. Thus directly the answer is 45°+ arctan(1.15/14.5)/2 = 47.27 ° \boxed{47.27°}

How did you derive 1.15/14.5?

William Stephenson - 3 years ago

Log in to reply

From the data given in the question that's the angle of the 'base' from the thrower to the ring. Up 1.15 and forward 14.5. HTH

Ed Sirett - 3 years ago
Michael Mendrin
Jun 3, 2018

Let θ \theta be the angle of the shot from the player. Then, given gravitational constant g g , velocity of the shot v v , and letting x x be the distance from the player, the equation of the trajectory from the player's hands is

y = T a n ( θ ) x g 2 v 2 ( S e c ( θ ) ) 2 x 2 y=Tan(\theta)x-\dfrac{g}{2v^2}(Sec(\theta))^2x^2

Let's assume the ideal shot goes through the center of the rim at ( x , y ) = ( 14.5 , 1.15 ) (x,y)=(14.5,1.15) . Then we can determine the velocity to be

v ( θ ) = 29 5 g S e c ( θ ) 580 T a n ( θ ) 46 v(\theta)=\dfrac {29\sqrt{5g}Sec(\theta)} {\sqrt{580Tan(\theta)-46} }

Now, we're going to assume that the player will make that shot at that exact velocity but that there could be an error δ θ \delta \theta in his angle of shot, so that we have (while keeping v ( θ ) v(\theta) exactly the same as before with no δ θ \delta \theta )

y = T a n ( θ + δ θ ) x g 2 v ( θ ) 2 ( S e c ( θ + δ θ ) ) 2 x 2 y=Tan(\theta+\delta \theta)x-\dfrac{g}{2v(\theta)^2}(Sec(\theta+\delta \theta))^2x^2

Given y = 1.15 y=1.15 , we solve for x x to get the function x = f ( θ , δ θ x=f(\theta, \delta \theta ) of those variables. We wish to see, for a given shot angle θ \theta , the deviation δ x \delta x we get from deviation δ θ \delta \theta , so we differentiate f ( θ , δ θ ) f(\theta, \delta \theta) with respect to δ θ \delta \theta to get the slope function

g ( θ , δ θ ) = d f ( θ , δ θ ) d δ θ g(\theta,\delta \theta) = \dfrac{df(\theta,\delta \theta)}{d\delta\theta}

and then we let δ θ 0 \delta \theta \rightarrow 0 , or

g ( θ , 0 ) g(\theta,0)

which we want to equal to 0 0 for least variation δ x \delta x as a function of δ θ \delta \theta . We determine the value of θ \theta numerically to be 0.8349705028... 0.8349705028... radians, or 47.267328... 47.267328... degrees.

Comment: Mark Henning's approach is computationally much simpler to carry out. An upvote for his solution.

I have little doubt. In this problem if the trajectory of the ball passes through the point (14.5,1.15) does not mean it is a valid trajectory. The problem is confusing. Sorry for this comment. Only valid trajectories are the ones which reach the highest point and then pass through the point (14.5,1.15).

Srikanth Tupurani - 3 years ago

Log in to reply

How come you don't think shooting the ball at about 47 degrees wouldn't be a valid trajectory? If you notice, most players shoot at approximately 45 degrees, give or take, if shooting from afar.

Michael Mendrin - 3 years ago
Josh Silverman Staff
Jun 10, 2018

In this question, we ignored a few details that are surely important for making the shot (like the geometry of the rim) and imposed an unfounded assumption (that Curry would be aiming for the center of the rim). It's not clear from the outset whether the rim would fundamentally change the answer or if aiming at the center would necessarily be his best choice. In this solution, I'm going to skip the minimum deviation problem (already addressed by Mark and Michael), and consider how the geometry of the shot, coupled with small errors in shot velocity and angle, affect the answer if at all.

To start, we have x ( t ) = v 0 t cos θ z ( t ) = z 0 + v 0 t sin θ 1 2 g t 2 \begin{aligned} x(t) &= v_0t\cos\theta \\ z(t) &= z_0 + v_0t\sin\theta - \frac12 gt^2 \end{aligned}

and by solving the horizontal equation for t , t, substituting into the vertical relation, we have

Δ z ( x ) = x tan θ g x 2 2 v 0 2 cos 2 θ \Delta z(x) = x\tan\theta -\frac{gx^2}{2v_0^2\cos^2\theta}

To find a more realistic notion of robustness, we can instead look for the minimum and maximum shot angles that will still result in a basket, given the corresponding shot velocity. Practically, this will yield two velocity-angle curves, and the area between them will correspond to made shots while the area outside will correspond to missed shots. For simplicity, we're going to use the two extreme cases shown below as the range of "made" shots, and will ignore shots that are made by bouncing upward off the rim or bouncing off of the backboard.

For any shot angle θ , \theta, there exist two shot velocities v min v_\text{min} and v min v_\text{min} that will result in the basketball hitting the target. In general, the shot angle can be as great at θ = π / 2 , \theta=\pi/2, but at the lower end, there exists a minimal angle θ min , \theta_\text{min}, realized at the angle where v min = v max . v_\text{min} = v_\text{max}. This corresponds to the angle where the basketball just skims the front of the rim on the way into the basket.

We can find the maximum velocity by setting the target value for x x to d + D rim r , d + D_\textrm{rim} - r, the location of the center of the ball when it hits the back of the rim at Δ z = h . \Delta z = h. Similarly, we can find the minimum shot angle by adjusting the target x x value to d 1 2 D rim + r ball sin γ min d - \frac12 D_\text{rim} + r_\text{ball}\sin\gamma_\text{min} and the target z z value to h + r cos γ min . h + r\cos\gamma_\text{min}. (see diagram)

Plotting these two curves yields the graph below

This shows that the region with the greatest forgiveness in θ \theta -error is near θ = 47.3 ° , \theta = \SI{47.3}{\degree}, in basic agreement with the result of the simple minima condition from this problem. Interestingly, this overlaps with a region of roughly constant, maximal forgiveness in v v -error.

Zooming in a bit, we can pick up some more insight to shot selection.

Inspecting this plot, we see that the shot angle around which there is maximal tolerance for errors is θ 47.5 ° . \theta\approx \SI{47.5}{\degree}. But if we plot the v v and θ \theta found from the technique recommended in this problem (shown as the "x" in the plot), we see that the shot velocity is too low. Had we chosen a higher shot velocity while keeping the same angle, we'd have greater two-sided tolerance for errors in v . v.

What this means physically is that it's not optimal to aim for the center of the basket, as we assumed Curry would in this problem. Instead shooters should aim for a point somewhere beyond the center of the basket, with the exact location determined by more sophisticated inspection of this kind of plot.

Selecting an optimal v v and θ \theta for a given player is of course guided and constrained by this plot, but ultimately depends on the tendencies of the given player to errors in θ \theta and v . v. If a player is especially accurate in θ , \theta, it can be advantageous to move to a higher angle that allows more error in v , v, while a player prone to error in θ \theta would want to move down the curve.

Woah! That's a whole paper.

Shree Ganesh - 2 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...