If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

What is 2D projectile motion?

Learn about how things fly through the air.

What's a 2D projectile?

In a fructose induced rage, you decide to throw a lime at an angle through the air. It takes a path through space as shown by the curved, dashed line in the diagram below. The lime in this case is considered to be a two-dimensional projectile since it's flying both vertically and horizontally through the air, and it's only under the influence of gravity.
Since the gravitational force pulls downward, gravity will only affect the vertical component of the velocity start color #df0030, v, start subscript, y, end subscript, end color #df0030 of the lime. The horizontal component of the velocity start color #6495ed, v, start subscript, x, end subscript, end color #6495ed will remain unaffected and stay constant as the lime moves along its path.
Try sliding the dot in the diagram below to see that the vertical velocity start color #df0030, v, start subscript, y, end subscript, end color #df0030 changes, but the horizontal velocity start color #6495ed, v, start subscript, x, end subscript, end color #6495ed remains constant.
Concept check: At the maximum height of the lime's trajectory, what is the value of the vertical component of velocity?

How do we handle 2D projectile motion mathematically?

One of the easiest ways to deal with 2D projectile motion is to just analyze the motion in each direction separately. In other words, we will use one set of equations to describe the horizontal motion of the lime, and another set of equations to describe the vertical motion of the lime. This turns a single difficult 2D problem into two simpler 1D problems. We're able to do this since the change in the vertical velocity of the lime does not affect the horizontal velocity of the lime. Similarly, throwing the lime with a large horizontal velocity does not affect the vertical acceleration of the lime. In other words, if you fire a bullet horizontally and drop a bullet at the same time, they will hit the ground at the same time.

Horizontal direction:

There's no acceleration in the horizontal direction since gravity does not pull projectiles sideways, only downward. Air resistance would cause a horizontal acceleration, slowing the horizontal motion, but since we're going to only consider cases where air resistance is negligible we can assume that the horizontal velocity is constant for a projectile.
So for the horizontal direction we can use the following equation,
delta, x, equals, v, start subscript, x, end subscript, t
Note: Be sure to only plug horizontal variables into this horizontal equation. If we know two of the variables in this equation we can solve for the remaining unknown variable.

Vertical direction:

Two-dimensional projectiles experience a constant downward acceleration due to gravity a, start subscript, y, end subscript, equals, minus, 9, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, squared, end fraction. Since the vertical acceleration is constant, we can solve for a vertical variable with one of the four kinematic formulas which are shown below.
1, point, v, start subscript, y, end subscript, equals, v, start subscript, 0, y, end subscript, plus, a, start subscript, y, end subscript, t
2, point, delta, y, equals, left parenthesis, start fraction, v, start subscript, y, end subscript, plus, v, start subscript, 0, y, end subscript, divided by, 2, end fraction, right parenthesis, t
3, point, delta, y, equals, v, start subscript, 0, y, end subscript, t, plus, start fraction, 1, divided by, 2, end fraction, a, start subscript, y, end subscript, t, squared
4, point, v, start subscript, y, end subscript, squared, equals, v, start subscript, 0, y, end subscript, squared, plus, 2, a, start subscript, y, end subscript, delta, y
Be sure to only plug vertical variables into these vertical equations. If we know three of the variables in these equations we can solve for any of the remaining unknown variables.
Note: For a given process, the time interval t has the same value for the vertical and horizontal equations. This means that if we ever solve for the time t, we can plug that time t into the equations for either the vertical or horizontal directions. This strategy is used in many problems. Often, one has to solve for time t using the vertical equations, then plug that time into the horizontal equation (or vice versa).

What's confusing about 2D projectile motion?

Many times, people try to substitute vertical components into a horizontal equation, or vice versa. Analyzing each direction (horizontal and vertical) of a projectile independently only works if you keep the different directions (x or y) in their own separate equations.
Initial velocities that are directed diagonally will have to be broken into vertical and horizontal components. People sometimes have a hard time breaking a velocity vector into vertical and horizontal components. See this article for help with the trigonometry you use to break vectors into components.
When a projectile is shot horizontally, the initial vertical velocity is zero start color #df0030, v, start subscript, 0, y, end subscript, equals, 0, end color #df0030 (see example 1 below). Many learners have a hard time understanding that an object can start with a horizontal component of velocity, yet have zero vertical component of velocity.

