What Happens When a Block Slides Down a Sliding Ramp? Classic Physics Problem

Year after year, in intro physics classrooms all around the world, students learn to analyze the same problem: what happens when you put a block on top of an inclined ramp? It's not a terribly exciting system, but it is a useful setup for learning to predict motion by applying Newton's laws, so it's a worthwhile pedagogical exercise. I reviewed the details of that problem here.

Usually, we assume that the ramp itself is fixed in place—maybe it's nailed down into the top of a table. But what if the ramp is free to slide? Say if the ramp were a perfectly frictionless chunk of ice sitting on top of a table. That makes for a much more challenging and interesting problem, and that's what I'm going to talk about here.

So, let's say we have a ramp of mass $M$ that's inclined at an angle $\theta$. There is no friction between the ramp and whatever surface it's sitting on. We release a block of mass $m$ from the top of the ramp at $t = 0$. The question is: when will the block hit the ground? Let the length of the ramp be $l$, and let's also suppose that there's no friction between the block and the ramp either, because things are already going to get complicated enough here.

We're actually going to answer this question in three different ways. First, we'll do it in the most straightforward approach using $F = ma$. But after that, I'll show you two slicker approaches that get to the same answer with less work.

Let's start with a lightning-fast review of the simpler problem where the ramp is nailed down. Again, you can head over here if you want to see a more detailed refresher on that problem. We start with the free-body diagram for the block:

There are only two forces on the block: gravity $mg$ pulling down, and the normal force $N$ from the ramp pointing perpendicular to the surface. Now we add up the forces and write down $\sum \vec{{}F} = m \vec{{}a}.$ This is a vector equation, but the block is only moving in one direction—along the length of the ramp. So let's define a coordinate $q$ that measures the position of the block with respect to the top of the ramp:

The only force in the $q$ direction is the component of gravity that points parallel to the ramp, which with a bit of geometry you can see is $mg \sin \theta$. Then the $F = ma$ equation for $q$ is

$$m \ddot q = mg \sin \theta,$$

where $\ddot q = a_q$ is the acceleration of $q$—the two dots stand for the second derivative of $q(t)$. This is a nice and simple equation: it says that the block just slides down the ramp with constant acceleration,

$$\ddot q = g \sin \theta.$$

Some checks: when $\theta = 0,$ the ramp is just a flat table, and so $\ddot q = 0$ as expected. When $\theta = \pi/2$, we find $\ddot q = g$ because the block is now in free fall.

Since the block started at rest at $q = 0$ at $t = 0$, the trajectory is

$$q(t) = \frac{1}{2} g \sin(\theta)t^2.$$

It hits the bottom when $q(T) = l$:

$$T = \sqrt{\frac{2l}{g \sin \theta}}.$$

Alright, that was our warm up. Now we want to figure out what happens when the ramp is also free to slide. By Newton's third law, whatever normal force $N$ that the ramp exerts on the block, the opposite force acts on the ramp itself and will push it to the left. So we expect that the ramp will slide to the left while the block is sliding down to the right.

Here are the free-body diagrams for the ramp and for the block:

Once again, the block has got gravity $mg$ pulling down, and the normal force $N$ from the ramp pointing perpendicular to the surface. This time I've broken things up into the vertical and horizontal components of the force. The forces on the ramp are gravity $Mg$, the opposite normal force $N$, and lastly the normal force $N_\mathrm{gd}$ from the ground pushing up on the ramp.

Since both the ramp and the block are moving now, we're going to need some more coordinates. Let's set the origin off to the left somewhere, at the height of the top of the ramp. Let $X$ denote the position of the top corner of the ramp, and let $(x,y)$ be the coordinates of the block:

Now let's write down the $\sum\vec{{}F} = m \vec{{}a}$ equations. Starting with the block, the only horizontal force is the $x$ component of the normal force, $N \sin\theta$, so we get

$$N \sin (\theta) = m \ddot x.$$

The vertical forces on the block are the $y$ component of the normal force $N \cos \theta$ pointing up and gravity pointing down:

$$N \cos (\theta) - mg = m \ddot y.$$

Similarly for the ramp, we've got the horizontal equation

$$-N \sin(\theta) = M \ddot X,$$

and the vertical equation

$$N_\mathrm{gd} -N \cos(\theta) -Mg = 0,$$

which has to vanish because the ramp is stuck on the surface of the ground. We don't care too much about this last equation. All it tells us is that $N_\mathrm{gd}$ will be whatever it needs to be to keep the ramp from falling through the ground.

Note that if we add the two horizontal equations together, the forces cancel out and we're left with

$$M \ddot X + m \ddot x = 0.$$

