Delta rule 2026-10-25
For a linear output and squared loss , gradient descent gives . Indeed . On the same example, , proving strict error reduction when and .
Derivative Created 2026-09-24 Updated 2026-10-14
The derivative measures the instantaneous rate at which a function changes. For a real function defined near , it exists when the difference quotient has a finite two-sided limit:The quotient is the slope of the straight line joining two nearby points of the graph. Its limit is the slope of the tangent line. Thus a derivative describes a local rate without choosing a particular finite measurement interval.
For , expanding the numerator givesAt , the increments , and give secant line slopes , and . The limit is , and the tangent line is . The picture makes the limiting process visible.
The same calculation shows why the derivative is useful for approximation:This is a local linear approximation. Near , replacing by makes the exact error , smaller than the leading change when is small. A curved graph can therefore be studied locally using a straight line.
If the function records position against time, its derivative is velocity. If it records an objective function, its derivative tests local changes that matter in optimization; in several variables, the gradient collects these directional rates and guides gradient descent. The interpretation comes from the function and its units, rather than from a new rule for each application.
Existence matters. For the absolute value function , the one-sided derivatives at zero are and , so there is no single tangent line described by a finite derivative there. Nor does a zero derivative alone identify a maximum or minimum: has but keeps increasing through zero.
Descent lemma Created 2026-10-06 Updated 2026-10-25
Suppose is a differentiable function on an open convex set and has an -Lipschitz gradient there, in the Euclidean norm. For , the descent lemma statesA bounded continuous Hessian matrix gives one sufficient route to this estimate.[ref]
For a short proof, put . The fundamental theorem of calculus along the line segment givesThe Cauchy-Schwarz inequality and the Lipschitz gradient bound make the integrand at most ; its integral is . This proof needs no assumption that is a convex function.
For the gradient descent update , provided , substitution yieldsFor and , this ensures strict decrease whenever the gradient is nonzero. At it guarantees only nonincrease; the quadratic example has a nonshrinking alternating component at this endpoint. At the guaranteed decrease is . A bound valid only on cannot justify a step leaving .
If a fixed admissible step size is used forever, every iterate stays in , and has a finite lower bound, summing this inequality shows , hence . That conclusion alone gives neither convergence of the iterates nor a global minimum. For example, the smooth polynomial has and : gradient descent started at zero never moves, although . On , , so the Lipschitz gradient hypothesis holds on this domain. Convex functions and strongly convex functions provide additional structure; the exact quadratic convergence result above uses a positive-definite matrix.
Epoch complexity 2026-10-25
The number of optimization epochs needed to meet a stated accuracy criterion. Comparisons must specify the work counted by an optimization epoch, the accuracy measure, and whether a random method is controlled in expectation or with a stated probability. Counting coordinate partial derivatives is useful for comparing randomized block coordinate descent with gradient descent, but need not match elapsed computation time.
Target: gradient-descent.bigb, under Stochastic gradient descent. Fixed-step gradient descent on a positive-definite quadratic Created 2026-10-18 Updated 2026-10-25
Consider the original two-dimensional exampleThe Hessian matrix is , a symmetric matrix and positive-definite matrix. Its eigenvectors are the coordinate directions, its eigenvalues are and , and its Euclidean norm condition number is . The unique global minimum is , so the error equals . The linear map , with the identity matrix, givesFor , the two coordinate error multipliers are and . Consequently , , and the second coordinate changes sign at every step while both shrink. The Euclidean norm of the error contracts by each step. The objective gap, which we call the quadratic energy, contracts by its square:The level sets of are ellipses. Oscillation across their narrow direction is compatible with strictly decreasing energy.
Original gradient descent iterates on : step size contracts both directions, whereas expands the second
. Details. For , the coordinate error multipliers become and , giving . The first coordinate still tends to zero, but the second alternates and grows. Direct substitution givesThus a larger positive step size can turn a strictly convex function into a divergent iteration. Energy and error are different quantities: coordinate errors carry signed multipliers, while each coordinate's contribution to energy carries the squared multiplier.
For the general quadratic form with linear termthe error obeys the same linear map . The spectral theorem for real symmetric matrices supplies an orthonormal basis of eigenvectors with positive eigenvalues . Writing gives the exact solution and energy identityTherefore convergence from every initial vector is equivalent toAt , a nonzero error component along a largest-eigenvalue eigenvector flips sign without shrinking. Above that threshold it grows. A particular start can still converge if it has zero components in every unstable direction; the interval is the condition for all starts. If , then and . These bounds follow by summing the squared components in the orthonormal basis.
Gradient Created 2026-09-24 Updated 2026-10-14
In Cartesian coordinates on Euclidean space, the gradient of a scalar-valued differentiable function is the vector of its first partial derivatives. It converts a scalar field, such as temperature or a height, into a vector field describing its local change.
For a unit vector , the directional derivative is . The Cauchy-Schwarz inequality gives . At a point where , the greatest increase per unit distance occurs along , while the opposite direction gives the greatest decrease. These are first-order statements at the current point; they do not predict how the function behaves far along a straight path.
For at , . Moving in the direction gives rate and moving in the direction gives rate , but the steepest direction is , withThe direction has rate zero and is tangent to the level curve through that point. More generally, differentiating along a regular level curve gives , so the gradient is its normal vector.
A gradient is normal to level curves and determines the directional derivative for every unit direction
. Details. This is useful when navigating a measured scalar field or applying gradient descent: one collection of partial derivatives predicts every infinitesimal directional change. The derivative assumes a differentiable function, not merely the existence of all directional derivatives. [ref]
4.6 Directional Derivatives and the Gradient. Calculus Volume 3 by Gilbert Strang and others; OpenStax: Directional derivatives and the gradient
. Gradient ascent Created 2026-10-14 Updated 2026-10-18
Gradient ascent seeks a maximum by stepping along the gradient of a differentiable objective. It is gradient descent applied to . Taylor expansion gives , so sufficiently small positive steps improve the objective when the gradient is nonzero. Line search, projection onto admissible controls, and noise-aware gradient estimates are common practical modifications; a local stationary result need not be globally optimal.
Gradient descent Created 2026-09-24 Updated 2026-10-18
Gradient descent is an iterative method for minimizing a differentiable function : choose an initial vector and repeatedly move opposite its gradient.[ref]
With a fixed positive step size , the update isThe direction and the step size play different roles: the gradient supplies local information about increase, while determines how far that information is trusted. A varying step size gives instead; exact line search for a positive-definite quadratic chooses it by minimizing along the current direction.
Why is this the steepest direction? For a unit vector in the Euclidean norm, the directional derivative is . The Cauchy-Schwarz inequality bounds it below by , attained by when the gradient is nonzero. This is steepest descent relative to the Euclidean norm; changing the norm can change the steepest direction. A finite step need not decrease , because a directional derivative describes infinitesimal motion.
For the quadratic form with linear term , assuming is a symmetric matrix, the negative gradient is the linear-system residual . Thus gradient descent turns the linear system into repeated residual corrections; a positive-definite matrix makes its solution the unique global minimum. This is useful when applying the linear map is affordable but directly solving the linear system is costly.
The attraction is that a gradient evaluation gives an entire update without solving a new linear system. The difficulty is choosing a step size that progresses along gently curved directions without overshooting steep ones. Fixed-step gradient descent on a positive-definite quadratic makes this tension exact: every eigenvector direction has its own multiplier, determined by its eigenvalue. The resulting condition number dependence explains why a narrow valley can slow even an inexpensive iterative method.
The simplicity of the gradient update and its sensitivity to the condition number of the Hessian matrix are central practical features.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §9.3.1, pp. 466–468, and §9.3.2, p. 475, Conclusions: convergence and conditioning
Gradient descent preserves an eigenline for a cubic product Created 2026-10-25 Updated 2026-10-31
Let be real symmetric, let be a unit eigenvector satisfying , and use scalar step sizes . The gradient of the displayed cubic polynomial function isOn the eigenline, , so a gradient descent update remains on that same line and obeys the scalar recurrence in the title. Induction proves invariance for every iterate starting on the line, including an iterate that reaches zero. This is a statement about the geometry of the updates, not a convergence theorem: when , the restriction is unbounded below in one direction.
Nesterov accelerated gradient method Created 2026-09-28 Updated 2026-10-14
For a convex objective with an -Lipschitz gradient, Nesterov's accelerated gradient method reaches objective error in iterations when a minimizer lies within distance of the initial point.
This is an accelerated variant of gradient descent; it should not be identified with every first-order or proximal gradient method.
Nonlinear programming 2026-10-13
A nonlinear programming problem minimizes an objective over finitely many real variables subject to constraints, with at least one objective or constraint nonlinear. Parametrizing the pulse amplitudes in quantum optimal control produces such a problem. Gradient descent and related local methods exploit differentiability, but a local stationary point need not be a global optimum without additional convexity or other structure.
Initialize the weights, evaluate the feature matrix and repeat gradient descent updates until the loss or gradient stabilizes. If includes the intercept, thenA positive step size chosen by a convergence rule or line search gives a practical optimization algorithm. Mini-batch updates or a Newton-type method are alternatives. Fit feature scaling, choose regularization and choose any nonstandard threshold using training or validation data, then freeze the procedure before using the held-out test set.
For held-out examples, set , with unless selected otherwise. The requested classification accuracy isAlways predicting the majority class already gives about 90% accuracy. Report a confusion matrix, classification recall and classification precision as well, especially for the minority class. A precision-recall curve shows the threshold tradeoff without confusing high majority-class accuracy with successful minority-class detection. No numerical test accuracy can be calculated without the held-out predictions and labels.
Past exam of the computational neuroscience course of the University of Oxford 2022 5 Solution 2026-10-25
Error-correction learning adjusts a network using a discrepancy between a desired and an actual outcome. Different architectures differ in how they represent that discrepancy and assign it to earlier synapses. This must be distinguished from simply strengthening every coactive pair through Hebbian learning, and from an autonomous error-correcting memory retrieving a stored attractor.
For a single-layer linear output , let be the teaching target and . The delta rule is an exact gradient descent update,For one example, , so decreases its squared error unless it is already zero. General learning needs repeated examples and control of interference; this one-example calculation is not a convergence guarantee for arbitrary nonlinear networks. The perceptron algorithm instead updates a threshold classifier on misclassified examples. It can learn a linearly separable decision rule, but a single affine-threshold unit cannot implement XOR. For example, positive labels at and and negative labels at and impose contradictory inequalities on one linear score. More layers are needed to learn a suitable feature representation.
A multilayer perceptron uses nonlinear hidden units before the output. For squared error, write and . Define output and hidden teaching signals byThen backpropagation computes and , using the same pre-update weights. The chain rule makes these exact negative gradients. Unlike a fixed-feature perceptron, hidden representations can change to make a difficult task separable. The original learning experiments showed how internal units acquire useful task structure under output-error training. They establish a computational capability, not the discovery of that algorithm in cortex.[ref]
Learning representations by back-propagating errors by David E. Rumelhart and others. Abstract; pp. 533–536, hidden representations and gradient-based error correction
A recurrent neural network can use state to integrate a sequence and produce an output after a delay. Error correction must now assign responsibility to earlier states as well as earlier layers. Applying the chain rule through the unrolled recurrence solves the algorithmic problem, but storing the required history and transporting a late teaching signal to an earlier synapse is biologically demanding. Repeated multiplication by the recurrent Jacobian matrix can also create the vanishing gradient problem or the exploding gradient problem. A local eligibility trace can retain a record of recent synaptic participation for modulation by a later error signal, although that is not generally an exact replacement for the full recurrent gradient.
A biologically motivated comparison is the cerebellum. A broad input representation can be expanded by granule cells; parallel fibers carry the resulting activity to Purkinje cells, while a climbing fiber provides a separate instructive input. Such a circuit resembles a supervised adaptive filter: an active input is modified in a manner depending on a teaching signal, with Purkinje output affecting downstream motor control. The correspondence is a circuit hypothesis, not a claim that the climbing-fiber event equals the signed scalar in every task.
An instructive experiment recorded Purkinje cells in monkeys tracking a moving visual target. A change in target direction supplied a learning instruction, and subsequent eye velocity and simple-spike activity measured trial-over-trial adaptation. Longer complex spikes were associated with larger subsequent simple-spike depression and stronger behavioural learning. Comparing trials matched for preceding simple-spike activity helped rule out that activity alone as the explanation. This connects a separable teaching-related event to later plasticity during behaviour, but extracellular recordings do not directly reveal the numerical update at every parallel fiber synapse, and the finding does not demonstrate multilayer backpropagation.[ref]
Purkinje-cell plasticity and cerebellar motor learning are graded by complex-spike duration by Yan Yang and others. Figures 1–4 and Methods; author manuscript at PMC4132823: smooth pursuit, trial-over-trial plasticity and controls for prior simple-spike activity
For cortex, exact textbook backpropagation faces a weight transport problem: the hidden teaching signal uses the transpose of the actual forward matrix, while a real feedback pathway has its own independently adjustable synapses. It also needs a way to deliver a target or prediction error, keep learning signals distinct from ordinary activation, and convert them to local plasticity under spiking, delays and sign constraints. The mere presence of anatomical feedback does not establish this computation.
Feedback alignment weakens one requirement: replace by for a fixed random feedback matrix . Simulations showed that changing forward weights can make these approximate teaching directions useful, even without exact reciprocal weights. This is evidence that the weight transport problem need not forbid useful deep error correction; it is not evidence that arbitrary feedback always converges, that the updates remain exact gradient descent, or that this precise mechanism has been recorded in the brain. The work explicitly leaves the physiological implementation and the interaction between feedback activation and learning unresolved.[ref]
Random synaptic feedback weights support error backpropagation for deep learning by Timothy P. Lillicrap and others. Results, Figure 1 and Figure 2; Discussion: random feedback, learning performance and biological limitations
Local supervised error correction has a plausible circuit substrate and direct behavioural-physiological support. Multilayer and recurrent error correction are powerful explanatory possibilities, but their teaching signals, temporal credit assignment and feedback pathways must be established experimentally. Different architectures should be compared by held-out learning behaviour, representational changes and pathway-specific intervention, rather than by labelling all feedback as backpropagation.
Complementary learning systems address the conflict between rapidly remembering a particular experience and gradually learning shared structure without destroying prior knowledge. In the 1995 framework, the hippocampal system rapidly stores relatively separated event representations, while the neocortex learns more slowly through overlapping representations. Separation reduces interference between episodes; overlap allows related experiences to influence common features and support generalization. The hippocampal system can reinstate experiences for interleaved cortical learning. Thus the distinction is not simply a short-lived store versus a long-lived store, nor two copies differing only in learning rate. Representation, learning dynamics and communication between systems are complementary.[ref]
Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory by James L. McClelland and others. Psychological Review 102, pp. 419–457; pp. 432–435 and Figures 9–11, interference and interleaved learning; later sections on consolidation
The computational difficulty is catastrophic interference. When many memories share parameters, updates that improve a new task can impair previous tasks. Completely isolating every experience would reduce this problem, but would also prevent useful transfer through shared features. The intelligent agent therefore faces a stability-plasticity dilemma: it needs to remain responsive to new evidence while retaining useful old structure.
An original linear example exposes the issue without assuming contradictory facts. Let . An old example is with target , already fitted by . A new example is with target . One gradient descent step on its squared error, with learning rate , givesThe new prediction is now correct, but the old prediction falls from to . Both examples could have been fitted exactly by , so the loss is due to the training history, not an impossible specification. Interleaving old and new examples instead estimates the gradient of their joint loss function,whose unique minimum is . This small calculation illustrates interference and the benefit of retaining old constraints; it is not a reproduction of the published CLS simulations or measured forgetting.
A fast episodic store gives the intelligent agent immediate access to the new observation even while its slower predictive system is still learning. Subsequent retrieval supplies examples to be mixed with new experience. Over many updates, the slower system can extract regularities while accommodating exceptions. The mathematical target is a suitably weighted mixture of previous and current experience, not necessarily an exact photographic copy of every past event. Biased or incomplete replay can still distort learning, and finite storage does not eliminate the stability problem indefinitely.
The anatomical proposal fits previously established computations: dentate gyrus sparsification and pattern separation, recurrent hippocampal CA3 association, and hippocampal CA1 and cortical output pathways for reinstatement. These functions give a plausible route from a partial cue to a reactivated episode. They do not require every neuron or every memory to obey one perfectly separated code. A complementary architecture also need not imply that cortex never learns rapidly.
A motivating recording experiment compared hippocampal place-cell coactivity during spatial behaviour with sleep before and after it. Cell pairs coactive during behaviour were more likely to coactivate in subsequent sleep; inactive or spatially nonoverlapping pairs provided controls. This supports experience-related reactivation, rather than merely elevated firing during sleep. The 1994 result concerns ensemble coactivation: it should not be inflated into direct proof that a complete temporally ordered memory was transferred into cortex.[ref]
Reactivation of hippocampal ensemble memories during sleep by Matthew A. Wilson and others. Abstract; Science 265, pp. 676–679, place-cell coactivation before and after spatial experience
Intervention adds a different kind of evidence. Selectively suppressing hippocampal sharp-wave ripples during post-training consolidation periods impaired a spatial memory task in rats. This supports a functional role for ripple-associated processing, but does not reveal which information was replayed or establish that cortical weight changes followed the exact interleaving algorithm.[ref]
Selective suppression of hippocampal ripples impairs spatial memory by Gabrielle Girardeau and others. Abstract; Nature Neuroscience 12, pp. 1222–1223, post-training ripple suppression
An important qualification comes from flavour–place learning. After rats had acquired a structured set of associations, new information fitting that schema could be consolidated much more rapidly. This challenges an account in which cortical integration always requires the same long delay. It is compatible with the broader computational idea that information consistent with an established representation can be incorporated with less disruptive change.[ref]
Schemas and memory consolidation by Dorothy Tse and others. Abstract; Science 316, pp. 76–82, flavour–place paired associates and schema-dependent rapid consolidation
For artificial intelligent agents, an episodic memory and experience replay can similarly support rapid use of new observations and continued training of shared representations. This is a functional analogy, not proof that a replay buffer reproduces the hippocampus. It needs appropriate retrieval, protection against sampling bias and a representation that preserves relevant context. Exact episode details, semantic regularities and current goals may require different readouts.
The central contribution of complementary learning systems is a computational explanation of why rapid episodic storage and overlapping generalization should cooperate. The theory predicts distinctive effects of learning history, replay disruption and prior knowledge, while its biological implementation and the eventual hippocampal dependence of detailed memories remain matters for further testing.
Temporal-difference learning uses sampled reward-plus-continuation predictions to approach a Bellman expectation equation. Policy evaluation must be distinguished from finding an optimal policy. Consider a finite Markov decision process, a fixed policy , bounded rewards and discount . DefineSeparating the first reward from the remaining return givesHere is expected immediate reward and is the transition matrix under the fixed policy. In matrix form, . The inverse exists because the geometric series converges in the supremum norm.
Define the Bellman expectation operator . A stochastic matrix averages component differences, soThe Banach fixed-point theorem gives a unique fixed point and convergence of exact repeated backups. This establishes why the equation has a well-defined solution in the stated discounted setting; it does not require the intelligent agent to know its transition matrix.
The model-free alternative observes and formsOther tabular entries remain unchanged. Under the same policy and Markov assumptions, conditioning on the current value estimates givesThus the sample error has the correct mean direction for correcting the current Bellman mismatch. The defining idea is bootstrapping: a later prediction supplies part of the earlier prediction's target, so learning need not wait for a final outcome.[ref]
Learning to predict by the methods of temporal differences by Richard S. Sutton. Abstract and sections 2–3; successive predictions and temporal credit assignment
In tabular temporal-difference policy evaluation, convergence requires appropriate sampling and step sizes, not merely writing the update. Standard sufficient conditions include bounded rewards, infinitely many visits to each relevant state and, along visits to each state, with . Diminishing steps allow continuing correction while limiting accumulated sampling noise. Constant steps generally track a noisy estimate instead of converging exactly. The target's dependence on the present values also means that this is not ordinary gradient descent on an independent, fixed supervised label. These tabular guarantees should not be transferred automatically to nonlinear function approximation or off-policy training.
For an exact illustrative problem, alternate deterministically between states and , receive reward on leaving and on leaving , and take . ThenStarting from zero with step size , the first transition updates to ; the next updates to . At the exact solution, both transition errors are zero. These values are a model calculation, not neural measurements.
This solves evaluation of the specified policy. The optimal Bellman equation instead maximizes over possible actions. An intelligent agent can combine policy evaluation with policy iteration or an actor-critic improvement mechanism. Estimating the value of a poor fixed policy does not by itself make that policy optimal. Episodic tasks use terminal-state value zero; undiscounted continuing tasks require additional conditions or a different formulation.
A proposed neural implementation uses a representation of the situation to drive a value-predicting population, with a reward prediction error modulating recently active synapses. An eligibility trace can preserve a record of prior activity so delayed errors influence earlier states. Temporal representation is indispensable: if the population does not distinguish when a reward is expected, it cannot generate the appropriate omission signal at that time.
Primate recordings during acquisition of successive delayed-response tasks found that dopamine-neuron reward responses were more prominent during learning than after performance was established, while significant cues elicited phasic responses. This supports prediction-sensitive signalling but also allows attentional and motivational contributions.[ref]
Responses of monkey dopamine neurons to reward and conditioned stimuli during successive steps of learning a delayed response task by Wolfram Schultz and others. Abstract; Journal of Neuroscience 13, pp. 900–913, learning versus established task performance
The temporal-difference interpretation explains how a reward response can diminish as reward becomes predicted and a response can develop at an informative cue; a worse-than-expected omission gives a negative error. The physiological interpretation is a quantitative hypothesis, not an identification of every dopamine signal with a single critic variable.[ref]A neural substrate of prediction and reward by Wolfram Schultz and others. Science 275, pp. 1593–1599, temporal-difference interpretation of reward and cue responses
Causal evidence comes from reward-timed stimulation of dopamine neurons in rat blocking and extinction tasks. Artificial activation, intended to supply a positive prediction-error-like event, increased subsequent cue-driven reward seeking. This strengthens the teaching-signal interpretation beyond response correlation. It does not show that all components of the Bellman computation reside in dopamine neurons or that the entire algorithm is unique.[ref]
A causal link between prediction errors, dopamine neurons and learning by Elizabeth E. Steinberg and others. Abstract and Figures 1–4, reward-timed dopamine stimulation in blocking and extinction
The mathematical bridge is precise: the mean TD error is the sampled Bellman mismatch, and appropriate repeated updates solve tabular policy evaluation. Neural evidence supports prediction-sensitive plasticity signals, while state representation, timing, function approximation and action improvement remain distinct parts of the implementation.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 84 2 a Solution Created 2026-10-03 Updated 2026-10-14
Apply the chain rule to the squared loss, using the same pre-update weights throughout a forward and backward pass. At the output, and . ThereforeFor a gradient descent step of size , define . This gives .
A hidden activation affects all output units to which it connects. ThusandThe learning rate is already contained in and hence in ; do not multiply by it a second time. For a sigmoid function, . Thresholds can be treated as negative biases with an extra constant input and updated by the same derivative rule.
This is squared-error backpropagation. The forward pass computes activations, while the backward pass transports output-loss derivatives through the outgoing weights and the derivatives of the activation functions, yielding an error signal for every hidden unit. That reverse flow of derivatives explains the name backpropagation.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 50 1 d Solution Created 2026-10-03 Updated 2026-10-14
A quantum optimal control problem specifies a terminal task, admissible fields and resource costs. Pure-state transfer can minimize ; mixed-state transfer on an accessible spectral orbit can minimize ; preparing an observable value can minimize . A gate task can minimize for an -dimensional Hilbert space, which is insensitive to an overall phase. These different terminal functions encode different tasks even when the dynamics are the same. Fluence penalties, amplitude bounds, bandwidth limits, or the total duration can be added to express experimental requirements.
For example, minimizesubject to and a specified . For a closed system, ; for an open system add the known Lindblad equation dissipator. Introducing a Hermitian costate and taking the Hilbert-Schmidt inner product gives the forward and backward equations and functional gradientFor Hamiltonian controls the second term is . The adjoint is defined by the Hilbert-Schmidt inner product; in particular, the closed-system costate equation is , integrated backward from its terminal condition. An unconstrained interior optimum has zero gradient; amplitude constraints replace this by the corresponding constrained first-order conditions.
Numerically, represent the fields by piecewise constant amplitudes on slices, or by a finite basis such as splines or Fourier modes. For piecewise constant closed-system dynamics, and . Forward products and backward costates provide all slice derivatives in one pair of propagations. In gradient ascent pulse engineering, update these amplitudes to improve the chosen objective, with projection onto amplitude bounds if needed. The exact slice derivative is the derivative of the matrix exponentialReplacing it by is only a short-slice approximation when and do not commute. Other gradient descent or nonlinear optimization methods can optimize the same finite parameter set; direct-adjoint looping avoids a separate dynamical simulation for each control coefficient.
A pulse is accepted after propagation with the actual constrained waveform confirms its terminal error and resource use. Sampling model uncertainties in the objective can favor robust pulses. Nonconvexity means a numerical stationary point need not be a global optimum, so initial guesses, convergence tolerances and a sufficiently resolved time grid matter.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 1 iv Solution Created 2026-10-03 Updated 2026-10-14
For the Euclidean norm, rotational symmetry and minimizing the radial objective give the radial soft thresholding formulaIndeed, if , an optimal is a nonnegative scalar multiple of ; minimizing over gives . The gradient of a Moreau envelope is consequentlyAt this is , and the two expressions agree when . The Moreau envelope of the Euclidean norm itself isThus a quadratic core replaces the nondifferentiable tip while the outer gradient remains the normalized radial direction. The Euclidean norm has an unbounded effective domain, unlike the earlier bounded-domain hypothesis; the preceding argument explicitly shows that this restriction is unnecessary here.
The absolute value and its Moreau envelope with tau equal to one, together with the continuous clipped gradient replacing the jump at the origin
. Details. For convex optimization, this Moreau–Yosida regularisation permits gradient descent and other methods for functions with a Lipschitz gradient, using a gradient Lipschitz constant . It approximates the norm uniformly: . Smaller improves approximation but makes the permitted gradient steps smaller. Minimizing alone preserves the minimizers and minimum value of ; replacing one term in a larger objective can shift the minimizer, so the smoothing parameter controls that approximation error.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 335 3 ii Solution Created 2026-10-03 Updated 2026-10-05
To first order in , replace by and use the known incident field in the outgoing integral. The Born approximation for scalar wave scattering givesBoth the contrast term and the internal-field correction are second order for fixed geometry in the perturbative regime established in part i.
Specify the data space before taking an adjoint operator. For example, let and , where is a bounded measurement surface separated from . Define the linear operatorFor bounded incident field this is a Hilbert-Schmidt operator, hence a compact operator. The equation is , with . Other sampling geometries give corresponding data spaces and weights; the paper does not specify one. Using the usual complex inner products, its adjoint operator isThe complex conjugations are required by the adjoint operator identity, not by wave reciprocity alone.
The Landweber iteration starts from and applies gradient descent to :Each step back-propagates the data residual. The Landweber relaxation parameter controls stability, and early stopping of Landweber iteration prevents small singular values from amplifying measurement errors. For an explicitly real-valued index contrast, use the real Hilbert space structure and replace by in this update. Additional sign or support constraints require corresponding projections; none are assumed here.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 335 3 iii Solution 2026-10-05
Minimize the data-misfit functional . For a perturbation , , so its gradient is . Gradient descent gives Landweber iteration:On a singular component, the iteration error is multiplied by , whose modulus is less than one. Starting from zero preserves orthogonality to and makes the exact-data iterates converge to .
For the unit-step formulas and noise bound used below, rescale so that and . Finite iteration count bounds amplification of small singular-value components; the stopping count provides the regularization parameter.




