4.10 HW 10

  4.10.1 Problems listing
  4.10.2 Problem 1
  4.10.3 Problem 2
  4.10.4 Problem 3
  4.10.5 Problem 4
  4.10.6 Problem 5
  4.10.7 key solution for HW 10

4.10.1 Problems listing

PDF

PDF (letter size)
PDF (legal size)

4.10.2 Problem 1

Given ex2dx=π Make a 3D integral and use the transformation from Cartesian to spherical coordinates to evaluate 0x2ex2dx.

Solution

pict
Figure 4.27:Spherical coordinates

The relation between the Cartesian and spherical coordinates isx=rsinθcosϕ(1)y=rsinθsinϕz=rcosθ

The 3D integral in Cartesian coordinates isx=x=y=y=z=z=ex2y2z2dxdydz=(π)3 But x2+y2+z2=r2 in spherical coordinates. The above now simplifies tox=x=y=y=z=z=er2dxdydz=π32 Changing integration from Cartesian to spherical and changing the limits accordingly. the above becomes(2)r=0θ=0πϕ=0ϕ=2πer2 J drdθdϕ=π32 The Jacobian J is (3)J=|dxdrdxdθdxdϕdydrdydθdydϕdzdrdzdθdzdϕ| The relation between Cartesian and spherical in (1) shows thatdxdr=sinθcosϕdxdθ=rcosθcosϕdxdϕ=rsinθsinϕdydr=sinθsinϕdydθ=rcosθsinϕdydϕ=rsinθcosϕdzdr=cosθdzdθ=rsinθdzdϕ=0

Substituting the above in (3) gives(3)J=|sinθcosϕrcosθcosϕrsinθsinϕsinθsinϕrcosθsinϕrsinθcosϕcosθrsinθ0| Expanding along the last row to find the determinant (since last row has most number of zeros in it) gives the determinant asJ=cosθ|rcosθcosϕrsinθsinϕrcosθsinϕrsinθcosϕ|+rsinθ|sinθcosϕrsinθsinϕsinθsinϕrsinθcosϕ|=cosθ((rcosθcosϕ)(rsinθcosϕ)+(rsinθsinϕ)(rcosθsinϕ))+rsinθ((sinθcosϕ)(rsinθcosϕ)+(rsinθsinϕ)(sinθsinϕ))=cosθ(r2cosθsinθcos2ϕ+r2sinθcosθsin2ϕ)+rsinθ(rsin2θcos2ϕ+rsin2θsin2ϕ)=r2sinθcos2θ(cos2ϕ+sin2ϕ)+r2sin3θ(cos2ϕ+sin2ϕ)=r2sinθcos2θ+r2sin3θ=r2sinθ(cos2θ+sin2θ)

ThereforeJ=r2sinθ Substituting the Jacobian in integral (2) givesr=0θ=0πϕ=0ϕ=2πer2 (r2sinθ)drdθdϕ=π32ϕ=0ϕ=2πdϕθ=0πsinθdθr=0r2er2dr=π322πθ=0πsinθdθr=0r2er2dr=π322π[cosθ]0πr=0r2er2dr=π322π[(1)1]r=0r2er2dr=π322π[2]r=0r2er2dr=π324πr=0r2er2dr=π32r=0r2er2dr=π324πr=0r2er2dr=14π

Since r is just an integration variable, changing it to x gives0x2ex2dx=14π Which is what we asked to show.

4.10.3 Problem 2

   4.10.3.1 Field outside the shell
   4.10.3.2 Field inside the shell

Follow the lecture example of deriving the gravitational field of a thin shell and calculate the gravitational potential of such a shell over all space

Solution

4.10.3.1 Field outside the shell

pict
Figure 4.28:Problem setup

The gravitational field at point p as shown in the diagram will be determined. The point p is at distance r from the center of the shell. Due to symmetry any radial direction can be used as z axis.

A small ring is considered as shown. The field due to this at point p is due to vertical contribution only, since horizontal contribution cancel out. This means field due to this ring is given by(1)dg=Gdml2cosα Where dm is the mass of the ring. But dm=σdA, where dA is the surface area of the ring between θ and θ+dθ.

pict
Figure 4.29:Surface area of ring

