For a differentiable objective and regular constraint , a constrained stationary point satisfieswhere is a Lagrange multiplier. Solve these equations for both the coordinates and .
Geometrically, the gradient is normal to the constraint level set when . Every feasible infinitesimal displacement is tangent to that level set, so . At a constrained stationary point, the directional change must also vanish for every such tangent displacement. Thus is normal to the same tangent plane and is a scalar multiple of . This is the geometric basis of the Lagrange multiplier method.
For a second constraint , with linearly independent vectors and , the feasible tangent directions are perpendicular to both. Their normal space is the linear span of these two gradients, so introduce a second Lagrange multiplier:These equations find candidates; deciding whether they are maxima, minima or saddle points requires further analysis. Constraint points where the required gradient independence fails must be examined separately.
Here the stationary point is the origin, of value two. The Taylor expansion isThus nearby level curves are approximately concentric circles. Globally the level curves above two are closed around the unique minimum, symmetric under interchanging and , but not under changing either coordinate's sign. The faster exponential growth for positive coordinates compresses the curves on their positive sides.
For case (i),Each component has the sign of its coordinate, so the gradient points outward from the minimum. Near the origin it is .
For case (ii),Its component has the sign of , while its component has the opposite sign to . Thus arrows point outward on the -axis and inward on the -axis, with local form . These directions are included in the contour figure; in both cases the gradient is perpendicular to the level curves and points toward increasing .
Normalize the direction to the unit vector . The directional derivative is the dot product of this unit vector with the gradient:
The gradient is horizontal when and vertical when . Factoring those partial derivatives gives the two loci:Thus each locus consists of an axis and two parabolas. Their common points are the five stationary points found below. At those points the gradient is zero and has no direction, so they are included in both algebraic zero-component conditions but excluded if “parallel” is required to mean a nonzero directed vector.
Near a nonzero stationary point , Taylor expansion of the gradient gives . Since the Hessian matrix is positive definite, for sufficiently small nonzero . Thus the gradient arrows point away from each of the four local minima, with different strengths in the two eigenvector directions.
At the origin, on the -axis the gradient is and on the -axis it is , so arrows point outward. On the gradient is , and on it is , so arrows point toward the origin for small . Away from the axes the leading terms are , pointing inward in both coordinate signs. The narrow outward sectors close to the axes are visible in the exact vector field.
For , the product rule for the curl givesSince , this is not identically zero on . A gradient field has zero curl, so no scalar potential exists for on the whole space.
For the radial vector field , observe thatThus all vector-field potentials areThese are smooth everywhere, including the origin. Any two differ by a constant because their gradient difference vanishes on the connected whole space.
Use the Lagrange multiplier condition for :Neither coordinate can vanish at a constrained stationary point: either would force both to vanish, contradicting the constraint. Substitution therefore gives , so or . In either case , givingEqual signs give the two points attaining the global maximum ; opposite signs give the two global minima with . These exhaust the extrema because the ellipse is compact, its constraint gradient never vanishes on it, and is smooth. The bound can also be checked by setting , : then and , so .
The chain rule gives , so the given total differential is exact. Thus ; two such functions differ by a constant because their gradient difference vanishes on the connected plane. The assigned value at the origin forces , giving
The gradient isIt is perpendicular to each nonzero level set and points towards increasing . Near the two positive local maxima, the Hessian matrix is , so the gradient arrows point inward. Near the two negative local minima, the Hessian matrix is , so they point outward. These arrows are shown on the figure in part (c).
At the saddle point, . Along , the arrows point away from the centre on both sides; along , they point towards the centre on both sides. On the positive axis they point up, on the negative axis down, on the positive axis right, and on the negative axis left. This specifies the four intervening sectors of the gradient pattern.
Let . Its gradient cannot vanish on the ellipsoid, since the origin is not on the surface. Thus the Lagrange multiplier equations capture every constrained stationary point:The temperature is a sum of squares, so . Equality requires and . The surface constraint then gives the four coldest points:These are all such points, because a sum of nonnegative terms can vanish only when each term vanishes.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2001 Paper 1 1 Solution Created 2026-10-18 Updated 2026-10-20
Vector identity. Work in Cartesian coordinates and use the Einstein summation convention. Contraction of the two Levi-Civita symbols givesThus the convective acceleration identity isEach term is a geometrically defined vector field: the directional derivative of a vector along itself, the gradient of a scalar field, and a cross product with the curl. Equality in a Cartesian frame is equality of these vectors, so it holds in every coordinate system. When using a varying coordinate basis, derivatives of the varying basis vectors must be included; differentiating only the component functions would describe a different operation.
Spherical metric. LetDifferentiating gives the coordinate tangent vectorsTheir pairwise dot products vanish, proving that spherical coordinates are orthogonal coordinates. Their lengths are the scale factors of orthogonal coordinates:These formulas use the usual chart ; the origin and polar axis are coordinate singularities.
Azimuthal field. Write the speed as to distinguish it from the velocity field . Using the curl in spherical coordinates,Also . Since and ,The terms cancel in the convective acceleration identity, givingThis centripetal acceleration of an azimuthal flow points toward the polar axis. A streamline is a circle of cylindrical radius , so its acceleration is , with . This independent geometric argument recovers both nonzero components and explains why cannot appear: the particle travels at fixed .
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 1 1 Solution Created 2026-10-18 Updated 2026-10-20
Coordinate surfaces and sketch. Adding and subtracting the defining relations gives and . Since , we have . For , eliminate to obtainThis is a parabolic cylinder parallel to the axis, opening towards negative , with cross-sectional vertex and focus at the origin. Similarly, givesa parabolic cylinder opening towards positive , with vertex and the same focus. The degenerate surface is the half-plane ; gives . Constant gives the horizontal planes .
Thus the requested cross-sections consist of , , , and the two horizontal half-axes. The parabolas of the two families meet orthogonally.
Signed coordinates. Take and choose the sign of to agree with away from . Then the Cartesian coordinates areEvery coordinate triple gives exactly one point. For , and have the same sign. A fixed signed selects the upper or lower half of its parabolic cylinder; the entire cylinder corresponds to fixed . On the cut , the two values represent the same point of the negative half-axis. This boundary identification is unavoidable: there even when , so the sign prescription is understood by approaching from either side of the cut. The interior gives a unique coordinate chart off that half-axis.
Orthogonality and metric. Differentiate the position vector:The pairwise dot products vanish. Their lengths give the scale factors of orthogonal coordinates and hence the Riemannian metric:These are parabolic cylindrical coordinates. The differential calculation is regular for ; the axis is the coordinate singularity where the two planar tangent vectors vanish.
Laplacian. Put . The physical components of the gradient of a -independent scalar field are . Applying the divergence formula cancels the two equal scale factors of orthogonal coordinates inside the derivatives:Therefore, away from the coordinate singularity,
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 1 1 Solution Created 2026-10-18 Updated 2026-10-20
For , the positive constant- surfaces in elliptic cylindrical coordinates satisfyThey are confocal elliptic cylinders with focal lines . For a generic fixed , eliminating givesBecause , a fixed selects the half-branch with the signs of and fixed by and . These are hyperbolic cylinders. The degenerate surface is , , extended in . At the cross-sections are the two exterior horizontal rays; at they are vertical half-axes.
Differentiate the position vector to get the coordinate tangent vectorsTheir pairwise dot products vanish. Their squared lengths are , and one. This proves orthogonality and gives the scale factors of orthogonal coordinates:The Riemannian metric is . Away from the focal lines, divide the coordinate tangent vectors by their lengths to obtain the local orthonormal unit vectors . For physical vector field components , the formulas for vector calculus in elliptic cylindrical coordinates areThe gradient of a scalar function has components . Apply the divergence formula to this gradient; Laplace's equation becomesThe formulas apply where ; the focal lines require a limit or another coordinate chart.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 2 1 Solution Created 2026-10-18 Updated 2026-10-20
For a vacuum electric potential, put in Laplace's equation in spherical coordinates. Multiplication by separates the radial and angular terms. With separation constant and , the angular Legendre differential equation isRegularity at both polar axes selects nonnegative integers and the Legendre polynomials. The radial equation is , whose independent solutions are and . Hence the angularly regular axisymmetric vacuum solution isThe radial domain and its boundary conditions determine which terms are admissible.
For the given charge density, only is forced. Write . The interior radial Poisson equation is . The identity for the Poisson equation with a spherical harmonic source gives the particular solution , since the radial operator takes to four. Finiteness at zero and decay at infinity therefore giveContinuity of the electric potential and its radial derivative at requires and . Solving gives , , soAll other angular modes have zero coefficients after imposing regularity, matching and decay. At the origin the interior expression is , which extends with a continuous gradient and value zero. The angular charge density has no unique value exactly at that point; Poisson's equation holds classically for and as a weak solution through the origin. There is no additional point charge.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2006 Paper 2 1 Solution Created 2026-10-18 Updated 2026-10-20
Choose the Green function convention , with decay at infinity and no extra singularities. For sufficiently decaying source data,Away from its source, this fundamental solution of the Laplace equation is harmonic. Its radial derivative is , so the flux of its gradient through a small source-centred sphere is one. The divergence theorem therefore supplies exactly the unit Dirac delta function required by the equation. Decay at infinity excludes an added globally regular harmonic term.
For the half-space, reflect the source to . The method of images gives the zero-boundary Dirichlet Green functionThe two distances coincide at , and also cancel if the source lies on the plane. The image singularity lies outside the physical domain.
The sign conventions for a Dirichlet Green function require care here. With , Green's second identity gives . At this wall the outward normal is , so . Direct differentiation gives , where . Thus the printed intermediate formula with needs a minus sign for its stated Green convention. The final Poisson kernel for the upper half-space is positive:Its boundary integral is one for constant data, providing an independent sign check.
Since , the gradient formula givesThe vector triple product identity gives . Adding the radial part yields
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2007 Paper 1 1 ii Solution Created 2026-10-18 Updated 2026-10-20
Use the right-handed orthonormal basis . The cross product with rotates tangential components by a right angle; taking its cross product again in the opposite order projects a gradient onto the tangent plane. The radial curl of angular gradient fields then depends only on the rotated-gradient part. All coordinate calculations are made away from the polar coordinate singularities and extend wherever the original fields are smooth.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 1 7 a Solution Created 2026-10-18 Updated 2026-10-20
For holomorphic in , the Cauchy-Riemann equations are and . Therefore the normal vectors to the two level curves obeyAt a point where , both gradients are nonzero, so their perpendicular tangent lines are also perpendicular. At critical points this argument does not assert that regular level curves exist.
TakeIts real part is , so the specified first family is . Its imaginary part is , so the second family is . Since , their intersections exclude the origin, where would vanish. Thus these hyperbolas meet orthogonally as required.




