3.1Work¶
Work and energy are two important concepts. Work is the transfer of energy that occurs when a force is applied to an object and causes displacement in the direction of that force, calculated as ‘force times path’. However, we need a formal definition:
if a point particle moves from to and during this interval a force acts on the particle, then this force has performed an amount of work equal to:
Figure 1:Path of a particle.
Note that this an inner product between two vectors, resulting in a scalar . In other words, work is a number, not a vector. It has no direction. That is one of the advantages over force.
Work done on by during motion from 1 to 2 over a prescribed trajectory:
Keep in mind: in general the work depends on the starting point 1, the end point 2 and on the trajectory. Different trajectories from 1 to 2 may lead to different amounts of work.
3.2Kinetic Energy¶
Kinetic energy is defined and derived using the definition of work and Newton’s Law.
The following holds: if work is done on a particle, then its kinetic energy must change. And vice versa: if the kinetic energy of an object changes, then work must have been done on that particle. The following derivation shows this.
It is from the above that we indicate as kinetic energy. It is important to realize that the concept of kinetic energy does not bring anything that is not contained in N2 to the table. But it does give a new perspective: kinetic energy can only be gained or lost if a force performs work on the particle. And vice versa: if a force performs work on a particle, the particle will change its kinetic energy.
Obviously, if more than one force acts, the net work done on the particle determines the change in kinetic energy. It is perfectly possible that force 1 adds an amount to the particle, whereas at the same time force 2 will take out an amount . This is the case for a particle that moves under the influence of two forces that cancel each other: . From Newton 2, we immediately infer that if the two forces cancel each other, then the particle will move with a constant velocity. Hence, its kinetic energy stays constant. This is completely in line with the fact that in this case the net work done on the particle is zero:
3.3Worked Examples¶
Solution to Exercise 1
The answer is, of course, zero! That is because the path (from Delft to Rotterdam) is perpendicular to the gravitational force. Therefore the inner product over the whole way. Let us look at it more formally, this will help us when things get more complicated later.
The force is and we choose our coordinate system such that the path be along the -axis, the -coordinate is zero and we the backpack is at height m.
So gravity has not performed work on your backpack. Similarly, you have exercised a force on the backpack. As the backpack doesn’t change its vertical coordinate, we know . And immediately, we see:
You didn’t perform any work either. This may feel strange or even wrong. After all, you will probably be pretty tired after the walk. However, that is due to the internal working of our muscles and body. In order to sustain the force humans do use energy: work is done in their muscles. But from a physics point of view: no work is done on the backpack.
Solution to Exercise 2
Solution to Exercise 3
We can split up the integral in these two parts as the direction in both parts is constant, therefore the inner product can be separated out.
Try to integrate the force field yourself along a different path to the same end point.
The work done is not the same over this path. This is already obvious from the graph showing the path and the force field: the second path clearly moves against the force, where the first is moving with direction of the force.
3.4Gravitational potential energy¶
Let’s consider an object close to the surface of any planet, where the acceleration due to gravity can be described by . Raising the object to a height requires us to do work: we will have to apply a force to the object to lift it to position . Thus, with two forces acting - each doing work on the object we get:
The net effect is of course as the object started without kinetic energy and ends without kinetic energy, thus we knew in advance
We can also take a slightly different view on this. Suppose we only concentrate on the work done by gravity: . Note that there is a minus sign, the gravitational force works in the opposite direction of the movement of the object. As energy is a conservative quantity, someone or something has supplied the object with some ‘gained’ energy. We call this potential energy, more particular in this case gravitational potential energy.
Why is it called ‘potential’? When the object is released from that height , this gravitational potential energy is converted to kinetic energy. The gravitational force does work on the object:
From this, it follow that the object will reach a velocity of . This is an example of a situation where an object looses potential energy and gains kinetic energy.
Source
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
from matplotlib.animation import FuncAnimation
from IPython.display import HTML, display
from ipywidgets import interact, FloatSlider, IntSlider
def run_animation(g=9.81, M=1):
m1 = 1.0 # red block mass
acc = M / (m1 + M) * g # Net acceleration
t_stop = 1.5
dt = 0.02
t_vals = np.arange(0, t_stop, dt)
scale_factor = 25
x0 = 40
y0 = 210
fig, ax = plt.subplots(figsize=(9, 5))
ax.set_xlim(0, 900)
ax.set_ylim(500, 0)
ax.axis('off')
# Static scene
ax.fill_between([20, 320], 180, 190, color='black') # floor
pulley = plt.Circle((320, 180), 15, color='grey')
ax.add_patch(pulley)
ax.plot([450, 450], [20, 470], color='black') # y-axis
ax.plot([450, 800], [420, 420], color='black') # x-axis
ax.text(408, 170, "x (m)", fontsize=12)
ax.text(780, 440, "t (s)", fontsize=12)
for i, y in enumerate(range(125, 426, 75)):
ax.text(423, y, f"{(4 - i):.1f}", fontsize=10)
for i, x in enumerate([540, 640, 740]):
ax.text(x, 440, f"{0.5 * (i + 1):.1f}", fontsize=10)
for i in range(24):
ax.plot([450, 800], [420 - 15 * (i + 1)] * 2, color='grey', linewidth=0.5)
for i in range(17):
ax.plot([450 + 20 * (i + 1)] * 2, [60, 420], color='grey', linewidth=0.5)
# Dynamic elements
red_block = Rectangle((x0, 150), 30, 30, color='red')
grey_block = Rectangle((320, y0), 30, 30, color='grey')
ax.add_patch(red_block)
ax.add_patch(grey_block)
cord1, = ax.plot([], [], color='black')
cord2, = ax.plot([], [], color='black')
trace, = ax.plot([], [], color='blue')
x_trace, y_trace = [], []
def update(frame):
t = frame * dt
disp = scale_factor * 0.5 * acc * t**2
x = min(x0 + disp, 270)
y = min(y0 + disp, 440)
red_block.set_xy((x, 150))
grey_block.set_xy((320, y))
cord1.set_data([x + 30, 320], [165, 165])
cord2.set_data([335, 335], [180, y])
if x < 270:
x_trace.append(450 + (200 * t))
y_trace.append(420 - 1.53 * (x - x0))
trace.set_data(x_trace, y_trace)
return red_block, grey_block, cord1, cord2, trace
ani = FuncAnimation(fig, update, frames=len(t_vals), blit=True, interval=dt * 1000)
plt.close(fig) # Prevent duplicate static figure
display(HTML(ani.to_jshtml()))
# Interact widget with sliders
interact(run_animation,
g=FloatSlider(min=1.5, max=15.0, step=0.1, value=9.81, description='g (m/s²)'),
M=IntSlider(min=1, max=5, step=1, value=1, description='Mass (kg)'))
3.5Conservative force¶
As we saw, work done on by during motion from 1 to 2 over a prescribed trajectory, is defined as:
In general, the amount of work depends on the path followed. That is, the work done when going from to over the red path in the figure below, will be different when going from to over the blue path. Work depends on the specific trajectory followed.
Figure 3:Two different paths.
However, there is a certain class of forces for which the path does not matter, only the start and end point do. These forces are called conservative forces. As a consequence, the work done by a conservative force over a closed path, i.e start and end are the same, is always zero. No matter which closed path is taken.
3.5.1Stokes’ Theorem¶
It was George Stokes who proved an important theorem, that we will use to turn the concept of conservative forces into a new and important concept.