Hence dA=(2πRsinθ)Rdθ Where 2πRsinθ is the circumference. Hence (1) becomesdg=GσdAl2cosα(2)=Gσ(2πRsinθ)Rdθl2cosα

Where σ is the surface mass density of the shell. But from the above diagram cosα=rRcosθl Using this in (2) givesdg=Gσ(2πRsinθ)Rdθl2(rRcosθl)(3)=Gσ(2πR2sinθ)(rRcosθ)1l3dθ

l is now found from Pythagoras theorem (another option would have been to use the cosine angle rule)

pict
Figure 4.30:Finding l

l2=(rRcosθ)2+(Rsinθ)2=r2+R2cos2θ2rRcosθ+R2sin2θ=r2+R22rRcosθ

Thereforel=r2+R22rRcosθ Substituting this in (3) givesdg=Gσ(2πR2sinθ)(rRcosθ)(r2+R22rRcosθ)32dθ The above is the field at point p due to the small ring shown. To find the contribution from all of the shell, we need to integrate the above, which givesg=θ=0θ=πGσ(2πR2sinθ)(rRcosθ)(r2+R22rRcosθ)32dθ(4)=Gσ(2πR2)0πsinθ(rRcosθ)(r2+R22rRcosθ)32dθ

Let u=cosθ, then du=sinθdθ. When θ=0,u=1 and when θ=π,u=1. Hence the integral (4) becomesg=Gσ(2πR2)11sinθ(rRu)(r2+R22rRu)32dusinθ=Gσ(2πR2)11rRu(r2+R22rRu)32du=Gσ(2πR2)(11r(r2+R22rRu)32du11Ru(r2+R22rRu)32du)=Gσ(2πR2)(r111(r2+R22rRu)32duR11u(r2+R22rRu)32du)(5)=Gσ(2πR2)(rI1RI2)

Where (6)I1=111(r2+R22rRu)32du(7)I2=11u(r2+R22rRu)32du

To evaluate I1. Let v2=r2+R22rRu Hence ddv(v2)=ddu(r2+R22rRu)2vdv=2rRdu

Thereforedu=2v2rRdv=vrRdv

When u=1,v=r2+R2+2rR and when u=1,v=r2+R22rR. Hence I1 becomesI1=r2+R2+2rRr2+R22rR1v3(vrRdv)=1rRr2+R2+2rRr2+R22rR1v2dv=1rR(1v)r2+R2+2rRr2+R22rR=1rR(1v)r2+R2+2rRr2+R22rR=1rR(1r2+R22rR1r2+R2+2rR)=1rR(r2+R2+2rRr2+R22rRr2+R22rRr2+R2+2rR)

Since r>R, the above can be written asI1=1rR((r+R)2(rR)2R42R2r2+r4)=1rR((r+R)(rR)(r2R2)2)=1rR(2R(r2R2))(8)=1r2(r2R2)

Now that I1 is found, similar calculation is made to evaluate I2 from (7)I2=11u(r2+R22rRu)32du Similar to I1, Let v2=r2+R22rRu Hence u=v2r2R22rR Hence I2 becomesI2=r2+R2+2rRr2+R22rR(v2r2R22rR)v3(vrRdv)=r2+R2+2rRr2+R22rRv2r2R2v3(2rR)(vrRdv)=(12rR)(1rR)r2+R2+2rRr2+R22rRv2r2R2v3vdv=12r2R2r2+R2+2rRr2+R22rRv2r2R2v2dv=12r2R2(r2+R2+2rRr2+R22rRv2v2dvr2+R2+2rRr2+R22rRr2+R2v2dv)(9)=12r2R2(r2+R2+2rRr2+R22rRdv(r2+R2)r2+R2+2rRr2+R22rR1v2dv)

The first integral in above is, and since r>Rr2+R2+2rRr2+R22rRdv=r2+R22rRr2+R2+2rR=(rR)2(r+R)2=(rR)(r+R)(10)=2R

The second integral in (9) isr2+R2+2rRr2+R22rR1v2dv=[1v]r2+R2+2rRr2+R22rR As was done for I1, the above simplifies to(11)r2+R2+2rRr2+R22rR1v2dv=2R(r2R2) Substituting (10,11) back in (9) gives I2I2=12r2R2(2R(r2+R2)(2R(r2R2)))=12r2R2(2R+2Rr2+R2(r2R2))=2R2r2R2(1+r2+R2(r2R2))=22r2R((r2R2)+(r2+R2)r2R2)=22r2R(r2+R2+r2+R2r2R2)(12)=1r22Rr2R2