What's going on here? Think about the block+ramp system. Newton's second law for a system says that the total external force equals the total mass times the acceleration of the center-of-mass: $\sum \vec{{} F}_\mathrm{ext} = (M+m) \vec{{}a}_\mathrm{CM}$. The only external forces on the system are gravity and $N_\mathrm{gd}$. The normal force $N$ between the ramp and the block is an internal force—meaning a force that acts between two pieces of the system—and by Newton's third law it cancels out when we write $F = ma$ for the system: whatever force $N$ is acting on the block, the opposite force $-N$ acts on the ramp.

In this case, there are no external horizontal forces on the block+ramp system, and the horizontal $F = ma$ equation says that the acceleration of the $x$ coordinate of the center-of-mass is zero:

$$\ddot x_\mathrm{CM} = \frac{M \ddot X + m \ddot x}{M+m} = 0.$$

That's what our total horizontal $F = ma$ equation is saying. It means that however much the block slides to the right, the ramp has to move proportionally to the left in order to keep the $x$ coordinate of the center-of-mass fixed in place.

The upshot is that we have three equations we need to solve:

$$\begin{align} &N \sin (\theta) = m \ddot x\notag\\ &N \cos (\theta) - mg = m \ddot y\notag\\ &\ddot X = -\frac{m}{M} \ddot x. \notag \end{align}$$

If we solve the first equation for $N = m \ddot x~/\sin(\theta)$ and plug it into the second equation, we can reduce these to

$$\begin{align} & \cos (\theta)\ddot x - \sin(\theta)\ddot y = g \sin(\theta) \notag\\ &\ddot X = -\frac{m}{M} \ddot x.\notag \end{align}$$

But we've got a problem because there are three unknowns here ($\ddot x$, $\ddot y$, and $\ddot X$), but only two equations. What's missing? The thing we haven't accounted for yet is the fact that the block is stuck on the surface of the ramp, which means that $x$ and $y$ aren't independent.

We can take care of this by going back to our coordinate $q$ that's measured parallel to the ramp, which is related to $x$ and $y$ by

$$q = \frac{x-X}{\cos \theta} = -\frac{y}{\sin \theta}.$$

Then we can rewrite our system of equations as

$$\begin{align} & \cos (\theta)(\cos(\theta)\ddot q+ \ddot X) + \sin^2(\theta)\ddot q = g \sin(\theta)\notag\\ &\ddot X = -\frac{m}{M} \left(\cos(\theta)\ddot q + \ddot X \right).\notag \end{align}$$

Simplifying, we get

$$\begin{align} & \ddot q + \cos (\theta) \ddot X = g \sin(\theta)\notag\\ & (M+m)\ddot X = -m\cos(\theta)\ddot q \notag. \end{align}$$

Finally, we solve the second equation for $\ddot X = - \frac{m}{M+m} \cos(\theta)\ddot q$, plug it into the first equation to find

$$\ddot q - \frac{m}{M+m} \cos^2(\theta) \ddot q = g \sin(\theta),$$

and then solve for $\ddot q$:

$$\ddot q = g \sin(\theta) \frac{M+m}{M+m \sin^2(\theta)}.$$

Is this consistent with our earlier result $\ddot q = g \sin (\theta)$ for the problem when the ramp was fixed in place? We can reproduce that special case by letting the mass of the ramp $M$ get really big, so that it effectively sits still. Then the ratio $\frac{M+m}{M+m\sin^2(\theta)} \to \frac{M}{M} = 1$, and we indeed find $\ddot q \to g \sin(\theta)$ once again. Other checks: when $\theta = 0$ so that the ramp is flat, we find $\ddot q = 0$, as expected because the block is just sitting on the "ramp," which is just sitting on the ground. And when $\theta = \pi/2$, we once again find $\ddot q = g$ because the block is now in free fall.

To actually answer the original question—when does the block hit the ground?—we write the trajectory

$$q(t) = \frac{1}{2} \ddot q t^2,$$

which again is very simple because the acceleration is a constant, and then we find out when $q(T) = l$:

$$T = \sqrt{\frac{2l}{g \sin (\theta)} \frac{M + m \sin^2(\theta)}{M+m}}.$$

So there we have it!

Now, there's nothing wrong with that solution. It was totally systematic: we drew the free-body diagrams, wrote the $F = m a$ equations, applied the constraints, and then solved. But it's more work than we strictly needed to do to solve this problem. The basic point is that working with the $F = ma$ equations forced us to worry about the normal force $N$ between the ramp and the block. But we don't really care about $N$—to answer the question we just wanted to find out the acceleration $\ddot q$ of the block. Is there another way to solve this problem that avoids needing to introduce the normal force in the first place?

In fact, I'll show you two other approaches right now! The first option is to make use of conservation of energy. The total energy of the ramp + block is