Figure 4:Sir George Stokes (1819-1903). From Wikimedia Commons, public domain.
His theorem reads as:
In words: the integral of the force over a closed path equals the surface integral of the curl of that force. The surface being ‘cut out’ by the close path. The term is called the curl of :, which is a vector. The meaning of the curl and some words on the theorem are given below.
3.5.2Conservative force and ¶
For a conservative force the integral over the closed path is zero for any closed path. Consequently, everywhere. How do we know this? Suppose at some point in space. Then, since we deal with continuous differentiable vector fields, in the close vicinity of this point, it must also be non-zero. Without loss of generality, we can assume that in that region . Next, we draw a closed curve around this point, in this region. We now calculate the along this curve. That is, we invoke Stokes Theorem. But we know that on the surface formed by the closed curve. Consequently, the outcome of the surface integral is non-zero. But that is a contradiction as we started with a conservative force and thus the integral should have been zero.
The only way out, is that everywhere.
Thus we have:
3.6Potential Energy¶
This function is called the potential energy or the potential for short and has a direct connection to the work. A direct consequence of the above is:
if everywhere, a function exists such that
where in the last integral, the lower limit is taken from some, self picked, reference point. The upper limit is the position .
Next to its direct connection to work, the potential is also connected to kinetic energy.
or rewritten:
In words: for a conservative force, the sum of kinetic and potential energy stays constant.
3.6.1Energy versus Newton’s Second Law¶
We, starting from Newton’s Laws, arrived at an energy formulation for physical problems.
Question: can we also go back? That is: suppose we would start with formulating the energy rule for a physical problem, can we then back out the equation of motion?
Answer: yes, we can!
It goes as follows. Take a system that can be completely described by its kinetic plus potential energy. Then: take the time-derivative and simplify, we will do it for a 1-dimensional case first.
The last equation must hold for all times and all circumstances. Thus, the term in brackets must be zero.
And we have recovered Newton’s second law.
In 3 dimensions it is the same procedure. What is a bit more complicated, is using the chain rule. In the above 1-d case we used . In 3-d this becomes:
Thus, if we repeat the derivation, we find:
And we have recovered the 3-dimensional form of Newton’s second Law. This is a great result. It allows us to pick what we like: formulate a problem in terms of forces and momentum, i.e. Newton’s second law, or reason from energy considerations. It doesn’t matter: they are equivalent. It is a matter of taste, a matter of what do you see first, understand best, find easiest to start with. Up to you!
3.7Stable and Unstable Equilibrium¶
A particle (or system) is in equilibrium when the sum of forces acting on it is zero. Then, it will keep the same velocity, and we can easily find an inertial system in which the particle is at rest, at an equilibrium position.
The equilibrium position (or more general: state) can also be found directly from the potential energy.
Potential energy and (conservative) forces are coupled via:
The equilibrium positions can be found by finding the extremes of the potential energy:
Once we find the equilibrium points, we can also quickly address their nature: is it a stable or unstable solution? That follows directly from inspecting the characteristics of the potential energy around the equilibrium points.
For a stable equilibrium, we require that a small push or a slight displacement will result in a force pushing back such that the equilibrium position is restored (apart from the inertia of the object that might cause an overshoot or oscillation).
However, an unstable equilibrium is one for which the slightest push or displacement will result in motion away from the equilibrium position.
The second derivative of the potential can be investigated to find the type of extremum. For 1D functions that is easy, for scalar valued functions of more variables that is a bit more complicated. Here we only look at the 1D case
Luckily, the definition of potential energy is such that these rules are easy to visualize in 1D and to remember, see Figure 7
Figure 7:Stable and unstable position of a particle in a potential.
A valley is stable; a hill top is unstable.
NB: Now the choice of the minus sign in the definition of the potential is clear. Otherwise a hill would be stable, but that does not feel natural at all.
It is also easy to visualize what will happen if we distort that particle from the equilibrium state:
The valley, i.e., the stable system, will make the particle move back to the lowest point. Due to inertia, it will not stop but will continue to move. As the lowest position is one of zero force, the particle will 'climb' toward the other end of the valley and start an oscillatory motion.
The top, i.e., the unstable point, will make the particle move away from the stable point. The force acting on the particle is now pushing it outwards, 'down the slope of the hill'.
3.7.1Taylor Series Expansion of the Potential¶
The Taylor expansion or Taylor series is a mathematical approximation of a function in the vicinity of a specific point. It uses an infinite series of polynomial terms with coefficients given by value of the derivative of the function at that specific point: the more terms you use, the better the approximation. If you use all terms, then it is exact. Mathematically, it reads for a 1D scalar function :
For our purpose here, it suffices to stop after the second derivative term:
A way of understanding why the Taylor series actually works is the following.
Imagine you have to explain to someone how a function looks around some point , but you are not allowed to draw it. One way of passing on information about is to start by giving the value of at the point :
Next, you give how the tangent at is: you pass on the first derivative at . The other person can now see a bit better how the function changes when moving away from :
Then, you tell that the function is not a straight line but curved, and you give the second derivative. So now the other one can see how it deviates from a straight line:
Note that the prefactor is placed back. But the function is not necessarily a parabola; it will start deviating more and more as we move away from . Hence we need to correct that by invoking the third derivative that tells us how fast this deviation is. And this process can continue on and on.
Important to note: if we stay close enough to the terms with the lowest order terms will always prevail as higher powers of tend to zero faster than a lower powers (for instance: ).
This 3Blue1Brown clip explains the 1D Taylor series nicely.
A 3blue1brown clip on Taylor series.
For scalar valued functions as our potentials the extension of the Taylor series is not too difficult. If we expand the function around a point
The second derivative of the potential indicated by is the Hessian matrix. Right now, this all sound a bit hocus pocus. But don’t worry: you won’t need it right away in its full glory. In the rest of your physics and math classes, this will all come back and start to make sense.
Conceptually the extrema of the function are again the hills and valleys. The classification of the extrema has next to hills and valleys also saddle points etc. In this course we will not bother about these more dimensional cases, but only stick to simple ones.
Exercise from Idema, T. (2023). Introduction to particle and continuum mechanics. Idema (2023)
- Idema, T. (2023). Introduction to particle and continuum mechanics. TU Delft OPEN Publishing. 10.59490/tb.81