Now that I1 and I2 are found in (8) and (12), then substituting these in (5) givesg=Gσ(2πR2)(rI1RI2)=Gσ(2πR2)(r(1r2(r2R2))R(1r22Rr2R2))=Gσ(2πR2)(2(r2R2)1r22R2r2R2)=Gσ(2πR2)(2r22R2r2(r2R2))=Gσ(2πR2)r2(2(r2R2)(r2R2))=Gσ(4πR2)r2((r2R2)(r2R2))=Gσ(4πR2)r2

But σ(4πR2)=M, which is the mass of the shell. Hence the above becomesg=GMr2 This is the field strength at distance r from the center of the shell, where r>R. This shows that the field strength is the same as if the total mass of the shell was concentrated at a point in its center.

Now we need to obtain the potential energy of a particle of mass m located at distance r from the center of the shell. Taking potential energy of m to be zero at r=, the potential energy is the work needed to move m from to distance r from center of shell. But work done is U=rFdr where F is the wight of m which is mg. HenceU=rmgdr The minus sign inside the integral is because the weight acts down, which is in the negative direction. The minus sign outside the integral is because work is done being done to increase the U of the mass. The rule is that, if work increases the potential energy of m, then it is negative. Since U is zero at infinity, then this work is negative. Therefore the above becomesU=rmgdr=rGMmr2dr=[GMmr]r=[GMmr0]

Therefore the gravitational potential energy of mass m at distance r from center of shell isU=GMmr

4.10.3.2 Field inside the shell

pict
Figure 4.31:Problem setup

Let P be any arbitrary location inside the shell. Then the field at P due to contribution from dA only isdgA=GσdAr2 And the field at P due to contribution from dA only isdgA=GσdA(r)2 The mass due to dA is pulling P upwards and the mass due to dA is pulling P down. If we can show that these fields are of equal strength, then this shows the net gravitational field will be zero at P.

But dAr2=Ω where Ω is the solid angle made by the area dA as shown above. By symmetry, this is the same solid angle made by dA. Therefore dAr2=dA(r)2 Therefore the net gravitational field is zero at P. Since P is arbitrary point. Then any point inside the shell will have zero net gravitational field.

Potential energy of a particle of mass m inside the shell is the same as the potential energy at surface of the shell, this is because g=0 inside the shell.

Using the same derivation of potential energy in part 1 above givesU=Rmgdr=RGMmr2dr=[GMmr]R=[GMmR0]

Therefore the gravitational potential energy of mass m anywhere inside the shell isU=GMmR

4.10.4 Problem 3

Follow the lecture example of deriving the gas pressure and calculate the number of gas particles hitting the container per unit area per unit time. Give your answer in terms of the net number density and the average speed of these particles.

Solution

pict
Figure 4.32:Problem setup

In the above diagram vz is the average speed of particles in the z direction within Δt time from hitting ΔA. The number of particles per unit volume with velocity v and v+dv is given bydn=f(v)dvxdvydvz Where v above is the magnitude (speed) of v. During interval Δt, the number of particles hitting the wall is dN which is therefore given by(1)dN=dn(ΔV)

Where dV is the unit volume shown in the diagram. But dV=(vzΔt)ΔA Therefore (1) becomesdN=dn(vzΔt)ΔA=f(v)dvxdvydvz(vzΔt)ΔA

The above is the number of particles hitting ΔA of the wall in interval Δt.

4.10.5 Problem 4

Derive the expressions of the orbital angular momentum operators Lx,Ly,Lz in spherical coordinates. Show that2=1r2r(r2r)LL2r2 Solution

L=r×p Where L is vector whose components are the orbital angular momentum operators Lx,Ly,Lz and r is a vector whose components are the position operators and p is a vector whose components are the momentum operators and × is the vector cross product. In Cartesian coordinates, e^x,e^y,e^z are the orthonormal basis. HenceL=|e^xe^ye^zxyzpxpypz|=e^x(ypzzpy)e^y(xpzzpx)+e^z(xpyypx)

