Pencil pushers
February 23, 2020 at 4:48 PM by Dr. Drang
A couple of days ago, Matt Parker posted this video to his Standup Maths YouTube channel.
In it, he and Hugh Hunt, reader in engineering dynamics and vibration at Cambridge, stand a pencil on its end at the edge of a table, give the bottom end of it a horizontal whack, and see what happens. They also calculate what happens… sort of.
See, the thing is, the title of the video is “Will a falling pencil hit the table? We do the maths!” They certainly do some math, but not enough to answer the question in the title. Kind of disappointing. So let’s do a little more math and finish the problem for them. In the following, we’ll be referring to their work, so you really should watch the video before proceeding.
Here’s the setup. A pencil, which we are modeling as a uniform rod, is standing upright at the edge of a table. We’re going to apply a sharp, short duration horizontal force at the bottom of the rod and work out its subsequent motion. The sketch below shows the layout and the coordinate system I want to use in the solution.
The represents the acceleration due to gravity. The rod is characterized by its length, , and its mass, . Because the mass is uniformly distributed along its length, the center of mass, , is halfway up the rod, and we can calculate its moment of inertia about as
(If you’re looking at that formula and your first thought is “Why isn’t that a 12 in the denominator?” join the club. It took me a few minutes to remember that Hugh had defined as half the length of the rod, and that’s why there’s a 3 instead of a 12. We’re used to seeing the formula written in terms of the full length
but since ,
so the 3 is correct.)
is the end that’s initially at the top, and we’ll be tracking its position to find out if hits the table or flies past it.
is the impulse with which we strike the bottom of the rod. It’s shown as acting a little above the bottom, but I drew it that way so the arrow wouldn’t get lost in the top of the table. Impulse is defined as the integral of the force over the duration of its application. We’re going to assume the duration of the impulse is short, , and that it ends at time . Thus, the impulse is
The impulse-momentum equation is essentially just Newton’s second law integrated over time. For this situation, in the horizontal direction, we have
where is the velocity of C at (just after the impulse), and is the velocity of C at (just before the impulse). Because the rod starts out stationary, and
There’s a rotational analog to the linear impulse-momentum equation
where is the angular velocity of the rod at and is the angular velocity at . Because the rod is stationary before we hit it, , so
There’s some simplification here that the video doesn’t mention. The full definition of angular impulse about is
where is the perpendicular distance from the line of action of to . It’s because the impulse is assumed to act over a very short length of time that we can take throughout the impulse. The idea is that impulse is so short, the rod doesn’t have a chance to rotate significantly. And because is not a function of , we can bring it out of the integral, leaving us with .
Combining our two impulse-momentum equations to eliminate gives us
which is exactly what the video got.
Now let’s track the motions of and . After the impulse, the bottom of the rod will be just off the edge of the table, and the only force acting on the rod will be gravity (in the grand tradition of all elementary mechanics problems, we’re ignoring air resistance). So will trace out a parabola, with
and
being the parabola’s parametric equations.
With the only force acting through the rod’s center of mass, the angular velocity will remain constant at . So
and we can use that to write the equations for the coordinates of :
Now, taking a hint from the video, we’re going to consider the conditions at which the tip of the rod, , is even, horizontally, with the edge of the table. In other words, when .
That means
or
This is the formula they got in the video, but they were looking only at the special case for which the tip of the pencil just barely hits the corner of the table. What we’ve shown is that the same formula works whenever the tip of the pencil passes a vertical line even with the edge of the table. And instead of stopping here, as the video does, we can use the solution to this formula to go further and answer the question in the video’s title: Under what conditions will the pencil hit the table?
The solution of the formula, to an unnecessarily precise seven digits, is , which is equivalent to about 130.57°. What we need to do is consider the value of when is equal to this value. There are three conditions of interest:
- If when , then the tip of the pencil will pass above the table and there will be no hit.
- If when , then the tip of the pencil will just graze the corner of the table. This is the boundary between hit and miss and is the condition they focused on in the video.
- If when , then the pencil hits the table.
Yes, being less than zero for is physically impossible because the pencil will hit the table before can get to that value. But that’s OK. All we really need to know is the condition for which the pencil will hit the table. We can’t expect to track the motion of the pencil after it bounces off the table.
So let’s do some algebra on our expression for . We can use the relationship to eliminate from the right-hand side:
Dividing through by , we get a formula with nondimensional terms, which will allow us to do some numerical work.
Substituting in and rearranging, we get these three conditions:
- when (misses table)
- when (grazes table)
- when (hits table)
So for a given rod length and a given gravitational field, it’s the angular velocity imparted to the rod by the impulse that determines whether the rod strikes the table or not. If the angular velocity is above this limit,
the rod will not hit the table. If the angular velocity is below this value, it will.
We can now work out what this means in terms of the magnitude of the impulse. Recall that
so we can solve for the value of that is the boundary between hit and miss:
Impulses higher than this will be misses, impulses lower will be hits.
If you stop for a minute and think about this result, you should be able to convince yourself that it makes sense. Clearly, a larger mass will require a stronger impulse to get the rod to fly off the table. And a higher gravitational field would mean the rod drops more quickly, also requiring a stronger impulse to get it to miss the table. The relationship between and is perhaps not as obvious, but think of it this way: The longer the rod, the more slowly it rotates for a given impulse; therefore, the only way to get it to swing around to the required angle of before striking the table is to hit it harder.
Now let’s run some numbers for what we see in the video. We’ll assume the pencil is of length 18 cm. With and , we get (about 270 rpm) as the boundary between hit and miss. That corresponds to
as the horizontal component of velocity at . The velocity of the base of the pencil just after the impulse needs to be
These values seem pretty easy to achieve, which is probably why most of the hits in the video sent their pencils flying off without hitting the table.