Statistics How To

How to describe the path of a baseball in calculus

Calculus > Path of a Baseball

How to find the path of a baseball in calculus

path of a baseball

Image: Cal State LA


The path of a baseball hit by a player is called a parabola. Its graph can be represented in calculus using a pair of parametric equations with time as the dimension. These equations depend on several variables, including the height from the ground at which the baseball was hit, its angle of elevation with the horizontal, and the initial velocity of the baseball when hit. Wind speed is another factor that will affect the path of the baseball, but this factor forms complex equations and is not dealt with in these simplified parametric equations.

Path of a baseball: Steps

Step 1: Define the variables used in both the parametric equations. Represent the height in feet by ‘h’, the angle in degrees by ‘a’, the initial velocity in feet per second by ‘v’ and the time in seconds by ‘t’.

Step 2: Write an equation for the horizontal motion of the baseball as a function of time:
x(t) = v * Cos(a) * t.

Step 3: Write an equation to descrive the vertical motion of the baseball as a function of time: y (t) = h + v * Sin(a) * t – 16 * t2. In this formula, t2 is the square of the variable ‘t’, which is simply t * t, or t2.

The pair of x(t) and y(t) equations are the required parametric equations that describe the path of the baseball in calculus.

Tips:

  1. If the initial velocity is known with the unit of miles per hour (mph), it can be converted to the required unit of feet per second (fps) unit. 5280 feet make a mile, 60 minutes make an hour and 60 seconds make a minute. Accordingly, the mph value has to be multiplied by 1.467 to get the fps value.
  2. The value of the trigonometric functions Cos(a) and Sin(a) can be found by using a look-up table or simply by using a calculator. If the ball was hit along the ground, the angle ‘a’ is zero.
------------------------------------------------------------------------------

If you prefer an online interactive environment to learn R and statistics, this free R Tutorial by Datacamp is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try this Statistics with R track.

Comments are now closed for this post. Need help or want to post a correction? Please post a comment on our Facebook page and I'll do my best to help!
How to describe the path of a baseball in calculus was last modified: October 12th, 2017 by Stephanie Glen