GLOBAL KNOWLEDGE ARK

Mathematics · Article

An introduction to partial differential equations

Build field equations from conservation and distinguish transport, diffusion, waves and stationary potentials. Solve representative initial and boundary problems, then examine mode expansions, well-posedness, shock admissibility, finite-energy weak formulations and numerical stability.

Back to Mathematics

After reading, you can

  • Define a PDE and its classical or weak solution class, with order, linearity and an explicit mixed-coefficient convention.
  • Choose compatible initial, boundary and inflow data appropriate to the equation and physical flux.
  • Derive transport and diffusion balances with consistent coefficients and units.
  • Construct and verify characteristic, heat-mode, kernel, wave and harmonic-field examples.
  • Distinguish conserved means, dissipating norms and wave energy with their actual boundary balances.
  • Use qualified maximum, uniqueness, separation and convergence arguments without importing an arbitrary ODE theorem.
  • Demonstrate backward heat instability, nonlinear gradient blow-up and entropy selection for explicit Burgers states.
  • State an energy weak formulation and test the explicit heat step restriction separately from continuum behaviour.
01

A PDE describes a field over several independent variables

A partial differential equation relates an unknown field to its partial derivatives. For a temperature u(x,t), the position x and time t are independent inputs, while u is the dependent quantity. The heat equation u_t=κu_xx says that the local time rate is proportional to spatial curvature. In two spatial dimensions, u(x,y,t) has separate derivatives with respect to x, y and t. A subscript denotes differentiation while the other independent variables are held fixed.

An ordinary differential equation evolves finitely many state coordinates with one independent variable. A PDE can evolve an entire spatial profile, so initial data may be a function rather than a finite vector. Discretising that profile produces a large ODE system, but its grid-dependent solutions still need analysis before they represent a limit of the original field problem. An ODE local uniqueness theorem does not automatically establish existence, uniqueness or stability for an arbitrary PDE.

A classical solution has the derivatives required by the equation and satisfies it pointwise on its stated domain. For the heat equation, a common interior requirement is two continuous spatial derivatives and one continuous time derivative, written C²,¹. Boundary and initial traces require additional continuity or a specified weaker interpretation. A formula verified only at t>0 is not yet a proof that it attains a prescribed initial function in the intended sense.

Solutions can also be understood weakly, by an integral identity that transfers derivatives to test functions. This permits less smooth fields and is essential for shocks or finite-energy solutions. Classical and weak are descriptions of the solution concept, rather than automatic quality rankings. Every uniqueness claim must name its domain, boundary/initial data and admissible solution class. Throughout the geometric examples below, coordinates are dimensionless unless physical units are explicitly given.

02

Classify the equation using an explicit coefficient convention

The order is the highest derivative order appearing. The transport equation u_t+a u_x=0 is first order, while heat, wave and Laplace equations are second order. A linear differential operator has coefficients depending only on the independent variables and acts linearly on u. Thus u_t−κu_xx=f is linear with a prescribed source f. The equation u_t+u u_x=0 is nonlinear because a coefficient depends on the unknown field.

For a second-order scalar equation in two independent variables, write its principal part as A u_xx+2B u_xy+C u_yy. The symmetric principal matrix is [[A,B],[B,C]], and the discriminant in this convention is D=B²−AC. For a nonzero principal part, D<0 is elliptic, D>0 hyperbolic, and D=0 is the rank-one parabolic case. If the mixed term is instead written b u_xy, then b=2B and the corresponding discriminant is b²−4AC. Mixing conventions produces a factor-of-four error.

Laplace’s equation u_xx+u_yy=0 has A=C=1,B=0 and D=−1, so it is elliptic. The wave equation u_tt−c²u_xx=0, considered in variables (x,t), has A=−c²,C=1,B=0 and D=c²>0. The heat equation u_t−κu_xx=0 has principal matrix diag(−κ,0) in those variables, so its nonzero second-order part is parabolic. The first-order time term remains essential to the heat evolution even though it is outside that principal matrix.

This elementary classification is local when coefficients vary. In u_xx+xu_yy=0, the symbol is elliptic at x>0 and hyperbolic at x<0, with degeneracy at x=0. A single constant-coefficient transformation need not describe the whole domain across such a change. If A=B=C=0 at a point, the second-order principal part has vanished and the rank-one classification does not apply there. In higher dimensions, the principal matrix and the equation’s structure need their corresponding definitions.

The mixed coefficient is 2B, and rank still mattersBlue samples the exact principal quadratic form q(theta)=A cos²(theta)+2B cos(theta)sin(theta)+C sin²(theta) on unit directions. A=1, raw mixed coefficient=1, B=1/2, C=1. Exact discriminant is -3/4 and rank is 2, giving elliptic. The angular curve illustrates the already exact matrix test; it is not a PDE solution or a numerical type-classification proof. Angles are radians and geometric coordinates are dimensionless.The mixed coefficient is 2B, and rank still matters0-33.1406.283 Principal quadratic form qtheta (rad), unit directionA=1, C=1Raw mixed = 1B = 1/2D = -3/4Rank = 2EllipticExact coefficient testNot a solution plotOne constant type is not extended across a variable-coefficient degeneracy.
A vanished second-order part has rank zero. Lower-order time evolution terms remain outside this symbol plot.
Three prototype equations with positive constants
EquationPrototype typeTypical information supplied
u_t=κu_xx, κ>0Diffusive/parabolic evolutionOne initial profile plus suitable spatial boundary conditions
u_tt=c²u_xx, c>0Wave/hyperbolic evolutionDisplacement and velocity profiles plus suitable boundary conditions
Δu=0Harmonic/elliptic boundary problemA boundary prescription and an admissible solution class
03

The equation needs the right data in the right places

A PDE alone generally has many solutions. An initial condition specifies a field at a starting time, such as u(x,0)=φ(x). A Dirichlet boundary condition prescribes the field value; a Neumann condition prescribes its outward normal derivative ∂_n u. A Robin condition combines value and normal derivative. If a physical flux is −k∇u, prescribed normal derivative and prescribed outward flux differ by the sign and coefficient −k.

For heat on an interval 0<x<L, one initial temperature profile and one appropriate condition at each endpoint make a familiar evolution problem. For the wave equation, two independent time traces are needed, usually u(x,0)=φ(x) and u_t(x,0)=ψ(x). An elliptic stationary boundary problem has no distinguished starting time in these prototypes. Counting derivative orders is a useful guide, but the type, geometry and characteristic directions determine which data are legitimate.

Data at intersecting boundaries must agree if a continuous solution on the closed domain is requested. For example, heat data u(0,t)=g₀(t) and u(x,0)=φ(x) require φ(0)=g₀(0) at the corner. A solution with enough smoothness up to that corner can require further compatibility, such as κφ″(0)=g₀′(0) in the source-free case. Interior smoothing for t>0 does not erase a contradiction between two assigned corner values.

For transport with positive speed on an interval, information enters at the left endpoint and exits at the right. The inflow trace and initial profile determine the outflow. Imposing an unrelated right-endpoint value can overdetermine the problem. Conversely, prescribing data only along a characteristic can leave other characteristics undetermined. A data set must match the way the equation carries information, rather than a generic rule to fix values on every edge of a picture.

04

Balance laws and constitutive assumptions produce different PDEs

Let u be amount per unit length and J its rightward flux, with amount-per-time units. Conservation on a fixed interval [a,b] is d/dt ∫ₐᵇu dx=J(a,t)−J(b,t)+∫ₐᵇs dx, where s is local source per length per time. For smooth fields, differentiating locally gives u_t+J_x=s. The integral law is meaningful more broadly than its pointwise differentiated form, and the signs record outward loss at the right endpoint and inward gain at the left.

The PDE changes when a constitutive law specifies J. Constant transport velocity a gives J=au and u_t+a u_x=s, with a in length/time. A diffusion law J=−κu_x with constant κ>0 gives u_t=κu_xx+s, with κ in length²/time. Conservation alone did not select either law. Positivity, constant coefficients and the validity of the constitutive approximation are modelling assumptions, not consequences of writing a divergence.

For a thin uniform rod with temperature T, volumetric heat capacity ρc_p and conductivity k, a one-dimensional local balance is ρc_p T_t=kT_xx+Q. Dividing gives diffusivity κ=k/(ρc_p). Temperature has kelvin units, k has W/(m·K), ρc_p has J/(m³·K), and κ has m²/s. A rod’s cross-sectional area cancels only when treated consistently and constant; variable geometry or material properties can require a divergence-form operator instead.

For an ideal stretched string, transverse displacement u obeys ρu_tt=Tu_xx under the small-slope, constant-tension assumptions, where ρ is mass per length and T is tension. The speed c=√(T/ρ) has length/time units. Diffusion spreads a scalar profile dissipatively; wave evolution exchanges kinetic and elastic energy. Similar derivative symbols can therefore represent different balances, data requirements and propagation behaviour.

05

Follow the characteristics back to their data

For u_t+a u_x=0 on the whole real line with constant a, set x(t)=ξ+at. The chain rule gives d/dt u(x(t),t)=u_t+a u_x=0, so u is constant along that characteristic. The initial profile φ determines u(x,t)=φ(x−at). This is a classical solution for C¹ φ, verified by differentiating and checking the initial trace. Positive a moves a labelled feature rightward with speed a; it does not change the profile’s height or shape.

The characteristic construction has two parts: solve its ODEs and recover the label ξ from the observation point. Here ξ=x−at is globally available. In a variable or nonlinear field the projection from labels and time to physical coordinates can lose invertibility. Local ODE solutions alone do not ensure a single-valued smooth field after that happens. Data must also meet a noncharacteristic condition when one reconstructs a local solution from a general initial curve.

On 0<x<L with a>0 and t≥0, trace a characteristic backwards. If x−at≥0, it reaches the initial edge first and gives φ(x−at). If x−at<0, it reaches the inflow boundary at time t−x/a and gives g(t−x/a). Thus u(x,t)=φ(x−at) for x≥at and u(x,t)=g(t−x/a) for x<at, using traces where the edges meet. Continuity across x=at requires φ(0)=g(0); C¹ matching also requires g′(0)=−aφ′(0).

For example choose a=2, L=4, φ(x)=1+x and g(t)=1−2t+3t². The two matching conditions hold. The solution equals 1+x−2t in the initial-data region and 1−2(t−x/2)+3(t−x/2)² in the inflow region. The outflow trace at x=4 follows from these formulas. This piecewise construction is C¹ at the dividing characteristic even though some second derivatives differ, which is sufficient for the stated first-order classical equation.