Hence the corresponding components of L={Lx,Ly,Lz} areLx=ypzzpy(1)Ly=zpxxpzLz=xpyypx

But in Quantum mechanics, the operators px,py,pz arepx=i(x)py=i(y)pz=i(z)

Hence (1) becomesLx=y(i(z))z(i(y))Ly=z(i(x))x(i(z))Lz=x(i(y))y(i(x))

OrLx=i(yzzy)(1A)Ly=i(zxxz)Lz=i(xyyx)

Hence in Cartesian coordinatesL=[i(yzzy)i(zxxz)i(xyyx)] Now the above is converted to spherical coordinates. The relation between the Cartesian and spherical coordinates isx=rsinθcosϕ(2)y=rsinθsinϕz=rcosθ

We also need expression for x,y,z. But by chain rulex=rdrdx+θdθdx+ϕdϕdxy=rdrdy+θdθdy+ϕdϕdyz=rdrdz+θdθdz+ϕdϕdz

To evaluate the above, we need to do the reverse of (2), which is to relate r,θ,ϕ to x,y,z. From the geometry we see that(3)r=x2+y2+z2(4)cosθ=zx2+y2+z2(5)tanϕ=yx

Therefore, from (3)dr=122xx2+y2+z2dx But x=rsinθcosϕ and r=x2+y2+z2. The above becomesdrdx=rsinθcosϕr(6)=sinθcosϕ

And from (4)ddθ(cosθ)=ddxzx2+y2+z2sinθdθ=12z(2x)(x2+y2+z2)32dx

But x2+y2+z2=r2 and z=rcosθ and x=rsinθcosϕ. The above becomessinθdθ=12rcosθ(2rsinθcosϕ)(r2)32dx=r2cosθsinθcosϕr3dx=cosθsinθcosϕrdx

Hencedθ=cosθcosϕrdx(7)dθdx=1rcosθcosϕ

And from (5)ddϕ(tanϕ)=ddx(yx)1cos2ϕdϕ=y(1x2)dx

But y=rsinθsinϕ and x=rsinθcosϕ. Therefore1cos2ϕdϕ=rsinθsinϕr2sin2θcos2ϕdxdϕdx=rsinθsinϕcos2ϕr2sin2θcos2ϕ(8)=sinϕrsinθ

The above completes all the terms needed to find x=rdrdx+θdθdx+ϕdϕdx. Hence, using (6,7,8) above gives(9)x=sinθcosϕr+1rcosθcosϕθsinϕrsinθϕ Now the same thing is repeated to find y in spherical coordinates. From (3)dr=122yx2+y2+z2dy But y=rsinθsinϕ and r=x2+y2+z2. The above becomesdrdy=rsinθsinϕr(10)=sinθsinϕ

And from (4)ddθcosθ=ddyzx2+y2+z2sinθdθ=12z(2y)(x2+y2+z2)32dy

But x2+y2+z2=r2 and z=rcosθ and y=rsinθsinϕ . The above becomessinθdθ=12rcosθ(2rsinθsinϕ)(r2)32dy=r2cosθsinθsinϕr3dy=cosθsinθsinϕrdy

Hencedθ=cosθsinϕrdy(11)dθdy=1rcosθsinϕ

And from (5)ddϕ(tanϕ)=ddy(yx)1cos2ϕdϕ=(1x)dy

But x=rsinθcosϕ. Therefore1cos2ϕdϕ=1rsinθcosϕdydϕdy=cos2ϕrsinθcosϕ(12)=1rcosϕsinθ

The above completes all the terms needed to find y=rdrdy+θdθdy+ϕdϕdy. Hence, using (10,11,12) above gives(13)y=sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ Now the same thing is repeated to find z in spherical coordinates. From (3)dr=122zx2+y2+z2dz But z=rcosθ and r=x2+y2+z2. The above becomesdrdz=rcosθr(14)=cosθ

And from (4)ddθcosθ=ddzzx2+y2+z2sinθdθ=(1x2+y2+z2+z(12(x2+y2+z2)32(2z)))dz=(1x2+y2+z2z2(x2+y2+z2)32)dz=((x2+y2+z2)z2(x2+y2+z2)32)dz

