maths.freePartial Differential Equations › The heat equation on an interval

The heat equation on an interval

Sine series solutions, long-time behaviour, instant smoothing, Neumann conditions and why time only runs forward.

Separation of variables and Fourier series combine into a complete solution of \( u_t = k\,u_{xx} \), \( u(0,t) = u(L,t) = 0 \), \( u(x,0) = f(x) \): \[ u(x,t) = \sum_{n=1}^\infty b_n\,e^{-k n^2\pi^2 t/L^2}\sin\frac{n\pi x}{L}, \qquad b_n = \frac2L\int_0^L f(x)\sin\frac{n\pi x}{L}\,dx. \] The sine coefficients on \( [0, L] \) are the Fourier coefficients of the odd extension of \( f \). For \( f = 1 \) on \( [0, 1] \), \( b_n = 2(1 - (-1)^n)/(n\pi) \): the example computes \( b_1 = 4/\pi \), and every even coefficient vanishes.

Long time. Every term decays, the first most slowly, so \( u(x,t) \approx b_1 e^{-k\pi^2 t/L^2}\sin(\pi x/L) \) once \( t \) is a few multiples of \( L^2/(k\pi^2) \). The decay rate is the smallest eigenvalue, which doubling the length of the rod divides by four.

Instant smoothing. Even if \( f \) jumps, \( |b_n| \) is bounded, and for any fixed \( t > 0 \) the factors \( e^{-kn^2\pi^2t/L^2} \) decay faster than any power of \( n \). Differentiating the series term by term any number of times still gives uniformly convergent series, so \( u(\cdot, t) \) is infinitely differentiable for every \( t > 0 \). With insulated ends, \( u_x(0,t) = u_x(L,t) = 0 \), use cosines instead: the constant mode has eigenvalue zero, the mean temperature \( \frac1L\int_0^L f \) is conserved, and the rod relaxes to it. Fixed non-zero end temperatures are handled by subtracting the linear steady state first.

Picture it: a rod heated uniformly and plunged into ice at both ends. Its flat temperature profile rounds off at the corners immediately, becomes a sine arch within moments, and the arch then sinks towards zero while keeping its shape.

Think it: run the formula backwards and the factors become \( e^{+kn^2\pi^2 t/L^2} \). A tiny high-frequency error in the final state is amplified beyond any bound, so the backward heat equation has no stable solution for general data. Diffusion destroys information, and a well-posed problem can only run in the direction that destroys it.

Ejemplo resuelto · integrate 2*sin(pi*x) dx from 0 to 1

Integrate 2·sin(pi·x) from 0 to 1

\int_{0}^{1} 2 \sin{\left(\pi x \right)}\, dx

Paso a paso

  1. \int_{0}^{1} 2 \sin{\left(\pi x \right)}\, dx

    First find an antiderivative F, then evaluate F(b) − F(a).

  2. \int 2 \sin{\left(\pi x \right)}\, dx = 2 \int \sin{\left(\pi x \right)}\, dx

    Pull the constant 2 out of the integral.

  3. u = \pi x,\quad du = \pi\, dx

    Substitute u = \pi x.

  4. \int \sin{\left(\pi x \right)}\, dx = \int \frac{\sin{\left(u \right)}}{\pi}\, d_u

    Rewrite the integral in terms of u.

  5. \int \frac{\sin{\left(u \right)}}{\pi}\, d_u = \frac{1}{\pi} \int \sin{\left(u \right)}\, d_u

    Pull the constant \frac{1}{\pi} out of the integral.

  6. \int \sin{\left(u \right)}\, d_u = - \cos{\left(u \right)}

    Standard trigonometric antiderivative.

  7. = - \frac{\cos{\left(\pi x \right)}}{\pi}

    Substitute back u = \pi x.

  8. F(1) - F(0) = \left(\frac{2}{\pi}\right) - \left(- \frac{2}{\pi}\right)

    Fundamental theorem of calculus: plug in the limits.

  9. = \frac{4}{\pi} \approx 1.2732

    Simplify.

Revelar la respuesta
\frac{4}{\pi}

Ahora tú Escoge un problema, o escribe o dibuja el tuyo. Cada paso, una imagen, la respuesta oculta hasta que preguntes.

Guarda tu propio trabajo

Una cuenta gratuita añade notas sobre cada lección, un registro de lo que has terminado, tus problemas resueltos en un lugar, y un tutor que puedes preguntar sobre esta página. Las matemáticas en sí están abiertas a todos, se han registrado o no.

Registrarse Inicio de sesión

Símbolos utilizados aquí

Toque cualquier símbolo para la definición completa, una imagen, y lo que cada letra en ella significa.

Cómo: The heat equation on an interval

  1. Make the boundary conditions homogeneous (subtract a steady state if needed).
  2. Choose sines for fixed ends, cosines for insulated ends.
  3. Compute b_n = (2/L)∫ f sin(nπx/L) dx from the initial data.
  4. Attach the decay factor exp(-k n²π² t / L²) to each mode and sum.
  5. For long times keep only the slowest mode that has a non-zero coefficient.

Preguntas que la gente hace

The initial data are 1 but the boundary values are 0. Is that a contradiction?

Not for the heat equation. The series converges to 1 inside and to 0 at the ends at t = 0, and for every t > 0 the solution is smooth and matches both. The incompatibility is smoothed away instantly.

Which mode survives longest with insulated ends?

The constant mode, which does not decay at all. The slowest decaying non-constant mode is cos(πx/L), with rate kπ²/L².

What should I know before starting?

Partial derivatives, the divergence theorem and multiple integrals from multivariable calculus; linear second-order ODEs; eigenvalues from linear algebra; and enough analysis to be comfortable with uniform convergence and integrals over infinite intervals.

Why are there so few formulas for solutions?

Explicit solutions exist for linear equations with constant coefficients on simple domains. Almost everything else (curved domains, variable coefficients, nonlinear terms) has none, so the modern subject proves that a solution exists and estimates its size and smoothness without ever writing it down.

How does this course lead to the Navier-Stokes problem?

The Navier-Stokes equations are a heat equation for the velocity with a transport term and a pressure that is found from a Poisson equation. Reading the Millennium problem needs energy estimates, weak solutions, Sobolev spaces, local existence with a blow-up criterion, and the scaling argument that explains why three dimensions is hard. The last six lessons build those.

What do elliptic, parabolic and hyperbolic mean?

Elliptic equations (Laplace) describe equilibrium and smooth everything; parabolic equations (heat) describe diffusion forward in time; hyperbolic equations (waves) carry signals at finite speed and keep their sharp edges. The type decides which data make a sensible problem.

Más en Partial Differential Equations