Trace the observation back to the correct data edgeThe space-time rectangle uses x horizontally and t vertically. Characteristics have speed a=2; grey segments are exact straight characteristic lines, not a solution-amplitude graph. Orange segment joins selected point (1,1) to its left inflow, at inflow time 1/2. Blue is the dividing characteristic from the inflow corner. Corner value and first derivative match. The outflow is determined, not freely prescribed.Trace the observation back to the correct data edge0021.242.4 t (dimensionless)x (dimensionless)a = 2Source: left inflowSelected u = 3/4Residual = 0Corner compatible:trueClosed C¹ field:trueA zero interior residual does not repair incompatible assigned traces.
Positive speed takes inflow from the left; negative speed takes it from the right. Initial and boundary data occupy different edges.
06

Diffusion damps different spatial modes at different rates

For u_t=κu_xx on 0<x<L with κ>0 and zero Dirichlet endpoints, try u(x,t)=X(x)T(t). Substitution gives XT′=κX″T. Where division is valid, T′/(κT)=X″/X must be one constant. Seeking nontrivial endpoint-zero modes gives X_n(x)=sin(nπx/L), n≥1, with X_n″=−(nπ/L)²X_n. The time factor satisfies T_n′=−κ(nπ/L)²T_n and therefore decays exponentially.

Every finite sum u=Σ a_n e^(−κ(nπ/L)²t)sin(nπx/L) is directly verified by differentiating term by term. For an infinite sum, convergence and differentiability must be justified in the requested function space and time range. An expansion that converges initially in L² is not automatically a pointwise classical equality at every boundary corner. Positive-time smoothing can strengthen regularity under suitable hypotheses, but the mode calculation by itself is not that theorem.

On 0<x<π with κ=1/2, the profile 3sin x−sin3x equals 4sin³x. Its solution is u=3e^(−t/2)sin x−e^(−9t/2)sin3x. The shorter-wavelength third mode decays nine times as fast in its exponent as the first. The initial field is nonnegative and bounded by 4. The maximum principle, with zero boundary data, preserves the bounds 0≤u≤4 rather than relying on visual inspection of a difference of two sine modes.

For insulated zero-Neumann endpoints, a constant spatial mode is allowed. With initial profile 3+cos(2πx/L), the solution is 3+e^(−4κπ²t/L²)cos(2πx/L). Its integral is 3L at every time, and it approaches the mean 3. Zero Dirichlet endpoints instead permit diffusive loss through the boundary and generally do not conserve the integral. The boundary condition determines which conservation or decay statement is available.

Boundary conditions select the mode and the meanOn 0≤x≤pi with kappa=1/2, grey dashed is the initial profile and blue is the exact finite-mode formula sampled numerically at t=1. The Dirichlet boundary condition has exact zero trace residuals. Modes sin(x) and sin(3x) have exponent rates -1/2 and -9/2. Endpoints are geometric coordinates; no SI temperature scale is assigned. Finite mode verification does not prove an infinite-series convergence theorem.Boundary conditions select the mode and the mean001.572.253.144.5 u (normalized field units)x (dimensionless)Dirichlett = 1Initial profileSelected-time profileMass conserved: falseAt x=pi/2:u ≈ 1.83Finite exact mode formulasSmooth curves sample exponentials and trigonometric functions; residuals are exact.
Zero Dirichlet values allow boundary loss. Insulated Neumann data retain the constant mean mode.
Conserved mass and dissipating norm are differentBoth curves are dimensionless ratios to their own positive initial quantities. Blue is M(t)/M(0); orange is squared-norm energy ratio for Dirichlet data, or squared deviation from mean 3 ratio for Neumann data. For Neumann data, mass is constant, while the indicated norm energy decays. Curves numerically sample exact formulas on 0≤t≤2. This normalization permits comparison without identifying amount, squared field and thermodynamic energy as the same physical quantity.Conserved mass and dissipating norm are different0010.5521.1 Ratio to its own initial valuet (dimensionless)NeumannMass ratioSquared-deviation ratioSelected t = 1Each ratio starts at 1.Mean is not norm energy.No heat-content unitis silently assigned.A mass derivative zero at one instant does not establish conservation for all time.
The relevant boundary flux and the definition of the measured quantity decide what is conserved.
07

The solution class matters even when a kernel is explicit

On the whole line, the heat kernel is K(x,t)=(4πκt)^(−1/2)exp(−x²/(4κt)) for t>0. Direct differentiation gives K_t=κK_xx, and a Gaussian substitution gives ∫ℝK dx=1. If x has length units, K has inverse-length units. Its variance is 2κt, with length-squared units, so √(2κt) is a natural spreading scale. This is a kernel with a singular initial concentration, not an ordinary finite value K(x,0).

For bounded continuous initial data φ, convolution u(x,t)=∫ℝK(x−y,t)φ(y)dy supplies a smooth solution for t>0 attaining φ locally as t decreases to 0. It is unique within the appropriate bounded classical solution class with the prescribed continuous initial trace on each finite time strip. On an unbounded domain, unrestricted smooth growth is not covered by the bounded maximum/uniqueness argument; dropping all growth control can destroy uniqueness. The equation and initial symbols alone do not name that class.

Because K is positive everywhere for t>0, nonnegative compactly supported continuous data that are not identically zero produce u(x,t)>0 everywhere at every positive time. This ideal diffusion model has instantaneous influence, unlike the finite-speed wave equation. It is a property of the continuum approximation; it should not be advertised as a microscopic relativistic transport law. Coefficient validity and the time/length scales of the model remain physical questions.

For the interval problem on 0<x<L, 0<t≤T, assume u is continuous on the closed rectangle and C²,¹ in its interior time-positive region with u_t=κu_xx. Its maximum and minimum are controlled by the parabolic boundary: the initial edge and the two spatial sides, without needing the final edge. Applying this principle to the difference of two solutions proves uniqueness and uniform continuous dependence on Dirichlet/initial data in that classical class. With a source or a reaction term, the applicable comparison statement must be adjusted.

A Gaussian width is not a finite diffusion frontThe normalized heat kernel is numerically sampled in metres with vertical units m^-1. Exact variance=2/5 m²; standard deviation≈0.632 m. Green dashed lines mark ±one standard deviation, not support boundaries. The positive Gaussian extends beyond the displayed ±three-standard-deviation window. Its exact integral is 1 by the Gaussian substitution; integrating a finite plot would not prove that identity. The selected point is x=1/2 m.A Gaussian width is not a finite diffusion front-1.9000.3631.90.725 K (m⁻¹)x (m)kappa = 1/50 m²/st = 10 sPositive-time kernel:trueVariance: 2/5 m²Width ≈ 0.632 mIntegral: 1No sharp support frontBounded-class uniqueness retains its growth and initial-trace assumptions.
A positive-time ideal heat kernel has tails everywhere. At t=0 its concentration is singular.
08

Waves need displacement and velocity, and have finite dependence

For u_tt=c²u_xx on ℝ with c>0, initial displacement φ and velocity ψ are independent inputs. With φ∈C² and ψ∈C¹, d’Alembert’s formula is u(x,t)=[φ(x−ct)+φ(x+ct)]/2+(1/(2c))∫_{x−ct}^{x+ct}ψ(s)ds. Differentiation verifies the PDE and both initial conditions. The opposite signs in the moving arguments describe left- and right-travelling contributions; the velocity integral cannot be omitted unless the initial velocity actually vanishes.

The value at (x,t) depends only on initial data in [x−ct,x+ct]. Changing the data outside that interval cannot change this value. Equivalently, a compactly supported disturbance cannot influence points beyond its speed-c cone under this homogeneous whole-line model. This domain-of-dependence statement does not require every allowed initial profile to have compact support. Boundary reflections or forcing need their own modified construction.

Take c=2, φ(x)=x² and ψ(x)=3x in dimensionless coordinates. Averaging the two squared arguments gives x²+4t², and the integral contributes 3xt. Hence u=x²+4t²+3xt. The residual is u_tt−4u_xx=8−8=0, u(x,0)=x² and u_t(x,0)=3x. These unbounded polynomial data make a valid classical pointwise example, but its total energy on the entire real line is infinite; it is not an example for a finite-total-energy estimate.

On a finite string with fixed endpoints, reflected travelling waves or a sine-mode expansion can satisfy the boundary conditions. For example, sin(nπx/L)cos(cnπt/L) has zero displacement at x=0,L and zero initial velocity. A sine time factor supplies an independent velocity contribution. Undamped wave modes oscillate rather than exhibit the diffusive n² damping rate. Treating the two equations as interchangeable mode evolutions would erase their different physics.

The wave value uses both traces inside its backward coneThe observation (1,1) has speed c=2 and exact initial dependence interval (-1, 3). The orange two characteristic sides meet at the observation; the blue initial segment contains the needed velocity integral and both displacement endpoints. This is a space-time dependence diagram, not a displacement profile or a claim of compact support. For the supplied unbounded polynomial data, the exact value is 8 but whole-line total energy is infinite.The wave value uses both traces inside its backward cone-2010.641.2 t (dimensionless)x (dimensionless)c = 2Initial interval:(-1, 3)Displacement part:5Velocity part: 3u = 8Whole-line energy: infiniteNo finite-energy estimate is inferred from an unbounded polynomial example.
A second-order wave problem needs displacement and velocity. Data outside this whole-line cone do not affect the selected value.
09

Wave energy is conserved only with the right boundary balance

For a sufficiently smooth ideal string on 0<x<L, let e=(ρu_t²+Tu_x²)/2, with positive constant mass-per-length ρ and tension T. This is energy per length under the small-slope model. Using ρu_tt=Tu_xx gives e_t=T(u_tu_x)_x. Thus E(t)=∫₀ᴸe dx has derivative E′=T[u_tu_x]₀ᴸ. Equivalently the rightward energy flux is −Tu_tu_x, which puts the law in the usual e_t+J_x=0 form.

For fixed endpoints u(0,t)=u(L,t)=0 at every time, sufficient boundary smoothness implies u_t=0 there, so E′=0. Zero slope at both endpoints also kills this boundary work. Driven boundary motion can inject or remove energy, and damping or distributed forcing changes the bulk balance. On the whole line, the analogous global calculation requires finite energy and appropriate control of the boundary terms at infinity; the polynomial example deliberately did not meet that global condition.

