Game Winning Three

Suppose you're taking a three point shot at a basket that's 11 m 11 \text{ m} down the court, and 1.15 m 1.15 \text{ m} above your head. You can take the shot at any angle you like, however, you're not perfect and you're likely to imperfectly set your release angle.

What release angle θ \theta (in degrees) should you aim for in order to maximize your chance of hitting the three pointer? (In other words, what release angle provides you with the biggest margin of error?)

Give your answer to 3 decimal places.

Details and Assumptions :

  • Neglect wind resistance.
  • Assume that you aim for the center of the basket.


The answer is 47.9842.

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.

2 solutions

Josh Silverman Staff
Sep 19, 2015

The first thing to notice is that we have a choice in both the angle θ \theta and speed v v of launch.

Considering the extreme cases, it is clear that if we shoot the ball at the least possible angle (nearly horizontal) or at the greatest possible angle (just less than vertical), the slightest mistake in angle will lead to the ball deflecting off the rim. Thus, we expect an intermediate launch angle that is least sensitive to errors (diagram below).

For a ball to make it from our hands, a distance h h below the rim, to the rim located a distance d d away, the following relations must be true

h = v sin θ T 1 2 g T 2 d = v cos θ T \begin{aligned} h &= v\sin\theta\ T - \frac12 gT^2 \\ d &= v\cos\theta\ T \end{aligned}

Solving for d d , we find

d = v cos θ g ( v sin θ + v 2 sin 2 θ + 2 g h ) d = \frac{v\cos\theta}{g}\left(v\sin\theta+\sqrt{v^2\sin^2\theta + 2gh}\right)

We want the trajectory ( v , θ ) \left(v,\theta\right) that's least sensitive to errors in θ \theta . In other words we need to satisfy the distance relation, and we also need the variation in d d with respect to θ \theta to be a minimum

d θ = 0 \displaystyle\frac{\partial d}{\partial \theta} = 0

or

v cos 2 θ ( v sin θ 2 g h + v 2 sin 2 θ + 1 ) sin θ ( 2 g h + v 2 sin 2 θ + v sin θ ) = 0 v \cos ^2\theta \left(\frac{v \sin\theta}{\sqrt{2 g \text{h}+v^2 \sin^2\theta}}+1\right)-\sin\theta \left(\sqrt{2 g \text{h}+v^2 \sin ^2\theta}+v \sin\theta\right) = 0

We can simplify the minimization relation as follows.

Writing K = 2 g h + v 2 sin 2 θ K = \sqrt{2gh + v^2\sin^2\theta} , we have

sin θ ( K + v sin θ ) = v cos 2 θ ( v sin θ + K K ) sin θ K = v cos 2 θ sin 2 θ ( 2 g h + v 2 sin 2 θ ) = v 2 cos 4 θ 2 g h sin 2 θ = v 2 ( cos 4 θ sin 4 θ ) 2 g h sin 2 θ = v 2 ( cos 2 θ + sin 2 θ ) ( cos 2 θ sin 2 θ ) 2 g h = v 2 1 2 sin 2 θ sin 2 θ v = 2 g h 1 2 sin 2 θ sin θ \begin{aligned} \sin\theta\left(K+v\sin\theta\right) &= v\cos^2\theta\left(\frac{v\sin\theta+K}{K}\right) \\ \sin\theta K &= v\cos^2\theta \\ \sin^2\theta\left(2gh+v^2\sin^2\theta\right) &= v^2\cos^4\theta \\ 2gh\sin^2\theta &= v^2\left(\cos^4\theta - \sin^4\theta\right) \\ 2gh\sin^2\theta &= v^2\left(\cos^2\theta+\sin^2\theta\right)\left(\cos^2\theta-\sin^2\theta\right) \\ 2gh &= v^2\frac{1-2\sin^2\theta}{\sin^2\theta} \\ v &= \sqrt{\frac{2gh}{1-2\sin^2\theta}}\sin\theta \end{aligned}

Similarly, we can simplify the optimality condition in the vertical direction (i.e. for h / θ \partial h/\partial \theta ) to find v 2 = g d tan θ v^2 = gd\tan\theta . Putting these two relations together, we obtain

d tan θ = 2 h sin 2 θ 1 2 sin 2 θ d\tan\theta = 2h\frac{\sin^2\theta}{1-2\sin^2\theta}

Interestingly, it seems the launch angle will be completely independent of the strength of gravity! The velocity is of course gravity dependent (i.e. through v 2 = g d tan θ v^2 = gd\tan\theta ), but the launch angle is a purely geometrical consideration.

