Pendulum Pattern Perception

Pendulum Pattern Perception


This paper considers the imagery generated by multiple pendula swinging from a single beam. Although it is not generally detectable, the pendulum bobs lie on a sinusoid of contracting wavelength. Instead, an onlooker sees a sequence of diverse patterns produced by the bobs. Disparity between the undetected and perceived imagery is caused by insufficient signal sampling. The sequence of visual effects is explained mathematically.

1. Introduction

Our ability to learn is, in many ways, a measure of resourcefulness. Like others, we sought the answers of our youth in the dusty basements of university libraries as all but a rite of passage. Today, the halls of knowledge are often just a mouse click away. Through video-sharing website YouTube for instance, MIT throw open their illustrious lecture theatres while fellow Americans Harvard have captivated users with truly mesmerising scientific demonstrations (e.g. a coffee mug survives a perilous fall in [1] thanks to a pencil, some string and angular momentum).

Pendulum Pattern Perception figure 1
Figure 1: Harvard’s pendulum apparatus,^2 see [2].
Since June 2010, one such demonstration (see [2]) has gained well in excess of nine million views. The video depicts 15 uncoupled, simple pendula. As Figure 1 shows, there is a monotonic increase in pendulum length from one end of a rigid beam to the other and this corresponds to a monotonic decrease (of fixed increment) in pendulum frequency. The bobs oscillate in unison and, whether viewed down the length of the beam (as is the case in [2]) or from above, the visual effects produced are equally stunning.^1 In this piece we explore these effects through a mathematical model.

2. Pendulum model

Let us consider an aerial view of Harvard’s pendulum demonstration. We can describe the position of each pendulum bob by a pair of coordinates (x,y) where integral x \in [ 1, 15 ] denotes a pendulum’s position along a horizontal beam and y \in [ -1, 1 ] represents a bob’s orthogonal displacement with respect to the beam (such that y = 0 when a bob is directly under the beam).

A simple pendulum swings back and forth under the influence of two main forces: gravity pulls the bob downwards, whilst tension in the string pulls the bob upwards.  Such motion is periodic and y is sinusoidal in time [3].  Galileo showed that the simplest such wave took the form u(t) = A \sin \left( 2 \pi f t \right), where the wave has amplitude A and frequency f in time t [4].  Hence we employ the following pair of equations (used by Cox in [5]) to simulate the time-evolution of Harvard’s pendula,

(1)   \begin{eqnarray*}  x &=& j \end{eqnarray*}

(2)   \begin{eqnarray*}y &=& \sin \left( 2 \pi f t + \frac{\pi}{2} \right) \end{eqnarray*}

where f is now a function of j and the starting position of all 15 bobs corresponds to y = 1 (noting the addition of a {\pi}/{2} term here).

3. Visual effects

Pendulum-Pattern-Perception-figure-2
Figure 2: Oscillating pendula of [2] at t = 0 and moments which immediately follow ((a)–(f)). A single wave appears.^3
Over the course of Harvard’s video, a sequence of visual patterns appears with various travelling and standing waves being the most pronounced.^4 In the outset, all 15 pendula collectively form a single wave (see Figure 2). This is briefly followed by three simultaneous waves before two simultaneous waves appear in their place. Shortly afterward, three waves reappear and, as the video comes to a close, we see the gradual reappearance of a single wave. These are cyclic patterns and the video captures a full cycle.

A travelling or standing wave may be formed by any of Harvard’s pendula as they approach (and depart from) an instant when they are in phase.^5 For example, such an instant occurs at the end of any cycle.

A cycle terminates when all 15 pendula simultaneously complete an oscillation (i.e. fall into phase). From (2), it is clear that pendulum j completes an oscillation whenever f t is an integer (recalling that f is a function of j).  Hence a cycle ends when f t is integral for all j (i.e. for all pendula) at once.  Thus,

    \[ f t = n(j) \]

as a cycle ends where n(j), the number of oscillations executed by pendulum j,^6 is an integer which varies according to j.  Using Cox’s explicit expression for f this becomes,

(3)   \begin{equation*}  n(j) = ( b + j d ) t %\Longrightarrow t = \frac{n(j)}{( b + j d )} \end{equation*}

where base frequency b and increment d are j-independent parameters. To be clear, any t which solves (3) for all j marks a cycle endpoint.  Such a solution would correspond to an instant in time, i.e. unlike n(j), t would not vary according to j. Therefore, these instants occur precisely when there is no explicit j-dependence on the right-hand side of

(4)   \begin{equation*}  t = \frac{n(j)}{ d \left( \frac{b}{d} + j \right)}. \end{equation*}

Hence n(j) must cancel out the j term in the denominator of (4) at cycle endpoints. If we assume the simplest form of {b}/{d} can be expressed as a is a simple fraction, say {a}/{c}, then

    \[ n(j) = k c \left( \frac{a}{c} + j \right) %= k c \left( \frac{b}{d} + j \right) \]

