Advanced Classical Mechanics/Continuum Mechanics: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>MathXplore
 
(No difference)

Latest revision as of 03:11, 21 February 2024

We can extend the formalism of Lagrangian mechanics to cover the motion of continuous materials: membranes, strings and fields.

Deriving the Lagrange Equations of a Continuum

We saw for a string that the potential and kinetic energy can be written as a integral over the length of the string.

L=0L(ϕ,ϕx,ϕt)dx

where is called the Lagrangian density.

The Action

Let's write out the action

S=dxdt(ϕ,ϕx,ϕt).

We would like to find the function ϕ(x,t) that minimizes the action, so we let ϕ=ϕ0+η and calculate δS=dxdt[ϕ|ϕ0η+(ϕx)|ϕ0ηx+(ϕt)|ϕ0ηt].

Let integrate the last two items by parts and drop the boundary term because we assume that the value of η vanishes on the boundary, we get

δS=dxdtη[ϕ|ϕ0ddx(ϕx)|ϕ0ddt(ϕt)|ϕ0].

Lagrange's Equations

Because the function η is completely arbitrary then for the value of δS to vanish, the integrand itself must vanish and we obtain the Lagrange equation for a field in one spatial dimension:

ddx(ϕx)+ddt(ϕt)ϕ=0

that the actual motion must satify.

Each new dimension that the field lives in adds a new term of the form

ddz(ϕz)

to the equations of motion.

Examples

Electrostatics

Let's do an example of an electric field with a bunch of charges around. The energy density of an electric field with charges around is

???(ϕ)2+ρϕ

We would like to minimize the integral of over a volume so it is natural to take ???=. We have

=ϵ02[(ϕx)2+(ϕy)2]+ρϕ

and Lagrange's equations are

???ddx(ϕ)+ddy()

A String

As a problem toward the beginning of the term, you found that the potential energy of a string could be given by

V=12λ(zx)2dx

where λ is the string tension.

We can also write the kinetic energy of the string as an integral

T=12(zt)2dm=12(zt)2μdx

where μ=M/L, the mass per unit length of the string. We can combine these two expressions to get the Langrangian density

=12[μ(zt)2λ(zx)2].

Now let's apply Lagrange's equations to this Lagrangian density,

ddx(zx)+ddt(zt)+z=0

μddtztλddxzx=0

2zt2λμ2zx2=0

We can find a solution to this equation of the form, z(x,t)=f(xvt) where v=±λ/μ. Let's substitute this into the equation to get

v2fλμf=λμfλμf=0

This solution is a wave travelling in the positive or negative x-direction. The function f can take any form whatsoever and it always travels at the same speed. This type of wave is called a 'simple wave'.

The Discrete Fourier Transform

When a string vibrates it causes the air around it to vibrate as well; these vibrations travel through the air as waves that we can detect with the acoustic spectrometers attached to the sides of our heads. Our ears are sensitive to the pitch or frequency of the sound that the string produces so it is natural to look at the waves along a string as a sum of waves of a particular frequency, so we have z(x,t)=g(x)cos(ωt+ϕ) where φ is the phase of the wave.

Let's substitute this into the equation of motion to get

ω2g(x)cos(ωt+ϕ)λμg(cosωt+ϕ)=0 so g=ω2μλg and g=Asin(ωμλx)+Bcos(ωμλx)

Now we must apply the boundary conditions of the string. Specifically, we have z(0,t)=z(L,t)=0 so

g=Asin(nπLx)

where n is an integer so we have a formula for the frequency of the wave in terms of the form of the oscillation along the string

ω=nπLλμ

The general solution will allow a sum of different frequencies so

z(x,t)=nAnsin(nπLx)cos(nπLλμ+ϕn)

Let's suppose that we pluck the string so that a t=0, the string is not straight but it is not moving either, so we have ϕn=0 in the formula above, and we get

z(x,0)=nAnsin(nπLx).

We would like to find the coefficients An that tell us what pitches the string will emit when it is released.

Let's take the integral of both sides times sin(mπLx) to get

0Lz(x,0)sin(mπLx)dx=0LnAnsin(nπLx)sin(mπLx)dx.

=0LnAn2[cos((n+m)πLx)+cos((nm)πLx)]dx=0LAm2dx=AmL2.

Rearranging we have

Am=2L0Lz(x,0)sin(mπLx)dx