The energy can prove uniqueness in a specified finite-energy wave problem. For two smooth solutions with equal displacement and velocity data and identical fixed-endpoint conditions, their difference w has initial energy 0 and conserved nonnegative energy. Thus w_t=w_x=0, and its zero boundary value fixes the remaining constant, giving w=0. This argument establishes at most one solution in its class; existence still needs a construction or an appropriate theorem.

A conserved squared-gradient/velocity energy does not imply that each point’s displacement is constant or that every coordinate amplitude decreases monotonically. Kinetic and elastic contributions can exchange. Nor is the spatial integral of u necessarily the physical string energy. Always retain the quantity’s definition, physical coefficients, unit and boundary flux before using the word conserved. For heat, ∫u²/2 is often a useful dissipating mathematical energy rather than the thermodynamic heat content itself.

Energy exchange and boundary work require different balancesFor exact u=x*t on 0<x<2 with normalized rho=1,T=4, kinetic energy is 4/3 and elastic energy 4t². Their total grows by right-boundary input, with E prime=8t and rightward flux at the right endpoint=-8t. The graph uses normalized energy, not SI magnitudes. The selected t=1 balance is exact.Energy exchange and boundary work require different balances0019218 Normalized energyt (dimensionless)Driven right endpointKineticElasticTotalE′ = 8Right flux = -8E′ − boundary work =0Finite interval classThe spatial integral of displacement is not this string energy.
A finite-interval energy is conserved only when its boundary work and bulk balance permit it.
10

Stationary fields are fixed by a boundary problem

The Laplacian in Cartesian space is Δu=Σ_j u_{x_jx_j}. A field is harmonic if Δu=0. For a C² harmonic function on a bounded open domain that is continuous on its closure, the maximum and minimum occur on the boundary. On a connected domain, attainment of an interior global maximum forces constancy. This is a property of harmonic fields under those hypotheses; an arbitrary source term or an unbounded domain needs its own statement.

For a Dirichlet problem, the difference of two harmonic solutions with the same boundary values is harmonic and has zero boundary values. Applying maximum and minimum principles gives difference 0. This proves uniqueness in the stated classical class, without asserting that every imaginable boundary prescription on every irregular domain has a classical solution. The existence and boundary regularity problem is a separate part of the analysis.

The polynomial u=x²−y²+2xy+3x−y is harmonic on the unit square. Its four actual boundary traces agree at their shared corners. On x=1 the trace is 4+y−y², with maximum 17/4 at y=1/2; checking all edges gives minimum −2 at (0,1). The maximum principle then gives −2≤u≤17/4 throughout the square, and the field is the unique continuous-closure harmonic solution with those full traces. Matching only four corner values would leave the boundary problem undetermined.

Poisson’s equation introduces a source; fix the sign convention as −Δu=f. On a connected bounded domain with sufficiently smooth boundary and a solution C² up to that boundary, prescribed Neumann data ∂_n u=g and the divergence theorem require ∫Ωf dx=−∫∂Ωg dS. An arbitrary additive constant remains undetermined by derivative data, so a mean or another normalization is needed for uniqueness. On the unit disk, u=x²+y²−1/2 gives f=−4, g=2 and mean 0. Its area integral −4π equals the negative boundary flux −4π. These compatibility and constant-mode issues distinguish Neumann from Dirichlet data.

All four square edges enter the harmonic boundThe graph shows the four full quadratic traces on the unit square, each parametrized by its increasing free coordinate z from 0 to 1. Blue is bottom y=0, green top y=1, grey left x=0, orange right x=1. Exact endpoint and interior-stationary-point checks give minimum −2 and maximum 17/4, attained on the right edge at z=1/2. The selected interior or boundary point (1/2, 1/2) has value 3/2, shown as a dashed horizontal reference rather than a fifth boundary trace. This analytic edge calculation, harmonicity and the classical maximum principle give the whole-square bound; a sampled grid does not.All four square edges enter the harmonic bound0-2.50.51.1314.75 Boundary trace valueFree edge coordinate zSelected (1/2, 1/2)u = 3/2Bottom y=0Top y=1Left x=0Right x=1Bounds: [−2, 17/4]Laplacian =0The dashed reference is the selected field value, not a new boundary condition.
The edge maximum occurs between corners. Full boundary traces carry more information than four corner values.
An outward derivative cannot determine an additive constantThe unit disk has candidate u=r²+-1/2. Grey circular level contours and blue normalized outward arrows illustrate the radial gradient; the actual boundary normal derivative is 2 for every additive constant. Prescribed g=2 is distinguished from that actual derivative. For -Delta u=f=-4, the exact compatibility residual integral f plus integral g is 0 times pi. The mean is 0. A wrong prescribed derivative remains incompatible even if the candidate has mean zero.An outward derivative cannot determine an additive constant-1.5-1.5001.51.5 y (dimensionless)x (dimensionless)Constant C = -1/2Actual normal =2Prescribed g = 2Compatibility / pi:0Mean = 0Matches data: trueArrows: direction onlyCompatibility is necessary; the finite candidates do not prove general existence.
The minus sign in −Delta u=f fixes the integral compatibility. A mean condition fixes only the constant ambiguity.
11

Separation is a construction, with boundary and convergence conditions

For zero Dirichlet endpoints on an interval, sine functions satisfy ∫₀ᴸsin(nπx/L)sin(mπx/L)dx=0 for n≠m and L/2 for n=m. If φ has an appropriate sine expansion, the coefficients are a_n=(2/L)∫₀ᴸφ(x)sin(nπx/L)dx. The orthogonality calculation identifies coefficients; a completeness and convergence result establishes which functions the series represents and in what sense. These are distinct steps.

The same spatial eigenfunctions can carry different time equations. Heat gives a_n′=−κ(nπ/L)²a_n. Wave gives a_n″=−c²(nπ/L)²a_n and needs both a_n(0) and a_n′(0). With a source, each projected mode becomes a forced ODE. Fixed finite sums are simple exact checks, while infinite expansions need estimates justifying differentiation, traces and reconstruction. A separated product is one useful building block, not a promise that every field is a single product.

The spatial operator and its boundary conditions belong together. Changing Dirichlet endpoints to insulated Neumann endpoints adds a constant mode and replaces the sine basis by suitable cosine modes. On a connected insulated region, that constant mode encodes conserved mean. For more general coefficients, geometry or boundary laws, the eigenfunctions, weights and spectrum can differ. A familiar sine series should not be reused after silently changing the operator domain.

Separation connects PDEs to linear algebra through eigenvalues and to integration through orthogonal projection, but the infinite-dimensional setting adds convergence and domain issues. In a finite numerical basis, discarded high modes may be small for forward heat at positive time because of strong damping. The same omission can matter for sharp wave features or an inverse heat reconstruction. Approximation quality depends on the equation, time direction, data regularity and norm being measured.

12

A solution formula does not guarantee a stable inverse problem

Hadamard well-posedness asks for existence, uniqueness and continuous dependence on data in specified spaces. The last condition means small changes in the data norm lead to small changes in the chosen solution norm. Saying that a method returns a curve, or that an algebraic expression satisfies the PDE, answers only part of this question. The time direction, data topology and admissible solution class are part of the problem definition.

For forward heat on an interval with fixed zero Dirichlet endpoints, the maximum principle bounds the difference of two classical solutions by the initial difference in supremum norm. Thus small initial errors remain small in this measure, provided the initial/boundary regularity and compatibility needed for that class hold. This is continuous dependence and uniqueness for an existing pair of solutions, not a general existence theorem for arbitrary rough data.

Now fix T>0 and attempt to reconstruct time 0 from the temperature at time T. For n≥1, u_n(x,t)=e^(−κn²t)sin(nx) solves heat on 0<x<π with zero Dirichlet boundary. Its final data g_n=e^(−κn²T)sin(nx) tend uniformly to 0 as n→∞. Yet the reconstructed initial fields sin(nx) all have supremum norm 1. Thus the inverse final-to-initial map fails continuous dependence in these norms even though every individual member is a valid smooth solution.

This example isolates instability without claiming that every final field has a backward solution. High frequencies that forward diffusion nearly erases become strongly amplified during inversion. Regularisation can trade reconstruction resolution against noise sensitivity, but it changes how information is used and requires an explicit error model and parameter choice. Numerical precision alone cannot restore continuity of the unregularised inverse map. The same distinction between a forward model and an inverse inference appears in imaging and parameter estimation.

Small final data can hide a unit initial supremumOrange dots show natural logarithms of final supremum norms for n=1,2,4,8 at fixed positive time; their exact values are -kappa*n²*T. The blue dashed line is log(initial sup norm) = 0 for every n. The selected n=4 is ringed. Displaying log norms avoids mistaking floating-point underflow for a proof. The exact infinite sequence establishes instability in the stated final-to-initial supremum norms, without claiming that arbitrary final data admit a backward solution.Small final data can hide a unit initial supremum0-344-1682 Natural log of supremum normInteger frequency nn = 4Initial sup norm = 1Final log norm:-8Final norm ≈0.000335Exact sequence argumentNot a roundoff artefactFour samples illustrate the proof; the limit n→infinity is established analytically.
Every sequence member is an exact smooth solution; continuous dependence of its inverse map still fails.
13

A smooth field can lose its gradient before its values diverge

For the one-dimensional conservation law u_t+(f(u))_x=0, smooth solutions satisfy u_t+f′(u)u_x=0. In Burgers’ equation f(u)=u²/2, the field itself determines characteristic speed. From initial label ξ with value φ(ξ), the characteristic is x=ξ+tφ(ξ) and carries u=φ(ξ). Smooth reconstruction requires a locally invertible label map, whose derivative is 1+tφ′(ξ).

Choose φ(ξ)=−sinξ. Then x=ξ−t sinξ and u=−sinξ. For 0≤t<1, the label derivative 1−t cosξ is positive everywhere, so the map is globally increasing and defines a smooth field. Its gradient is u_x=−cosξ/(1−t cosξ), which first becomes unbounded at ξ=0 as t approaches 1. The field value remains bounded between −1 and 1. Gradient blow-up differs from finite-time blow-up of the field itself.

After characteristic crossing, assigning all the characteristic values at one location does not produce a single-valued classical field. The integral conservation law suggests a weak interpretation. For a locally integrable u and flux f(u), with initial trace u₀, require ∫₀∞∫ℝ[uφ_t+f(u)φ_x]dxdt+∫ℝu₀(x)φ(x,0)dx=0 for every smooth compactly supported test function φ on space and nonnegative time. Derivatives now fall on the smooth test function. The sign of the initial term follows from integration by parts.

