Oh, you think you are pretty awesome with the basketball trick shots? Well, maybe you are—but can you score with a shot from an airplane as it flies by? That’s what we have here with the Harlem Globetrotters (although it seems like Dude Perfect might have done this too).

For me, this is a classic physics problem. If you open up your introductory physics textbook you will find a problem just like this. I promise it’s there. It looks something like this:

A pilot needs to fly by and drop a package to a human (feel free to add your own back story). The plane flies at an altitude of 10 meters with a speed of 20 m/s. At what horizontal distance before the drop location should the package be dropped?

Here is a diagram to go with the problem.

If you are a Harlem Globetrotter, you can replace the target with a basketball hoop.

Physics Solution

Now let’s solve this problem.

I’ll be straightforward with you—this is really just a projectile motion problem. Once the ball leaves the plane, there is basically just one force acting on it—the gravitational force pulling straight down. This gives the ball a vertical acceleration of 9.8 m/s2 and constant horizontal velocity. That is pretty much the definition of projectile motion. But what about air resistance? Yes, that might have a small effect, but I will leave the investigation of air resistance as a homework problem for you (at the the end).

Now for the secret to projectile motion problems. (Be sure to keep this secret safe.) For a projectile motion problem, you really have two separate kinematics problems. In the horizontal direction, you have a constant velocity problem and in the vertical direction you have a constant acceleration problem. These two motions (in the x and y-directions) are independent except for the time it takes.

This means that I can take one direction (let’s say the y-direction) and solve for the time it takes to move. I can then use that same time for the x-direction and find something useful. That’s exactly what I’m going to do. There will be some math, so prepare yourselves. Also, I’m going to solve this without putting any values in (like height and stuff) until the end—that’s the physics way.

Here is what I have to start with.

  • Initial horizontal x-velocity = v0 (the object is moving with the same horizontal speed as the plane)
  • Initial x-position = 0 (starts at the origin)
  • Final x-position = x (just going to call it x like in the diagram)
  • Initial vertical velocity = 0 (initial not moving in the y-direction)
  • Initial y-position = h
  • Final y-position = 0 (calling the ground y = 0)

So, like I said—let’s start with the y-direction and find the time the motion takes. In the y-direction, there is a constant acceleration of -g (we like to use g for the vertical acceleration). Using the kinematic equation for constant acceleration, we have:

Since the final position is zero and the initial velocity is zero m/s, I can use this to solve for the time of motion. I’m skipping some of the algebraic steps—you can go back and do these for yourself.

Now, with this time I can use it in the horizontal motion. I know the ball’s x-velocity and the time so that I can solve for the starting position. Remember the x-acceleration is zero m/s2.

Boom. That’s it. Now let’s make some approximations and put in values for the altitude and the starting velocity. I’m going to guess that this plane is going about as slow as it can go. The stall speed of a Piper Cub is about 38 mph so I will use a starting velocity that’s a little bit faster—let’s call it 20 m/s. A standard basketball hoop is 3.05 meters—so let’s say the plane is twice this height at 6.1 meters. Putting these values into the solution above gives an horizontal distance of 22.3 meters. That is the point that you should let go of the ball.

Video Analysis

But wait! There’s more. Since the Globetrotters produced a video of the event from the side, I can also use video analysis to plot the motion of the basketball—just for fun. The basic idea is to mark the location of the ball in each frame of the video to get position and time data. For this task, I always use my favorite free software—Tracker Video Analysis.

From this analysis, let me share two plots. First, this is the trajectory (vertical vs. horizontal position) for both the plane and the ball (a short time after it was dropped).

A couple things to notice. At each time (frame) the ball has the same x-position as the plane. Both the ball and plane are moving with the same horizontal velocity. But what about the vertical position of the plane? Why does the altitude decrease? My guess is that it doesn’t decrease—instead there is an apparent change in altitude because of the way the camera is set up. As the plane moves, its distance from the camera changes, which changes its apparent size. Since I am using the size of the basketball goal for the scale, this means the altitude will be off a little bit. Not too big of a deal though.

Now for my next plot. This is both the horizontal and vertical position of the ball as a function of time.

Fitting a linear function to the horizontal data gives a speed of 17.6 m/s (39.3 mph), which is pretty close to the Pipe Cub stall speed just like I estimated. Fitting a quadratic function to the vertical data gives a vertical acceleration of -7.78 m/s2—which isn’t quite the expected value, but I’m still pretty happy.

Homework

Enough playing around. Now it’s time for some homework. Here are some questions for you.

  • In the video, there are some cones on the ground before the basketball goal. How far are these from the goal?
  • What is the altitude of the plane? You can get this from the graph above. Using the altitude and speed, what is the best location to release the ball?
  • Does air resistance matter? Calculate the approximate acceleration of the ball due to air drag—approximations required.
  • Based on the size of the ball and basketball hoop, what is the time range that a human could let go of the ball and still score?
  • Make a numerical model (I suggest python) for this same situtation. It would be fun to rerun with random starting values to see how often the ball “hits.” If you want, I did something like this a long time ago.

More Great WIRED Stories