User Tools

Site Tools


math121a-f23:october_30_monday

This is an old revision of the document!


Oct 30

Sometimes you want to model a short impulse:

  • you give a swing a push, so that it started to swing up
  • you plucked a string on the guitar, and it started to vibrate

This can be modeled by an inhomogenous equation of the form D2u(t)+ω2u(t)=g(t). D^2 u(t) + \omega^2 u(t) = g(t). where g(t)g(t) models the force (which varies over time). Sometimes we don't care about the precise shape of the function g(t)g(t), but only the 'total effect' of the force given, then it is useful to use the delta function to model it.

delta function as a limit

Consider the following sequence of functions gn(t)=n1[0,1/n](t). g_n(t) = n \cdot 1_{[0,1/n]}(t). where 1[a,b](t)1_{[a,b]}(t) means the value of the function is 11 if t[a,b]t \in [a,b] and 00 otherwise. We have that gn(t)dt=1 \int g_n(t) dt = 1 for all nn, but the graph of the function is getting narrower and taller.

We also have the property that, suppose we have a smooth function f(t)f(t), then we have limngn(t)f(t)dt=f(0). \lim_{n \to \infty} \int g_n(t) f(t) dt = f(0). consider the case that f(t)=1f(t) = 1 or tt.

We will write δ(t)=limngn(t). \delta(t) = \lim_{n \to \infty} g_n(t). which is meaningful inside an integral.

delta function on the RHS of an equation

Ex 1

Consider the equation y(t)=δ(t),t0 y'(t) = \delta(t), \quad t \geq 0 and with initial condition y(t)=0y(t)=0 for t<0t<0.

We can solve it by integration: for b>0b > 0, we have y(b)=y(ϵ)+ϵby(t)dt=0+1=1. y(b) = y(-\epsilon) + \int_{-\epsilon}^b y'(t) dt = 0 + 1 = 1. where ϵ\epsilon is any positive number.

The shape of y(t)y(t) is a 'step function', y(t)={0t<01t>0 y(t) = \begin{cases} 0 & t < 0 \cr 1 & t > 0 \end{cases} the value of y(0)y(0) is undefined (and doesn't matter)

Ex 2

Consider the equation (d/dt)2y(t)=δ(t),t0 (d/dt)^2 y(t) = \delta(t), \quad t \geq 0 and with initial condition y(t)=0y(t)=0 for t<0t<0.

Let g(t)=y(t)g(t) = y'(t), then g(t)$ satisfies (d/dt)g(t)=δ(t) (d/dt) g(t) = \delta(t) which is just the case in Ex 1. We see g(t)=1g(t) = 1 only if t>0t>0. Then, we get, for t>0t>0 y(t)=y(0)+0ty(s)ds=0t1ds=t. y(t) = y(0) + \int_0^t y'(s) ds = \int_0^t 1 ds = t.

Ex 3

Consider the equation that, for x[0,2]x \in [0,2] (d/dx)2y(x)+y(x)=δ(x1) (d/dx)^2 y(x) + y(x) = \delta (x-1) with boundary condition $y(0) = y(2) = 0.

If we integrate this equation over the interval (1ϵ,1+ϵ)(1-\epsilon, 1+\epsilon), across the location of the delta function, we find that limϵy(1+ϵ)y(1ϵ)=1 \lim_{\epsilon} y'(1+\epsilon) - y'(1-\epsilon) = 1 (the term $\int_{1)$.

The (retarded) Green's function

1)
1-\epsilon, 1+\epsilon)} y(x) dx = O(\epsilon) \to 0)hencewehadadiscontinuityoftheslopeof) hence we had a discontinuity of the slope of y(x)when when x=1.Wemaywritedownthegeneralsolutionovertheinterval. We may write down the general solution over the interval (0,1)thatvanisheson that vanishes on x=0$ y(x)=asin(x),x[0,1] y_-(x) = a \sin(x) , \quad x \in [0,1] and the general solution over x(1,2)x \in (1,2) that vanishes on x=2x=2 y+(x)=bsin(x2),x[1,2] y_+(x) = b \sin(x-2), \quad x \in [1,2] then we can solve the condition that y(1)=y+(1),y(1)y+(1)=1 y_-(1) = y_+(1), \quad y_-'(1) - y'_+(1) = 1 this gives asin(1)=bsin(1),acos(1)bcos(1)=1 a \sin(1) = b \sin(-1), \quad a\cos(1) - b \cos(-1) = 1 so a=ba=-b and $a = 1 / (2 \cos(1
math121a-f23/october_30_monday.1698606394.txt.gz · Last modified: 2023/10/29 12:06 by pzhou