User Tools

Site Tools


math121b:04-01

2020-04-01, Wednesday

Recall the first time we dipped in Chapter 13, partial differential equations, we discussed about the 'method of separation of variables'. We covered Boas 13.1 and 13.2. Today, we plan to talk about 13.3 and 13.4, the heat equation, Schroedinger equation and the wave equation.

Heat Equation

tu=Δu \d_t u = \Delta u This equation discribe the diffusion of heat.

Example: heat diffusion on a circle

Consider 1-dimensional example, on a circle. Then function to be solved is u(t,θ)u(t, \theta) with θ[0,2π]\theta \in [0, 2\pi]. Suppose we are given the intial conditino u0(θ)u_0(\theta) at t=0t=0, then we try to solve for the general solution.

The basic idea is to find the eigenvalue of the operator Δ\Delta acting on function on S1S^1. The eigenvalues are λ=0 and n2,n=1,2, \lambda = 0 \z{ and } -n^2, n=1,2,\cdots The eigen-function (up to scale) for λ=0\lambda=0 is 11, and the eigenfunctino for λ=n2\lambda = -n^2 is sin(nθ)\sin(n\theta) and cos(nθ)\cos(n\theta).

Hence, we have the following solution to the heat equation (ignoring the initial condition for now) 1, and en2tsin(nθ),en2tcos(nθ)1, \z{ and } e^{-n^2 t} \sin(n \theta), e^{-n^2 t} \cos(n \theta) Thus, if we decompose the initial condition u0u_0 as u0(θ)=c+n=1ancos(nθ)+bnsin(nθ) u_0(\theta) = c + \sum_{n = 1}^\infty a_n \cos(n \theta) + b_n \sin(n \theta) then we have u(t,θ)=c+n=1anen2tcos(nθ)+bnen2tsin(nθ). u(t, \theta) = c + \sum_{n = 1}^\infty a_n e^{-n^2 t} \cos(n \theta) + b_n e^{-n^2 t} \sin(n \theta).

Example: Heat diffusion on a square

Let u=u(t,x,y)u = u(t,x,y), x[0,1],y[0,1]x \in [0,1], y \in [0,1]. tu=x2u+y2u \d_t u = \d_x^2 u + \d_y^2 u and suppose the temperature on the boundary of the interval is held at a constant temperature TT, and we have initial condition u0(x,y)u_0(x,y) given, compatible with the boundary condition. Let's try to find the evolution.

Let's first remove the boundary condition. We may write u(t,x,y)=T+v(t,x,y) u(t,x,y) = T + v(t,x,y) then vv satisfies the same equation as uu, and with initial condition given v(0,x,y)=u0(x,y)T.v(0,x,y) = u_0(x,y) - T. We may now write down the basis of general solution to the equation (ignoring the initial condition) vn,m(t,x,y)=eπ2(n2+m2)t(sin(nπx)sin(nπy)),n,m1 v_{n,m}(t,x,y) = e^{- \pi^2 (n^2 + m^2) t} (\sin (n \pi x) \sin(n \pi y)), \quad n, m \geq 1 Then the general solution can be written as v(x,y)=n,man,mvn,m(t,x,y) v(x,y) = \sum_{n,m} a_{n,m} v_{n,m}(t,x,y) To fix the coefficients vn,mv_{n,m}, we use the initial conditions v(0,x,y)=n,man,mvn,m(0,x,y) v(0,x,y) = \sum_{n,m} a_{n,m} v_{n,m}(0,x,y) so multiply both sides by vn,m(0,x,y)v_{n,m}(0,x,y) and integrate, only one term on the RHS contribute, and we get an,m=[0,1]2v(0,x,y)vn,m(0,x,y)dxdy[0,1]2vn,m2(0,x,y)dxdy.a_{n,m} = \frac{\int_{[0,1]^2} v(0,x,y) v_{n,m}(0,x,y) dx dy}{\int_{[0,1]^2} v^2_{n,m}(0,x,y) dx dy}.

Remark: if the boundary temperature is not constant TT (but still time-independent), we may still find a special solution first, a function U(x,y)U(x,y) that satisfies the boundary condition, and ΔU(x,y)=0\Delta U(x,y) = 0. Such function U(x,y)U(x,y) exists and is unique, it is called the harmonic extension of the boundary value to the interior. Then we can still get rid of the boundary condition by setting u(t,x,y)=U(x,y)+v(t,x,y) u(t,x,y) = U(x,y) + v(t,x,y) where v(t,x,y)v(t,x,y) now has boundary condition 00, and initial condition v(0,x,y)=u(0,x,y)U(x,y)v(0,x,y) = u(0,x,y) - U(x,y).

Schroedinger Equation (without potential)

itu=Δu i \d_t u = - \Delta u

We may reuse the analysis for the heat equation, except replacing tt in heat equation to itit. Thus, exponential decay now become oscillation.

Wave equation

t2u=Δu \d_t^2 u = \Delta u Suppose uu lives on a domain DD with boundary value zero, or uu lives on a space without boundary, e.g S1S^1 or a torus. We may then consider eigenvalue of Δ\Delta, λ1λ2,\lambda_1 \leq \lambda_2 \leq \cdots, with λn0\lambda_n \geq 0, (repeated with multiplicity), with eigenfunction u1(x),u2(x),,u_1(x), u_2(x), \cdots, then we may write the general solution u(t,x)=n=1(ancos(λnt)+bnsin(λnt))un(x) u(t,x) = \sum_{n=1}^\infty (a_n \cos(\sqrt{\lambda_n} t) + b_n \sin(\sqrt{\lambda_n} t) ) u_n(x) (if λn=0\lambda_n=0, then we may set bn=0b_n=0.) To fix the coefficient, we use initial condition u(0,x)u(0, x) and u˙(0,x)\dot u(0, x): Du(0,x)un(x)dx=anun2dx \int_D u(0,x) u_n(x) dx = a_n \int u_n^2 dx Du˙(0,x)un(x)dx=λnbnun2dx \int_D \dot u(0,x) u_n(x) dx = \sqrt{\lambda_n} b_n \int u_n^2 dx

Example: 1-dim string vibration on an interval.

math121b/04-01.txt · Last modified: 2020/04/01 09:05 by pzhou