What do solved examples involving 2D projectile motion look like?

Example 1: Horizontally launched water balloon

A water balloon is thrown horizontally with a speed of v, start subscript, 0, end subscript, equals, 8, point, 31, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction from the roof of a building of height H, equals, 23, point, 0, start text, space, m, end text.
How far does the balloon travel horizontally before striking the ground?
We can start by drawing a diagram that includes the given variables.
Once we find the time of flight t, we'll be able to solve for the horizontal displacement using delta, x, equals, v, start subscript, x, end subscript, t. To solve for time, consider the fact that we know three variables in the vertical direction (delta, y, equals, minus, 23, point, 0, start text, space, m, end text, v, start subscript, 0, y, end subscript, equals, 0, a, equals, minus, 9, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, squared, end fraction).
So we'll use a kinematic formula in the vertical direction to solve for time t. We don't know the final velocity v, start subscript, y, end subscript, and we aren't asked for the final velocity v, start subscript, y, end subscript so we'll use the vertical kinematic formula that doesn't include final velocity.
delta, y, equals, v, start subscript, 0, y, end subscript, t, plus, start fraction, 1, divided by, 2, end fraction, a, start subscript, y, end subscript, t, squared, start text, left parenthesis, u, s, e, space, t, h, e, space, v, e, r, t, i, c, a, l, space, k, i, n, e, m, a, t, i, c, space, f, o, r, m, u, l, a, space, t, h, a, t, space, d, o, e, s, n, apostrophe, t, space, i, n, c, l, u, d, e, space, f, i, n, a, l, space, v, e, l, o, c, i, t, y, right parenthesis, end text
minus, H, equals, left parenthesis, 0, right parenthesis, t, plus, start fraction, 1, divided by, 2, end fraction, left parenthesis, minus, g, right parenthesis, t, squared, start text, left parenthesis, p, l, u, g, space, i, n, space, k, n, o, w, n, space, v, e, r, t, i, c, a, l, space, v, a, l, u, e, s, end text, right parenthesis
t, equals, square root of, start fraction, 2, H, divided by, g, end fraction, end square root, start text, left parenthesis, s, o, l, v, e, space, s, y, m, b, o, l, i, c, a, l, l, y, space, f, o, r, space, t, i, m, e, space, t, end text, right parenthesis
t, equals, square root of, start fraction, 2, left parenthesis, minus, 23, point, 0, start text, space, m, end text, right parenthesis, divided by, minus, 9, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, squared, end fraction, end fraction, end square root, equals, 2, point, 17, start text, space, s, end text, start text, left parenthesis, p, l, u, g, space, i, n, space, n, u, m, e, r, i, c, a, l, space, v, a, l, u, e, s, space, a, n, d, space, f, i, n, d, space, t, h, e, space, t, i, m, e, space, o, f, space, f, l, i, g, h, t, end text, right parenthesis
Now we need to plug this time t into the equation for the horizontal direction to find horizontal displacement delta, x.
delta, x, equals, v, start subscript, x, end subscript, t, start text, left parenthesis, u, s, e, space, t, h, e, space, e, q, u, a, t, i, o, n, space, f, o, r, space, t, h, e, space, h, o, r, i, z, o, n, t, a, l, space, d, i, s, p, l, a, c, e, m, e, n, t, right parenthesis, end text
delta, x, equals, left parenthesis, 8, point, 31, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, left parenthesis, 2, point, 17, start text, space, s, end text, right parenthesis, start text, left parenthesis, p, l, u, g, space, i, n, space, t, h, e, space, t, i, m, e, space, o, f, space, f, l, i, g, h, t, space, a, n, d, space, end text, v, start subscript, x, end subscript, right parenthesis
delta, x, equals, 18, point, 0, start text, space, m, end text, start text, left parenthesis, c, a, l, c, u, l, a, t, e, space, a, n, d, space, c, e, l, e, b, r, a, t, e, right parenthesis, end text
So the water balloon struck the ground 18, point, 0, start text, space, m, end text horizontally from the edge of the building.

Example 2: Pumpkin launched at an angle