which defines the discrete Fourier transform.

A Membrane

As a problem toward the beginning of the term, you found that the potential energy of a string could be given by

V=12λ[(zx)2+(zy)2]dxdy

where λ is the surface tension.

We can also write the kinetic energy of the membrane as an integral

T=12(zt)2dm=12(zt)2μdxdy

where μ=M/A, the mass per unit area of the membrane. We can combine these two expressions to get the Langrangian density

=12[μ(zt)2λ[(zx)2+(zy)2]]=12[μ(zt)2λ(z)2]

If we apply Lagrange's equations we obtain,

μddtztλddxzxλddyzy=0

μddtztλ2z=0

Different Coordinates

The value of the action does not depend on the coordinates that you use, but as we shall see the Lagrangian density does. First let's write the action using Cartesian coordinates

S=dxdy=dxdy=12[μ(zt)2λ(z)2].

Sometimes it is useful to use polar coordinates for a circular drum perhaps. Here the action is

S=drdθ=drdθr12[μ(zt)2λ(z)2].

Notice that an r appears in front of the "Cartesian" Lagrangian density. This is just so the units work out, so we find that

polar=Cartesian×r

In both coordinate systems the action has the same units but the Lagrangian density does not. We also need to rewrite the spatial derivatives in polar coordinates to get

polar=12r[μ(zt)2λ(z)2]=12r[μ(zt)2λ[(zr)2+(1rzθ)2]]

If we apply the Lagrange equations we find that the Lagrange density depends explicitly on the coordinate r. We obtain,

rμddtztλddr(rzr)λ1rddθzθ=0

and divide both sides by r to get

μ2zt2λ[1rddr(rzr)+1r22zθ2]=0

or using the definition of the Laplacian in cylindrical coordinates we get

μ2zt2λ2z=0

Solutions to the Two-Dimensional Wave Equation

When analyzing a drum or something with boundary conditions, it is natural to look for solutions to these equations with the form z(x,y,t)=X(x)Y(y)g(t) in Cartesian coordinates, z(r,θ,t)=R(r)f(θ)g(t) in cylindrical coordinates, or z(θ,ϕ,t)=Y(θ,ϕ)g(t). Generally you can pick the function g to vary harmonically in time and the solutions to the spatial dependence are known as harmonics. In Cartesian coordinates we get sines and cosines (the harmonic functions). In cylidrical coordinates, we get sines and cosines in the θ-direction and Bessel functions in the radial direction. If your drum is the surface of a sphere, the solutions are called spherical harmonics: sines and cosines in the ϕdirection and polynomials of cosθ in the other direction.

A Slung Slinky

As a final example we will study a slinky hanging from a horizontal surface and the waves that can propagate along it. Let's first draw a picture to show what we are talking about

Let's use the variable ϕi to denote the angle that each pendulum makes with the vertical. Also let's restrict ourselves to the small-angle approximation. We can write the kinetic energy of each mass as

Ti=12mr2ϕ˙i2

There are two sources of potential energy: gravity and the springs. The expression for gravity is straightforward we have

Vgravity,i=mgr(1cosϕi)12mgrϕi2.

The potential energy of the springs is a bit more complicated. First, we have to come up with a convention so that we don't double count the springs. Let's identify a spring with the mass to its left so we have

Vspring,i=12k{r[(br+sinϕi+1sinϕi)2+(cosϕi+1cosϕi)2]1/2l}2

Now let's take the small-angle approximation,

Vspring,i12k(b+rϕi+1rϕil)2=12k(bl)2+kr(bl)(ϕi+1ϕi)+12kr2(ϕi+1ϕi)2.

We can simplify this further. The first term is a constant; let's drop it. The second term sums to zero when one combines the contribution from every spring. The final term is

Vspring,i12kr2(ϕi+1ϕi)2=12kr2l2(ϕx)2

where we have replaced ϕi with ϕ(xi).

The Lagrange density is given by

=TiVil=12mlr2ϕ˙212mlgrϕ212kr2lϕ'2

The Klein-Gordon Equation

Let's apply Lagrange's equations to the Lagrange density to get the following equation of motion

μϕ¨λϕ+μgrϕ=0

where μ=mr2/l and λ=kr2l. This equation of motion is very similar to that of the stretched string but there is an extra term. Let's divide both sides by μ to get

ϕ¨λμϕ+ω02ϕ=0