But x2+y2+z2=r2 and z=rcosθ. The above becomessinθdθ=(r2r2cos2θr3)dz=1cos2θrdz

Hencedθdz=1cos2θrsinθ=sin2θrsinθ(15)=1rsinθ

And from (5)ddϕ(tanϕ)=ddz(yx) Hence, since RHS does not depend on z then (16)dϕdz=0 The above completes all the terms needed to find z=rdrdz+θdθdz+ϕdϕdz. Hence, using (14,15,16) above gives(17)z=cosθr1rsinθθ The above completes all derivations needed to find Lx,Ly,Lz in Spherical coordinates. Eqs (9,13,17). Here they are in one place.(9)x=sinθcosϕr+1rcosθcosϕθ1rsinϕsinθϕ(13)y=sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ(17)z=cosθr1rsinθθ

Given Eq(1A) found earlier (repeated below) Lx=i(yzzy)(1A)Ly=i(zxxz)Lz=i(xyyx)

And given (9,13,17), then (1A) becomesLx=i(y(cosθr1rsinθθ)z(sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ))Ly=i(z(sinθcosϕr+1rcosθcosϕθsinϕrsinθϕ)x(cosθr1rsinθθ))Lz=i(x(sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ))+i(y(sinθcosϕr+1rcosθcosϕθsinϕrsinθϕ))

But x=rsinθcosϕ,y=rsinθsinϕ,z=rcosθ. The above becomesLx=i(rsinθsinϕ(cosθr1rsinθθ)rcosθ(sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ))Ly=i(rcosθ(sinθcosϕr+1rcosθcosϕθsinϕrsinθϕ)rsinθcosϕ(cosθr1rsinθθ))Lz=i(rsinθcosϕ)(sinθsinϕr+1rcosθsinϕθ+1rcosϕsinθϕ)+i(rsinθsinϕ)(sinθcosϕr+1rcosθcosϕθsinϕrsinθϕ)

Simplifying gives

Lx=i((rsinθsinϕcosθrsin2θsinϕθ)(rcosθsinθsinϕr+cos2θsinϕθ+cosθcosϕsinθϕ))Ly=i(rcosθsinθcosϕr+cos2θcosϕθcosθsinϕsinθϕ)+i(rsinθcosϕcosθr1rrsin2θcosϕθ)Lz=i(rsin2θcosϕsinϕr+sinθcosϕcosθsinϕθ+cos2ϕϕ)+i(rsin2θsinϕcosϕr+sinθsinϕcosθcosϕθsin2ϕϕ)

OrLx=i(rsinθsinϕcosθrsin2θsinϕθrcosθsinθsinϕrcos2θsinϕθcosθcosϕsinθϕ)Ly=i(rcosθsinθcosϕr+cos2θcosϕθcosθsinϕsinθϕrsinθcosϕcosθr+sin2θcosϕθ)Lz=i(rsin2θcosϕsinϕr+cos2ϕϕrsin2θsinϕcosϕr+sin2ϕϕ)

OrLx=i(sin2θsinϕθcos2θsinϕθcosθcosϕsinθϕ)Ly=i(cos2θcosϕθcosθsinϕsinθϕ+sin2θcosϕθ)Lz=i(sinθcosϕcosθsinϕθ+cos2ϕϕsinθsinϕcosθcosϕθ+sin2ϕϕ)

OrLx=i((sin2θ+cos2θ)sinϕθcosθsinθcosϕϕ)Ly=i((cos2θ+sin2θ)cosϕθcosθsinϕsinθϕ)Lz=i(cos2ϕϕ+sin2ϕϕ)

OrLx=i(sinϕθcosθsinθcosϕϕ)(18)Ly=i(cosϕθcosθsinθsinϕϕ)Lz=i(ϕ)

The above are Lx,Ly,Lz in spherical coordinates. ThereforeLL=L2=Lx2+Ly2+Lz2

But Lx2=2((sinϕθcosθsinθcosϕϕ)(sinϕθcosθsinθcosϕϕ))=2(sin2ϕ22θ+sinϕθ(cosθsinθcosϕϕ)+cosθsinθcosϕϕ(sinϕθ)+cos2θsin2θcos2ϕ22ϕ)=2(sin2ϕ22θsinϕcosϕsin2θϕ+cosθsinθcosϕcosϕθ+cos2θsin2θcos2ϕ22ϕ)