The weak identity can accommodate jumps and need not select a unique continuation by itself. For a piecewise smooth solution with a jump moving at speed s, conservation requires s(u_L−u_R)=f(u_L)−f(u_R). This Rankine–Hugoniot condition comes from the flux balance across a narrow moving control volume. It is not an extra arbitrary fit parameter. If the states agree, there is no jump and division by their difference is inappropriate.

A label map can fold while field values stay boundedBlue samples the exact characteristic projection x=xi-t sin(xi) at t=3/2, with xi horizontal and projected x vertical. Grey dashed is its initial identity map. The selected label is 0 times pi and the exact selected derivative is -1/2. The global 0≤t<1 classical reconstruction is no longer admitted, even when one selected label has a local inverse. The field -sin(xi) stays within [−1,1]; the graph depicts a label projection rather than a post-crossing single-valued classical solution.A label map can fold while field values stay bounded-3.14-4.5003.144.5 Projected coordinate xInitial label xi (rad)t = 3/2Selected map derivative:-1/2Local inverse: trueGlobal smooth: falseClassical u_x:not assigned|u| ≤ 1 throughout labelsLocal branch invertibility after crossing does not restore a global classical field.
At the first zero projection derivative, the field can stay bounded while its spatial gradient becomes unbounded.
14

Conservation gives a jump speed; admissibility selects the continuation

For Burgers’ convex quadratic flux, a shock from u_L to u_R has speed s=(u_L+u_R)/2 when the states differ. If u_L>u_R, then u_L>s>u_R: characteristics enter the moving jump from both sides. This compressive shock is the admissible entropy solution of the corresponding Riemann problem, with two constant initial half-lines. Reversing the states gives the same algebraic speed but an expansion shock that still satisfies the weak balance and is inadmissible.

For states u_L=3,u_R=−1, s=1, and the piecewise constant shock travels along x=t. The incoming characteristic speeds satisfy 3>1>−1. For the reversed data u_L=−1,u_R=3, the entropy solution at t>0 is u=−1 for x/t≤−1, u=x/t for −1<x/t<3, and u=3 for x/t≥3. The continuous fan fills the expanding gap between characteristic families. In the middle region u_t=−x/t² and uu_x=x/t², so the smooth residual is zero.

One general scalar entropy formulation requires ∂_tη(u)+∂_xq(u)≤0 in distributions for every convex entropy η and its associated flux q satisfying q′=η′f′. For Burgers, η=u²/2 gives q=u³/3. Across the compressive 3-to-(−1) shock, using [h]=h_R−h_L, the entropy measure coefficient is −s[η]+[q]=−16/3<0. The reversed jump changes that sign, violating even this particular convex entropy inequality. The full entropy solution concept retains the required family and data/solution hypotheses.

The simple incoming-speed test above is being used for the explicit convex Burgers flux and its Riemann states. General nonconvex fluxes and systems require their appropriate entropy or admissibility theory; one numerical slope inequality cannot be promoted to a universal selection theorem. A small positive viscosity u_t+(u²/2)_x=νu_xx provides a related physical regularisation, with an entropy limit under the relevant assumptions. It does not license smoothing a discontinuity and declaring the unsmoothed model classically solved.

Weak jump balance still needs entropy selectionAt positive time 1, the selected entropy solution is a entropy rarefaction fan. The fan is left constant, x/t between the two characteristic edges, and right constant. The algebraic expansion shock has the same speed but is inadmissible. For the candidate jump, the particular convex entropy measure coefficient is 16/3, with bracket right minus left. This single check is not promoted to the full entropy family for general fluxes.Weak jump balance still needs entropy selection-2.5-1.5114.53.5 u (dimensionless)x at selected tuL=-1, uR=3Candidate jump speed:1RH residual =0Entropy coefficient:16/3Rarefaction fanWeak need not be classical.A finite smooth residual is not assigned across a discontinuity.
For the convex Burgers Riemann problem, compression selects a shock and expansion selects a fan.
15

Use the integral identity and the numerical method that were actually checked

For −Δu=f with zero Dirichlet boundary, multiplying a smooth solution by a smooth test function v that vanishes on the boundary and integrating by parts gives ∫Ω∇u·∇v dx=∫Ωfv dx. This motivates a finite-energy weak formulation with u in H¹₀(Ω). Here H¹(Ω) consists of square-integrable functions whose first weak derivatives are also square integrable, and H¹₀(Ω) is the closure of smooth compactly supported functions in the H¹ norm. On Lipschitz domains, H¹₀ is equivalently the zero-trace class. On a suitable bounded domain and with appropriate source regularity, variational existence theory makes this precise; the formal integration alone does not prove that every requested source has a solution.

Uniqueness follows from the energy identity in this class when the zero-boundary Poincaré inequality applies. If w is the difference of two weak solutions with the same source, use v=w to obtain ∫Ω|∇w|²=0, and then ||w||₂≤C||∇w||₂ gives w=0. A weak derivative, a trace and an admissible test space are mathematical definitions, not the instruction to differentiate a discontinuous field by ordinary pointwise rules. Nonzero Neumann conditions retain their different constant-mode issue.

For the heat equation on a uniform grid, forward time and centred space give u_j^{n+1}=r u_{j−1}^n+(1−2r)u_j^n+r u_{j+1}^n, where r=κΔt/Δx². If 0≤r≤1/2, this is a convex combination of three old values and supports a discrete maximum bound with properly prescribed boundaries. On an even periodic grid, the alternating mode (−1)^j is multiplied by 1−4r. At r=1 it grows with alternating sign by factor −3 per step, even though positive physical diffusion damps short wavelengths.

The limiting heat ratio can preserve an alternating modeThe eight-cell even periodic grid uses exact ratio r=1/2 and alternating multiplier -1. Grey is the initial alternating mode, blue after one step and orange after 4 steps. Markers are actual discrete values; connecting segments only guide the eye. At r=1/2 the sign reverses without damping; at r=1 magnitude triples per step. The actual endpoint is 1/4 s. Zero time step is an identity with no evolution, not a positive-step method. Units for diffusivity, grid spacing and time make r dimensionless.The limiting heat ratio can preserve an alternating mode0-1.23.5071.2 Normalized grid valuePeriodic cell index jr = 1/2Weights: (1/2, 0, 1/2)Multiplier = -1InitialAfter one stepAfter 4 stepsPositive step: trueEndpoint 1/4 sThese presets have their own count*step times; no fixed-time refinement claim is made.
Convex stencil weights give a discrete maximum bound. Consistency alone does not establish stability or convergence.

Consistency of a difference formula is distinct from stability and convergence. The explicit heat method is first order in time and second order in space for sufficiently smooth fields, but refining time and space along an unstable ratio can defeat convergence. Boundary treatment, forcing, resolution and the measurement norm remain part of the numerical problem. A small residual at a few grid points is not a proof of an exact field, its boundary traces or continuous dependence.

PDEs connect local conservation to global flux, eigenmodes to infinite-dimensional evolution, curvature to diffusion, and energy estimates to uniqueness and stability. Fluids, electromagnetism, elasticity and quantum fields add their own constraints, constitutive assumptions and boundary laws. The useful question is therefore precise: which field problem, solution concept and data class are being solved, with what balance, propagation and error statement? An equation label or a rendered animation alone cannot answer all of those questions.

Check the field problem, its data and its solution class

These independent finite presets are exact named examples. Fractions, modal residual coefficients, characteristic feet, boundary extrema, jump balance and discrete iterates use rational arithmetic. Exponential, trigonometric and Gaussian values are explicitly approximate. No finite panel substitutes for existence, convergence, uniqueness or entropy hypotheses in the lesson.

Keep the 2B convention and the actual rank

Exact principal symbol and classification
A1
Raw mixed coefficient 2B4
B2
C1
Symmetric principal matrix[[1, 2], [2, 1]]
Mixed convention residual0
Determinant A C minus B squared-3
Discriminant B squared minus A C3
Principal matrix rank2
Trace2
Local classificationhyperbolic

The raw mixed coefficient is 2B. Rank zero is not the nonzero rank-one parabolic case. These local symbol calculations do not erase lower-order evolution terms, solve the PDE or extend one type through a variable-coefficient change.

The mixed coefficient is 2B, and rank still mattersBlue samples the exact principal quadratic form q(theta)=A cos²(theta)+2B cos(theta)sin(theta)+C sin²(theta) on unit directions. A=1, raw mixed coefficient=4, B=2, C=1. Exact discriminant is 3 and rank is 2, giving hyperbolic. The angular curve illustrates the already exact matrix test; it is not a PDE solution or a numerical type-classification proof. Angles are radians and geometric coordinates are dimensionless.The mixed coefficient is 2B, and rank still matters0-63.1406.286 Principal quadratic form qtheta (rad), unit directionA=1, C=1Raw mixed = 4B = 2D = 3Rank = 2HyperbolicExact coefficient testNot a solution plotOne constant type is not extended across a variable-coefficient degeneracy.
A vanished second-order part has rank zero. Lower-order time evolution terms remain outside this symbol plot.

Trace the initial or inflow edge before assigning a value

Exact characteristic feet and corner compatibility
Speed a2
Length L4
Observation x1
Observation t1
Inflow endpoint0
Characteristic label x-a t-1
Data edge reachedleft inflow
Initial foot, when applicablenot assigned
Inflow foot time, when applicable1/2
On dividing characteristicfalse
Observation is determined outflowfalse
Initial corner value1
Boundary corner value1
Corner value residual0
First derivative compatibility residual0
Closed C1 data compatibletrue
Selected open-region formula value3/4
Selected ux-1/2
Selected ut1
Transport residual0
Observation domain admittedtrue
Whole piecewise classical field admittedtrue

Back-tracing determines the appropriate data edge and the outflow. Value and first-derivative corner matching make this first-order piecewise reconstruction C¹; no independent outflow trace is chosen.

Trace the observation back to the correct data edgeThe space-time rectangle uses x horizontally and t vertically. Characteristics have speed a=2; grey segments are exact straight characteristic lines, not a solution-amplitude graph. Orange segment joins selected point (1,1) to its left inflow, at inflow time 1/2. Blue is the dividing characteristic from the inflow corner. Corner value and first derivative match. The outflow is determined, not freely prescribed.Trace the observation back to the correct data edge0021.242.4 t (dimensionless)x (dimensionless)a = 2Source: left inflowSelected u = 3/4Residual = 0Corner compatible:trueClosed C¹ field:trueA zero interior residual does not repair incompatible assigned traces.
Positive speed takes inflow from the left; negative speed takes it from the right. Initial and boundary data occupy different edges.

