Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2008 Paper 2 8 ii Solution Created 2026-10-18 Updated 2026-10-20
Within this polynomial family, already holds and gives . Thus one solution isTwo specified point values alone do not give uniqueness among all solutions of the heat equation.
Past exam of the mathematics course of the year 1 of the natural sciences course of the University of Cambridge 2008 Paper 2 8 i Solution Created 2026-10-18 Updated 2026-10-20
The proposed function has partial derivatives and . Substitution in the heat equation requires , henceThe coefficient remains arbitrary.
Write the kernel as , with . Its partial derivatives areThus the heat kernel itself satisfies . The proposed convolution consequently givesThis verifies the heat equation. The parameter is positive time; the real integral formula is not defined at negative time.
The passage of derivatives through the integral needs justification. A sufficient condition is the Gaussian-weighted absolute integrability in heat-kernel convergence for Gaussian-integrable initial data; it holds, in particular, for data of polynomial growth. On compact positive-time intervals strictly below an integrable later time, the differentiated kernels have an integrable Gaussian bound, so differentiation under the integral sign applies.
Even if the PDF's assumed convergence is read as ordinary conditional convergence, one can justify the same calculation. Choose a later time and let be a primitive of . Convergence at spatial point zero and time makes bounded on both tails. Put . This function, its spatial and time derivatives, and their -derivatives decay as Gaussians when . Integration by parts rewrites the convolution as , with vanishing endpoint terms. Boundedness of now permits differentiation under this absolutely convergent integral; since , the same equation follows. Thus one need not silently equate conditional and absolute convergence.
Set . The similarity solution uses , whose partial derivatives at fixed or areApply the multivariable chain rule to :Substituting in the heat equation and cancelling the positive common factor gives
The heat equation is linear and homogeneous in : the operator satisfies . Thus the superposition principle applies to its solutions. Spatial translations are also allowed because the coefficients are constant.
Choose in part (b) and multiply by to make the initial amplitude one. Taking the two shifts and then givesAt this reproduces both initial peaks. Each term is an instance of Gaussian initial data for the heat equation, so their sum satisfies the equation. Its extension to negative times is a real smooth solution precisely on the connected intervalAt the lower endpoint the peaks narrow without bound and their heights diverge; there is no finite classical continuation there. For positive times each peak spreads and decreases in height while preserving its integral.
The steady profile has no time derivative. Substituting and using its steady equation cancels the forcing, givingThe initial condition isThe resulting heat equation is independent of , as are its boundary conditions. Its initial amplitude still depends on ; removing a source from the evolution equation does not remove it from the whole problem.
For the heat equation , separation of variables with homogeneous Neumann boundary condition at both ends gives spatial modes and decay factors . The mode is constant and does not decay.
The initial profile already contains only two such modes:Evolving each mode therefore yieldsThe endpoint derivatives vanish, and substitution checks both the equation and the initial profile. The spatial integral remains : no heat escapes through insulated ends, so the limiting uniform temperature is .
Insulated and zero-temperature endpoints evolve the same initial heat profile differently
. Original mode calculations. Both panels start from the same squared sine. Insulated endpoints conserve the mean temperature and approach ; zero-temperature endpoints remove heat and the profile decays to zero. Times are expressed as . Details.With homogeneous Dirichlet boundary condition, the eigenfunctions are and all modes decay. WriteReflection about the midpoint makes every even- coefficient zero. For odd , putting and using the product-to-sum identity givesIn particular and . ThusThis uses the Fourier sine series of a squared sine. The coefficients are , so the initial series converges uniformly; for the exponential factors also justify termwise differentiation to check the heat equation. Every mode vanishes at both endpoints, and the initial series gives the specified profile. Unlike part (a), there is no constant mode: the temperature tends to zero, with leading long-time term
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2001 Paper 2 11 Solution Created 2026-10-18 Updated 2026-10-20
Fourth-order spatial formula. For a sufficiently smooth function, pair the Taylor expansions at opposite shifts:Multiply the first sum by sixteen, subtract the second, and subtract . The constant and fourth-derivative terms cancel, leavingHence the fourth-order centered second derivative satisfiesRearranging proves the requested , including its leading error coefficient.
Explicit diffusion scheme. Take , , , and let approximate . Combining the forward Euler method in time with in space givesTo check the error, insert the exact solution. The heat equation gives , while the time Taylor expansion and the spatial formula give the one-step defectThus its unnormalized local truncation error isas requested. Dividing this defect by gives the normalized residual ; these are distinct error conventions.
Boundary implementation. The centered stencil requires two ghost values at each end. An even-reflection closure for Neumann diffusion imposesThe reflected first centered difference at either endpoint is zero. Apply the same evolution formula at the endpoints after substituting these ghost values; for example,The ghost values also close the stencil at and . They are determined auxiliary values, not new physical data. For a smooth solution compatible with the Neumann boundary conditions, differentiating those conditions in time and using the heat equation gives at the endpoints. Thus even reflection preserves the smoothness needed for fourth-order spatial accuracy. If the initial data fail the required higher compatibility conditions, a uniform smooth error expansion through cannot be assumed.
For completeness, the reflected spatial operator has cosine eigenvectors and eigenvaluesThe most negative one is . Requiring gives the forward Euler method stability restriction in the natural trapezoid-weighted discrete norm. A fourth-order spatial stencil does not remove the explicit diffusion time-step restriction.
Implicit alternative. The Crank-Nicolson diffusion scheme using the same spatial operator and boundary closure isIt has second-order time accuracy and fourth-order spatial accuracy for smooth compatible solutions; its one-step defect is . Each spatial eigenvalue has amplification factor of magnitude at most one, so it removes the explicit restriction for this boundary closure.
The price is solving a banded linear system at every step; the same matrix factorization can be reused for fixed and . Large time steps still reduce accuracy. Moreover, the amplification factor tends to as , so short spatial wavelengths can alternate sign with little numerical damping. Thus unconditional linear stability does not guarantee a monotone or well-resolved transient. Boundary accuracy and initial compatibility remain necessary with either time discretization.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 1 2 Solution Created 2026-10-18 Updated 2026-10-20
Steady state. In the heat equation, time independence makes the second spatial derivative zero. The two endpoint temperatures therefore determine the linear profileInsulation is along the sides; the endpoint reservoirs can still exchange heat with the rod.
Transient solution. Subtract the steady profile before applying separation of variables: let . Then , and for . Writing givesThe homogeneous Dirichlet boundary conditions exclude and select the eigenfunctions with eigenvalues , . Their orthogonality gives the Fourier sine series coefficientsHere integration by parts uses . ThusEvery summand satisfies the heat equation and the homogeneous endpoint conditions, while the steady profile supplies the prescribed endpoint values. The initial Fourier sine series equals in the open interval. At the initially cold rod and the suddenly imposed hot endpoint are incompatible; the formula describes the prescribed data for and the initial limit at interior points.
Heat absorption. Integrating in kills the even modes. With , the total heat relative to the initial state isConsequently the net rate of heat absorption isFor each , any fixed number of differentiated modes is bounded by a polynomial in times . These bounds have finite sums, proving absolute convergence, uniform convergence on such time intervals and the validity of the integration and differentiation. In particular the displayed rate is finite for every , positive when , and tends to zero as equilibrium is approached. The same answer follows from the heat equation balance ; this subtracts loss at the cold endpoint from input at the hot endpoint.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 1 2 i Solution Created 2026-10-18 Updated 2026-10-20
With temperature measured relative to the fixed-temperature end, the heat equation and its data areHere is thermal diffusivity and is thermal conductivity. The sign of the derivative condition describes incoming heat flux at : the outward conductive heat flux is .
By Fourier's law, insulation means zero outward heat flux. The Neumann boundary conditions are . The constant mode equals the initial integral average . For , the cosine coefficients areOdd modes and modes divisible by four vanish; write the remaining indices as . The heat flow from a triangular initial temperature with insulated endpoints givesThe nonconstant modes decay, so uniformly as . Integrating the heat equation gives , explaining the conserved mean. The cooled case tends instead to zero because heat leaves through its ends.
The initial triangle has nonzero endpoint slopes, so it is not compatible with the insulated condition at the corner . The series nevertheless recovers the continuous initial temperature and satisfies the insulated condition for every ; one should not assert continuity of its spatial derivative at that initial corner.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2004 Paper 1 2 Solution Created 2026-10-18 Updated 2026-10-20
With constant positive thermal diffusivity , no internal heat source and one spatial coordinate, the heat equation isSeparation of variables makes each spatial mode decay by . The endpoint conditions determine whether the initial triangular profile is expanded in a Fourier sine series or a Fourier cosine series.
The same triangular initial temperature with cooled and insulated ends
. Original heat-equation solutions for several dimensionless times. Fixed zero-temperature ends cool the bar to zero; insulated ends preserve its initial mean and approach a uniform temperature. Details. Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2005 Paper 1 2 Solution Created 2026-10-18 Updated 2026-10-20
Set in the heat equation. Separation of variables gives . Zero endpoint temperatures impose Dirichlet boundary conditions , selecting for . The separated factors can therefore be chosen asZero and negative separation eigenvalues give only the zero spatial solution under these boundary conditions.
The initial profile is continuous and triangular, with midpoint height . Its Fourier sine series coefficients areConsequently the heat flow from a triangular initial temperature isFor , each summand has magnitude at most . The Weierstrass M-test proves absolute and uniform convergence. The initial Fourier sine series equals the continuous piecewise smooth profile, and for the exponential factors justify termwise spatial and time differentiation on every time interval bounded away from zero.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2005 Paper 1 3 Solution Created 2026-10-18 Updated 2026-10-20
Use the conventionThese are the Fourier transform and inverse Fourier transform for suitably integrable data. Assuming the required ordinary transforms exist and the lower derivatives vanish at both ends, integration by parts gives . Repeating this argument yieldsThe decay assumptions are used to discard the boundary terms at each step.
For positive diffusivity , transforming the heat equation gives . Thus , where . The convolution theorem and the Gaussian heat kernel giveFor , the Fourier transform of a Gaussian is . Multiplying by the heat factor and inverting gives the Gaussian initial data for the heat equation solutionIt recovers the initial profile as and preserves its spatial integral .
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 1 2 c Solution Created 2026-10-18 Updated 2026-10-20
Each spatial eigenfunction acquires the temporal factor under the heat equation. Expanding the initial constant using the preceding coefficients gives the cooling of an initially uniform square:For the exponential factors justify differentiating the series and enforce the zero boundary temperature. As , it tends to at every interior point and in L2 space; the instantaneous boundary cooling is incompatible with continuity at the initial boundary corners, which is expected for this idealization.
The slowest decaying nonzero mode is , givingat each fixed interior point when . The next contributing modes have and decay as , making the leading-mode approximation exponentially accurate.
Differentiate the spatial Fourier transform under the integral, and integrate the second spatial derivative by parts twice. For sufficiently decaying temperature and first derivative, the boundary terms vanish:Hence the transformed heat equation is the ordinary differential equation
The substitution separates the uniform equilibrium from the decaying perturbation. Direct differentiation givesConsequently the reaction-diffusion equation reduces to the heat equation . Its data become
When the three constants coincide, the Dirichlet boundary conditions for are homogeneous. Separation of variables gives and , selecting the normal modes for . ThusTwo integrations by parts give , while the constant term uses . Therefore the Fourier sine series isFor , its first coefficient is nonzero. Multiplying by and retaining the slowest-decaying mode givesThe remainder estimate holds uniformly in for sufficiently large positive time. If , the fundamental vanishes and the next possible mode has decay rate , explaining the exclusion.
There is an initial endpoint compatibility issue unless : the given polynomial profile vanishes at the endpoints, whereas the boundary values equal . The series realizes the initial data in L2 space and pointwise in the open interval, imposing the prescribed boundary values for . For nonzero it cannot also be continuous at both initial endpoint corners.
Complete the square in the Fourier transform exponent:The supplied shifted Gaussian integral therefore givesThis is the Fourier transform of a Gaussian, with angular-wavenumber convention .
Take the spatial Fourier transform of the heat equation. Two integrations by parts, with decaying fields and first derivatives at infinity, give . Thus each mode satisfies the ordinary differential equationInserting the transformed initial condition and integrating the time equation givesFinally set . The inverse Fourier transform, evaluated by the same Gaussian identity, givesEquivalently the Gaussian initial data for the heat equation evolve asThe profile broadens and its peak decreases, while its total integral remains , as required by diffusion without loss on the whole line. Direct differentiation verifies the equation and the initial limit.
Substitute into the axisymmetric heat equation and cancel the exponential:Thus the radial ordinary differential equation and its Sturm-Liouville form areThe weight in this Sturm-Liouville problem is therefore . The outer Dirichlet boundary condition is , and the physical solution is regular at the centre. The factor in the weighted inner product is also the radial part of the polar area element.