where ω02=g/r is the natural frequency of the hanging masses. This is known as the Klein-Gordon equation, and it describes the evolution of massive scalar field. If we let the spring constant k go to zero, then λ goes to zero as well and we have the simple equation for a pendulum.

ϕ¨+ω02ϕ=0

To get an appreciation for the solutions, let's substitute a harmoncally varying wave

ϕ=A(x)cosωt

to get

ω2AλμA+ω02A=0 and A=μλ(ω2ω02)A

If the frequency of the wave ω is greater than the natural frequency of the pendulum, the wave varies sinusoidally in space as well as time (it propagates along the slinky). On the other hand, low-frequency waves are damped, so the slung slinky acts as a high-pass filter.

The form of the equation above encourages us to use solutions of the form

ϕ=cos(kxωt)

with the dispersion relation

k2=μλ(ω2ω02).

Phase Velocity

Again we see that when ω<ω0 things get a bit funny. We can define the phase velocity of the wave

vphase=ωk=λμ(1ω02ω2)1/2.

This measures the speed at which the crest of a wave of a particular frequency passes by.

Group Velocity

Let's say that we want to send a signal down the slinky. How long fast will the signal travel? Specifically, we would like to displace the end of the slinky back and forth and watch the compression travel along the spring.

We could naturally think of a signal as the sum of two waves of a single frequency.

A(x,t)=cos[(k+Δk)x(ω+Δω)t]+cos[(kΔk)x(ωΔω)t].

Using some trignometric identites we see that this is just an amplitude-modulated wave

A(x,t)=2cos(kxωt)cos(ΔkxΔωt).

The amplitude modulation is a wave that travels on top of the carrier wave at a speed of Δω/Δkdω/dk for narrow bandwidth.

The group velocity measures the speed of a "wave packet" or how long a signal takes to travel along the slinky

vgroup=dωdk=λμkω=λμ1vphase=λμ(1ω02ω2)1/2.

If we think about the wave described above in more detail, we have a rapid back-and-forth oscillation that travels at the phase velocity and on top of it a variation in the amplitude of the rapid oscillation. If we ignored the frequency of the pendulums (taking g0 or r), these two variations would travel at the speed λ/μ and one would simply see a pattern travelling at a constant speed along the slinky.

Hanging the slinky introduces dispersion, this means that the pattern generally changes as it travels along the slinky.

The Sine-Gordon or Pendulum Equation

The slung Slinky is related to another important equation of physics. Let's take the exact expression for the gravitational potential energy

Vgravity,i=mgr(1cosϕi)

The new Lagrange density is given by

=TiVil=12mlr2ϕ˙2mlgr(1cosϕ)12kr2lϕ'2

and the equation of motion is

μϕ¨λϕ+μgrsinϕ=0.

This is known as the sine-Gordon equation (those physicists are really good punsters). This equation is no longer linear in the variable ϕ so it is much more difficult to solve than the Klein-Gordon equation. Specifically, we expect that the velocity of the wave will depend not only on the frequency but also the amplitude.

We can define our scale of time (r/g) and distance (μr/(gλ)) so that the equation takes the simpler form

ϕ¨ϕ+sinϕ=0.

Let's look for solutions that have a fixed pattern travelling at a fixed velocity. This was not possible (except for a monochromatic wave) for the Klein-Gordon equation because of the dispersion. Here we have dispersion and non-linearity. Let's use

ϕ=A(xvt)

to get

v2AA+sinA=0

so

A=sinA1v2

Here the value of velocity depends on the amplitude of the wave, v=2 for an amplitude of 0.01, v=1.91 for an amplitude of 1 and 1.64 for an amplitude of 2.

Solitons

The solutions above are strictly periodic, but we can also find waves that travel at velocities less than one that are not periodic (i.e. they are solitary waves or solitons).

The wider waves have amplitudes closer to 2π and velocities closer to zero. The speed of the solitons are 0.1, 0.5, 0.8 and 0.9 from widest to narrowest and the amplitudes range from 6.17 down to 6.11.

The differential equation actually has a simple solution as well. It is called the "kink" solution

ϕ=4tan1[exp(xvt1v2)]

The speed at which the kink travels depends on the maximum slope of the kink.

Error creating thumbnail:

The steepest slope travels at v=0.9; then we have 0.8 and zero (a frozen kink). Template:Subpage navbar