Distinguish boundary conditions, conserved mass and dissipating norm

Exact finite heat modes with approximate amplitudes
Boundary conditionDirichlet
Time0
Diffusivity1/2
Interval length coefficient of pi1
Each mode: frequency, exact coefficient/rate/exponent/residual and approximate amplitude[n: 1; coefficient: 3; rate: -1/2; exponent: 0; amplitudeApproximation: 3; pdeCoefficientResidual: 0, n: 3; coefficient: -1; rate: -9/2; exponent: 0; amplitudeApproximation: -1; pdeCoefficientResidual: 0]
Retained mean constantnot assigned
Exact endpoint trace residuals[0, 0]
Sample position coefficient of pi1/2
Sample field value, approximate4
Mass and squared-norm energy are distinct
Exact mass terms (coefficient times exp(exponent))[coefficient: 6; exponent: 0, coefficient: -2/3; exponent: 0]
Mass terms have an additional factor pifalse
Mass, approximate5.333333333333333
Mass derivative terms, same pi convention[coefficient: -3; exponent: 0, coefficient: 3; exponent: 0]
Mass derivative, approximate0
Mass conserved for all timefalse
Energy integral u squared / 2 terms, coefficients of pi[coefficient: 9/4; exponent: 0, coefficient: 1/4; exponent: 0]
Energy coefficient of pi, approximate2.5
Deviation from mean energy terms, coefficients of pi[coefficient: 9/4; exponent: 0, coefficient: 1/4; exponent: 0]
Deviation energy coefficient of pi, approximate2.5

Only finite mode sums are used. Exponent coefficients and modal PDE/boundary residuals are exact; exponential amplitudes and reconstructed fields are explicitly approximate. Mass and squared-norm energy are different quantities. Zero-Neumann mean is conserved while deviations dissipate; zero-Dirichlet mass generally leaves through the endpoints. Infinite-series convergence and solution-class uniqueness remain separate theorems.

Boundary conditions select the mode and the meanOn 0≤x≤pi with kappa=1/2, grey dashed is the initial profile and blue is the exact finite-mode formula sampled numerically at t=0. The Dirichlet boundary condition has exact zero trace residuals. Modes sin(x) and sin(3x) have exponent rates -1/2 and -9/2. Endpoints are geometric coordinates; no SI temperature scale is assigned. Finite mode verification does not prove an infinite-series convergence theorem.Boundary conditions select the mode and the mean001.572.253.144.5 u (normalized field units)x (dimensionless)Dirichlett = 0Initial profileSelected-time profileMass conserved: falseAt x=pi/2:u ≈ 4Finite exact mode formulasSmooth curves sample exponentials and trigonometric functions; residuals are exact.
Zero Dirichlet values allow boundary loss. Insulated Neumann data retain the constant mean mode.
Conserved mass and dissipating norm are differentBoth curves are dimensionless ratios to their own positive initial quantities. Blue is M(t)/M(0); orange is squared-norm energy ratio for Dirichlet data, or squared deviation from mean 3 ratio for Neumann data. For Dirichlet data, mass is not conserved, while the indicated norm energy decays. Curves numerically sample exact formulas on 0≤t≤2. This normalization permits comparison without identifying amount, squared field and thermodynamic energy as the same physical quantity.Conserved mass and dissipating norm are different0010.5521.1 Ratio to its own initial valuet (dimensionless)DirichletMass ratioSquared-norm ratioSelected t = 0Each ratio starts at 1.Mean is not norm energy.No heat-content unitis silently assigned.A mass derivative zero at one instant does not establish conservation for all time.
The relevant boundary flux and the definition of the measured quantity decide what is conserved.

Require positive time before assigning a Gaussian value

Exact physical scales and explicitly approximate kernel values
Diffusivity (m squared/s)1/50
Time (s)10
Selected x (m)1/2
Positive-time heat kernel admittedtrue
kappa times t (m squared)1/5
Variance (m squared)2/5
Standard deviation, approximate m0.6324555320336759
4 kappa t, denominator coefficient of pi in normalization squared (m squared)4/5
Exact dimensionless exponent-5/16
Kernel at x, approximate inverse metres0.4614907967533765
Exact integral mass1
Positive everywhere at positive timetrue
Unitsx: m; time: s; kappa: m²/s; kt: m²; variance: m²; standardDeviation: m; kernel: m^-1; integralMass: dimensionless

The normalized Gaussian is a positive-time heat kernel. Its standard deviation is a spreading scale, not a finite propagation front. The unit integral follows from the Gaussian substitution; the finite displayed sample is not a numerical integration proof. Bounded-class convolution uniqueness retains its growth and trace assumptions.

A Gaussian width is not a finite diffusion frontThe normalized heat kernel is numerically sampled in metres with vertical units m^-1. Exact variance=2/5 m²; standard deviation≈0.632 m. Green dashed lines mark ±one standard deviation, not support boundaries. The positive Gaussian extends beyond the displayed ±three-standard-deviation window. Its exact integral is 1 by the Gaussian substitution; integrating a finite plot would not prove that identity. The selected point is x=1/2 m.A Gaussian width is not a finite diffusion front-1.9000.3631.90.725 K (m⁻¹)x (m)kappa = 1/50 m²/st = 10 sPositive-time kernel:trueVariance: 2/5 m²Width ≈ 0.632 mIntegral: 1No sharp support frontBounded-class uniqueness retains its growth and initial-trace assumptions.
A positive-time ideal heat kernel has tails everywhere. At t=0 its concentration is singular.

Use both initial traces and retain the actual causal interval

Exact dAlembert contributions and PDE verification
Speed c2
Initial velocity slope3
Observation x1
Observation t1
Initial dependence interval[-1, 3]
Displacement values at interval endpoints[1, 9]
Averaged displacement contribution5
Velocity integral contribution3
u(x,t)8
ux5
ut11
uxx2
utt8
PDE residual utt-c squared uxx0
Initial displacement trace1
Initial velocity trace3
Initial displacement residual0
Initial velocity residual0
Finite whole-line total energyfalse

The polynomial dAlembert example is a smooth whole-line classical solution with both independent initial traces. Its initial profiles are unbounded and its whole-line total wave energy is infinite. The finite dependence interval is a causal statement, not an assertion of compactly supported data or finite global energy.

The wave value uses both traces inside its backward coneThe observation (1,1) has speed c=2 and exact initial dependence interval (-1, 3). The orange two characteristic sides meet at the observation; the blue initial segment contains the needed velocity integral and both displacement endpoints. This is a space-time dependence diagram, not a displacement profile or a claim of compact support. For the supplied unbounded polynomial data, the exact value is 8 but whole-line total energy is infinite.The wave value uses both traces inside its backward cone-2010.641.2 t (dimensionless)x (dimensionless)c = 2Initial interval:(-1, 3)Displacement part:5Velocity part: 3u = 8Whole-line energy: infiniteNo finite-energy estimate is inferred from an unbounded polynomial example.
A second-order wave problem needs displacement and velocity. Data outside this whole-line cone do not affect the selected value.

Compute the energy and the boundary work that actually occur

Exact finite-interval wave energy balance
Case kindfixed-mode
Normalized mass-per-length coefficient1
Normalized tension coefficient4
Exact phase coefficient of pi, fixed mode0
Exact time coefficient of pi, fixed mode0
Cos phase1
Sin phase0
Length coefficient of pi, fixed mode1
Length, driven examplenot assigned
Time, driven examplenot assigned
Kinetic energy coefficient of pi, fixed mode0
Elastic energy coefficient of pi, fixed mode1
Total energy coefficient of pi, fixed mode1
Kinetic energy, driven normalized examplenot assigned
Elastic energy, driven normalized examplenot assigned
Total energy, driven normalized examplenot assigned
Rightward energy flux at left endpoint0
Rightward energy flux at right endpoint0
Energy derivative0
Boundary work T[ut ux]0
Balance residual0
Fixed endpointstrue
Finite energy on stated intervaltrue

The fixed string sin(x)cos(2t) exchanges kinetic and elastic energy. Exact coefficients of pi retain total energy pi while endpoint work vanishes. The displayed phase is exact; this finite-interval energy class is distinct from the unbounded whole-line polynomial example.

Energy exchange and boundary work require different balancesFor sin(x)cos(2t) on 0<x<pi with normalized rho=1,T=4, the horizontal coordinate is phase 2t. Blue and orange are kinetic and elastic energy coefficients of pi; their green total is exactly 1. These are numerical trigonometric samples of exact energy formulas. Fixed endpoints have zero boundary work, despite time-dependent local displacement.Energy exchange and boundary work require different balances003.140.66.281.2 Energy coefficient of piPhase 2t (rad)Fixed endpointsKineticElasticTotalE′ = 0Right flux = 0E′ − boundary work =0Finite interval classThe spatial integral of displacement is not this string energy.
A finite-interval energy is conserved only when its boundary work and bulk balance permit it.

Find extrema on all full boundary traces

Exact harmonic value and analytic edge extrema
Selected point[1/2, 1/2]
Selected polynomial value3/2
Gradient[5, -1]
Laplacian0
Four edges: quadratic coefficients, admitted stationary point, candidates and exact extrema[id: bottom y=0; coefficients: [1, 3, 0]; criticalInEdge: not assigned; candidates: [parameter: 0; value: 0, parameter: 1; value: 4]; minimum: parameter: 0; value: 0; maximum: parameter: 1; value: 4, id: top y=1; coefficients: [1, 5, -2]; criticalInEdge: not assigned; candidates: [parameter: 0; value: -2, parameter: 1; value: 4]; minimum: parameter: 0; value: -2; maximum: parameter: 1; value: 4, id: left x=0; coefficients: [-1, -1, 0]; criticalInEdge: not assigned; candidates: [parameter: 0; value: 0, parameter: 1; value: -2]; minimum: parameter: 1; value: -2; maximum: parameter: 0; value: 0, id: right x=1; coefficients: [-1, 1, 4]; criticalInEdge: 1/2; candidates: [parameter: 0; value: 4, parameter: 1; value: 4, parameter: 1/2; value: 17/4]; minimum: parameter: 0; value: 4; maximum: parameter: 1/2; value: 17/4]
Whole-square lower bound-2
Whole-square upper bound17/4
Selected value within boundstrue
Corner consistency residuals[0, 0, 0, 0]

Each full quadratic edge trace is checked at its endpoints and any interior stationary point, not by sampling a grid. Harmonicity plus the classical continuous-closure maximum principle extends those exact edge bounds to the square. Full Dirichlet traces, rather than four corner values alone, determine the stated classical solution uniquely; existence for arbitrary domains is separate.