$$E = \frac{1}{2} M \dot X^2 + \frac{1}{2} m(\dot x^2 + \dot y^2) + m g y.$$

The first two terms are the kinetic energies of the ramp and the block, and the last term is the gravitational potential energy of the block. Replacing $x = \cos(\theta)q + X$ and $y = -\sin(\theta)q$ to write things in terms of $q$, we get

$$E = \frac{1}{2} M \dot X^2 + \frac{1}{2} m(( \cos(\theta)\dot q+\dot X)^2 + \sin^2(\theta)\dot q^2) - m g \sin(\theta) q.$$

The form of the kinetic energy here comes from the fact that the velocity of the block written in terms of $q$ is the vector $(\dot q \cos(\theta) + \dot X, -\dot q \sin(\theta))$, where we need to add on the velocity $\dot X$ of the ramp to the horizontal component to get the total velocity of the block. Simplifying a bit,

$$E = \frac{1}{2} (M+m) \dot X^2 + \frac{1}{2} m \dot q^2+ m \cos(\theta)\dot X \dot q - m g \sin(\theta) q.$$

The fact that there are no external horizontal forces means that the total horizontal momentum is zero:

$$M \dot X + m \dot x = 0,$$

or again replacing $\dot x = \cos(\theta)\dot q + \dot X$,

$$M \dot X + m (\cos(\theta) \dot q+\dot X) = 0.$$

If we solve this equation for $\dot X$,

$$\dot X = -\frac{m}{M+m} \cos(\theta ) \dot q,$$

and plug it into the energy, we can write the energy entirely in terms of $q$:

$$E = \frac{1}{2} \frac{m^2}{M+m} \cos^2(\theta) \dot q^2 + \frac{1}{2} m \dot q^2- \frac{m^2}{M+m} \cos^2(\theta) \dot q^2 - m g \sin(\theta) q.$$

Simplifying a little more, we get

$$E = \frac{1}{2}m\left( \frac{M + m \sin^2(\theta)}{M+m}\right) \dot q^2 - m g \sin(\theta) q.$$

Now we use the fact that the energy is constant: the time derivative of this equation is equal to zero:

$$m\left( \frac{M + m \sin^2(\theta)}{M+m}\right) \dot q \ddot q - m g \sin(\theta) \dot q = 0.$$

Cross out the $\dot q$'s, and solve for $\ddot q$! We get

$$\ddot q = g \sin(\theta) \frac{M+m}{M+m\sin^2(\theta)}$$

just as before! This way of doing things, we never had to talk about the normal force at all.

Finally, let me mention how we could have solved this problem using the Lagrangian, which is probably the fastest way of all. If you haven't learned about Lagrangians yet, you should watch the mini-lesson I posted about them here, or read the notes here.

The Lagrangian $L$ is the difference between the kinetic and potential energies:

$$L = \frac{1}{2} (M+m) \dot X^2 + \frac{1}{2} m \dot q^2+ m \cos(\theta)\dot X \dot q + m g \sin(\theta) q,$$

where I've again written things in terms of $q$. The only difference in this formula compared to the total energy above is the sign of the last term, which came from the potential energy. Now we write the Euler-Lagrange equations for the two coordinates $X$ and $q$—again, watch the earlier video if you've never seen these before:

$$\begin{align} &\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial L}{\partial \dot X} = \frac{\partial L}{\partial X}\notag\\ \notag\\ &\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial L}{\partial \dot q} = \frac{\partial L}{\partial q}.\notag \end{align}$$

For the $X$ equation we get

$$\frac{\mathrm{d}}{\mathrm{d}t} \left( (M+m) \dot X + m \cos(\theta) \dot q \right)= 0,$$

which implies

$$\ddot X = -\frac{m}{M+m} \cos(\theta) \ddot q.$$

The $q$ equation is meanwhile

$$\frac{\mathrm{d}}{\mathrm{d}t} \left(m \dot q + m \cos(\theta)\dot X \right)= mg \sin \theta,$$

which we can simplify to

$$\ddot q + \cos(\theta)\ddot X = g \sin (\theta).$$

Now plugging the first equation for $\ddot X$ into the second equation, we obtain

$$\ddot q - \frac{m}{M+m}\cos^2(\theta)\ddot q = g \sin (\theta).$$

Solving for $\ddot q$, we learn one more time that

$$\ddot q = g \sin (\theta) \frac{M+m}{M+m \sin^2(\theta)}.$$

That was quite a bit quicker! You can see why the pros tend to prefer using Lagrangians over $F = ma$ to solve mechanics problems.


See also:

↩ Back to all notes

If you encounter any errors on this page, please let me know at feedback@PhysicsWithElliot.com.