ArticleslgStudy

mathematics

Hamilton–Jacobi–Bellman equation

Hamilton–Jacobi–Bellman equation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hamilton–Jacobi–Bellman equation rather than just read about it. In short: The Hamilton-Jacobi-Bellman (HJB) equation is a nonlinear partial differential equation that provides necessary and sufficient conditions for optimality of a control with respect to a loss function. Its solution is the value function of the optimal control problem which, once known, can be used to obtain the optimal control by taking the maximizer (or minimizer) of the Hamiltonian involved in the HJB equation.

Key takeaways

  • Hamilton–Jacobi–Bellman equation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hamilton–Jacobi–Bellman equation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hamilton–Jacobi–Bellman equation from memory before moving on to harder problems.

Reference excerpt

The Hamilton-Jacobi-Bellman (HJB) equation is a nonlinear partial differential equation that provides necessary and sufficient conditions for optimality of a control with respect to a loss function. Its solution is the value function of the optimal control problem which, once known, can be used to obtain the optimal control by taking the maximizer (or minimizer) of the Hamiltonian involved in the HJB equation. The equation is a result of the theory of dynamic programming which was pioneered in the 1950s by Richard Bellman and coworkers. The connection to the Hamilton–Jacobi equation from classical physics was first drawn by Rudolf Kálmán. In discrete-time problems, the analogous difference equation is usually referred to as the Bellman equation. While classical variational problems, such as the brachistochrone problem, can be solved using the Hamilton–Jacobi–Bellman equation, the method can be applied to a broader spectrum of problems. Further it can be generalized to stochastic systems, in which case the HJB equation is a second-order elliptic partial differential equation. A major drawback, however, is that the HJB equation admits classical solutions only for a sufficiently smooth value function, which is not guaranteed in most situations. Instead, the notion of a viscosity solution is required, in which conventional derivatives are replaced by (set-valued) subderivatives.

Optimal Control Problems Consider the following problem in deterministic optimal control over the time period [ 0 , T ] {\displaystyle [0,T]} :

V ( x ( 0 ) , 0 ) = min u { ∫ 0 T C [ x ( t ) , u ( t ) ] d t + D [ x ( T ) ] } {\displaystyle V(x(0),0)=\min _{u}\left\{\int _{0}^{T}C[x(t),u(t)]\,dt+D[x(T)]\right\}}

where C [ ⋅ ] {\displaystyle C[\cdot ]} is the scalar cost rate function and D [ ⋅ ] {\displaystyle D[\cdot ]} is a function that gives the bequest value at the final state, x ( t ) {\displaystyle x(t)} is the system state vector, x ( 0 ) {\displaystyle x(0)} is assumed given, and u ( t ) {\displaystyle u(t)} for 0 ≤ t ≤ T {\displaystyle 0\leq t\leq T} is the control vector that we are trying to find. Thus, V ( x , t ) {\displaystyle V(x,t)} is the value function. The system must also be subject to

x ˙ ( t ) = F [ x ( t ) , u ( t ) ] {\displaystyle {\dot {x}}(t)=F[x(t),u(t)]\,}

where F [ ⋅ ] {\displaystyle F[\cdot ]} gives the vector determining physical evolution of the state vector over time.

The Partial Differential Equation For this simple system, the Hamilton–Jacobi–Bellman partial differential equation is

∂ V ( x , t ) ∂ t + min u { ∂ V ( x , t ) ∂ x ⋅ F ( x , u ) + C ( x , u ) } = 0 {\displaystyle {\frac {\partial V(x,t)}{\partial t}}+\min _{u}\left\{{\frac {\partial V(x,t)}{\partial x}}\cdot F(x,u)+C(x,u)\right\}=0}

subject to the terminal condition

V ( x , T ) = D ( x ) , {\displaystyle V(x,T)=D(x),\,}

As before, the unknown scalar function V ( x , t ) {\displaystyle V(x,t)} in the above partial differential equation is the Bellman value function, which represents the cost incurred from starting in state x {\displaystyle x} at time t {\displaystyle t} and controlling the system optimally from then until time T {\displaystyle T} .

Deriving the Equation Intuitively, the HJB equation can be derived as follows. If V ( x ( t ) , t ) {\displaystyle V(x(t),t)} is the optimal cost-to-go function (also called the 'value function'), then by Richard Bellman's principle of optimality, going from time t to t + dt, we have

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Hamilton–Jacobi–Bellman equation

Start with the simplest possible case. Write down what Hamilton–Jacobi–Bellman equation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hamilton–Jacobi–Bellman equation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hamilton–Jacobi–Bellman equation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hamilton–Jacobi–Bellman equation

In research
Hamilton–Jacobi–Bellman equation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hamilton–Jacobi–Bellman equation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hamilton–Jacobi–Bellman equation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Dynamic programming, Nonlinear partial differential equations, Optimal control, so understanding it makes those chapters shorter.
In everyday life
Look for Hamilton–Jacobi–Bellman equation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hamilton–Jacobi–Bellman equation” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Hamilton–Jacobi–Bellman equation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hamilton–Jacobi–Bellman equation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hamilton–Jacobi–Bellman equation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hamilton–Jacobi–Bellman equation in simple terms?

The Hamilton-Jacobi-Bellman (HJB) equation is a nonlinear partial differential equation that provides necessary and sufficient conditions for optimality of a control with respect to a loss function. Its solution is the value function of the optimal control problem which, once known, can be used to…

Why does Hamilton–Jacobi–Bellman equation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hamilton–Jacobi–Bellman equation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hamilton–Jacobi–Bellman equation.

Tags

  • Dynamic programming
  • Nonlinear partial differential equations
  • Optimal control
  • Stochastic control
  • William Rowan Hamilton

Keep exploring