An air cannon is used to launch a pumpkin off a cliff of height H, equals, 18, point, 0, start text, space, m, end text with an initial speed v, start subscript, 0, end subscript, equals, 11, point, 4, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction at an angle of theta, equals, 52, point, 1, degrees as seen in the diagram below.
What is the speed of the pumpkin right before it hits the ground?
We'll be able to determine the final speed of the pumpkin if we can determine the components of the final velocity (v, start subscript, x, end subscript and v, start subscript, y, end subscript).
Before we can do that, we'll have to find the components of the initial velocity (v, start subscript, 0, x, end subscript and v, start subscript, 0, y, end subscript) using the definitions of sine and cosine.
start text, c, o, s, end text, theta, equals, start fraction, start text, a, d, j, a, c, e, n, t, end text, divided by, start text, h, y, p, o, t, e, n, u, s, e, end text, end fraction, equals, start fraction, v, start subscript, 0, x, end subscript, divided by, v, start subscript, 0, end subscript, end fraction, start text, left parenthesis, u, s, e, space, t, h, e, space, d, e, f, i, n, i, t, i, o, n, space, o, f, space, c, o, s, i, n, e, right parenthesis, end text
v, start subscript, 0, x, end subscript, equals, v, start subscript, 0, end subscript, start text, c, o, s, end text, theta, start text, left parenthesis, s, o, l, v, e, space, f, o, r, space, end text, v, start subscript, 0, x, end subscript, right parenthesis
v, start subscript, 0, x, end subscript, equals, left parenthesis, 11, point, 4, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, start text, c, o, s, end text, left parenthesis, 52, point, 1, degrees, right parenthesis, start text, left parenthesis, p, l, u, g, space, i, n, space, n, u, m, e, r, i, c, a, l, space, v, a, l, u, e, s, right parenthesis, end text
v, start subscript, 0, x, end subscript, equals, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, start text, left parenthesis, c, a, l, c, u, l, a, t, e, space, t, o, space, f, i, n, d, space, end text, v, start subscript, 0, x, end subscript, right parenthesis
(Note: If that seemed like indecipherable mathematical witchcraft, check out this article for help with breaking vectors into components.)
This value we found for the horizontal component of the initial velocity v, start subscript, 0, x, end subscript, equals, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction will also be the horizontal component of the final velocity v, start subscript, x, end subscript, equals, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction since the horizontal component of the velocity remains constant for the entire flight (assuming there is no air resistance).
To find the vertical component of the initial velocity we'll use the same procedure as above but with sine instead of cosine.
start text, s, i, n, end text, theta, equals, start fraction, start text, o, p, p, o, s, i, t, e, end text, divided by, start text, h, y, p, o, t, e, n, u, s, e, end text, end fraction, equals, start fraction, v, start subscript, 0, y, end subscript, divided by, v, start subscript, 0, end subscript, end fraction, start text, left parenthesis, u, s, e, space, t, h, e, space, d, e, f, i, n, i, t, i, o, n, space, o, f, space, s, i, n, e, right parenthesis, end text
v, start subscript, 0, y, end subscript, equals, v, start subscript, 0, end subscript, start text, s, i, n, end text, theta, start text, left parenthesis, s, o, l, v, e, space, f, o, r, space, end text, v, start subscript, 0, y, end subscript, right parenthesis
v, start subscript, 0, y, end subscript, equals, left parenthesis, 11, point, 4, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, start text, s, i, n, end text, left parenthesis, 52, point, 1, degrees, right parenthesis, start text, left parenthesis, p, l, u, g, space, i, n, space, n, u, m, e, r, i, c, a, l, space, v, a, l, u, e, s, right parenthesis, end text
v, start subscript, 0, y, end subscript, equals, 9, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, start text, left parenthesis, c, a, l, c, u, l, a, t, e, space, t, o, space, f, i, n, d, space, end text, v, start subscript, 0, y, end subscript, right parenthesis
Since the vertical component of velocity v, start subscript, y, end subscript changes for a projectile as it moves through the air we'll have to solve for the vertical component of the final velocity v, start subscript, y, end subscript using a kinematic formula for the vertical direction. Since we don't know the time of flight t, and we weren't asked to find the time t, we'll use the vertical kinematic formula that doesn't include time t.
v, start subscript, y, end subscript, squared, equals, v, start subscript, 0, y, end subscript, squared, plus, 2, a, start subscript, y, end subscript, delta, y, start text, left parenthesis, u, s, e, space, t, h, e, space, k, i, n, e, m, a, t, i, c, space, f, o, r, m, u, l, a, space, t, h, a, t, space, d, o, e, s, n, apostrophe, t, space, i, n, c, l, u, d, e, space, t, i, m, e, right parenthesis, end text
v, start subscript, y, end subscript, squared, equals, left parenthesis, 9, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, squared, plus, 2, left parenthesis, minus, 9, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, squared, end fraction, right parenthesis, left parenthesis, minus, 18, start text, space, m, end text, right parenthesis, start text, left parenthesis, p, l, u, g, space, i, n, space, k, n, o, w, n, space, v, a, l, u, e, s, right parenthesis, end text
v, start subscript, y, end subscript, squared, equals, 434, start fraction, start text, m, end text, squared, divided by, start text, s, end text, squared, end fraction, start text, left parenthesis, c, a, l, c, u, l, a, t, e, right parenthesis, end text
v, start subscript, y, end subscript, equals, plus minus, square root of, 434, start fraction, start text, m, end text, squared, divided by, start text, s, end text, squared, end fraction, end square root, equals, plus minus, 20, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, start text, left parenthesis, t, a, k, e, space, a, space, s, q, u, a, r, e, space, r, o, o, t, right parenthesis, end text
v, start subscript, y, end subscript, equals, minus, 20, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, start text, left parenthesis, c, h, o, o, s, e, space, t, h, e, space, n, e, g, a, t, i, v, e, space, r, o, o, t, space, s, i, n, c, e, space, t, h, e, space, p, u, m, p, k, i, n, space, w, i, l, l, space, b, e, space, h, e, a, d, i, n, g, space, d, o, w, n, w, a, r, d, s, right parenthesis, end text
Now that we know the horizontal and vertical components of the final velocity, we can use the Pythagorean theorem to solve for the final speed (i.e. magnitude of the final velocity).
v, squared, equals, v, start subscript, x, end subscript, squared, plus, v, start subscript, y, end subscript, squared, start text, left parenthesis, u, s, e, space, t, h, e, space, P, y, t, h, a, g, o, r, e, a, n, space, t, h, e, o, r, e, m, right parenthesis, end text
v, squared, equals, left parenthesis, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, squared, plus, left parenthesis, minus, 20, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, right parenthesis, squared, start text, left parenthesis, p, l, u, g, space, i, n, space, h, o, r, i, z, o, n, t, a, l, space, a, n, d, space, v, e, r, t, i, c, a, l, space, c, o, m, p, o, n, e, n, t, s, space, o, f, space, t, h, e, space, f, i, n, a, l, space, v, e, l, o, c, i, t, y, right parenthesis, end text
v, squared, equals, 482, start fraction, start text, m, end text, squared, divided by, start text, s, end text, squared, end fraction, start text, left parenthesis, c, a, l, c, u, l, a, t, e, right parenthesis, end text
v, equals, 21, point, 9, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, start text, left parenthesis, t, a, k, e, space, a, space, s, q, u, a, r, e, space, r, o, o, t, right parenthesis, end text
This speed of v, equals, 21, point, 9, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction is the magnitude of the final velocity of the pumpkin right before it hits the ground. The relationship between the final velocity and its components is shown in the diagram below.
We could also solve for the angle \phi of the final velocity using the definition of tangent.
start text, t, a, n, end text, \phi, equals, start fraction, start text, o, p, p, o, s, i, t, e, end text, divided by, start text, a, d, j, a, c, e, n, t, end text, end fraction, equals, start fraction, v, start subscript, y, end subscript, divided by, v, start subscript, x, end subscript, end fraction
start text, t, a, n, end text, \phi, equals, start fraction, 20, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, divided by, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, end fraction
Now taking inverse tangent of both sides we get,
t, a, n, start superscript, minus, 1, end superscript, left parenthesis, start text, t, a, n, end text, \phi, right parenthesis, equals, t, a, n, start superscript, minus, 1, end superscript, left parenthesis, start fraction, 20, point, 8, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, divided by, 7, point, 00, start fraction, start text, m, end text, divided by, start text, s, end text, end fraction, end fraction, right parenthesis
The left hand side just becomes \phi, and we can find the value of the right hand side by plugging into a calculator to get,
\phi, equals, 71, point, 4, degrees

