Believe it or not, mathematics plays an important role in the field of sports. Coaches, athletes, trainers often use mathematics to gain a competitive advantage over their counterparts. With statistics of games, statistics of players and probabilities of winning or losing games, mathematics is everywhere. Applications of calculus in sports are endless!

## Calculus in Sports: Running Races

How is mathematics involved in running? I know it surprises most of us. To optimize their run, runners must keep themselves at the right speed in order to finish in the shortest time possible. According to Joseph Keller’s, A Theory of Competitive Running, the physiological running capacity of a human body can be measured using a set of differential equations.

According to this theory, to win a running race under 291 meters, the optimum strategy is to sprint at 100% acceleration for the entire 291 meters. Races above 291 meters require a different strategy to optimize the performance.

#### Finding the optimal velocity for the run while conserving energy

Keller’s theory, which is based on Newton’s second law and the calculus of variations, provides an optimum strategy for running one-lap and half-lap races. Keller wrote the equation of motion as:

where is runner’s speed as a function of time t, is a constant characterizing the resistance to running, assumed to be proportional to running speed, and is the propulsive force per unit mass.

Empirical knowledge of human exercise physiology is expressed in the assumed relation between propulsive force and energy supply,

where E represents the runner’s energy supply, which has a finite initial value and is replenished at a constant rate In spite of this replenishment, the energy supply reaches zero at the end of the race. and F are found by comparing the optimal race times. Use of calculus in sports does not end here, next let’s take a look at how it can be applied in baseball.

## Calculus in Baseball

In baseball, calculus can be used to optimize the pitcher’s throw to achieve maximum efficiency. Also, calculus can be used to calculate the projectile motion of baseball’s trajectory and to predict if runners can make it to the next base on time given their running speed and the speed of a hit ball.

#### Finding the work required to throw the baseball

The work done W on a moving ball from a position to is equal to the change in ball’s kinetic energy. The kinectic energy K of a baseball of mass m and velocity v is given by .

Where and are initial and final velocities. Using this, baseball players can figure out how much force that they need to exert on the ball to reach the place where they want the ball to go.

#### Finding the Average force on the bat during collision

The collision of ball and bat, are quite complex and their models are discussed in detail in a book by Robert Adair, The Physics of Baseball, (New York: HarperPerennial).

The above image shows an overhead view of the position of a baseball bat, shown every fiftieth of a second during a typical swing.We can calculate the average force on the bat during this collision by first calculating the change in the ball’s momentum.

We know that the momentum p of an object is the product of its mass m and its velocity v, that is, p=mv. Suppose an object, moving along a straight line, is acted on by a force F=F(t) which is a continuous function of time t.

The change in ball’s momentum over a time interval is equal to the integral of force F from time to .

Using the above formula, one can find the average force on the bat during the collision F=ma where . Application of calculus in sports does not end with running and baseball, now let’s see how it can be applied in basketball too.

## Calculus in Basketball

Calculus can be used in basketball to find the exact arc length of a shot from the shooter’s hands to the basket. The moment the basketball is released from the shooter’s hands, it’s traveling path creates an arc all the way to the net.

Using the angle of release and strength of the release, one can mathematically predict the traveling path and the length of the arc. While the ball is in the air, it is affected by only one force, which is gravity!

#### Finding the arc length of a basketball throw

The travel path of a basketball can be divided into two components, the horizontal (x) direction and the vertical (y) direction. These two components can be represented by the following parametric equations:

For horizontal,

For vertical,

where,

is the initial horizontal position of the basketball.

is the initial vertical position of the basketball.

is the initial velocity of the basketball.

is the angle the ball is projected with respect to the x-axis.

g is the acceleration due to gravity, -9.81 m/

t is the time traveled.

The derivatives of x(t) and y(t) with respect to time t are:

Now, the distance of the travel distance of the basketball can be found using the arc length equation:

Now, by inserting the derivatives of x(t) and y(t) in the arc length equation:

This equation can be modified based on:

By further modifying, we can arrive at this formula:

**An example:** If the average velocity of a basketball throw is 2.24 m/s, the angle of release is 45 degreees, and the time t required for the ball to travel is about 2 seconds, then the arc length can be calculated using the above formula:

The above figure shows different angles and entry points of a basketball into a basketball hoop. The diameter of the hoop ring is 18 inches. As the basketball size is smaller than the hoop ring, there is always a constant hoop margin. **Hoop margin** is the amount of space left in the hoop ring after the basketball enters it.

Free throws, jump shots and three-pointers enter at an angle that gives an oval entrance to the hoop. This changes the given hoop margin. **Apparent hoop size** is the apparent opening of the hoop to the ball. So, flatter the arc of throw, the smaller the ellipse of the hoop ring.

An **apparent hoop margin** is the apparent hoop size minus the basketball’s diameter. A basketball can be thrown in different ways and different angles. So, the apparent hoop margin varies with each shot.

#### Finding the velocity required for the basketball to enter the basket

One can also find the velocity required for the basketball shot given the height of the player’s throw and distance from the hoop. This is the equation for a player to shoot the basketball in order to make it enter the basket perfectly.

And the range of a basketball trajectory can be found using,

Where [lates]\alpha[/latex] is the ideal angle of throw. Once we know the range and the angle of throw, we can easily calculate the velocity required for the throw using the above formulae.

Application of calculus in sports does not end with just running, baseball and basketball. You can apply math to any physical sport to optimize the performance. Share your thoughts and comments with us below!