Hercules Meets Laplace in the Classroom by Mike Huber, Muhlenberg College
Total Page:16
File Type:pdf, Size:1020Kb
Hercules Meets Laplace in the Classroom by Mike Huber, Muhlenberg College Abstract The mythology surrounding Hercules has been a part of human culture for over two and a half thousand years. Laplace transforms, on the other hand, have been used in solving differential equations for about one-tenth the time. This article treats The Eleventh Labor: The Apples of the Hesperides, in which Hercules must wrestle and defeat the giant Antaeus in order to pass through Libya. Each time Hercules throws Antaeus to the ground, the giant recoups energy from the earth. Hercules then lifts him off the ground and Antaeus’ strength decreases. This interdisciplinary problem is a nice application of a model which can use Laplace transforms to determine a solution of how Hercules can defeat the giant. It has been used in the differential equations classroom to enhance learning in a liberal arts environment. Introduction The following passage is taken from Apollodorus’ The Library [1], from the En- glish translation by Sir James George Frazer: When the [ten] labours had been performed in eight years and a month, Eurys- theus ordered Hercules, as an eleventh labour, to fetch golden apples from the Hesperides, for he did not acknowledge the labour of the cattle of Augeas nor that of the hydra. These apples were not, as some have said, in Libya, but on Atlas among the Hyperboreans. They were presented by Earth to Zeus after his marriage with Hera, and guarded by an immortal dragon with a hundred heads, offspring of Typhon and Echidna, which spoke with many and divers sorts of voices. With it the Hesperides also were on guard, to wit, Aegle, Ery- thia, Hesperia, and Arethusa. So journeying he came to the river Echedorus. And Cycnus, son of Ares and Pyrene, challenged him to single combat. Ares championed the cause of Cycnus and marshalled the combat, but a thunderbolt was hurled between the two and parted the combatants. And going on foot through Illyria and hastening to the river Eridanus he came to the nymphs, the daughters of Zeus and Themis. They revealed Nereus to him, and Hercules seized him while he slept, and though the god turned himself into all kinds of shapes, the hero bound him and did not release him till he had learned from him where were the apples and the Hesperides. Being informed, he traversed Libya. That country was then ruled by Antaeus, son of Poseidon, who used to kill strangers by forcing them to wrestle. Being forced to wrestle with him, Hercules hugged him, lifted him aloft, broke and killed him; for when he touched earth so it was that he waxed stronger, wherefore some said that he was a son of Earth. 1 Background Apollodorus is often referenced as “Apollodorus of Athens,” and it is believed that he was born around 180 B.C. According to the The Oxford Classical Dic- tionary [3], Apollodorus lived in Alexandria, but he left there in approximately 146 B.C., moving to Athens, where he spent the rest of his life. He had varied interests and was considered to be a great scholar. His Library was a study of the ancient Greek heroic mythology. The oldest discovered copy of this book dates to the first or second century A.D. His account of the Herculean myth is commonly accepted by most as the authority. The Hesperides were known as the “nymphs of the West,” and were often com- pared in mythology to the Three Graces. The apples grew on a magical tree which had golden leaves and a golden bark. These apples supposedly gave eter- nal life to whoever ate them. Zeus, the king of the gods, had given the tree to Hera as a wedding present. She planted the tree in a garden at the base of Mount Atlas (which gave rise to the Atlantic Ocean, which surrounded the world near Mount Atlas). The Hesperides, daughters of Atlas, liked to pilfer from the tree, so Hera placed a ferocious serpent with one hundred heads named Ladon to guard her precious tree. To successfully accomplish this labor, Her- cules must grapple with the giant Antaeus in order to pass through Libya. Each time Hercules throws Antaeus to the ground, the giant recoups energy from the earth. Hercules then lifts him off the ground and Antaeus’ strength decreases. The Problem Suppose that Hercules and Antaeus wrestle for five minutes before Antaeus is thrown to the ground. In the next minute, his strength is instantly recharged. The ground provides a one-minute pulse of energy to Antaeus (similar to a step or Heaviside function with an amplitude of one), and he again wrestles Hercules for five minutes, and his strength diminishes as before. This periodic forcing function continues throughout the battle. In the absence of the forcing function, the rate of change of Antaeus’ strength would decline at a rate proportional to three-fourths of his original strength. Model Antaeus’ strength and determine if Hercules can defeat him as long as he is on land. The Model We will model Antaeus’ strength using an ordinary differential equation with a step forcing function. Often we are faced with solving initial value problems that are differential equations with constant coefficients, but they may have a piece-wise continuous or step forcing function. The forcing function is also known as a “driving” function, since it comes from an external force or source that “drives” the system. One approach to solving such a problem is to trans- form the equation into another equation that is hopefully easier to work with. We then solve the new equation and reverse the transformation, interpreting the 2 solution back in the context of the original problem. In particular, one method is to use Laplace transforms, which are used to transform the initial value prob- lem into an algebraic equation that can then be easily solved using algebra. The Laplace transform of a function a(t) uses integration in comparing a(t) to an exponential function of the form est. We define the Laplace transform function L[a](s) of the function a(t) to be ∞ −st L[a](s) = a(t) e dt. (1) Z0 Mathematically, the Laplace transform is a function that converts a(t) into a new function A(s), but we use the script letter L to represent that function (we usually write that A(s) = L[a](s), or simply, A = L[a]. Most calculus and dif- ferential equations textbooks have tables of commonly-used Laplace transforms (of polynomials, of exponential and trigonometric functions, of step functions, etc.). In addition, computer algebra systems, such as Mathematica and Maple, also have built-in algorithms for applying the Laplace transform operator. Here is a procedure for using Laplace transforms with initial value problems contain- ing constant coefficients: Step 1. Apply the Laplace transform to the initial value problem. This yields an algebraic equation in the transform of the solution. Any initial condition and forcing function is also transformed. Step 2. Solve the algebraic equation for L[a](s), the transform. Use alge- braic manipulation to ensure each term in the transform’s formula is itself in the form of a Laplace transform (see the example). Step 3. Apply the inverse Laplace transform to obtain the solution to the initial value problem. The Laplace transform has a very special property involving its derivative that really forms the basis for its use in solving differential equations. Given a func- da tion a(t) with associated Laplace transform L[a], the Laplace transform of dt is da L = sL[a] − a(0). (2) dt da This is easily verified by using the definition of L dt and evaluating the im- proper integral using integration by parts. How does the pulse affect the strength? This is similar to a harvesting problem. Let’s define a(t) to be the strength of Antaeus at time t, which is measured in minutes. Since Hercules takes away strength from Antaeus when he lifts him off of the ground, the coefficient for the rate of change of Antaeus’ strength (proportional to three-fourths of his original strength) is negative. This gives 3 us the following ordinary differential equation da 3 = − a(t) + f(t). (3) dt 4 This differential equation is first-order, linear, and non-homogeneous. Initially, we assume that Antaeus is at full strength, so a(0) = 1. The forcing function of this ODE is a square-wave pulse. A plot of the f(t) is shown in Figure 1, and it can be modeled as 0 for0 ≤ x < 5 1 for5 ≤ x < 6 0 for6 ≤ x < 11 1 for11 ≤ x < 12 f(t) = . 0 for12 ≤ x < 17 1 for17 ≤ x < 18 0 for18 ≤ x < 23 etc. Now that we have the initial value problem, we need to solve it. The Solution The Laplace Transform of the homogeneous portion of Equation3 is da 3 3 L = − a(t) =⇒ sL [a] − a(0) = L [a] . dt 4 4 The forcing function f(t) looks like a series of unit step functions. A unit step function has a discontinuity where it jumps from 0 to 1 or back from 1 to 0. It is commonly used in differential equations to model discontinuous processes. The step function’s main use is to turn other functions on and off, like a light switch. Since the function we are modeling is Antaeus’ strength, which is equal to either 1 or 0, our model needs to turn the value of the strength on and off at the appropriate time. For example, f(t)·Step(t,α) turns the function f(t) on at t = α, setting the function to a value of 1.