when a cycle ends (where k \in \mathbb{Z}) which gives,

    \[ t = \frac{ k c \left( \frac{a}{c} + j \right)}{ d \left( \frac{b}{d} + j \right)} = \frac{ k c \left( \frac{b}{d} + j \right)}{ d \left( \frac{b}{d} + j \right)} = \frac{k c}{d} \]

in (4). It is clear that consecutive k correspond to the endpoints of a single cycle. Hence a cycle’s period, \Gamma, equates to the difference in t when k is equal to, say, 0 and 1.  Therefore \Gamma = {c}/{d} and a single travelling wave appears in proximity to t = 0, \Gamma, 2 \Gamma, \ldots

Pendulum-Pattern-Perception-figure-3
Figure 3: Clock for visual cycle of pendula (the ring’s 12 o’clock position denotes a cycle’s beginning and ending). When the continuously turning hand reaches hour p on the clock face, every p pendula are in phase (perceptible for p \le 5 in [2]). These hours are positioned according to our rule for t = ({v}/{p}) \Gamma.
Cox’s model does not replicate [2] unless c = 1.^8 With c = 1, we can shift our focus from endpoints to within the cycle itself. Thus we consider instants of the form t = ({r}/{s}) \Gamma (where r < s). Using (4), we have that n(j) = ({r}/{s}) (a + j) at such instants.^9 Hence, whenever t = ({r}/{s}) \Gamma

    \begin{align*} n(j + p) &= \frac{r}{s} \left( a + j + p \right) \\ \Longrightarrow n(j + p) &= n(j) + \frac{r}{s} p \end{align*}

i.e. n(j + p) \equiv n(j) \bmod{1} when ({r}/{s}) p \in \mathbb{Z}. Put simply, this says that pendula j and j + p are at the same stage in their individual oscillations (while closer pendula are at different stages) when

    \[\frac{r}{s} = \frac{v}{p} \]

for v \in \mathbb{Z} such that p and v are coprime. Therefore every p pendula are in phase at t = ({v}/{p}) \Gamma (see Figure 3) and p travelling or standing waves may form in proximity to such instants.^{10}

In summary, Cox’s model predicts and explains Harvard’s visual sequence: 1 wave near t = 0\,s, 3 waves near t = 20\,s, 2 waves near t = 30\,s, 3 waves near t = 40\,s and 1 wave near t = 60\,s (\Gamma = 60\,s in [2]).^{11}

4. Spatial aliasing

As they exhibit simple harmonic motion, pendulum bobs can collectively produce a diverse array of imagery.^{12} Whilst predicting such variation, (1) and (2) show that Harvard’s bobs actually lie on a curve,

(5)   \begin{equation*}  y = \sin \left( 2 \pi f t + \frac{\pi}{2} \right) \end{equation*}

where f = b + x d.  That is, bobs demonstrate the ability to create multiple waveforms despite lying on a continuous sinusoid at all times (e.g. see Figure 4). This is a phenomenon known as aliasing [6] and is caused by improper sampling [7].

As pendula swing back and forth in [2], a viewer mentally interpolates between the moving bobs. Thus the spectator perceives some curve(s) of best fit, e.g. visual waves. Intuitively, all such curves would be described by (5) although this is seldom the case.  Hence the ‘true’ image (as described by (5)) can go undetected by the human eye.

In short, an observer’s discrete sample (in the form of 15 pendulum bobs at equal intervals along Harvard’s beam) of the underlying curve (i.e. a continuous sinusoid) typically turns out to be an inappropriate sampling rate. Thus Harvard’s bobs do not generally provide an adequate set of data for faithful interpolation and the onlooker perceives a ‘false’ image.

False imagery of this kind (e.g. multiple waves) is unavoidable under Harvard conditions (i.e. where {b}/{d} = {a}/{c}). This is because the wavelength of the underlying curve constantly shrinks (see (5)) [6] and therefore a viewer’s sampling rate continually falls. Hence the same sample that initially captures the underlying curve becomes unsuitable and aliasing is inevitable.

Pendulum-Pattern-Perception-figure-4
Figure 4: Pendula of [2] shortly after t = {\Gamma}/{2}, simulated using Cox’s model (left) with perceived waves highlighted (right) and underlying curve (centre).

5. Discussion

We have highlighted an example of behaviour that is complicated but not complex [8]. In [2] Harvard demonstrate that, without influencing each other’s motion, oscillating objects can generate imagery suggestive of coordination. Here, a mathematical rule that does not describe all such imagery is used to predict it.

Gaps between pendula (or, more generally, data points) can transform our perception of a curve or pattern. While generally undesirable, masquerading of signals creates mesmeric optical illusions in [2]. In this way, aliasing can enrich the visual effects of objects in motion. A simple deterministic rule can thus produce diverse spatio-temporal behaviour.