All four square edges enter the harmonic boundThe graph shows the four full quadratic traces on the unit square, each parametrized by its increasing free coordinate z from 0 to 1. Blue is bottom y=0, green top y=1, grey left x=0, orange right x=1. Exact endpoint and interior-stationary-point checks give minimum −2 and maximum 17/4, attained on the right edge at z=1/2. The selected interior or boundary point (1/2, 1/2) has value 3/2, shown as a dashed horizontal reference rather than a fifth boundary trace. This analytic edge calculation, harmonicity and the classical maximum principle give the whole-square bound; a sampled grid does not.All four square edges enter the harmonic bound0-2.50.51.1314.75 Boundary trace valueFree edge coordinate zSelected (1/2, 1/2)u = 3/2Bottom y=0Top y=1Left x=0Right x=1Bounds: [−2, 17/4]Laplacian =0The dashed reference is the selected field value, not a new boundary condition.
The edge maximum occurs between corners. Full boundary traces carry more information than four corner values.

Keep the outward sign and the constant normalization separate

Exact Poisson-Neumann compatibility and mean
Candidate additive constant-1/2
Source f in -Delta u=f-4
Candidate Laplacian4
Actual outward normal derivative2
Prescribed normal derivative g2
Integral source coefficient of pi-4
Integral prescribed g coefficient of pi4
Compatibility sum coefficient of pi0
Actual minus prescribed derivative0
Source residual0
Candidate matches all prescribed datatrue
Mean of candidate0
Mean zero normalizationtrue

For the sign convention -Delta u=f, compatibility is integral f plus integral g equals zero. The actual outward derivative of r²+C is 2. Adding a constant changes only the mean. A mismatched prescribed derivative remains incompatible and is not repaired by normalization. Compatibility is necessary; no general Neumann existence theorem is inferred from these finite candidates.

An outward derivative cannot determine an additive constantThe unit disk has candidate u=r²+-1/2. Grey circular level contours and blue normalized outward arrows illustrate the radial gradient; the actual boundary normal derivative is 2 for every additive constant. Prescribed g=2 is distinguished from that actual derivative. For -Delta u=f=-4, the exact compatibility residual integral f plus integral g is 0 times pi. The mean is 0. A wrong prescribed derivative remains incompatible even if the candidate has mean zero.An outward derivative cannot determine an additive constant-1.5-1.5001.51.5 y (dimensionless)x (dimensionless)Constant C = -1/2Actual normal =2Prescribed g = 2Compatibility / pi:0Mean = 0Matches data: trueArrows: direction onlyCompatibility is necessary; the finite candidates do not prove general existence.
The minus sign in −Delta u=f fixes the integral compatibility. A mean condition fixes only the constant ambiguity.

Measure inverse sensitivity in the stated supremum norms

Exact exponent sequence with approximate exponentials
Integer frequency n1
Diffusivity1/2
Fixed final time T1
Exact modal rate-1/2
Exact final exponent, also log final supremum-1/2
Initial supremum norm1
Final supremum norm, approximate0.6065306597126334
Inverse amplification, approximate1.6487212707001282
Modal PDE residual0

The exact sequence exp(-kappa*n²*t)sin(nx) has initial sup norm 1 and final sup norm exp(-kappa*n²*T). As n tends to infinity at fixed positive T, final data approach zero while reconstructed initial norms remain 1. Finite displayed frequencies illustrate that exact sequence argument; they do not prove instability by floating-point underflow or promise a backward solution for arbitrary final data.

Small final data can hide a unit initial supremumOrange dots show natural logarithms of final supremum norms for n=1,2,4,8 at fixed positive time; their exact values are -kappa*n²*T. The blue dashed line is log(initial sup norm) = 0 for every n. The selected n=1 is ringed. Displaying log norms avoids mistaking floating-point underflow for a proof. The exact infinite sequence establishes instability in the stated final-to-initial supremum norms, without claiming that arbitrary final data admit a backward solution.Small final data can hide a unit initial supremum0-344-1682 Natural log of supremum normInteger frequency nn = 1Initial sup norm = 1Final log norm:-1/2Final norm ≈0.607Exact sequence argumentNot a roundoff artefactFour samples illustrate the proof; the limit n→infinity is established analytically.
Every sequence member is an exact smooth solution; continuous dependence of its inverse map still fails.

Separate one local inverse from the global smooth field

Exact characteristic projection and gradient scope
Initial label coefficient of pi0
Time0
Sin label0
Cos label1
Carried field value0
Projected x coefficient of pi0
Projected x rational offset0
Projection derivative1
Selected local inverse existstrue
Whole derivative lower bound 1-t1
Global forward smooth time admittedtrue
Formal selected branch gradient, when denominator nonzero-1
Classical globally reconstructed field gradient, admitted time only-1
First global gradient-loss time1
Carried field magnitude bound1

The whole forward classical reconstruction uses 0<=t<1 and the positive lower bound 1-t. A selected nonzero label derivative at or after the first global loss is only a local branch test, not a global single-valued classical field. At the zero denominator no finite gradient is assigned; field values remain bounded, so gradient loss is not blow-up of the field itself.

A label map can fold while field values stay boundedBlue samples the exact characteristic projection x=xi-t sin(xi) at t=0, with xi horizontal and projected x vertical. Grey dashed is its initial identity map. The selected label is 0 times pi and the exact selected derivative is 1. The whole derivative is bounded below by 1-t>0, so the forward reconstruction is smooth. The field -sin(xi) stays within [−1,1]; the graph depicts a label projection rather than a post-crossing single-valued classical solution.A label map can fold while field values stay bounded-3.14-4.5003.144.5 Projected coordinate xInitial label xi (rad)t = 0Selected map derivative:1Local inverse: trueGlobal smooth: trueClassical u_x:-1|u| ≤ 1 throughout labelsLocal branch invertibility after crossing does not restore a global classical field.
At the first zero projection derivative, the field can stay bounded while its spatial gradient becomes unbounded.

Check weak balance, then the actual entropy continuation

Exact jump balance, particular entropy test and selected profile samples
Left state3
Right state-1
Positive time1
Distinct-state jumptrue
Left flux9/2
Right flux1/2
Candidate jump speed, distinct states only1
Rankine-Hugoniot residual0
Compressive jumptrue
Eta jump, right minus left-4
Entropy flux jump, right minus left-28/3
Entropy measure coefficient -s[eta]+[q]-16/3
This particular entropy inequality passestrue
Algebraic expansion shock inadmissiblefalse
Selected entropy solution typecompressive entropy shock
Actual selected solution samples and smooth fan residuals[x: -2; ratio: -2; value: 3; region: shock side; smoothFanResidual: not assigned, x: -1; ratio: -1; value: 3; region: shock side; smoothFanResidual: not assigned, x: 0; ratio: 0; value: 3; region: shock side; smoothFanResidual: not assigned, x: 1; ratio: 1; value: -1; region: shock side; smoothFanResidual: not assigned, x: 3; ratio: 3; value: -1; region: shock side; smoothFanResidual: not assigned, x: 4; ratio: 4; value: -1; region: shock side; smoothFanResidual: not assigned]

For this convex Burgers Riemann problem, conservation fixes a distinct-state jump speed and entropy selects the compressive shock or expansion fan. The eta=u²/2 check rejects the reversed jump but is not substituted for the required full entropy family in a general theorem. Equal states have no jump and no assigned jump speed. The value at the shock line is a one-sided representative, irrelevant to the weak identity.

Weak jump balance still needs entropy selectionAt positive time 1, the selected entropy solution is a compressive entropy shock. Two constant traces meet at shock x=1. The dashed vertical segment marks a jump, not a trajectory or a classical derivative. For the candidate jump, the particular convex entropy measure coefficient is -16/3, with bracket right minus left. This single check is not promoted to the full entropy family for general fluxes.Weak jump balance still needs entropy selection-2.5-1.5114.53.5 u (dimensionless)x at selected tuL=3, uR=-1Candidate jump speed:1RH residual =0Entropy coefficient:-16/3Compressive shockWeak need not be classical.A finite smooth residual is not assigned across a discontinuity.
For the convex Burgers Riemann problem, compression selects a shock and expansion selects a fan.

Check the stencil and its critical alternating mode

Exact even-periodic-grid update and actual endpoint
Diffusivity (m squared/s)1/2
Spacing (m)1/4
Step (s)1/32
Step count4
Actual endpoint time (s)1/8
Dimensionless ratio r1/4
Three stencil weights[1/4, 1/2, 1/4]
Weight sum minus one0
Positive time steptrue
Weights convextrue
Monotone positive-step evolution conditiontrue
Alternating multiplier 1-4r0
Strict damping of selected alternating modetrue
All exact periodic grid iterates[[1, -1, 1, -1, 1, -1, 1, -1], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0]]
Independent expected alternating amplitudes[1, 0, 0, 0, 0]
All alternating recurrence residuals[[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0]]
All grid means[0, 0, 0, 0, 0]
All maximum absolute values[1, 0, 0, 0, 0]
Unitskappa: m²/s; spacing: m; step: s; time: s; ratio: dimensionless; field: normalized field units

The even periodic stencil and every selected iterate are exact. Nonnegative weights summing to 1 give the whole-stencil maximum bound; the alternating mode separately exposes neutral sign reversal at r=1/2 or growth at r=1. Zero step is a nonevolution identity, not a positive time step. Endpoint times are actual count*step, so these choices are not a common-time refinement experiment or a general convergence proof.

The limiting heat ratio can preserve an alternating modeThe eight-cell even periodic grid uses exact ratio r=1/4 and alternating multiplier 0. Grey is the initial alternating mode, blue after one step and orange after 4 steps. Markers are actual discrete values; connecting segments only guide the eye. At r=1/2 the sign reverses without damping; at r=1 magnitude triples per step. The actual endpoint is 1/8 s. Zero time step is an identity with no evolution, not a positive-step method. Units for diffusivity, grid spacing and time make r dimensionless.The limiting heat ratio can preserve an alternating mode0-1.23.5071.2 Normalized grid valuePeriodic cell index jr = 1/4Weights: (1/4, 1/2, 1/4)Multiplier = 0InitialAfter one stepAfter 4 stepsPositive step: trueEndpoint 1/8 sThese presets have their own count*step times; no fixed-time refinement claim is made.
Convex stencil weights give a discrete maximum bound. Consistency alone does not establish stability or convergence.
What does an exact finite check prove, and which hypotheses remain?

