encyclopegia.org

Differential dynamic programming

Differential dynamic programming (DDP) is an optimal control algorithm of the trajectory optimization class. The algorithm was introduced in 1966 by Mayne and subsequently analysed in Jacobson and Mayne's eponymous book. The algorithm uses locally-quadratic models of the dynamics and cost functions, and displays quadratic convergence. It is closely related to Pantoja's step-wise Newton's method.

Differential dynamic programming (DDP) is an optimal control algorithm of the trajectory optimization class. The algorithm was introduced in 1966 by Mayne and subsequently analysed in Jacobson and Mayne's eponymous book. The algorithm uses locally-quadratic models of the dynamics and cost functions, and displays quadratic convergence. It is closely related to Pantoja's step-wise Newton's method. J_0(\mathbf{x},\mathbf{U})=\sum_{i=0}^{N-1}\ell(\mathbf{x}_i,\mathbf{u}_i) + \ell_f(\mathbf{x}_N), where \mathbf{x}_0\equiv\mathbf{x} , and the \mathbf{x}_i for i>0 are given by . The solution of the optimal control problem is the minimizing control sequence \mathbf{U}^*(\mathbf{x})\equiv \operatorname{argmin}_{\mathbf{U}} J_0(\mathbf{x},\mathbf{U}). Trajectory optimization means finding \mathbf{U}^*(\mathbf{x}) for a particular \mathbf{x}_0 , rather than for all possible initial states. J_i(\mathbf{x},\mathbf{U}_i)=\sum_{j=i}^{N-1}\ell(\mathbf{x}_j,\mathbf{u}_j) + \ell_f(\mathbf{x}_N). The optimal cost-to-go or value function at time i is the cost-to-go given the minimizing control sequence: V(\mathbf{x},i)\equiv \min_{\mathbf{U}_i}J_i(\mathbf{x},\mathbf{U}_i). Setting V(\mathbf{x},N)\equiv \ell_f(\mathbf{x}_N) , the dynamic programming principle reduces the minimization over an entire sequence of controls to a sequence of minimizations over a single control, proceeding backwards in time: {{NumBlk|:| V(\mathbf{x},i)= \min_{\mathbf{u}}[\ell(\mathbf{x},\mathbf{u}) + V(\mathbf{f}(\mathbf{x},\mathbf{u}),i+1)]. | }} This is the Bellman equation. Q_\mathbf{x} &= \ell_\mathbf{x}+ \mathbf{f}_\mathbf{x}^\mathsf{T} V'_\mathbf{x} \\ Q_\mathbf{u} &= \ell_\mathbf{u}+ \mathbf{f}_\mathbf{u}^\mathsf{T} V'_\mathbf{x} \\ Q_{\mathbf{x}\mathbf{x}} &= \ell_{\mathbf{x}\mathbf{x}} + \mathbf{f}_\mathbf{x}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{x}+V_\mathbf{x}'\cdot\mathbf{f}_{\mathbf{x}\mathbf{x}}\\ Q_{\mathbf{u}\mathbf{u}} &= \ell_{\mathbf{u}\mathbf{u}} + \mathbf{f}_\mathbf{u}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{u}+{V'_\mathbf{x}} \cdot\mathbf{f}_{\mathbf{u} \mathbf{u}}\\ Q_{\mathbf{u}\mathbf{x}} &= \ell_{\mathbf{u}\mathbf{x}} + \mathbf{f}_\mathbf{u}^\mathsf{T} V'_{\mathbf{x}\mathbf{x}}\mathbf{f}_\mathbf{x} + {V'_\mathbf{x}} \cdot \mathbf{f}_{\mathbf{u} \mathbf{x}}. \end{alignat} The last terms in the last three equations denote contraction of a vector with a tensor. Minimizing the quadratic approximation with respect to \delta\mathbf{u} we have {{NumBlk|:| {\delta \mathbf{u}}^* = \operatorname{argmin}\limits_{\delta \mathbf{u}}Q(\delta \mathbf{x},\delta \mathbf{u})=-Q_{\mathbf{u}\mathbf{u}}^{-1}(Q_\mathbf{u}+Q_{\mathbf{u}\mathbf{x}}\delta \mathbf{x}), | }} giving an open-loop term \mathbf{k}=-Q_{\mathbf{u}\mathbf{u}}^{-1}Q_\mathbf{u} and a feedback gain term \mathbf{K}=-Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}\mathbf{x}} . Plugging the result back into , we now have a quadratic model of the value at time i : \begin{alignat}{2} \Delta V(i) &= &{} -\tfrac{1}{2}Q^T_\mathbf{u} Q_{\mathbf{u}\mathbf{u}}^{-1}Q_\mathbf{u}\\ V_\mathbf{x}(i) &= Q_\mathbf{x} & {}- Q_\mathbf{xu} Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}}\\ V_{\mathbf{x}\mathbf{x}}(i) &= Q_{\mathbf{x}\mathbf{x}} &{} - Q_{\mathbf{x}\mathbf{u}}Q_{\mathbf{u}\mathbf{u}}^{-1}Q_{\mathbf{u}\mathbf{x}}. \end{alignat} Recursively computing the local quadratic models of V(i) and the control modifications \{\mathbf{k}(i),\mathbf{K}(i)\} , from i=N-1 down to i=1 , constitutes the backward pass. As above, the Value is initialized with V(\mathbf{x},N)\equiv \ell_f(\mathbf{x}_N) . Once the backward pass is completed, a forward pass computes a new trajectory: \begin{align} \hat{\mathbf{x}}(1)&=\mathbf{x}(1)\\ \hat{\mathbf{u}}(i)&=\mathbf{u}(i) + \mathbf{k}(i) +\mathbf{K}(i)(\hat{\mathbf{x}}(i) - \mathbf{x}(i))\\ \hat{\mathbf{x}}(i+1)&=\mathbf{f}(\hat{\mathbf{x}}(i),\hat{\mathbf{u}}(i)) \end{align} The backward passes and forward passes are iterated until convergence. If the Hessians Q_{\mathbf{x}\mathbf{x}}, Q_{\mathbf{u}\mathbf{u}}, Q_{\mathbf{u}\mathbf{x}}, Q_{\mathbf{x}\mathbf{u}} are replaced by their Gauss-Newton approximation, the method reduces to the iterative Linear Quadratic Regulator (iLQR).

References

  1. A second-order gradient method of optimizing non-linear discrete time systems · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "A second-order gradient method of optimizing non-linear discrete time systems." Mayne, D. 2026-11-18. https://en.wikipedia.org/wiki/David_Mayne. Accessed 24 November 2026.

    Chicago "A second-order gradient method of optimizing non-linear discrete time systems." Mayne, D. 2026-11-18. https://en.wikipedia.org/wiki/David_Mayne.

    APA Mayne, D. (2026). A second-order gradient method of optimizing non-linear discrete time systems. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/David_Mayne

  2. Rajamäki, Joose; Hämäläinen, Perttu (June 2018). Regularizing Sampled Differential Dynamic Programming - IEEE Conference Publication . 2018 Annual American Control Conference (ACC). pp. 2182– 2189. doi : 10.23919/ACC.2018.8430799 . S2CID 243932441 . Retrieved 2018-10-19 . Wikipedia revision 1307759774, retrieved 2026-11-19 · retrieved 2018-10-18 · rev 1307759774
    Cite this reference

    MLA "Rajamäki, Joose; Hämäläinen, Perttu (June 2018). Regularizing Sampled Differential Dynamic Programming - IEEE Conference Publication . 2018 Annual American Control Conference (ACC). pp. 2182– 2189. doi : 10.23919/ACC.2018.8430799 . S2CID 243932441 . Retrieved 2018-10-19 . Wikipedia revision 1307759774, retrieved 2026-11-19." Rajamäki, Joose; Hämäläinen, Perttu (June 2018). 2018-10-18. https://ieeexplore.ieee.org/document/8430799. Accessed 24 November 2026.

    Chicago "Rajamäki, Joose; Hämäläinen, Perttu (June 2018). Regularizing Sampled Differential Dynamic Programming - IEEE Conference Publication . 2018 Annual American Control Conference (ACC). pp. 2182– 2189. doi : 10.23919/ACC.2018.8430799 . S2CID 243932441 . Retrieved 2018-10-19 . Wikipedia revision 1307759774, retrieved 2026-11-19." Rajamäki, Joose; Hämäläinen, Perttu (June 2018). 2018-10-18. https://ieeexplore.ieee.org/document/8430799.

    APA Rajamäki, Joose; Hämäläinen, Perttu (June 2018). (2018). Rajamäki, Joose; Hämäläinen, Perttu (June 2018). Regularizing Sampled Differential Dynamic Programming - IEEE Conference Publication . 2018 Annual American Control Conference (ACC). pp. 2182– 2189. doi : 10.23919/ACC.2018.8430799 . S2CID 243932441 . Retrieved 2018-10-19 . Wikipedia revision 1307759774, retrieved 2026-11-19. Retrieved November 24, 2026, from https://ieeexplore.ieee.org/document/8430799

  3. Rajamäki, Joose (2018). Random Search Algorithms for Optimal Control . Aalto University. ISBN 978-952-60-8156-4 . ISSN 1799-4942 . Wikipedia revision 1307759774, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Rajamäki, Joose (2018). Random Search Algorithms for Optimal Control . Aalto University. ISBN 978-952-60-8156-4 . ISSN 1799-4942 . Wikipedia revision 1307759774, retrieved 2026-11-19." Rajamäki, Joose (2018). 2026-11-18. http://urn.fi/URN:ISBN:978-952-60-8156-4. Accessed 24 November 2026.

    Chicago "Rajamäki, Joose (2018). Random Search Algorithms for Optimal Control . Aalto University. ISBN 978-952-60-8156-4 . ISSN 1799-4942 . Wikipedia revision 1307759774, retrieved 2026-11-19." Rajamäki, Joose (2018). 2026-11-18. http://urn.fi/URN:ISBN:978-952-60-8156-4.

    APA Rajamäki, Joose (2018). (2026). Rajamäki, Joose (2018). Random Search Algorithms for Optimal Control . Aalto University. ISBN 978-952-60-8156-4 . ISSN 1799-4942 . Wikipedia revision 1307759774, retrieved 2026-11-19. Retrieved November 24, 2026, from http://urn.fi/URN:ISBN:978-952-60-8156-4

  4. Path Integral Policy Improvement with Differential Dynamic Programming · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Path Integral Policy Improvement with Differential Dynamic Programming." Lefebvre, Tom; Crevecoeur, Guillaume (July 2019). 2026-11-18. https://ieeexplore.ieee.org/document/8868359. Accessed 24 November 2026.

    Chicago "Path Integral Policy Improvement with Differential Dynamic Programming." Lefebvre, Tom; Crevecoeur, Guillaume (July 2019). 2026-11-18. https://ieeexplore.ieee.org/document/8868359.

    APA Lefebvre, Tom; Crevecoeur, Guillaume (July 2019). (2026). Path Integral Policy Improvement with Differential Dynamic Programming. Retrieved November 24, 2026, from https://ieeexplore.ieee.org/document/8868359

  5. Reinforcement learning of motor skills in high dimensions: A path integral approach · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Reinforcement learning of motor skills in high dimensions: A path integral approach." Theodorou, Evangelos; Buchli, Jonas; Schaal, Stefan (May 2010). 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.

    Chicago "Reinforcement learning of motor skills in high dimensions: A path integral approach." Theodorou, Evangelos; Buchli, Jonas; Schaal, Stefan (May 2010). 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier).

    APA Theodorou, Evangelos; Buchli, Jonas; Schaal, Stefan (May 2010). (2026). Reinforcement learning of motor skills in high dimensions: A path integral approach. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)

  6. Interior Point Differential Dynamic Programming · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Interior Point Differential Dynamic Programming." Pavlov, Andrei; Shames, Iman; Manzie, Chris (2020). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier). Accessed 24 November 2026.

    Chicago "Interior Point Differential Dynamic Programming." Pavlov, Andrei; Shames, Iman; Manzie, Chris (2020). 2026-11-18. https://en.wikipedia.org/wiki/ArXiv_(identifier).

    APA Pavlov, Andrei; Shames, Iman; Manzie, Chris (2020). (2026). Interior Point Differential Dynamic Programming. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ArXiv_(identifier)

  7. Mayne, David Q.; Jacobson, David H. (1970). Differential dynamic programming . New York: American Elsevier Pub. Co. ISBN 978-0-444-00070-5 . Wikipedia revision 1307759774, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Mayne, David Q.; Jacobson, David H. (1970). Differential dynamic programming . New York: American Elsevier Pub. Co. ISBN 978-0-444-00070-5 . Wikipedia revision 1307759774, retrieved 2026-11-19." Mayne, David Q. 2026-11-18. https://books.google.com/books?id=tA-oAAAAIAAJ. Accessed 24 November 2026.

    Chicago "Mayne, David Q.; Jacobson, David H. (1970). Differential dynamic programming . New York: American Elsevier Pub. Co. ISBN 978-0-444-00070-5 . Wikipedia revision 1307759774, retrieved 2026-11-19." Mayne, David Q. 2026-11-18. https://books.google.com/books?id=tA-oAAAAIAAJ.

    APA Mayne, David Q. (2026). Mayne, David Q.; Jacobson, David H. (1970). Differential dynamic programming . New York: American Elsevier Pub. Co. ISBN 978-0-444-00070-5 . Wikipedia revision 1307759774, retrieved 2026-11-19. Retrieved November 24, 2026, from https://books.google.com/books?id=tA-oAAAAIAAJ

  8. Differential dynamic programming and Newton's method · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Differential dynamic programming and Newton's method." de O. 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.

    Chicago "Differential dynamic programming and Newton's method." de O. 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier).

    APA de O. (2026). Differential dynamic programming and Newton's method. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)

  9. Advantages of differential dynamic programming over Newton's method for discrete-time optimal control problems · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Advantages of differential dynamic programming over Newton's method for discrete-time optimal control problems." Liao, L. 2026-11-18. https://en.wikipedia.org/wiki/Christine_Shoemaker. Accessed 24 November 2026.

    Chicago "Advantages of differential dynamic programming over Newton's method for discrete-time optimal control problems." Liao, L. 2026-11-18. https://en.wikipedia.org/wiki/Christine_Shoemaker.

    APA Liao, L. (2026). Advantages of differential dynamic programming over Newton's method for discrete-time optimal control problems. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Christine_Shoemaker

  10. Minimax differential dynamic programming: Application to a biped walking robot · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Minimax differential dynamic programming: Application to a biped walking robot." Morimoto, J. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1307759774. Accessed 24 November 2026.

    Chicago "Minimax differential dynamic programming: Application to a biped walking robot." Morimoto, J. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1307759774.

    APA Morimoto, J. (2026). Minimax differential dynamic programming: Application to a biped walking robot. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1307759774

  11. Baumgärtner, K. (2023). A Unified Local Convergence Analysis of Differential Dynamic Programming, Direct Single Shooting, and Direct Multiple Shooting . 2023 European Control Conference (ECC). pp. 1– 7. doi : 10.23919/ECC57647.2023.10178367 . Wikipedia revision 1307759774, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Baumgärtner, K. (2023). A Unified Local Convergence Analysis of Differential Dynamic Programming, Direct Single Shooting, and Direct Multiple Shooting . 2023 European Control Conference (ECC). pp. 1– 7. doi : 10.23919/ECC57647.2023.10178367 . Wikipedia revision 1307759774, retrieved 2026-11-19." Baumgärtner, K. 2026-11-18. https://ieeexplore.ieee.org/document/10178367. Accessed 24 November 2026.

    Chicago "Baumgärtner, K. (2023). A Unified Local Convergence Analysis of Differential Dynamic Programming, Direct Single Shooting, and Direct Multiple Shooting . 2023 European Control Conference (ECC). pp. 1– 7. doi : 10.23919/ECC57647.2023.10178367 . Wikipedia revision 1307759774, retrieved 2026-11-19." Baumgärtner, K. 2026-11-18. https://ieeexplore.ieee.org/document/10178367.

    APA Baumgärtner, K. (2026). Baumgärtner, K. (2023). A Unified Local Convergence Analysis of Differential Dynamic Programming, Direct Single Shooting, and Direct Multiple Shooting . 2023 European Control Conference (ECC). pp. 1– 7. doi : 10.23919/ECC57647.2023.10178367 . Wikipedia revision 1307759774, retrieved 2026-11-19. Retrieved November 24, 2026, from https://ieeexplore.ieee.org/document/10178367

  12. Convergence in unconstrained discrete-time differential dynamic programming · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Convergence in unconstrained discrete-time differential dynamic programming." Liao, L. 2026-11-18. https://en.wikipedia.org/wiki/Christine_Shoemaker. Accessed 24 November 2026.

    Chicago "Convergence in unconstrained discrete-time differential dynamic programming." Liao, L. 2026-11-18. https://en.wikipedia.org/wiki/Christine_Shoemaker.

    APA Liao, L. (2026). Convergence in unconstrained discrete-time differential dynamic programming. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Christine_Shoemaker

  13. Tassa, Y. (2011). Theory and implementation of bio-mimetic motor controllers (PDF) (Thesis). Hebrew University. Archived from the original (PDF) on 2016-03-04 . Retrieved 2012-02-27 . Wikipedia revision 1307759774, retrieved 2026-11-19 · retrieved 2012-02-26 · rev 1307759774
    Cite this reference

    MLA "Tassa, Y. (2011). Theory and implementation of bio-mimetic motor controllers (PDF) (Thesis). Hebrew University. Archived from the original (PDF) on 2016-03-04 . Retrieved 2012-02-27 . Wikipedia revision 1307759774, retrieved 2026-11-19." Tassa, Y. 2012-02-26. https://web.archive.org/web/20160304023026/http://icnc.huji.ac.il/phd/theses/files/YuvalTassa.pdf. Accessed 24 November 2026.

    Chicago "Tassa, Y. (2011). Theory and implementation of bio-mimetic motor controllers (PDF) (Thesis). Hebrew University. Archived from the original (PDF) on 2016-03-04 . Retrieved 2012-02-27 . Wikipedia revision 1307759774, retrieved 2026-11-19." Tassa, Y. 2012-02-26. https://web.archive.org/web/20160304023026/http://icnc.huji.ac.il/phd/theses/files/YuvalTassa.pdf.

    APA Tassa, Y. (2012). Tassa, Y. (2011). Theory and implementation of bio-mimetic motor controllers (PDF) (Thesis). Hebrew University. Archived from the original (PDF) on 2016-03-04 . Retrieved 2012-02-27 . Wikipedia revision 1307759774, retrieved 2026-11-19. Retrieved November 24, 2026, from https://web.archive.org/web/20160304023026/http://icnc.huji.ac.il/phd/theses/files/YuvalTassa.pdf

  14. Sampled differential dynamic programming · retrieved 2026-11-18 · rev 1307759774
    Cite this reference

    MLA "Sampled differential dynamic programming." 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier). Accessed 24 November 2026.

    Chicago "Sampled differential dynamic programming." 2026-11-18. https://en.wikipedia.org/wiki/Doi_(identifier).

    APA encyclopegia.org. (2026). Sampled differential dynamic programming. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doi_(identifier)

Cite this article

MLA

"Differential dynamic programming." encyclopegia.org, 2025, https://encyclopegia.org/wiki/differential-dynamic-programming. Accessed 24 November 2026.

Chicago

"Differential dynamic programming." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/differential-dynamic-programming.

APA

encyclopegia.org. (2025). Differential dynamic programming. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/differential-dynamic-programming

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1307759774 · 0.5 · snapshot enwiki-001307759774

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.