Basketball Trajectory: Will It Score?

April 12, 2026

Problem

A basketball player shoots from 2 meters high at 10 m/s at 60 degrees. Does it make the basket at 3 meters high, 5 meters away?

Explanation

This is real basketball physics: a player releases the ball from height h0h_0 at speed v0v_0 and angle θ\theta, while the hoop sits at height hrimh_{\text{rim}} and horizontal distance dd away. Does the trajectory pass through the rim? We solve it the way a physicist (or a serious shooter) would: find the ball's height at the rim's horizontal position, then compare.

The Physics

With the release point as the origin (so the rim is at (d,hrimh0)(d,\, h_{\text{rim}} - h_0) in our local coordinates), the parametric equations are:

x(t)=v0cosθty(t)=v0sinθt12gt2x(t) = v_0 \cos\theta\, t \qquad y(t) = v_0 \sin\theta\, t - \tfrac{1}{2}\,g\,t^{2}

We can eliminate tt to get yy directly as a function of xx — this is the trajectory equation:

y(x)=xtanθgx22v02cos2θy(x) = x\tan\theta - \dfrac{g\,x^{2}}{2\,v_0^{2}\,\cos^{2}\theta}

To check whether the ball clears the rim, plug x=dx = d into this equation and add the release height. If the result is close to hrimh_{\text{rim}}, it's a basket.

Step-by-Step Solution

Given:

  • Release velocity: v0=10  m/sv_0 = 10\;\text{m/s}
  • Release angle: θ=60°\theta = 60°
  • Release height: h0=2  mh_0 = 2\;\text{m}
  • Horizontal distance to rim: d=5  md = 5\;\text{m}
  • Rim height: hrim=3.0  mh_{\text{rim}} = 3.0\;\text{m}
  • Gravity: g=9.81  m/s2g = 9.81\;\text{m/s}^{2}

Find: Does the ball pass through the rim?


Step 1 — Decompose the launch velocity.

v0x=10cos60°=10×0.5=5.000  m/sv_{0x} = 10\cos 60° = 10 \times 0.5 = 5.000\;\text{m/s}

v0y=10sin60°=10×328.660  m/sv_{0y} = 10\sin 60° = 10 \times \dfrac{\sqrt{3}}{2} \approx 8.660\;\text{m/s}

Step 2 — Find the time at which x=dx = d.

Since horizontal velocity is constant:

t=dv0x=55=1.000  st = \dfrac{d}{v_{0x}} = \dfrac{5}{5} = 1.000\;\text{s}

Step 3 — Find the vertical position at that time (relative to release).

yrel(t)=v0yt12gt2y_{\text{rel}}(t) = v_{0y}\,t - \tfrac{1}{2}\,g\,t^{2}

yrel(1)=(8.660)(1)12(9.81)(1)2y_{\text{rel}}(1) = (8.660)(1) - \tfrac{1}{2}(9.81)(1)^{2}

yrel(1)=8.6604.9053.755  my_{\text{rel}}(1) = 8.660 - 4.905 \approx 3.755\;\text{m}

Step 4 — Add the release height to get height above the floor.

yfloor=yrel+h0=3.755+2.0005.755  my_{\text{floor}} = y_{\text{rel}} + h_0 = 3.755 + 2.000 \approx 5.755\;\text{m}

Step 5 — Compare to the rim height.

Δ=yfloorhrim=5.7553.0002.755  m\Delta = y_{\text{floor}} - h_{\text{rim}} = 5.755 - 3.000 \approx 2.755\;\text{m}

The ball is 2.76 m above the rim when it crosses x=5  mx = 5\;\text{m} — that's almost three meters too high. The trajectory sails right over the basket.


Answer: The shot misses (way too high). The ball is at 5.76  m\approx 5.76\;\text{m} above the floor when it reaches the rim's horizontal distance, which is 2.76 m above the 3 m rim. To score from this distance with this release height and angle, you'd need to lower the angle to about 41° (so the trajectory comes down faster) or reduce the release speed to about 7.7 m/s.

Try It

  • Lower the angle to about 41° — see the ball drop right into the rim.
  • Adjust release velocity — try 7.7 m/s at 60° as an alternative scoring solution.
  • Move the rim distance — closer shots forgive a higher arc, farther shots need flatter trajectories.
  • The green ✓ SWISH! indicator lights up when the trajectory clears the rim within ±0.2 m tolerance.

Interactive Visualization

Parameters

10.00
60.00
2.00
5.00
3.05
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Basketball Trajectory: Will It Score? | MathSpin