These named finite formulas have exact algebraic residuals, traces, balances and stencil identities. Mode coefficients and exponential exponents remain rational; tables explicitly label numerical exponential, trigonometric, inverse-width and Gaussian evaluations. A singular initial heat kernel gets no ordinary value. A vanishing principal matrix gets no rank-one label. Incompatible data do not become an admitted closed-problem solution because an interior residual vanishes.

The polynomial whole-line wave has infinite total energy and therefore does not enter a finite-total-energy estimate. The separate finite-string energy examples retain their boundary work. Full harmonic traces and an admissible classical class underlie boundary uniqueness. A kernel formula on an unbounded domain retains bounded-growth and trace assumptions; an infinite expansion needs its own convergence theorem.

Why do weak solutions, entropy and numerical stability stay distinct?

A weak balance transfers derivatives to smooth test functions. For the zero-Dirichlet Poisson problem, the finite-energy space H¹₀ and the Poincaré inequality support the stated uniqueness argument; ordinary pointwise differentiation of a discontinuity is a different operation. The Burgers jump balance permits an expansion shock, while the explicit convex-flux entropy solution is a fan. One convex entropy test is not a replacement for a general entropy family.

The exact heat sequence demonstrates instability of a backward inverse in specified norms, without promising existence for arbitrary final data. The explicit grid method has its own dimensionless step ratio and actual endpoint; at the limiting stable ratio its alternating mode need not decay. Neither a finite grid residual nor formal consistency alone proves convergence to the continuum field.

Worked examples

Retain the factor two in a mixed derivative

Classify u_xx+4u_xy+u_yy=0, u_xx+2u_xy+u_yy=0 and u_xx+u_xy+u_yy=0 in the stated 2B convention.

  1. For the first equation A=C=1 and 2B=4, so B=2 and D=B²−AC=3>0. The principal matrix has eigenvalues 3 and −1, an indefinite hyperbolic case.
  2. For the second, B=1 and D=0. The matrix [[1,1],[1,1]] has rank 1, giving the nonzero parabolic principal part.
  3. For the third, B=1/2 and D=−3/4. The principal matrix is positive definite, so the equation is elliptic.
  4. Using the raw mixed coefficient as B would misclassify the third equation. If the entire principal matrix vanished, its rank would be 0 and the second-order rank-one label would not apply.

Hyperbolic, parabolic principal part, elliptic, respectively; the mixed coefficient must be halved to obtain B.

Decide which data edge reaches the observation point

For u_t+2u_x=0 on 0<x<4, φ(x)=1+x and left inflow g(t)=1−2t+3t², find u(1,1) and u(3,1).

  1. Trace backwards along x−2t=constant. If x≥2t, the characteristic reaches time 0 at x−2t. Otherwise it reaches x=0 at time t−x/2.
  2. At (1,1), x−2t=−1, so use the inflow time 1−1/2=1/2. Then g(1/2)=1−1+3/4=3/4.
  3. At (3,1), x−2t=1, so use initial value φ(1)=2. The chosen data agree at the corner because φ(0)=g(0)=1 and g′(0)=−2=−2φ′(0).
  4. These first-derivative compatibility conditions make the reconstructed piecewise field C¹. A prescribed independent outflow value at x=4 would need to agree with the determined trace.

u(1,1)=3/4 and u(3,1)=2; the first point depends on inflow, the second on the initial profile.

Check the PDE and the actual heat-content balance

For u_t=(1/2)u_xx on 0<x<π with zero Dirichlet endpoints and u₀=3sinx−sin3x, find u and its spatial integral.

  1. The two eigenvalues of −∂_xx are 1 and 9. Their amplitudes evolve as 3e^(−t/2) and −e^(−9t/2), so u=3e^(−t/2)sinx−e^(−9t/2)sin3x.
  2. Differentiation gives u_t=−(3/2)e^(−t/2)sinx+(9/2)e^(−9t/2)sin3x, which equals u_xx/2. Both endpoints vanish and the time 0 trace is the requested profile.
  3. Integrating sinx gives 2, while integrating sin3x gives 2/3. Thus M(t)=6e^(−t/2)−(2/3)e^(−9t/2), and M′=−3e^(−t/2)+3e^(−9t/2).
  4. The flux calculation gives the same derivative: M′=(1/2)[u_x(π,t)−u_x(0,t)]. For t>0 it is negative, so zero Dirichlet endpoints do not conserve this integral. Initially u₀=4sin³x≥0 and the maximum principle bounds the field between 0 and 4.

u=3e^(−t/2)sinx−e^(−9t/2)sin3x; M=6e^(−t/2)−(2/3)e^(−9t/2), decreasing for t>0.

Separate conserved mean from dissipating squared deviation

For κ>0, find the zero-Neumann heat solution on 0<x<L from φ(x)=3+cos(2πx/L), and compute ∫₀ᴸ(u−3)²/2 dx.

  1. The spatial derivative of cos(2πx/L) vanishes at both endpoints. Its second derivative is −(2π/L)² times itself, so u=3+e^(−4κπ²t/L²)cos(2πx/L).
  2. The cosine has zero integral on this interval. Therefore ∫₀ᴸu dx=3L at every time, consistent with zero endpoint flux.
  3. Using ∫₀ᴸcos²(2πx/L)dx=L/2 gives deviation energy E_d=(L/4)e^(−8κπ²t/L²). Its derivative is −(2κπ²/L)e^(−8κπ²t/L²), negative for every finite t.
  4. The integral of u is conserved while the squared deviation decays. This mathematical energy is not the same quantity as the mean or a dimensional thermodynamic energy unless the appropriate coefficients and reference temperature are supplied.

u=3+e^(−4κπ²t/L²)cos(2πx/L), mean 3; E_d=(L/4)e^(−8κπ²t/L²).

Check a kernel’s normalization and physical spread

For diffusivity κ=0.02 m²/s and time t=10 s, give the normalized heat kernel, variance and standard deviation.

  1. The product κt is 0.2 m². Hence the kernel is K(x,10 s)=(0.8π m²)^(−1/2)exp(−x²/(0.8 m²)), with x measured in metres.
  2. With y=x/√(4κt), the integral becomes π^(−1/2)∫ℝe^(−y²)dy=1. The kernel’s units are m⁻¹, so integrating over x gives a dimensionless weight.
  3. Its variance is 2κt=0.4 m² and standard deviation √0.4 m≈0.63246 m. This standard deviation is a width parameter, not a sharp propagation front.
  4. The Gaussian is positive at every finite x for positive time. Convolving it with a nonzero nonnegative compact profile gives an ideal diffusion tail everywhere, while the total integral is retained when the initial whole-line field is integrable.

Normalized kernel with variance 0.4 m² and standard deviation approximately 0.63246 m; there is no finite sharp front.

Use both wave inputs and verify the whole solution

For u_tt=4u_xx on ℝ, u(x,0)=x² and u_t(x,0)=3x, find u(x,t) and u(1,1).

  1. Here c=2. The averaged displacement contribution is [(x−2t)²+(x+2t)²]/2=x²+4t².
  2. The velocity contribution is (1/4)∫_{x−2t}^{x+2t}3s ds=3xt. Thus u=x²+4t²+3xt.
  3. The second derivatives are u_tt=8 and u_xx=2, giving the exact PDE residual zero. The initial value is x² and the initial time derivative is 3x, so both independent traces are satisfied.
  4. At (1,1), u=1+4+3=8. The data are polynomial and unbounded, so this pointwise classical solution is not being claimed to have finite total wave energy on ℝ.

u=x²+4t²+3xt and u(1,1)=8; both initial profiles are essential.

Check every boundary edge before using a maximum principle

For u=x²−y²+2xy+3x−y on the unit square, verify harmonicity, find boundary extrema and bound u at the centre.

  1. u_xx=2 and u_yy=−2, so Δu=0. The boundary values are the actual traces of this single smooth polynomial and therefore agree at the corners.
  2. At y=0 the trace is x²+3x, ranging from 0 to 4. At y=1 it is x²+5x−2, ranging from −2 to 4. At x=0 it is −y²−y, ranging from −2 to 0.
  3. At x=1 the trace is 4+y−y²=17/4−(y−1/2)². Its maximum is 17/4 at y=1/2. Across all edges the minimum is −2.
  4. The maximum principle gives −2≤u≤17/4 on the square. At (1/2,1/2), direct substitution gives 3/2, within those bounds. The complete Dirichlet traces determine this harmonic field uniquely in the continuous-closure classical class.

Boundary minimum −2, maximum 17/4; u(1/2,1/2)=3/2. Corner values alone would not specify the full problem.

Use the Poisson sign convention and remove its constant ambiguity

On the unit disk, check u=x²+y²−1/2 for −Δu=f and ∂_n u=g, and explain the mean-zero condition.

  1. The Laplacian is 4, so f=−4. On r=1, the outward unit normal is radial and ∂_n u=∂_r(r²−1/2)=2, giving g=2.
  2. The source integral is −4 times disk area, or −4π. The boundary derivative integral is 2 times circumference, or 4π. Thus ∫f=−∫g, with the negative sign required by −Δu=f.
  3. The average of r² on the unit disk is [2π∫₀¹r³dr]/π=1/2. Hence subtracting 1/2 makes the mean of u zero.
  4. Adding any constant leaves both the PDE and normal derivative unchanged. A mean condition fixes that ambiguity. Compatibility is necessary, while existence for a general data set still belongs to the appropriate Neumann problem theorem.

f=−4, g=2, compatibility −4π=−4π and mean u=0. Without normalization, additive constants remain.

Prove instability using exact solutions rather than roundoff

For κ>0 and fixed T>0 on 0<x<π, compare the final and initial supremum norms of u_n=e^(−κn²t)sin(nx).

  1. Each u_n satisfies heat because u_t=−κn²u and u_xx=−n²u. It has zero Dirichlet endpoints and smooth data.
  2. At t=T the supremum norm is e^(−κn²T), which tends to zero as n grows. Thus the final profiles approach the zero final profile arbitrarily closely.
  3. At t=0 every initial profile has supremum norm 1. Therefore the reconstructed initial profiles do not approach the zero initial field.
  4. This exact sequence disproves continuous dependence of the inverse map from final sup norm to initial sup norm. The argument does not rely on floating-point error or assert that arbitrary final data admit a backward solution.

Final norms tend to 0 while initial norms stay 1: backward reconstruction is unstable in the stated norms.

Distinguish a compressive jump from an expansion jump