Want to join the conversation?

  • spunky sam blue style avatar for user shreynathan
    For two-dimensional projectile motion, is there ever an instance where the initial horizontal velocity is not constant?
    (7 votes)
    Default Khan Academy avatar avatar for user
  • male robot hal style avatar for user Kevin  Niemeyer
    I tried to do the pumpkin launch problem on my own, using the tactic that Sal used in the last video where he used time to construct the final velocity, but I couldn't get the answer to match up. I realize it takes much more time to do it that way, but is it even possible?
    (5 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user Zak.Witter
      Yes, it's possible. I did the same thing and then used the initial vertical velocity and time to solve for the final vertical velocity. My time calculation was 3.04 seconds. So 9+3.04(-9.81) = -20.8, the same final vertical velocity they came up with.
      (6 votes)
  • female robot grace style avatar for user Danilo Devedžić
    In example 2, why did we use tan^-1 instead of sin^-1 or cos^-1?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • purple pi purple style avatar for user David
    "Besides, when the pumpkin hits the ground the acceleration will no longer be ay = –9.8 m/s2 since the collision will cause a huge unknown acceleration. "

    What exactly is this huge acceleration?
    (2 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user aayushbirijal1
    in the second question, if it was projected upwards with some angle should'nt the vertical displacement be more than 18 m?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user Hecretary Bird
      Yes. If the projectile is launched at an angle, there's a non-zero vertical component of initial velocity, as compared to the zero vertical initial velocity the object would experience if launched at a 0 degree angle. This non-zero initial velocity would cause an increase in the max vertical displacement, because it takes some time for the object to start traveling downwards, and in that time, it's going up.
      (3 votes)
  • starky ultimate style avatar for user Toska Pi
    Hi everyone! Just wondering if anyone knows a good place to learn about air resistance? I know it said here it's to do with calculus and differential equations, both of which I am still a beginner in, but is there anyway to learn it a bit more simply to get a better understanding of it?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • stelly green style avatar for user The #1 Pokemon Proponent
      The only thing you need to know about air resistance is that ideally, it is directly proportional to the velocity of the object experiencing the resistance.
      Therefore f-sub-a = kv where k is a constant. In your differential equations, remember that velocity is the first time derivative of displacement.
      Note: I'm using the word 'ideally' a bit loosely here.
      (3 votes)
  • duskpin tree style avatar for user Sarah
    For example 1, isn't the equation for horizontal displacement s=((v+u)t)/2? Which would give you a displacement of 9 meters, instead of 18.0m?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user veronicasih18
    Why is the acceleration of projectiles always -g and not g? Why is g negative for projectiles?
    (2 votes)
    Default Khan Academy avatar avatar for user
    • leaf green style avatar for user Carl Daoud
      I agree with Andrew M's answer, but it also depends on what you make in your equation and drawing (if you do a drawing) positive and negative. If you want down and to the right positive then anything going in those directions are positive and opposite negative, if you make left and up positive then right and down negative. You do whatever you want with equations as long as you know how to do it. To answer you question mainly its because projectiles fall so they go down and that's down like acceleration due to gravity....negative and negative make positive. The projectile might even be negative when it is first launched until it reaches max height.
      (2 votes)
  • leaf green style avatar for user Cindy
    For the first example with the water balloon, they found the flight time using the vertical kinematic formulas, but then used the vertical flight time and plugged it into the horizontal formula. I thought you weren't supposed to put vertical values into horizontal formulas and vice versa. Can someone please explain this to me?
    (3 votes)
    Default Khan Academy avatar avatar for user
    • stelly green style avatar for user The #1 Pokemon Proponent
      First of all, did you understand what that time represents? It's the time the object was in the air. Yes it was moving vertically, but also horizontally and it stops moving horizontally the instant it hits the ground.(do not assume it bounces unless it is mentioned). Therefore the flight time is also the total time the object is moving horizontally. The object has no horizontal acceleration and hence you can just use d=v*t where t is the time of flight, v is the initial horizontal velocity(it should continue for the whole motion) and d is the distance it covers horizontally.
      (1 vote)
  • aqualine ultimate style avatar for user Infinite pi π
    If sin(theta)=y and cos(theta)=x what is z?
    (1 vote)
    Default Khan Academy avatar avatar for user