<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://invarians.org/index.php?action=history&amp;feed=atom&amp;title=Hamilton%27s_principle%2FMathematics%2FThe_Hamiltonian_and_Hamilton%27s_equations</id>
	<title>Hamilton&#039;s principle/Mathematics/The Hamiltonian and Hamilton&#039;s equations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://invarians.org/index.php?action=history&amp;feed=atom&amp;title=Hamilton%27s_principle%2FMathematics%2FThe_Hamiltonian_and_Hamilton%27s_equations"/>
	<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;action=history"/>
	<updated>2026-10-21T07:34:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=887&amp;oldid=prev</id>
		<title>BFP Rauch: Remove phrase duplicated by the piped link</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=887&amp;oldid=prev"/>
		<updated>2026-09-16T05:15:45Z</updated>

		<summary type="html">&lt;p&gt;Remove phrase duplicated by the piped link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:15, 16 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l22&quot;&gt;Line 22:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 22:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\partial^2 L / \partial \dot q_i \partial \dot q_k&amp;lt;/math&amp;gt; is invertible, so&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\partial^2 L / \partial \dot q_i \partial \dot q_k&amp;lt;/math&amp;gt; is invertible, so&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(1) inverts to give &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; in terms of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(1) inverts to give &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; in terms of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;. The &#039;&#039;&#039;Hamiltonian&#039;&#039;&#039; is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the Legendre transform of&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;. The &#039;&#039;&#039;Hamiltonian&#039;&#039;&#039; is [[Hamilton&#039;s principle/Mathematics/The Legendre transform|the Legendre transform]]:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Legendre transform|the Legendre transform]]:&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;H(t, q, p) = \sum_{i=1}^n p_i \dot q_i - L&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;H(t, q, p) = \sum_{i=1}^n p_i \dot q_i - L&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l127&quot;&gt;Line 127:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the sum cancelling pairwise by (7). So &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is conserved exactly when&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the sum cancelling pairwise by (7). So &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is conserved exactly when&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;it carries no explicit time. This is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the Beltrami identity of&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;it carries no explicit time. This is [[Hamilton&#039;s principle/Mathematics/The Beltrami identity|the Beltrami identity]] in canonical form, and&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Beltrami identity|the Beltrami identity]] in canonical form, and&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the cancellation in (8) is the sign structure earning its keep.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the cancellation in (8) is the sign structure earning its keep.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pma_cutover_20261020t051351z-soft_:diff:1.41:old-825:rev-887:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>BFP Rauch</name></author>
	</entry>
	<entry>
		<id>https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=825&amp;oldid=prev</id>
		<title>BFP Rauch: Pipe internal links so cross-references read as titles, not paths</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=825&amp;oldid=prev"/>
		<updated>2026-09-16T04:57:55Z</updated>

		<summary type="html">&lt;p&gt;Pipe internal links so cross-references read as titles, not paths&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:57, 16 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(1) inverts to give &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; in terms of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;(1) inverts to give &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; in terms of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;. The &amp;#039;&amp;#039;&amp;#039;Hamiltonian&amp;#039;&amp;#039;&amp;#039; is the Legendre transform of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;. The &amp;#039;&amp;#039;&amp;#039;Hamiltonian&amp;#039;&amp;#039;&amp;#039; is the Legendre transform of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Legendre transform]]:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Legendre transform|the &lt;/ins&gt;Legendre transform]]:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;H(t, q, p) = \sum_{i=1}^n p_i \dot q_i - L&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;math&amp;gt;H(t, q, p) = \sum_{i=1}^n p_i \dot q_i - L&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;math&amp;gt;d\dot q_i&amp;lt;/math&amp;gt; terms cancel by (1). This is the cancellation of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;math&amp;gt;d\dot q_i&amp;lt;/math&amp;gt; terms cancel by (1). This is the cancellation of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Legendre transform]] and it is the whole&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Legendre transform|the &lt;/ins&gt;Legendre transform]] and it is the whole&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;derivation:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;derivation:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l73&quot;&gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nothing dynamical has been used yet; (6) is pure Legendre transform. Now impose&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Nothing dynamical has been used yet; (6) is pure Legendre transform. Now impose&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the Euler-Lagrange equation of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the Euler-Lagrange equation of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Euler-Lagrange equation]],&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Euler-Lagrange equation|the &lt;/ins&gt;Euler-Lagrange equation]],&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\partial L/\partial q_i = \dot p_i&amp;lt;/math&amp;gt;. Substituting into the middle&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;math&amp;gt;\partial L/\partial q_i = \dot p_i&amp;lt;/math&amp;gt;. Substituting into the middle&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;relation of (6) gives &amp;#039;&amp;#039;&amp;#039;Hamilton&amp;#039;s canonical equations&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;relation of (6) gives &amp;#039;&amp;#039;&amp;#039;Hamilton&amp;#039;s canonical equations&amp;#039;&amp;#039;&amp;#039;:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The asymmetry of the minus sign is inherited from the passive-variable rule (8)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The asymmetry of the minus sign is inherited from the passive-variable rule (8)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;of [[Hamilton&#039;s principle/Mathematics/The Legendre transform]]. It is a fact&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;of [[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Legendre transform|the &lt;/ins&gt;Legendre transform]]. It is a fact&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;about the transform, not about physics.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;about the transform, not about physics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l113&quot;&gt;Line 113:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 113:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;later development — canonical transformations, Liouville&amp;#039;s theorem, and the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;later development — canonical transformations, Liouville&amp;#039;s theorem, and the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Hamilton-Jacobi method of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Hamilton-Jacobi method of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Hamilton-Jacobi equation]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hamilton-Jacobi equation|the &lt;/ins&gt;Hamilton-Jacobi equation]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Conservation ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Conservation ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l128&quot;&gt;Line 128:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 128:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the sum cancelling pairwise by (7). So &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is conserved exactly when&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the sum cancelling pairwise by (7). So &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is conserved exactly when&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;it carries no explicit time. This is the Beltrami identity of&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;it carries no explicit time. This is the Beltrami identity of&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Beltrami identity]] in canonical form, and&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Beltrami identity|the &lt;/ins&gt;Beltrami identity]] in canonical form, and&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the cancellation in (8) is the sign structure earning its keep.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the cancellation in (8) is the sign structure earning its keep.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l165&quot;&gt;Line 165:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 165:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The modern presentation inverts his order for good pedagogical reasons, and the&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The modern presentation inverts his order for good pedagogical reasons, and the&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cost is that the characteristic function looks like an afterthought when it was&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;cost is that the characteristic function looks like an afterthought when it was&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the point. [[Hamilton&#039;s principle/Mathematics/Action as a function of its endpoints]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the point. [[Hamilton&#039;s principle/Mathematics/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Action as a function of its endpoints|&lt;/ins&gt;Action as a function of its endpoints]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;restores his ordering.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;restores his ordering.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l195&quot;&gt;Line 195:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 195:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Next ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Next ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The Hamilton-Jacobi equation]] seeks a&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Hamilton&#039;s principle/Mathematics/The &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hamilton-Jacobi equation|the &lt;/ins&gt;Hamilton-Jacobi equation]] seeks a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;canonical transformation that makes &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; vanish, converting the flow&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;canonical transformation that makes &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; vanish, converting the flow&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;into a single partial differential equation.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;into a single partial differential equation.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pma_cutover_20261020t051351z-soft_:diff:1.41:old-689:rev-825:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>BFP Rauch</name></author>
	</entry>
	<entry>
		<id>https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=689&amp;oldid=prev</id>
		<title>BFP Rauch: Add DISPLAYTITLE: title the page by its section rather than its path</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=689&amp;oldid=prev"/>
		<updated>2026-09-16T04:46:38Z</updated>

		<summary type="html">&lt;p&gt;Add DISPLAYTITLE: title the page by its section rather than its path&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:46, 16 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{DISPLAYTITLE:The Hamiltonian and Hamilton&#039;s equations}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Plebeian|Hamilton&amp;#039;s principle/Explainers/The Hamiltonian}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Plebeian|Hamilton&amp;#039;s principle/Explainers/The Hamiltonian}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l201&quot;&gt;Line 201:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 202:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key pma_cutover_20261020t051351z-soft_:diff:1.41:old-204:rev-689:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>BFP Rauch</name></author>
	</entry>
	<entry>
		<id>https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=204&amp;oldid=prev</id>
		<title>BFP Rauch: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=204&amp;oldid=prev"/>
		<updated>2026-09-09T05:05:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:05, 9 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key pma_cutover_20261020t051351z-soft_:diff:1.41:old-203:rev-204 --&gt;
&lt;/table&gt;</summary>
		<author><name>BFP Rauch</name></author>
	</entry>
	<entry>
		<id>https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=203&amp;oldid=prev</id>
		<title>hamiltons-principle&gt;HPVBuild: Initial import of M3-02</title>
		<link rel="alternate" type="text/html" href="https://invarians.org/index.php?title=Hamilton%27s_principle/Mathematics/The_Hamiltonian_and_Hamilton%27s_equations&amp;diff=203&amp;oldid=prev"/>
		<updated>2026-09-08T12:00:00Z</updated>

		<summary type="html">&lt;p&gt;Initial import of M3-02&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Plebeian|Hamilton&amp;#039;s principle/Explainers/The Hamiltonian}}&lt;br /&gt;
&lt;br /&gt;
Applying the Legendre transform to a Lagrangian replaces &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;&lt;br /&gt;
second-order equations by &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; first-order ones. The new equations are&lt;br /&gt;
symmetric in form, treat position and momentum on the same footing, and describe&lt;br /&gt;
motion as a flow in a &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt;-dimensional space. This page derives them&lt;br /&gt;
and states what the change of description buys.&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
&lt;br /&gt;
[[File:OPL-HP-F-11.png|thumb|right|400px|Phase portrait of a pendulum.]]&lt;br /&gt;
&lt;br /&gt;
Take &amp;lt;math&amp;gt;L(t, q_i, \dot q_i)&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;i = 1, \ldots, n&amp;lt;/math&amp;gt;, writing&lt;br /&gt;
&amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; for the independent variable and &amp;lt;math&amp;gt;q_i&amp;lt;/math&amp;gt; for the&lt;br /&gt;
coordinates, as the mechanical literature does. Define the momenta&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;p_i = \frac{\partial L}{\partial \dot q_i}&lt;br /&gt;
\qquad\qquad\mathrm{(1)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and assume the Hessian&lt;br /&gt;
&amp;lt;math&amp;gt;\partial^2 L / \partial \dot q_i \partial \dot q_k&amp;lt;/math&amp;gt; is invertible, so&lt;br /&gt;
(1) inverts to give &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; in terms of&lt;br /&gt;
&amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;. The &amp;#039;&amp;#039;&amp;#039;Hamiltonian&amp;#039;&amp;#039;&amp;#039; is the Legendre transform of&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Legendre transform]]:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;H(t, q, p) = \sum_{i=1}^n p_i \dot q_i - L&lt;br /&gt;
\qquad\qquad\mathrm{(2)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with every &amp;lt;math&amp;gt;\dot q_i&amp;lt;/math&amp;gt; eliminated in favour of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;. That&lt;br /&gt;
elimination is not optional. &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is a function of&lt;br /&gt;
&amp;lt;math&amp;gt;(t,q,p)&amp;lt;/math&amp;gt;, and leaving a &amp;lt;math&amp;gt;\dot q&amp;lt;/math&amp;gt; in it makes the&lt;br /&gt;
derivatives below meaningless.&lt;br /&gt;
&lt;br /&gt;
== Derivation ==&lt;br /&gt;
&lt;br /&gt;
[[File:OPL-HP-F-24.png|thumb|right|400px|Lagrangian and Hamiltonian descriptions compared.]]&lt;br /&gt;
&lt;br /&gt;
Take the differential of (2), treating all variables as free:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;dH = \sum_i \Bigl( \dot q_i\, dp_i + p_i\, d\dot q_i \Bigr)&lt;br /&gt;
- \sum_i \Bigl( \frac{\partial L}{\partial q_i}\, dq_i&lt;br /&gt;
+ \frac{\partial L}{\partial \dot q_i}\, d\dot q_i \Bigr)&lt;br /&gt;
- \frac{\partial L}{\partial t}\, dt&lt;br /&gt;
\qquad\qquad\mathrm{(3)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;d\dot q_i&amp;lt;/math&amp;gt; terms cancel by (1). This is the cancellation of&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Legendre transform]] and it is the whole&lt;br /&gt;
derivation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;dH = \sum_i \dot q_i\, dp_i&lt;br /&gt;
- \sum_i \frac{\partial L}{\partial q_i}\, dq_i&lt;br /&gt;
- \frac{\partial L}{\partial t}\, dt&lt;br /&gt;
\qquad\qquad\mathrm{(4)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is a function of &amp;lt;math&amp;gt;(t,q,p)&amp;lt;/math&amp;gt;, its differential is&lt;br /&gt;
also&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;dH = \sum_i \frac{\partial H}{\partial q_i}\, dq_i&lt;br /&gt;
+ \sum_i \frac{\partial H}{\partial p_i}\, dp_i&lt;br /&gt;
+ \frac{\partial H}{\partial t}\, dt&lt;br /&gt;
\qquad\qquad\mathrm{(5)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Matching coefficients of the independent differentials in (4) and (5):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{\partial H}{\partial p_i} = \dot q_i,&lt;br /&gt;
\qquad&lt;br /&gt;
\frac{\partial H}{\partial q_i} = -\frac{\partial L}{\partial q_i},&lt;br /&gt;
\qquad&lt;br /&gt;
\frac{\partial H}{\partial t} = -\frac{\partial L}{\partial t}&lt;br /&gt;
\qquad\qquad\mathrm{(6)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nothing dynamical has been used yet; (6) is pure Legendre transform. Now impose&lt;br /&gt;
the Euler-Lagrange equation of&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Euler-Lagrange equation]],&lt;br /&gt;
&amp;lt;math&amp;gt;\partial L/\partial q_i = \dot p_i&amp;lt;/math&amp;gt;. Substituting into the middle&lt;br /&gt;
relation of (6) gives &amp;#039;&amp;#039;&amp;#039;Hamilton&amp;#039;s canonical equations&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot q_i = \frac{\partial H}{\partial p_i},&lt;br /&gt;
\qquad&lt;br /&gt;
\dot p_i = -\frac{\partial H}{\partial q_i}&lt;br /&gt;
\qquad\qquad\mathrm{(7)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\blacksquare&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The asymmetry of the minus sign is inherited from the passive-variable rule (8)&lt;br /&gt;
of [[Hamilton&amp;#039;s principle/Mathematics/The Legendre transform]]. It is a fact&lt;br /&gt;
about the transform, not about physics.&lt;br /&gt;
&lt;br /&gt;
== What changed ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! Lagrangian !! Hamiltonian&lt;br /&gt;
|-&lt;br /&gt;
| unknowns || &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| order || second || first&lt;br /&gt;
|-&lt;br /&gt;
| arguments || &amp;lt;math&amp;gt;(t, q, \dot q)&amp;lt;/math&amp;gt; || &amp;lt;math&amp;gt;(t, q, p)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| space || configuration space || phase space&lt;br /&gt;
|-&lt;br /&gt;
| a state is || a point and a velocity || a point&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The count of constants is unchanged: &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; second-order equations and&lt;br /&gt;
&amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; first-order equations both carry &amp;lt;math&amp;gt;2n&amp;lt;/math&amp;gt; constants. No&lt;br /&gt;
information is gained or lost. What changes is that in phase space a single point&lt;br /&gt;
determines the entire future, so trajectories never cross, and the motion is a&lt;br /&gt;
flow.&lt;br /&gt;
&lt;br /&gt;
That geometric fact is what the reformulation buys, and it is the basis of every&lt;br /&gt;
later development — canonical transformations, Liouville&amp;#039;s theorem, and the&lt;br /&gt;
Hamilton-Jacobi method of&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Hamilton-Jacobi equation]].&lt;br /&gt;
&lt;br /&gt;
== Conservation ==&lt;br /&gt;
&lt;br /&gt;
Along a solution,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{dH}{dt}&lt;br /&gt;
= \sum_i \left( \frac{\partial H}{\partial q_i}\dot q_i&lt;br /&gt;
+ \frac{\partial H}{\partial p_i}\dot p_i \right)&lt;br /&gt;
+ \frac{\partial H}{\partial t}&lt;br /&gt;
= \frac{\partial H}{\partial t}&lt;br /&gt;
\qquad\qquad\mathrm{(8)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the sum cancelling pairwise by (7). So &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is conserved exactly when&lt;br /&gt;
it carries no explicit time. This is the Beltrami identity of&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Beltrami identity]] in canonical form, and&lt;br /&gt;
the cancellation in (8) is the sign structure earning its keep.&lt;br /&gt;
&lt;br /&gt;
If in addition &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; does not contain &amp;lt;math&amp;gt;q_k&amp;lt;/math&amp;gt;, then (7) gives&lt;br /&gt;
&amp;lt;math&amp;gt;\dot p_k = 0&amp;lt;/math&amp;gt; immediately, and the coordinate is cyclic. In the&lt;br /&gt;
Hamiltonian description a conservation law is read off by inspection.&lt;br /&gt;
&lt;br /&gt;
== When is &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; the energy? ==&lt;br /&gt;
&lt;br /&gt;
Not always, and the conditions are worth stating because the identification is&lt;br /&gt;
usually made silently.&lt;br /&gt;
&lt;br /&gt;
If the kinetic energy is a homogeneous quadratic in the velocities and the&lt;br /&gt;
potential depends on position only, then &amp;lt;math&amp;gt;L = T - V&amp;lt;/math&amp;gt; and Euler&amp;#039;s&lt;br /&gt;
theorem on homogeneous functions gives&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_i p_i\dot q_i = 2T&amp;lt;/math&amp;gt;, so&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;H = 2T - (T - V) = T + V&lt;br /&gt;
\qquad\qquad\mathrm{(9)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; is the energy. If the coordinates are time-dependent — a&lt;br /&gt;
rotating frame, a moving constraint — then &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; is not homogeneous&lt;br /&gt;
quadratic and &amp;lt;math&amp;gt;H \neq T + V&amp;lt;/math&amp;gt;, though &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; may still be&lt;br /&gt;
conserved. Conserved and equal to the energy are two different claims.&lt;br /&gt;
&lt;br /&gt;
== Hamilton&amp;#039;s own route ==&lt;br /&gt;
&lt;br /&gt;
Hamilton did not arrive at (7) through the Legendre transform. He introduced the&lt;br /&gt;
characteristic function first and obtained the canonical form as a consequence,&lt;br /&gt;
remarking that his transformed equations coincide in all respects, a slight&lt;br /&gt;
difference of notation excepted, with the elegant canonical forms in the&lt;br /&gt;
&amp;#039;&amp;#039;Mécanique Analytique&amp;#039;&amp;#039; of Lagrange.&amp;lt;ref&amp;gt;Hamilton, &amp;#039;&amp;#039;On a General Method in&lt;br /&gt;
Dynamics&amp;#039;&amp;#039; (1834), §8, following equation (Z.). Verbatim phrase. ESTABLISHED&lt;br /&gt;
source.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The modern presentation inverts his order for good pedagogical reasons, and the&lt;br /&gt;
cost is that the characteristic function looks like an afterthought when it was&lt;br /&gt;
the point. [[Hamilton&amp;#039;s principle/Mathematics/Action as a function of its endpoints]]&lt;br /&gt;
restores his ordering.&lt;br /&gt;
&lt;br /&gt;
== Worked example: the harmonic oscillator ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;L = \tfrac{1}{2}m\dot q^2 - \tfrac{1}{2}m\omega^2 q^2&lt;br /&gt;
\qquad\qquad\mathrm{(10)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then &amp;lt;math&amp;gt;p = m\dot q&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;\dot q = p/m&amp;lt;/math&amp;gt;, and&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;H = p\cdot\frac{p}{m}&lt;br /&gt;
- \left( \frac{p^2}{2m} - \tfrac{1}{2}m\omega^2 q^2 \right)&lt;br /&gt;
= \frac{p^2}{2m} + \tfrac{1}{2}m\omega^2 q^2&lt;br /&gt;
\qquad\qquad\mathrm{(11)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hamilton&amp;#039;s equations are&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot q = \frac{p}{m},&lt;br /&gt;
\qquad&lt;br /&gt;
\dot p = -m\omega^2 q&lt;br /&gt;
\qquad\qquad\mathrm{(12)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Eliminating &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; recovers &amp;lt;math&amp;gt;\ddot q + \omega^2 q = 0&amp;lt;/math&amp;gt;. But&lt;br /&gt;
(11) read directly gives the phase portrait without solving anything: level sets&lt;br /&gt;
of &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; are ellipses, so every trajectory is a closed curve traversed&lt;br /&gt;
at constant energy. Reading the motion off the level sets, rather than&lt;br /&gt;
integrating, is the characteristic Hamiltonian move.&lt;br /&gt;
&lt;br /&gt;
== Next ==&lt;br /&gt;
&lt;br /&gt;
[[Hamilton&amp;#039;s principle/Mathematics/The Hamilton-Jacobi equation]] seeks a&lt;br /&gt;
canonical transformation that makes &amp;lt;math&amp;gt;H&amp;lt;/math&amp;gt; vanish, converting the flow&lt;br /&gt;
into a single partial differential equation.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>hamiltons-principle&gt;HPVBuild</name></author>
	</entry>
</feed>