For Burgers flux f(u)=u²/2, compare the Riemann data 3 to −1 and −1 to 3. Give the shock speed, admissible continuation and one entropy check.

  1. For the 3-to-(−1) jump, s=(9/2−1/2)/(3−(−1))=1. The incoming speeds satisfy 3>1>−1, so the moving shock x=t is compressive.
  2. Reversing the states still gives algebraic speed 1, but the characteristics move away from the jump. This expansion shock satisfies the jump balance without being the admissible entropy solution.
  3. For η=u²/2 and q=u³/3, use [h]=h_R−h_L. The downward jump gives [η]=−4 and [q]=−28/3, so −s[η]+[q]=−16/3<0. The reverse jump gives +16/3 and violates this entropy inequality.
  4. For the reversed data the entropy solution is the fan −1 for x/t≤−1, x/t for −1<x/t<3, and 3 for x/t≥3, t>0. The convex Burgers setting is essential to this explicit selection; no nonconvex-flux theorem is inferred.

The downward shock has speed 1 and is admissible; reversed data require the rarefaction fan, rather than the algebraically possible expansion shock.

A consistent formula can still amplify the wrong mode

For κ=1/2 m²/s and Δx=1/4 m, compare the explicit heat method at Δt=1/16 s and Δt=1/8 s on an even periodic grid.

  1. The dimensionless ratio is r=κΔt/Δx². Since Δx²=1/16 m², the two steps give r=1/2 and r=1, respectively.
  2. At r=1/2, the update is the average of the two neighbouring old values. It is a convex combination and obeys a discrete maximum bound. The alternating mode has multiplier −1 at this limiting ratio, so it is stable but not damped at each step.
  3. At r=1, the update has central weight −1 and two neighbour weights 1. The alternating mode (−1)^j has multiplier 1−4r=−3, so its magnitude triples every step.
  4. Both steps use the same formally consistent difference expression, but only the first satisfies the standard monotonicity/stability restriction. Refinement and error statements must retain the time-to-space ratio; a continuous diffusion theorem cannot rescue an unstable grid recurrence.

r=1/2 is stable at the boundary with an undamped alternating mode; r=1 produces artificial growth by factor 3 per step.

Try it yourself

  1. For u=u(x,y,t) with u_t=κ(u_xx+u_yy), identify the independent variables, dependent field and order.

    Show the answer and reasoning

    Independent variables x,y,t; dependent field u; second order.

    The highest derivatives are spatial second derivatives. A first time derivative does not make the entire PDE first order.

  2. Which is linear with prescribed coefficients: u_t+xu_x=u, or u_t+u u_x=0?

    Show the answer and reasoning

    The first is linear; the second is nonlinear.

    The coefficient x is an independent variable. In the second equation the transport coefficient is the unknown field itself, so superposition generally fails.

  3. For 2u_xx+6u_xy+2u_yy=0, compute D in the 2B convention.

    Show the answer and reasoning

    A=C=2, B=3, D=5>0, so hyperbolic.

    The mixed coefficient is 2B=6, not B=6. The principal matrix is indefinite, consistent with the positive discriminant.

  4. If x is in metres and t in seconds, what are the units of κ in u_t=κu_xx?

    Show the answer and reasoning

    m²/s.

    u_t has field-units/s and u_xx has field-units/m². Multiplication by κ must restore matching units.

  5. Can continuous initial data φ(0)=2 coexist with boundary value u(0,t)=3 for t≥0 in a continuous closed-rectangle heat solution?

    Show the answer and reasoning

    No. The corner assignments contradict one another.

    At (0,0) the initial edge requires 2 and the boundary edge requires 3. Interior positive-time smoothing is a different issue and does not make the two traces equal.

  6. For u_t+3u_x=0 and φ(x)=2+sin(2x), give the whole-line classical solution.

    Show the answer and reasoning

    u(x,t)=2+sin(2x−6t).

    Characteristics satisfy x−3t=constant. Differentiating gives u_t=−6cos(2x−6t) and 3u_x=6cos(2x−6t), with zero sum.

  7. For transport speed a<0 on 0<x<L, which endpoint supplies the inflow data?

    Show the answer and reasoning

    The right endpoint x=L.

    Information travels leftward. Tracing a future characteristic backwards reaches the right boundary; an independently prescribed left outflow can overdetermine the problem.

  8. For zero-Dirichlet heat mode sin(3πx/L), what is its amplitude multiplier after time t?

    Show the answer and reasoning

    e^(−9κπ²t/L²).

    The second spatial derivative multiplies that mode by −(3π/L)², leaving the scalar amplitude equation a′=−9κπ²a/L².

  9. For insulated heat evolution, must both ∫u dx and ∫u²/2 dx be constant?

    Show the answer and reasoning

    No. The mean integral is conserved, while squared-norm energy generally decreases.

    Integration gives zero net endpoint flux for the first quantity. Integration by parts gives d/dt ∫u²/2=−κ∫u_x² when boundary flux vanishes.

  10. For κ=0.5 m²/s and t=4 s, what is the whole-line kernel’s standard deviation?

    Show the answer and reasoning

    2 m.

    The variance is 2κt=4 m², so its square root is 2 m. This is not the radius of a compactly supported heat front.

  11. Why does u_tt=c²u_xx usually need both u(x,0) and u_t(x,0)?

    Show the answer and reasoning

    They supply independent displacement and velocity profiles.

    Each wave mode obeys a second-order time equation with two independent constants. Omitting one profile leaves the standard Cauchy problem undetermined.

  12. For c=3, which initial interval can influence the whole-line wave value at x=2,t=1?

    Show the answer and reasoning

    [−1,5].

    d’Alembert’s formula uses φ at x±ct and ψ between those points, so only the interval [2−3,2+3] appears.

  13. If two continuous-closure harmonic fields on the same bounded domain have identical full Dirichlet traces, what can the maximum principle prove?

    Show the answer and reasoning

    They are equal in the classical class.

    Their difference is harmonic with zero boundary values. Applying both maximum and minimum bounds makes the difference zero; existence is a separate question.

  14. On the unit square, verify the source and boundary for u=sin(πx)sin(πy) in −Δu=f.

    Show the answer and reasoning

    f=2π²sin(πx)sin(πy), with zero Dirichlet values on all four sides.

    Each pure second derivative contributes −π²u. Integration by parts also gives the corresponding weak identity for zero-boundary tests.

  15. For −Δu=f and ∂_n u=g, state the necessary integral compatibility and the remaining normalization issue.

    Show the answer and reasoning

    ∫Ωf=−∫∂Ωg; an additive constant remains.

    The divergence theorem applied to Δu fixes the sign. Normal derivatives and the Laplacian do not detect addition of a constant.

  16. Does uniqueness of a backward heat reconstruction, when it exists in a class, imply continuous dependence on its final data?

    Show the answer and reasoning

    No. Uniqueness and continuous dependence are separate conditions.

    The sequence e^(−κn²T)sin(nx) has final sup norms tending to zero but reconstructs initial sup norm 1. An exact solution can still represent an unstable inverse problem.

  17. For Burgers data φ(ξ)=−sinξ, when does the characteristic projection first lose its strictly positive derivative in forward time?

    Show the answer and reasoning

    At t=1, at labels with cosξ=1.

    The derivative is 1−t cosξ. Its first zero occurs at t=1, while u remains bounded. This is gradient blow-up and loss of smooth reconstruction, not unbounded field values.

  18. For κ=2 m²/s and Δx=0.2 m, what maximum Δt meets r≤1/2 for the explicit heat scheme?

    Show the answer and reasoning

    Δt≤0.01 s, with a positive step chosen for evolution.

    κΔt/Δx²≤1/2 gives Δt≤Δx²/(2κ)=0.04/4=0.01 s. The ratio is dimensionless, and the limiting alternating mode need not decay.

What to carry forward

  • A PDE solves for a field, so its domain, data and admissible solution class belong to the problem.
  • Order and linearity are different properties; a coefficient depending on the unknown can make a first-order equation nonlinear.
  • State the mixed-derivative convention before computing a principal discriminant.
  • Initial and boundary data must match both the equation’s information direction and the requested corner regularity.
  • Conservation supplies a balance, while a constitutive law selects transport, diffusion or another flux.
  • Characteristics need both an ODE evolution and an invertible reconstruction to define a smooth field.
  • Diffusion damps high spatial modes rapidly, and its boundary conditions decide whether the mean is conserved.
  • A heat kernel needs a stated initial-trace and growth class; ideal infinite influence is a model property.
  • Wave displacement and velocity data are independent and determine a finite domain of dependence.
  • Wave energy has a boundary work term; constant total energy does not freeze the displacement field.
  • Maximum principles qualify classical boundary uniqueness rather than prove every boundary prescription has a solution.
  • Neumann Poisson data need an integral compatibility condition and a normalization for the constant mode.
  • Orthogonality identifies expansion coefficients, while completeness and convergence justify reconstruction.
  • Existence, uniqueness and continuous dependence are separate claims, as backward heat amplification demonstrates.
  • Nonlinear characteristics can lose smoothness through a diverging gradient while field values stay bounded.
  • A weak jump balance determines a speed, while entropy admissibility selects the appropriate nonlinear continuation.
  • Weak energy identities and numerical stability conditions require their actual function spaces, grids, norms and boundaries.

References

Sources for the concepts and teaching approaches in this article.

  1. Stanford University6 sources
    1. First-Order Equations · Characteristics and noncharacteristic dataStanford MathematicsUniversity course handout · characteristic ODEs and local reconstruction, pp.1–9 · PDFweb.stanford.eduRead source
    2. Conservation Laws · Weak jumps and admissibilityStanford MathematicsUniversity course handout · Rankine–Hugoniot balance, convex-flux and general-flux caveats · PDFweb.stanford.eduRead source
    3. Classification of Second-Order Equations · Principal matricesStanford MathematicsUniversity course handout · pp.1–2 and 6–7; source uses b u_xy, while this article uses 2B u_xy · PDFweb.stanford.eduRead source
    4. Wave Equation on the Real Line · Cauchy data and energyStanford MathematicsUniversity course handout · d’Alembert formula, domain of dependence and energy method · PDFweb.stanford.eduRead source
    5. Heat Equation · Modes, kernels and maximum principlesStanford MathematicsUniversity course handout · boundary conditions; pp.40–43 maximum principles and qualified uniqueness · PDFweb.stanford.eduRead source
    6. Laplace’s Equation · Harmonic maximum principleStanford MathematicsUniversity course handout · p.10, bounded-domain classical maximum principle · PDFweb.stanford.eduRead source