After some algebra, we find that this equality is solved in the first quadrant by

θ safe = tan 1 h 2 + h 2 ( d 2 + h 2 ) d h \boxed{\theta_\text{safe} = -\tan^{-1}{\dfrac{h^2+\sqrt{h^2\left(d^2+h^2\right)}}{dh}}}

Using the numbers provided, we find θ safe 47.9 8 \theta_\text{safe}\approx 47.98^\circ .


Note, we could also have solved this numerically by simply plotting the contour lines for the distance constraint, and minimization condition in ( v , θ ) \left(v, \theta\right) space, and looking for their intersection (i.e. the point where both are satisfied).

We do this below, overlaying the numerical result from above as the black dot.

Sir can you explain me the biggest margin of error from the question.

Department 8 - 5 years, 8 months ago

Log in to reply

Another way of defining it is "Where is the range of the basketball least sensitive to the launch angle?" If I try for an angle θ = 3 0 \theta = 30^\circ and screw up a bit, i.e. I actually shoot at 3 1 31^\circ or 2 9 29^\circ , it might have a huge impact on my range. On the other hand, if I try shoot at the optimal angle, a small error won't affect me as much. Does that make it any clearer?

Josh Silverman Staff - 5 years, 8 months ago

Log in to reply

Yes, it clears it all I really liked your questions, but they are pretty high level for me. I am just a regular ninth grader. would you mind to make me you physics student?

Department 8 - 5 years, 8 months ago

Log in to reply

@Department 8 Thanks @Lakshya Sinha . I don't take students in a formal sense, but I'm always happy to help out with physics. If you post your questions on Brilliant, mention me and I'll take a look.

Josh Silverman Staff - 5 years, 8 months ago

I began as you did with the same 2-component vector equation for position. However, I used a different strategy. Instead, I asked: "At what angle do I need to launch the ball such that the amount of time it takes to travel 6.1 meters horizontally is equal to the time it takes to reach a vertical position of 4/3 of a meter?". I set the x-component equation equal to 6.1 and the y-component equation equal to 4/3, then solved both for t (I set the initial position in x and y at 0m). I used the quadratic formula on the y-component equation and chose the option that would yield the highest hypothetical value of t. I equated the two equations but could not solve for the angle. Is this a blind alley, or is there something to this madness?

Tyler Cooke - 5 years, 4 months ago

Log in to reply

Hmm, can you explain why you think choosing the trajectory with the longest time t t would correspond to the optimum throw?

Josh Silverman Staff - 4 years, 11 months ago

Nice solution! However I would like to ask what is the distance constraint which you simplified to obtain v 2 = g d tan θ v^2 = gd\tan{\theta} ? I can't seem to find it. Thanks!

Carlo Solibet - 4 years, 12 months ago

Log in to reply

Good point, I've added a bit to clarify that point in the solution. Let me know if it's still not clear.

Josh Silverman Staff - 4 years, 10 months ago

hmmmm, i seem to have defined the condition for maximum chance of getting scoring the basket incorrectly. I believe that the highest angle possible that meets the restraints of distance and surpasses the minimum height would give the largest probability of success

William G. - 4 years, 7 months ago

Log in to reply

Well, it depends on what you are considering to impact an imperfect shot. What were your starting assumptions?

Josh Silverman Staff - 4 years, 7 months ago

@Josh Silverman I thought that the largest angle would be a CLEANER shot, but then realized it wouldn't have the largest margin of error. my bad

William G. - 4 years, 5 months ago

The solution is seem to be wrong, as from your graph the velocity of the ball is 10.9 m/s, and the theta is 47.98 degree, when this is being plugged back to the minimization condition for v on first partial derivative condition, the solution don't exist as we are doing the square root on a negative number.

I think this do the trick when you combine the derivative condition, you have squared the first one and avoid the error.

Lee Hung - 3 years, 3 months ago

Log in to reply

In the solution I flipped the sign on h h by mistake. Thanks for pointing that out. Once the signs on h h are adjusted, you'll get real solutions :).

Josh Silverman Staff - 3 years ago
Saswat Prakash
Oct 15, 2017

y=xtanθ-gx(1+〖tan〗^2 θ)/(2u^2 ) Now putting x=11,y=1.15 we get; u^2=(11tanθ-1.15)/55(1+〖tan〗^2 θ) Now differentiating u^2 w.r.t θ and equating with 0 for extreme value we get; 11〖tan〗^2 θ-2.3tanθ-11=0 tanθ=1.11 θ=〖48〗^o

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...