AndLy2=2((cosϕθcosθsinθsinϕϕ)(cosϕθcosθsinθsinϕϕ))=2(cos2ϕ22θcosϕθ(cosθsinθsinϕϕ)cosθsinθsinϕϕ(cosϕθ)+cos2θsin2θsin2ϕ22ϕ)=2(cos2ϕ22θcosϕsinϕθ(cosθsinθϕ)cosθsinθsinϕ(sinϕθ)+cos2θsin2θsin2ϕ22ϕ)=2(cos2ϕ22θ+cosϕsinϕ(1sin2θϕ)+cosθsinθsin2ϕθ+cos2θsin2θsin2ϕ22ϕ)=2(cos2ϕ22θ+cosϕsinϕsec2θϕ+cosθsinθsin2ϕθ+cos2θsin2θsin2ϕ22ϕ)

AndLz2=2(22ϕ) HenceL2=2(sin2ϕ22θsinϕcosϕsec2θϕ+cosθsinθcosϕcosϕθ+cos2θsin2θcos2ϕ22ϕ)2(cos2ϕ22θ+cosϕsinϕsec2θϕ+cosθsinθsin2ϕθ+cos2θsin2θsin2ϕ22ϕ)2(22ϕ)

OrL2=2(22θ(sin2ϕ+cos2ϕ)+22ϕ(cos2θsin2θcos2ϕ+cos2θsin2θsin2ϕ+1))2ϕ(sinϕcosϕsec2θ+cosϕsinϕsec2θ)2θ(cosθsinθcosϕcosϕ+cosθsinθsin2ϕ) Which simplifies toL2=2(22θ+cos2θsin2θ22ϕ(cos2ϕ+sin2ϕ)+22ϕ+cosθsinθθ(cos2ϕ+sin2ϕ))=2(22θ+cos2θsin2θ22ϕ+22ϕ+cosθsinθθ)=2(22θ+(1+cos2θsin2θ)22ϕ+cosθsinθθ)=2(22θ+(sin2θ+cos2θsin2θ)22ϕ+cosθsinθθ)=2(22θ+1sin2θ22ϕ+cosθsinθθ)

HenceLL2r2=12r2(2(22θ+1sin2θ22ϕ+cosθsinθθ))(20)=1r222θ1r21sin2θ22ϕ1r2cosθsinθθ

Therefore1r2r(r2r)LL2r2=1r2(2rr+r22r2)+1r222θ+1r21sin2θ22ϕ+1r2cosθsinθθ=2rr+2r2+1r2(22θ+cosθsinθθ)+1r21sin2θ22ϕ

But the term in the RHS above is indeed the Laplacian in spherical coordinates. Therefore in spherical coordinates

2=1r2r(r2r)LL2r2

Which is what we are asked to show.

4.10.6 Problem 5