Andrew D. Irving
University of Liverpool

Ebrahim L. Patel
University of Oxford

Notes

  1. We encourage readers to watch [2] as description alone cannot do it full justice.
  2. Photo courtesy of Harvard Natural Sciences Lecture Demonstrations, FAS Science Division. We would like to thank Allen Crockett for granting us permission to use this image.
  3. This simulation uses Cox’s model with d > 0, i.e. such that the leftmost pendulum is longest in each picture.
  4. Strictly speaking, a standing wave pattern is not a wave. This kind of pattern results when two or more waves of equal frequency travel in different directions such that they cause interference [9].
  5. Two pendula are in phase here if they occupy the same position (i.e. equally displaced from their initial setting) and exhibit the same behaviour (i.e. going in the same direction). As such, two pendula are in phase when they are at the same stage in their oscillations.
  6. By definition, a pendulum’s frequency is equal to the number of oscillations that occur per unit time [10]. Hence ft is equal to the number of oscillations executed. Therefore n(j) is also equal to the number of oscillations (made by pendulum j).
  7. Cox uses d to denote the ‘incremental frequency’ of the pendula (i.e. the change in frequency with x) and b to denote the ‘base frequency’ (i.e. the frequency in the absence of any incremental change).
  8. Over the course of Harvard’s cycle, each pendulum completes one oscillation more than the next shortest pendulum [11], i.e. n(j + 1) - n(j) = 1 when t = \Gamma.  Hence,

        \begin{align*} \left( a + c (j + 1) \right) - \left( a + c j \right) &= 1 \\ \Longrightarrow                                       c &= 1 \end{align*}

    in Harvard’s case (which means that d divides b and that \Gamma = {1}/{d}).

  9. The denominator on the right-hand side of (4) is the frequency of pendulum j (and this does not vary according to time). Therefore, dividing time (i.e. the left-hand side of (4)) in the manner we have corresponds to dividing only the numerator of the right-hand side.
  10. This rule does not apply unless | c | = 1.
  11. By simulating Cox’s model slowly (using Matlab for example), we can also briefly see four simultaneous waves near t = {\Gamma}/{4} and t = {3\Gamma}/{4} although these are difficult to perceive in [2].
  12. Simple harmonic motion is a good approximation to the motion of a simple pendulum [12].

Acknowledgement

Andrew Irving would like to express his deep gratitude to the University of Liverpool for allowing him to carry out his share of this work from within their Maths Department (with special thanks to Peter Giblin, Stephen Downing and Rachel Bearon for their kindness).

References

  1. Harvard Natural Sciences Lecture Demonstrations (2011) Coffee Mug on String, www.youtube.com/watch?v=RMWJ7wA09gE (accessed 3 June 2014).
  2. Harvard Natural Sciences Lecture Demonstrations (2010) Pendulum Waves, www.youtube.com/watch?v=yVkdfJ9PkRQ (accessed 28 April 2014).
  3. The Physics Classroom (2014) Pendulum Motion, www.physicsclassroom.com/class/waves/Lesson-0/Pendulum-Motion (accessed 28 April 2014).
  4. Budd, C. (2013) Maths makes waves!, http://people.bath.ac.uk/mascjb/PUSArticles/Waves.pdf (accessed 1 July 2014).
  5. Cox, E. (2012) Pendulum Wave Demonstration With Matlab, http://ericboy.wordpress.com/2012/05/20/194/ (accessed 28 April 2014).
  6. Flaten, J.A. and Parendo K.A. (2001) Pendulum waves: A lesson in aliasing, Am. J. Phys., vol. 69, no. 7, pp. 778–782.
  7. Olshausen, B.A. (2000) Aliasing, http://redwood.berkeley.edu/bruno/npb261/aliasing.pdf (accessed: 9 May 2014).
  8. IMA Public Lectures (2014) Making Sense of a Complex World, www.youtube.com/watch?v=q_n1hKQIuIU (accessed 13 July 2014).
  9. The Physics Classroom (2014) Formation of Standing Waves, www.physicsclassroom.com/Class/waves/u10l4b.cfm (accessed 27 May 2014).
  10. Parks, J.E. (2000) The Simple Pendulum, www.phys.utk.edu/labs/simplependulum.pdf (accessed 10 May 2014).
  11. Harvard Natural Sciences Lecture Demonstrations (2014) Simple Harmonic (and non-harmonic) Motion, http://tinyurl.com/HNSLD (accessed 28 April 2014).
  12. Butterworth, J. (2014) Simple harmonic motion: the swing of the pendulum, The Guardian, http://tinyurl.com/shm2014 (accessed 23 May 2014).

Reproduced from Mathematics Today, December 2014

Download the article, Pendulum Pattern Perception (pdf)

Published