Consider ψ(x,t) for 0xL. Given ψ(0,t)=ψ(L,t)=0 andψ(x,0)={Asin(2πxL)0xL20L2xL Find ψ(x,t) that satisfies the following partial differential equation(1)iψt=22μ2ψt2 Where A,L,,μ are positive constants.

Solution

Using separation of variables, assuming the solution isψ(x,t)=X(x)T(t) Where X(x) is function that depends on space only and T(t) is function that depends on t only. Substituting the above into the PDE (1) givesiXT=22μXT Diving both sides by XT0 givesiTT=22μXX2μiTT=XX

Since both sides are equal, and left side depends on t only and right side depends on x only, then both must be equal to a constant. Let this constant be λ. This gives the following two ODE’s to solve(2)2μiTT=λ(3)XX=λ

Starting with the spatial ODE in order to determine the eigenvalues λ(4)X(x)+λX(x)=0 With the boundary conditions transferred from the PDE asX(0)=0X(L)=0

There are three cases to consider. λ<0,λ=0,λ>0.

case λ<0

Let λ=μ2 for some real μ. Then the ODE (4) becomes X(x)μ2X(x)=0. The roots of the characteristic equation are ±μ. Hence the solution isX(x)=Aeμx+Beμx=Acosh(μx)+Bsinh(μx)

At x=0, the above becomes0=A Hence the solution now reduces to X(x)=Bsinh(μx) At x=L, this becomes0=Bsinh(μL) But μL0 since L>0 and μ0. Therefore the only option is that B=0. But this gives trivial solution X(x)=0. Therefore λ<0 is not possible.

case λ=0

The ODE (4) now becomesX(x)=0 This has solution X=Ax+B. At x=0 this gives 0=B. Therefore the solution now reduces to X(x)=Ax. At x=L this gives 0=AL, which implies A=0. But this gives trivial solution X(x)=0. Therefore λ=0 is not possible.

case λ>0

In this case, the roots of the characteristic equation of ODE (4) are ±iλ. Hence the solution can written as (by using Euler relation to convert complex exponentials to trigonometric functions) asX(x)=Acos(λx)+Bsin(λx) At x=0 the above gives0=A Hence the solution now reduces to X(x)=Bsin(λx) At x=L0=Bsin(λL) For non-trivial solution this requires that sin(λL)=0 or λL=nπ for n=1,2,. Therefore the eigenvalues areλn=(nπL)2n=1,2, This completes the solution to the spatial part. The eigenfunctions are therefore(5)Xn(x)=Bnsin(nπLx)n=1,2, Now the time domain part ODE is solved. This is ODE (2) above. Now that the eigenvalues are known, ODE (2) becomes2μiTnTn=λnTn=Tn2μiλnTn2μiλnTn=0

This is linear first order ODE. The integrating factor is I=eλn2μit. The above now becomesddt(Tneλn2μit)=0 Integrating givesTneλn2μit=CnTn(t)=Cneλn2μit=Cnei2λnμt

But λn are the eigenvalues, given by λn=(nπL)2 for n=1,2,. Rewriting the above gives(6)Tn(t)=Cnei2n2π2μL2t But since the solution was assumed to be ψ(x,t)=X(x)T(t), thenψn(x,t)=Xn(x)Tn(t) But the general solution is a linear combination of all the solutions ψn(x,t). Thereforeψ(x,t)=n=1ψn(x,t)=n=1Xn(x)Tn(t)

And using (5,6) in the above, givesψ(x,t)=n=1Bnsin(nπLx)Cnei2n2π2μL2t But the two constants BnCn can be merged into one, say Dn. Therefore the above becomes(7)ψ(x,t)=n=1Dnsin(nπLx)ei2n2π2μL2t The above is the general solution. What is left is to determine Dn. This is done from initial conditions. At t=0 the above becomes{Asin(2πxL)0xL20L2xL=n=1Dnsin(nπLx) The above says that Dn are the Fourier sine series coefficients of the initial conditions. To determine Dn, orthogonality of eigenfunctions sin(nπLx) is used.

Multiplying both sides of the above by sin(mπLx) and integration both sides from x=0 to x=L  gives0L{Asin(2πxL)sin(mπLx)dx0xL20L2xL=0Lsin(mπLx)n=1Dnsin(nπLx)dx0L2Asin(2πxL)sin(mπLx)dx=n=1Dn0Lsin(mπLx)sin(nπLx)dx

Case m=1

The sum above now collapses to one term only when m=n=1, since the sin functions are orthogonal to each others, which gives0L2Asin(2πxL)sin(πLx)dx=D10Lsin2(πLx)dx0L2Asin(2πxL)sin(πLx)dx=D1L2(8)D1=2L0L2Asin(2πxL)sin(πLx)dx

The integral 0L2Asin(2πxL)sin(πLx)dx, is evaluated using the relation sinAsinB=12(cos(AB)cos(A+B)) the integral becomes0L2Asin(2πxL)sin(πLx)dx=A0L212(cos(2πxLπLx)cos(2πxL+πLx))dx=A2(0L2cos(2πxLπLx)dx0L2cos(2πxL+πLx)dx)=A2(0L2cos(πxL)dx0L2cos(3πxL)dx)=A2([sin(πxL)πL]0L2[sin(3πxL)3πL]0L2)=A2(Lπ[sin(πxL)]0L2L3π[sin(3πxL)]0L2)=A2(Lπsin(πL2L)L3πsin(3πL2L))=A2(Lπsin(π2)L3πsin(32π))=A2(Lπ+L3π)=LπA2(1+13)=LπA2(43)=Lπ2A3

Hence Eq. (8) becomesD1=2L(Lπ2A3)=4A3π

Case m=2

The sum above now collapses to one term only, since the sin functions are orthogonal to each others, so only for n=2 the sum gives a result. Hence0L2Asin2(2πxL)dx=D20Lsin2(2πLx)dxAL4=D2L2D2=12A

case m3

The sum now collapses to case when m=n, since the sin functions are orthogonal to each others. Hence0L2Asin(2πxL)sin(mπLx)dx=Dm0Lsin2(mπLx)dx=DmL2

Therefore (now calling m=n since a dummy index)(9)Dn=2L0L2Asin(2πxL)sin(nπLx)dx The integral I=0L2Asin(2πxL)sin(nπLx)dx, is evaluated using the relation sinAsinB=12(cos(AB)cos(A+B)) The integral I  becomes, where here A=2πxL,B=nπLxI=A20L2cos(2πxLnπxL)cos(2πxL+nπxL)dx=A2(0L2cos((2n)πxL)dx0L2cos((2+n)πxL)dx)=A2([sin((2n)πxL)(2n)πL]0L2[sin((2+n)πxL(2+n)πL)]0L2)=A2(L(2n)π[sin((2n)πxL)]0L2L(2+n)π[sin((2+n)πxL)]0L2)=A2(Lsin((2n)πL2L)(2n)πLsin((2+n)πL2L)(2+n)π)=LA2π(sin((2n)πL2L)(2n)sin((2+n)πL2L)(2+n))=LA2π((2+n)sin((2n)πL2L)(2n)sin((2+n)πL2L)(2n)(2+n))=LA2π(2n)(2+n)((2+n)sin((2n)πL2L)(2n)sin((2+n)πL2L))=LA2π(4n2)((2+n)sin(2πL2nπL2L)(2n)sin(2πL2+nπL2L))

HenceI=LA2π(4n2)((2+n)sin(πn2π)(2n)sin(π+n2π))=LA2π(4n2)(2sin(πn2π)+nsin(πn2π)2sin(π+n2π)+nsin(π+n2π))=LA2π(4n2)(2[sin(πn2π)sin(π+n2π)]+n[sin(πn2π)+sin(π+n2π)])=LA2π(4n2)(2[sin(π+n2π)sin(πn2π)]+n[sin(π+n2π)+sin(πn2π)])

Using sin(x+y)sin(xy)=2cosxsiny and sin(x+y)+sin(xy)=2sinxcosy on the above gives (where x=π,y=n2π in this case)I=LA2π(4n2)(2[2cosπsinn2π]+n[2sinπcosn2π])=LA2π(4n2)(2[2sinn2π])=2LAπ(4n2)(sinn2π)

Hence (9) becomesDn=2L(2LAπ(4n2)(sinn2π))=4Aπ(4n2)sinn2π=4Aπ(n24)sin(n2π)

Now all coefficients of the Fourier sine series are found. Therefore the solution (7) becomesψ(x,t)=ψ1(x,t)+ψ2(x,t)+n=3Dnsin(nπLx)ei2n2π2μL2t=D1sin(πLx)ei2π2μL2t+D2sin(2πLx)ei24π2μL2t+n=3(4Aπ(n24)sin(nπ2))sin(nπLx)ei2n2π2μL2t=4A3πsin(πLx)ei2π2μL2t+12Asin(2πLx)ei24π2μL2t+n=3(4Aπ(n24)sin(nπ2))sin(nπLx)ei2n2π2μL2t

Therefore the final solution isψ(x,t)=4A3πsin(πLx)ei2π2μL2t+12Asin(2πLx)ei24π2μL2t4Aπn=3sin(nπ2)(n24)sin(nπLx)ei2n2π2μL2t When n=4,6,8, then sin(nπ2)=0. Therefore only odd terms surviveψ(x,t)=4A3πsin(πLx)ei2π2μL2t+A2sin(2πLx)ei24π2μL2t4Aπn=3,5,7,sin(nπ2)(n24)sin(nπLx)ei2n2π2μL2t

4.10.7 key solution for HW 10

PDF