<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.wikiwaves.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Levi</id>
	<title>WikiWaves - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiwaves.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Levi"/>
	<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php/Special:Contributions/Levi"/>
	<updated>2026-04-17T18:13:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=14509</id>
		<title>Method of Characteristics for Linear Equations</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=14509"/>
		<updated>2025-11-11T11:52:24Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Example 1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Method of Characteristics for Linear Equations&lt;br /&gt;
 | next chapter = [[Traffic Waves]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief account of the method of characteristic for linear waves. &lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The method of characteristics is an important method for hyperbolic PDE&#039;s which&lt;br /&gt;
applies to both linear and nonlinear equations. &lt;br /&gt;
&lt;br /&gt;
We begin with the simplest wave equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - 1 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = 1&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are nothing but the straight lines &amp;lt;math&amp;gt;x = t+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t+c,t) = u(c,0) = f(c) = f(x-t)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is &amp;lt;math&amp;gt;u(x,t) = f(x-t)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== General Form ==&lt;br /&gt;
&lt;br /&gt;
If we consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + a(x,t)\partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we can apply the method of characteristics.&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - a(X,t) \right).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us the following o.d.e. for the characteristic curves (along which the solution is a constant)&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d} t} =  a(X,t) .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Characteristic_linear1.jpg|thumb|right|350px|Characteristic for Example 1]]&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + x \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d}X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - x \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = X&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = ce^t&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(ce^t,t) = u(c,0) = f(c) = f(xe^{-t})\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(xe^{-t})\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Waterfall_linear1.jpg|thumb|right|350px|Solution for Example 1 with &amp;lt;math&amp;gt;f(x) = e^{-x^2}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
Consider the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - t \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t^2/2 + c,t) = u(c,0) = f(c) = f(x - t^2/2)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(x - t^2/2)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Non-homogeneous Example ==&lt;br /&gt;
&lt;br /&gt;
We can also use the method of characteristics in the non-homogeneous case. We show this through an example&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = xt,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} u}{\mathrm{d} t} = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d}X}{\mathrm{d}t} - t \right) + xt&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; which are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}u(x,t) = xt = t^3/2 + c t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(t^2/2+c,t) = t^4/8 + c t^2/2 + c_2\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Now&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(c,0) = c_2 = f(c)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = t^4/8 + (x -t^2/2) t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t) = -t^4/8 + x t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|zXEvCJyHQSg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|vRRVU4VrxV0}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xkGdvFGit_c}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rW-voMoG0KI}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=14508</id>
		<title>Method of Characteristics for Linear Equations</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Method_of_Characteristics_for_Linear_Equations&amp;diff=14508"/>
		<updated>2025-11-11T11:52:07Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* General Form */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Method of Characteristics for Linear Equations&lt;br /&gt;
 | next chapter = [[Traffic Waves]]&lt;br /&gt;
 | previous chapter = &lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief account of the method of characteristic for linear waves. &lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The method of characteristics is an important method for hyperbolic PDE&#039;s which&lt;br /&gt;
applies to both linear and nonlinear equations. &lt;br /&gt;
&lt;br /&gt;
We begin with the simplest wave equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - 1 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = 1&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are nothing but the straight lines &amp;lt;math&amp;gt;x = t+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t+c,t) = u(c,0) = f(c) = f(x-t)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is &amp;lt;math&amp;gt;u(x,t) = f(x-t)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== General Form ==&lt;br /&gt;
&lt;br /&gt;
If we consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + a(x,t)\partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we can apply the method of characteristics.&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - a(X,t) \right).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us the following o.d.e. for the characteristic curves (along which the solution is a constant)&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d} t} =  a(X,t) .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example 1 ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Characteristic_linear1.jpg|thumb|right|350px|Characteristic for Example 1]]&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + x \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d}X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - x \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = x&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = ce^t&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(ce^t,t) = u(c,0) = f(c) = f(xe^{-t})\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(xe^{-t})\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Waterfall_linear1.jpg|thumb|right|350px|Solution for Example 1 with &amp;lt;math&amp;gt;f(x) = e^{-x^2}&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
== Example 2 ==&lt;br /&gt;
&lt;br /&gt;
Consider the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = 0,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} }{\mathrm{d} t} u(X(t),t) = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d} X}{\mathrm{d}t} - t \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; must be a constant. &lt;br /&gt;
These are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
This means that we have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,t) = u(t^2/2 + c,t) = u(c,0) = f(c) = f(x - t^2/2)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = f(x - t^2/2)\,&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Non-homogeneous Example ==&lt;br /&gt;
&lt;br /&gt;
We can also use the method of characteristics in the non-homogeneous case. We show this through an example&lt;br /&gt;
Consider the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + t \partial_x u = xt,\,\,-\infty &amp;lt; x &amp;lt; \infty,\,\,t&amp;gt;0,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 \left. u \right|_{t=0} = f(x)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We consider the solution along the curve &amp;lt;math&amp;gt;(x,t) = (X(t),t)&amp;lt;/math&amp;gt;. We then have&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} u}{\mathrm{d} t} = \partial_t u + \frac{\mathrm{d} X}{\mathrm{d}t}\partial_x u = \partial_x u \left(\frac{\mathrm{d}X}{\mathrm{d}t} - t \right) + xt&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore along the curve &amp;lt;math&amp;gt;\frac{\mathrm{d} X}{\mathrm{d}t} = t&amp;lt;/math&amp;gt; which are the curves &amp;lt;math&amp;gt;x = t^2/2+c&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}u(x,t) = xt = t^3/2 + c t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(t^2/2+c,t) = t^4/8 + c t^2/2 + c_2\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Now&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(c,0) = c_2 = f(c)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore the solution is given &amp;lt;math&amp;gt;u(x,t) = t^4/8 + (x -t^2/2) t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt; or&lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t) = -t^4/8 + x t^2/2 + f(x-t^2/2)\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|zXEvCJyHQSg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|vRRVU4VrxV0}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xkGdvFGit_c}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rW-voMoG0KI}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14507</id>
		<title>Reaction-Diffusion Systems</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14507"/>
		<updated>2025-11-06T10:37:46Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* The discrete Fourier transform */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Reaction-Diffusion Systems&lt;br /&gt;
 | next chapter = [[Burgers Equation]]&lt;br /&gt;
 | previous chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief theory of reaction diffusion waves.&lt;br /&gt;
&lt;br /&gt;
== Law of Mass Action ==&lt;br /&gt;
&lt;br /&gt;
The law of mass action states that equation rates are proportional to the concentration&lt;br /&gt;
of reacting species and the ratio in which they combined. It is discussed in detail in &lt;br /&gt;
[[Billingham and King 2000]]. We will present here a few simple examples.&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Simple Decay ===&lt;br /&gt;
&lt;br /&gt;
Suppose we have of chemical &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; which decays to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;P \to A&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate &amp;lt;math&amp;gt;k[P]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;[P]&amp;lt;/math&amp;gt; denotes concentration.  Then if we&lt;br /&gt;
set &amp;lt;math&amp;gt;p=[P]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a = [A] &amp;lt;/math&amp;gt; we obtain the equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}p}{\mathrm{d}t} = -kp\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}a}{\mathrm{d}t} = kp&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
p = p_0 e^{-kt}\,\,\,\textrm{and}\,\,\, a = a_0 + p_0(1-e^{-kt})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; are the values of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; repectively at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example 2: Quadratic Autocatalysis ===&lt;br /&gt;
&lt;br /&gt;
This example will be important when we consider reaction diffusion problems.&lt;br /&gt;
We consider the reaction &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;A + B \to 2B&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate proportional to &amp;lt;math&amp;gt;k[A][B]&amp;lt;/math&amp;gt;.  If we define &amp;lt;math&amp;gt;a = [A]&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;b = [B]&amp;lt;/math&amp;gt; we obtain the following equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}a}{\mathrm{d}t} = -kab\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}b}{\mathrm{d}t} = kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve these equations by observing that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}(a+b)}{\mathrm{d}t} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;a + b = a_0 + b_0&amp;lt;/math&amp;gt;. We can then eliminate &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}b}{\mathrm{d}t} = k(a_0 + b_0 - b)b&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is separable with solution &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
b = \frac{b_0(a_0 + b_0)e^{k(a_0 + b_0)t}}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
a = \frac{a_0(a_0 + b_0)}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;a\to 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\to a_0 + b_0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;t\to \infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Diffusion ==&lt;br /&gt;
&lt;br /&gt;
The equation for spatially homogeneous diffusion of a chemical with concentration&lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t c = D\nabla^2 c&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the [http://en.wikipedia.org/wiki/Heat_equation heat equation]. We will consider this in&lt;br /&gt;
only one spatial dimension. Consider it on the boundary  &amp;lt;math&amp;gt;-\infty &amp;lt; x &amp;lt; \infty&amp;lt;/math&amp;gt;. In this case&lt;br /&gt;
we can solve by the [http://en.wikipedia.org/wiki/Fourier_transform Fourier transform] and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t \hat{c} = -D k^2 \hat{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt; is the Fourier transform of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. This has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c} = \hat{c}_0 e^{-D k^2 t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can find the inverse transform using convolution and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \mathcal{F}^{-1} \left\{ e^{-k^2 D t} \mathcal{F} \left\{ c_0(x) \right\} \right\} = c_0(x) * \frac{1}{\sqrt{4\pi D t}} e^{-x^2/4Dt} = \frac{1}{\sqrt{4\pi D t}} \int_{-\infty}^{\infty} c_0(x) e^{-(x-s)^2/4Dt}\mathrm{d}s&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution of the dispersion equation using FFT ===&lt;br /&gt;
&lt;br /&gt;
We can solve the dispersion equation using the discrete Fourier transform and&lt;br /&gt;
its closely related numerical implementation the FFT (Fast Fourier Transform). &lt;br /&gt;
We have already met the FFT [[Numerical Solution of the KdV]] but we consider it here in more detail. &lt;br /&gt;
We consider the  concentration &lt;br /&gt;
on the finite domain &amp;lt;math&amp;gt;-L \leq x \leq  L&amp;lt;/math&amp;gt; and use a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Fourier_series Fourier series] expansion &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(t) e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;k_n = \pi n /L &amp;lt;/math&amp;gt;. If we substitute this into the diffusion equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0)e^{-k_n^2 D t} e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this is not the same solution as we obtained on the infinite domain because&lt;br /&gt;
of the boundary conditions on the finite domain. The coefficients &amp;lt;math&amp;gt;\hat{c}_n(0)&amp;lt;/math&amp;gt;&lt;br /&gt;
are found using the initial conditions so that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{2L} \int_{-L}^{L} e^{-\mathrm{i} k_n x} c_0(x) \mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key to the numerical solution of this equation is the use of the FFT. We begin by discretising the&lt;br /&gt;
domain into a series of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; points &amp;lt;math&amp;gt;x_m = -L + 2Lm/N &amp;lt;/math&amp;gt;. We then use this to&lt;br /&gt;
approximate the integral above and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{N} \sum_{m=0}^{N-1} e^{-\mathrm{i} k_n x_m} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
= \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} e^{\mathrm{i} \pi n} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also get&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{\mathrm{i} k_n x_m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
 = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N} e^{-\mathrm{i} \pi n} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
but we know that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) e^{-\mathrm{i} \pi n}  = \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \frac{1}{N} \sum_{n=0}^{N-1} \sum_{l=0}^{N-1} c_0(x_l) e^{-2\mathrm{i} \pi nl/N} e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The discrete Fourier transform ===&lt;br /&gt;
The&lt;br /&gt;
[http://en.wikipedia.org/wiki/Discrete_Fourier_transform discrete Fourier transform]&lt;br /&gt;
of a sequence of &#039;&#039;N&#039;&#039; complex numbers &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; is transformed into the  sequence of &#039;&#039;N&#039;&#039; complex numbers &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; by the DFT according to the formula:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{c}_n = \sum_{m=0}^{N-1} c_m e^{-2\pi \mathrm{i}mn/N} \quad \quad n = 0, \dots, N-1&amp;lt;/math&amp;gt;   &lt;br /&gt;
&amp;lt;/center&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
We denote the transform by the symbol &amp;lt;math&amp;gt;\mathcal{F}&amp;lt;/math&amp;gt;, as in &amp;lt;math&amp;gt;\mathbf{X} = \mathcal{F} \left \{ \mathbf{x} \right \} &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \left ( \mathbf{x} \right )&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \mathbf{x}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;inverse discrete Fourier transform (IDFT)&#039;&#039;&#039; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;c_m = \frac{1}{N} \sum_{n=0}^{N-1} \hat{c}_n e^{2\pi \mathrm{i}mn/N} \quad \quad m = 0,\dots,N-1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore we can write again, similar to the continuous transform case:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) =  \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \mathcal{F} \left\{ c_0(x_m) \right\} \right\} = c_0(x_m) * \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\} = \frac{1}{\sqrt{4\pi D t}} \sum_{l=0}^{N-1} c_0(x_{(m-l)\bmod N}) \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}_l&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Unlike it, though, now &amp;lt;math&amp;gt;\mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}\ne\frac{1}{\sqrt{4\pi D t}} e^{-x_m^2/4Dt}&amp;lt;/math&amp;gt;. It can be proven that for our previously defined &amp;lt;math&amp;gt;x_m = -L + 2Lm/N&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\pi/L,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right)\pi/L,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}_m=\dfrac{2L}{N\sqrt{4\pi DT}}\sum_{l=-\infty}^\infty \operatorname{exp}\left[ -\dfrac{(x_m+(2l+1)L)^2}{4Dt} \right]\approx\dfrac{2L}{N\sqrt{4\pi DT}}\left( \operatorname{exp}\left[ -\dfrac{(x_m+L)^2}{4Dt} \right] + \operatorname{exp}\left[ -\dfrac{(x_m-L)^2}{4Dt} \right] \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The real power of this method lies with the [http://en.wikipedia.org/wiki/FFT Fast Fourier Transform]&lt;br /&gt;
or &#039;&#039;&#039;FFT&#039;&#039;&#039; algorithm. A naive implementation of the discrete Fourier transform above (or its inverse) &lt;br /&gt;
will involve order &amp;lt;math&amp;gt;N^2&amp;lt;/math&amp;gt; operations. Using FFT algorithms, this can be reduced to  order &amp;lt;math&amp;gt;N  \log(N)&amp;lt;/math&amp;gt;. This is an incredible speed up, for example&lt;br /&gt;
if N = 1024, FFT algorithms are more efficient by a factor of 147. This is the reason FFT&lt;br /&gt;
algorithms are used so extensively.&lt;br /&gt;
&lt;br /&gt;
== Reaction Diffusion Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider an auto catalytic reaction where the chemical species also diffuse. In this &lt;br /&gt;
case the equations are&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t a = D\partial_x^2 a - kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t b = D\partial_x^2 b + kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can non-dimensionalise these equations scaling the variables as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
z = x/x^*\,\,\,\tau = t/t^*\,\,\,\alpha = a/a_0\,\,\,\beta = b/a_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So that the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \alpha = \frac{a_0}{(x^*)^2}D\partial_z^2 \alpha &lt;br /&gt;
- k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \beta = \frac{a_0}{(x^*)^2}D\partial_z^2 \beta&lt;br /&gt;
+ k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we choose &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x^* = \sqrt{\frac{D}{ka_0}}\,\,\,t^*=\frac{1}{ka_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the system &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
-\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \beta =\partial_z^2 \beta&lt;br /&gt;
+ \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution via split step method ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Reaction diffusion.gif|thumb|right|500px|Solutions for &amp;lt;math&amp;gt;\alpha(z,0) =1&lt;br /&gt;
\, \beta(z,0) = \exp(-10z^2)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We can solve this equations numerically using a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Split-step_method split step method]. We assume&lt;br /&gt;
that at time &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; we know &amp;lt;math&amp;gt;\alpha(z,\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;\beta(z,\tau)&amp;lt;/math&amp;gt;. We then solve first the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
from &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\tau + \Delta\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can do exactly using the spectral methods just discussed for&lt;br /&gt;
the dispersion equation). We write this solution as &lt;br /&gt;
&amp;lt;math&amp;gt;\tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
Then we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
by assuming that &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is constant and subject to the boundary&lt;br /&gt;
condition that &amp;lt;math&amp;gt;\alpha(z,\tau) = \tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha(z,\tau + \Delta\tau) = e^{-\beta(z,\tau) \Delta\tau} \tilde{\alpha}(z,\tau+ \Delta\tau)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and we do likewise for the equation for &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. Note that&lt;br /&gt;
while both steps are exact the result from the split step method is an &lt;br /&gt;
approximation with error which becomes smaller as the step size becomes&lt;br /&gt;
smaller.&lt;br /&gt;
&lt;br /&gt;
We can easily implement this split step method in matlab and we obtain&lt;br /&gt;
a pair of travelling waves.&lt;br /&gt;
&lt;br /&gt;
== Travelling Waves solution ==&lt;br /&gt;
&lt;br /&gt;
When we solve the equations we found the solution formed travelling waves and&lt;br /&gt;
we now consider this phenomena in detail. &lt;br /&gt;
&lt;br /&gt;
We define a new coordinate &amp;lt;math&amp;gt;y = z - v\tau&amp;lt;/math&amp;gt; (so we will consider only&lt;br /&gt;
waves travelling to the right, although we could analyse waves travelling to&lt;br /&gt;
the left in a similar fashion).  We seek stationary solutions in &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha(y)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta(y)&amp;lt;/math&amp;gt; which satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \alpha}{\mathrm{d}y^2} + v \frac{\mathrm{d} \alpha}{\mathrm{d}y} = \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we add these equations we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 (\alpha+\beta)}{\mathrm{d}y^2} + v \frac{\mathrm{d} (\alpha+\beta)}{\mathrm{d}y} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;\alpha + \beta = c_0 + c_1 e^{-vy}&amp;lt;/math&amp;gt;. Boundary conditions&lt;br /&gt;
are that as &amp;lt;math&amp;gt;y\to\infty &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha = 1&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 0&amp;lt;/math&amp;gt; and if &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\alpha = 0&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 1&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;\alpha + \beta = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
This means that, since &amp;lt;math&amp;gt;\alpha \geq 0&amp;lt;/math&amp;gt;, we must have&lt;br /&gt;
&amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
We can then obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} + \beta(1-\beta)= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which we can write as the system of first order equations.&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_phase_portrait.jpg|thumb|right|500px|Phase portrait for out system showing&lt;br /&gt;
the equilibrium points and the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
We define the variable &amp;lt;math&amp;gt;\gamma = \frac{\mathrm{d}\beta}{\mathrm{d}y}&amp;lt;/math&amp;gt;&lt;br /&gt;
and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\mathrm{d}\beta}{\mathrm{d} y} &amp;amp;= \gamma&amp;amp;\\&lt;br /&gt;
\frac{\mathrm{d}\gamma}{\mathrm{d} y} &amp;amp;= -v\gamma + \beta(\beta -1)&amp;amp; \\&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This dynamical system has equilibrium points at &amp;lt;math&amp;gt;(0,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt;. We can analyse these equilibrium points by &lt;br /&gt;
linearization. The Jacobian matrix is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 + 2\beta &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can easily see that the Jacobian evaluated at our first equilibrium point is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(0,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues &amp;lt;math&amp;gt;\mu_{\pm} = -1/2 (v \mp \sqrt{v^2-4})&amp;lt;/math&amp;gt;.  Therefore&lt;br /&gt;
this point is a nodal sink (possibly a spiral)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_wave.gif|right|Travelling wave solution for v=2 and the position on&lt;br /&gt;
the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally,&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(1,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues  &amp;lt;math&amp;gt;\lambda_{\pm} = -1/2 (v \mp \sqrt{v^2+4})&amp;lt;/math&amp;gt;. &lt;br /&gt;
This is a a saddle point. The unstable and stable&lt;br /&gt;
separatrices leave the equilibrium point at &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; in the directions  &lt;br /&gt;
&amp;lt;math&amp;gt; \begin{pmatrix}\lambda_{\pm} \\ 1\end{pmatrix}&amp;lt;/math&amp;gt;.  The only path on which &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; are the unstable separatrices. Also, only the &lt;br /&gt;
unstable separatrix which enters the region &amp;lt;math&amp;gt;\beta&amp;lt;1&amp;lt;/math&amp;gt; is physically meaningful. &lt;br /&gt;
 &lt;br /&gt;
To find a travelling wave we need to find a heteroclinic connection &lt;br /&gt;
between the two equilibrium points which also has to satisfy the conditions &lt;br /&gt;
that &amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We need to show that the heteroclinic connection does not cross the &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
Consider the region &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R = \left\{(\beta,\gamma)\,|\, \beta&amp;lt;1,\,-k\beta&amp;lt;\gamma&amp;lt;0\right\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\beta = 1,d\beta/dy&amp;lt;0&amp;lt;/math&amp;gt; and hence all flow it into &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;.&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\gamma = 0, d\gamma/dy &amp;lt; 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0&amp;lt;\beta&amp;lt;1&amp;lt;/math&amp;gt;.  On the line&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma = -k \beta&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d\beta/dy &amp;lt; 0&amp;lt;/math&amp;gt; so that integral paths&lt;br /&gt;
enter the region if and only if &amp;lt;math&amp;gt;d\gamma/d\beta &amp;lt; \gamma/\beta&amp;lt;/math&amp;gt;. We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
d\gamma/d\beta - \gamma/\beta = -v - \frac{\beta(1-\beta)}{\gamma} -\frac{\gamma}{\beta}&lt;br /&gt;
= \frac{1}{k} (k^2 - vk +1 -\beta)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;\gamma = -k\beta&amp;lt;/math&amp;gt;.  Therefore we need to find a value of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;k^2 - vk +1 &amp;lt; 0&amp;lt;/math&amp;gt;, which is possible provided &amp;lt;math&amp;gt;v\geq 2&amp;lt;/math&amp;gt;, for example&lt;br /&gt;
&amp;lt;math&amp;gt;k = \dfrac{v}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rF4X42jP0v8}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|D0NwYlM-uOg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|5IEZJtJaDHk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|t_OjTSwVgdo}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|kTHVZaYezLk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|MVuSg5_sfYI}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hxKMOHyy6Bw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yQ-O2KIqu44}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=14506</id>
		<title>Burgers Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=14506"/>
		<updated>2025-11-06T10:35:03Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Numerical Solution of Burgers equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Burgers Equation&lt;br /&gt;
 | next chapter = &lt;br /&gt;
 | previous chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
We have already met the conservation law for the traffic equations&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and seen how this leads to shocks. We can smooth this equation by adding&lt;br /&gt;
dispersion to the equation to give us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =\nu \partial&lt;br /&gt;
_{x}^{2}\rho &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest equation of this type is to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+u\partial _{x}u=\nu \partial _{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(changing variables to &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and this equation is known as Burgers equation.&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
We can find a travelling wave solution by assuming that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =u\left( x-ct\right) =u\left( \xi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This leads to the equations &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We begin by looking at the phase plane for this system, writing &amp;lt;math&amp;gt;w=u^{\prime&lt;br /&gt;
}&amp;lt;/math&amp;gt; so that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\dfrac{\mathrm{d}u}{\mathrm{d}\xi } &amp;amp;=&amp;amp;w \\&lt;br /&gt;
\dfrac{\mathrm{d}w}{\mathrm{d}\xi } &amp;amp;=&amp;amp;\frac{1}{\nu }\left( w\left( u-c\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a degenerate system with the entire &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; axis being equilibria.&lt;br /&gt;
&lt;br /&gt;
We can also solve this equation exactly as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
can be integrated to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu+\frac{1}{2}\left( u\right) ^{2}-\nu u^{\prime} =c_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be rearranged to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u^{\prime }=\frac{1}{2\nu }\left( \left( u\right) ^{2}-2cu-2c_{1}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We define the two roots of the quadratic &amp;lt;math&amp;gt;\left( u\right) ^{2}-2\nu&lt;br /&gt;
u-2c_{1}=0&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;u_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_{2}&amp;lt;/math&amp;gt; &lt;br /&gt;
and we assume that &amp;lt;math&amp;gt;u_{2} &amp;lt; u_{1}&amp;lt;/math&amp;gt;. Note that there is only a bounded&lt;br /&gt;
solution if we have two real roots and for the bounded solution &lt;br /&gt;
&amp;lt;math&amp;gt;u_{2} &amp;lt; u &amp;lt;  u_{1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
We note that the wave speed&lt;br /&gt;
is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c=\frac{1}{2}\left( u_{1}+u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equation can therefore be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\nu u^{\prime }=\left( u-u_{1}\right) \left( u-u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( \xi \right) =\frac{1}{2}\left( u_{1}+u_{2}\right) -\frac{1}{2}\left(&lt;br /&gt;
u_{1}-u_{2}\right) \tanh \left[ \left( \frac{\xi }{4\nu }\right) \left(&lt;br /&gt;
u_{1}-u_{2}\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of Burgers equation==&lt;br /&gt;
&lt;br /&gt;
We can solve the equation using our split step spectral method. The equation&lt;br /&gt;
can be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=-\frac{1}{2}\partial _{x}\left( u^{2}\right) +\nu \partial&lt;br /&gt;
_{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this by solving in Fourier space to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-\frac{1}{2}ik \widehat{\left( u^{2}\right)} -\nu k^{2}\hat{u} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we solve each of the steps in turn &lt;br /&gt;
for a small time interval to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\tilde{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\hat{u}\left( k,t\right) -\frac{&lt;br /&gt;
\Delta t}{2}ik\mathcal{F}\left( \left[ \mathcal{F}^{-1}\hat{u}\left(&lt;br /&gt;
k,t\right) \right] ^{2}\right) \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\tilde{u}\left( k,t+\Delta t\right)&lt;br /&gt;
\exp \left( -\nu k^{2}\Delta t\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Or, in convolution form:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;u(x, t+\Delta t)=\left(u(x, t)-\dfrac{\Delta t}2\mathcal F^{-1}\left\{ik\right\}*u^2(x, t)\right)*\mathcal F^{-1}\left\{e^{-\nu k^2\Delta t}\right\}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
And for our previously defined &amp;lt;math&amp;gt;x_m&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k_n&amp;lt;/math&amp;gt; it can be proven that &amp;lt;math&amp;gt;\mathcal F^{-1}\left\{ik\right\}_m=\dfrac\pi{2L}(-1)^m\left(\cot\dfrac{\pi m}N+i\right)&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;\cot 0&amp;lt;/math&amp;gt; taken to be &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase plane for a travelling wave solution&lt;br /&gt;
! Numerical solution of Burgers equation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Burgers_phase.jpg|thumb|right|500px|Phase plane for a travelling wave solution of Burgers equation]]&lt;br /&gt;
| [[Image:File-Burgers2.gif|thumb|right|500px| Numerical solution of Burgers equation]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exact Solution of Burgers equations==&lt;br /&gt;
&lt;br /&gt;
We can find an exact solution to Burgers equation. We want to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}u+u\partial _{x}u &amp;amp;=&amp;amp;\nu \partial _{x}^{2}u \\&lt;br /&gt;
u\left( x,0\right) &amp;amp;=&amp;amp;F\left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Frist we write the equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( \frac{u^{2}}{2}-\nu \partial _{x}u\right)&lt;br /&gt;
=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We want to find a function &amp;lt;math&amp;gt;\psi \left( x,t\right) &amp;lt;/math&amp;gt; such that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{x}\psi =u,\ \ \partial _{t}\psi =\nu \partial _{x}u-\frac{u^{2}}{2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that because &amp;lt;math&amp;gt;\partial _{x}\partial _{t}\psi =\partial _{t}\partial&lt;br /&gt;
_{x}\psi &amp;lt;/math&amp;gt; we will satisfy Burgers equation. This gives us the following&lt;br /&gt;
equation for &amp;lt;math&amp;gt;\psi &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We introduce the &#039;&#039;Cole-Hopf &#039;&#039; transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\psi =-2\nu \log \left( \phi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From this we can obtain the three results:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\partial _{x}\psi &amp;amp;=-2\nu \frac{\partial _{x}\phi }{\phi } \\&lt;br /&gt;
\partial _{x}^{2}\psi &amp;amp;=2\nu \left( \frac{\partial _{x}\phi }{\phi }\right)&lt;br /&gt;
^{2}-\frac{2\nu }{\phi }\partial _{x}^{2}\phi \\&lt;br /&gt;
\partial _{t}\psi &amp;amp;=-2\nu \frac{\partial _{t}\phi }{\phi } &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
becomes &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-2\nu \frac{\partial _{t}\phi }{\phi }=2\nu ^{2}\left( \frac{\partial&lt;br /&gt;
_{x}\phi }{\phi }\right) ^{2}&lt;br /&gt;
-2\nu^2 \frac{\partial_x^2\phi}{\phi}&lt;br /&gt;
-\frac{1}{2}\left( 2\nu \frac{\partial _{x}\phi &lt;br /&gt;
}{\phi }\right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\phi =\nu \partial _{x}^{2}\phi &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is just the diffusion equation. Note that we also have to transform the&lt;br /&gt;
boundary conditions. We have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left( x\right) =u\left( x,0\right) =-2\nu \frac{\partial _{x}\phi \left(&lt;br /&gt;
x,0\right) }{\phi \left( x,0\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can write this as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}x}\left( \log \left( \phi \right) \right) =-\frac{1}{2\nu }F\left(&lt;br /&gt;
x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,0\right) =\Phi \left( x\right) =\exp \left( -\frac{1}{2\nu }&lt;br /&gt;
\int_{0}^{x}F\left( s\right) \mathrm{d}s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We need to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\phi &amp;amp;=&amp;amp;\nu \partial _{x}^{2}\phi \\&lt;br /&gt;
\phi \left( x,0\right) &amp;amp;=&amp;amp;\Phi \left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We take the Fourier transform and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\hat{\phi} &amp;amp;=&amp;amp;-k^{2}\nu \hat{\phi} \\&lt;br /&gt;
\hat{\phi}\left( k,0\right) &amp;amp;=&amp;amp;\hat{\Phi}\left( k\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{\phi}\left( k,t\right) =\hat{\Phi}\left( k\right) e^{-k^{2}\nu t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then use the convolution theorem to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\phi \left( x,t\right) &amp;amp;=&amp;amp;\Phi \left( x\right) * \mathcal{F}^{-1}\left[&lt;br /&gt;
e^{-k^{2}\nu t}\right] \\&lt;br /&gt;
&amp;amp;=&amp;amp;\Phi \left( x\right) * \dfrac1{\sqrt{4\pi\nu t}} e^{-x^2 / 4\nu t} \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{1}{\sqrt{4\pi \nu t}}\int_{-\infty }^{\infty }\Phi \left( y\right)&lt;br /&gt;
\exp \left[ -\frac{\left( x-y\right) ^{2}}{4\nu t}\right] \mathrm{d}y&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Which can be expressed as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,t\right) =\frac{1}{\sqrt{4\pi \nu t}}\int_{-\infty }^{\infty&lt;br /&gt;
}\exp \left[ -\frac{f}{2\nu }\right] \mathrm{d}y &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x,y,t\right) =\frac{1}{2\nu }\int_{0}^{y}F\left( s\right) \mathrm{d}s+\frac{&lt;br /&gt;
\left( x-y\right) ^{2}}{2t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
To find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; we recall that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
u\left( x,t\right) &amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x}\phi \left( x,t\right) }{\phi&lt;br /&gt;
\left( x,t\right) } \\&lt;br /&gt;
&amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x}\left( \Phi \left( x\right) * e^{-x^2 / 4\nu t} \right) }{\Phi \left( x\right) * e^{-x^2 / 4\nu t} } \\&lt;br /&gt;
&amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x} \Phi \left( x\right) * e^{-x^2 / 4\nu t} }{\Phi \left( x\right) * e^{-x^2 / 4\nu t} } = \dfrac{\Phi \left( x\right) * x e^{-x^2 / 4\nu t} }{\Phi \left( x\right) * t e^{-x^2 / 4\nu t} } \\&lt;br /&gt;
&amp;amp;=&amp;amp;\dfrac{\int_{-\infty }^{\infty }\left( \frac{x-y}{t}\right) \exp \left[ -&lt;br /&gt;
\dfrac{f}{2\nu }\right] \mathrm{d}y}{\int_{-\infty }^{\infty }\exp \left[ -\frac{f}{&lt;br /&gt;
2\nu }\right] \mathrm{d}y}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;\partial_x(f * y)=\partial_x f * y = f * \partial_x y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|tVXQmxOG_6Y}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hzgpMM_wWts}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|uH4B1XsGB-0}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|h6aDmCtJygM}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|CsnUKrLjtyQ}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14505</id>
		<title>Reaction-Diffusion Systems</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14505"/>
		<updated>2025-11-04T18:12:32Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* The discrete Fourier transform */ fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Reaction-Diffusion Systems&lt;br /&gt;
 | next chapter = [[Burgers Equation]]&lt;br /&gt;
 | previous chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief theory of reaction diffusion waves.&lt;br /&gt;
&lt;br /&gt;
== Law of Mass Action ==&lt;br /&gt;
&lt;br /&gt;
The law of mass action states that equation rates are proportional to the concentration&lt;br /&gt;
of reacting species and the ratio in which they combined. It is discussed in detail in &lt;br /&gt;
[[Billingham and King 2000]]. We will present here a few simple examples.&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Simple Decay ===&lt;br /&gt;
&lt;br /&gt;
Suppose we have of chemical &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; which decays to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;P \to A&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate &amp;lt;math&amp;gt;k[P]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;[P]&amp;lt;/math&amp;gt; denotes concentration.  Then if we&lt;br /&gt;
set &amp;lt;math&amp;gt;p=[P]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a = [A] &amp;lt;/math&amp;gt; we obtain the equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}p}{\mathrm{d}t} = -kp\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}a}{\mathrm{d}t} = kp&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
p = p_0 e^{-kt}\,\,\,\textrm{and}\,\,\, a = a_0 + p_0(1-e^{-kt})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; are the values of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; repectively at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example 2: Quadratic Autocatalysis ===&lt;br /&gt;
&lt;br /&gt;
This example will be important when we consider reaction diffusion problems.&lt;br /&gt;
We consider the reaction &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;A + B \to 2B&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate proportional to &amp;lt;math&amp;gt;k[A][B]&amp;lt;/math&amp;gt;.  If we define &amp;lt;math&amp;gt;a = [A]&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;b = [B]&amp;lt;/math&amp;gt; we obtain the following equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}a}{\mathrm{d}t} = -kab\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}b}{\mathrm{d}t} = kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve these equations by observing that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}(a+b)}{\mathrm{d}t} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;a + b = a_0 + b_0&amp;lt;/math&amp;gt;. We can then eliminate &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}b}{\mathrm{d}t} = k(a_0 + b_0 - b)b&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is separable with solution &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
b = \frac{b_0(a_0 + b_0)e^{k(a_0 + b_0)t}}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
a = \frac{a_0(a_0 + b_0)}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;a\to 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\to a_0 + b_0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;t\to \infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Diffusion ==&lt;br /&gt;
&lt;br /&gt;
The equation for spatially homogeneous diffusion of a chemical with concentration&lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t c = D\nabla^2 c&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the [http://en.wikipedia.org/wiki/Heat_equation heat equation]. We will consider this in&lt;br /&gt;
only one spatial dimension. Consider it on the boundary  &amp;lt;math&amp;gt;-\infty &amp;lt; x &amp;lt; \infty&amp;lt;/math&amp;gt;. In this case&lt;br /&gt;
we can solve by the [http://en.wikipedia.org/wiki/Fourier_transform Fourier transform] and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t \hat{c} = -D k^2 \hat{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt; is the Fourier transform of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. This has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c} = \hat{c}_0 e^{-D k^2 t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can find the inverse transform using convolution and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \mathcal{F}^{-1} \left\{ e^{-k^2 D t} \mathcal{F} \left\{ c_0(x) \right\} \right\} = c_0(x) * \frac{1}{\sqrt{4\pi D t}} e^{-x^2/4Dt} = \frac{1}{\sqrt{4\pi D t}} \int_{-\infty}^{\infty} c_0(x) e^{-(x-s)^2/4Dt}\mathrm{d}s&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution of the dispersion equation using FFT ===&lt;br /&gt;
&lt;br /&gt;
We can solve the dispersion equation using the discrete Fourier transform and&lt;br /&gt;
its closely related numerical implementation the FFT (Fast Fourier Transform). &lt;br /&gt;
We have already met the FFT [[Numerical Solution of the KdV]] but we consider it here in more detail. &lt;br /&gt;
We consider the  concentration &lt;br /&gt;
on the finite domain &amp;lt;math&amp;gt;-L \leq x \leq  L&amp;lt;/math&amp;gt; and use a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Fourier_series Fourier series] expansion &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(t) e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;k_n = \pi n /L &amp;lt;/math&amp;gt;. If we substitute this into the diffusion equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0)e^{-k_n^2 D t} e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this is not the same solution as we obtained on the infinite domain because&lt;br /&gt;
of the boundary conditions on the finite domain. The coefficients &amp;lt;math&amp;gt;\hat{c}_n(0)&amp;lt;/math&amp;gt;&lt;br /&gt;
are found using the initial conditions so that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{2L} \int_{-L}^{L} e^{-\mathrm{i} k_n x} c_0(x) \mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key to the numerical solution of this equation is the use of the FFT. We begin by discretising the&lt;br /&gt;
domain into a series of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; points &amp;lt;math&amp;gt;x_m = -L + 2Lm/N &amp;lt;/math&amp;gt;. We then use this to&lt;br /&gt;
approximate the integral above and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{N} \sum_{m=0}^{N-1} e^{-\mathrm{i} k_n x_m} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
= \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} e^{\mathrm{i} \pi n} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also get&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{\mathrm{i} k_n x_m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
 = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N} e^{-\mathrm{i} \pi n} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
but we know that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) e^{-\mathrm{i} \pi n}  = \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \frac{1}{N} \sum_{n=0}^{N-1} \sum_{l=0}^{N-1} c_0(x_l) e^{-2\mathrm{i} \pi nl/N} e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The discrete Fourier transform ===&lt;br /&gt;
The&lt;br /&gt;
[http://en.wikipedia.org/wiki/Discrete_Fourier_transform discrete Fourier transform]&lt;br /&gt;
of a sequence of &#039;&#039;N&#039;&#039; complex numbers &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; is transformed into the  sequence of &#039;&#039;N&#039;&#039; complex numbers &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; by the DFT according to the formula:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{c}_n = \sum_{m=0}^{N-1} c_m e^{-2\pi \mathrm{i}mn/N} \quad \quad n = 0, \dots, N-1&amp;lt;/math&amp;gt;   &lt;br /&gt;
&amp;lt;/center&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
We denote the transform by the symbol &amp;lt;math&amp;gt;\mathcal{F}&amp;lt;/math&amp;gt;, as in &amp;lt;math&amp;gt;\mathbf{X} = \mathcal{F} \left \{ \mathbf{x} \right \} &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \left ( \mathbf{x} \right )&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \mathbf{x}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;inverse discrete Fourier transform (IDFT)&#039;&#039;&#039; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;c_m = \frac{1}{N} \sum_{n=0}^{N-1} \hat{c}_n e^{2\pi \mathrm{i}mn/N} \quad \quad m = 0,\dots,N-1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore we can write again, similar to the continuous transform case:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) =  \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \mathcal{F} \left\{ c_0(x_m) \right\} \right\} = c_0(x_m) * \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\} = \frac{1}{\sqrt{4\pi D t}} \sum_{l=0}^{N-1} c_0(x_{(m-l)\bmod N}) \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}_l&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Unlike it, though, now &amp;lt;math&amp;gt;\mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}\ne\frac{1}{\sqrt{4\pi D t}} e^{-x_m^2/4Dt}&amp;lt;/math&amp;gt;. It can be proven that for our previously defined &amp;lt;math&amp;gt;x_m = -L + 2Lm/N&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\pi/L,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right)\pi/L,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \right\}=\dfrac{2L}{N\sqrt{4\pi DT}}\sum_{l=-\infty}^\infty \operatorname{exp}\left[ -\dfrac{(x_m+(2l+1)L)^2}{4Dt} \right]\approx\dfrac{2L}{N\sqrt{4\pi DT}}\left( \operatorname{exp}\left[ -\dfrac{(x_m+L)^2}{4Dt} \right] + \operatorname{exp}\left[ -\dfrac{(x_m-L)^2}{4Dt} \right] \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The real power of this method lies with the [http://en.wikipedia.org/wiki/FFT Fast Fourier Transform]&lt;br /&gt;
or &#039;&#039;&#039;FFT&#039;&#039;&#039; algorithm. A naive implementation of the discrete Fourier transform above (or its inverse) &lt;br /&gt;
will involve order &amp;lt;math&amp;gt;N^2&amp;lt;/math&amp;gt; operations. Using FFT algorithms, this can be reduced to  order &amp;lt;math&amp;gt;N  \log(N)&amp;lt;/math&amp;gt;. This is an incredible speed up, for example&lt;br /&gt;
if N = 1024, FFT algorithms are more efficient by a factor of 147. This is the reason FFT&lt;br /&gt;
algorithms are used so extensively.&lt;br /&gt;
&lt;br /&gt;
== Reaction Diffusion Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider an auto catalytic reaction where the chemical species also diffuse. In this &lt;br /&gt;
case the equations are&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t a = D\partial_x^2 a - kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t b = D\partial_x^2 b + kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can non-dimensionalise these equations scaling the variables as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
z = x/x^*\,\,\,\tau = t/t^*\,\,\,\alpha = a/a_0\,\,\,\beta = b/a_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So that the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \alpha = \frac{a_0}{(x^*)^2}D\partial_z^2 \alpha &lt;br /&gt;
- k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \beta = \frac{a_0}{(x^*)^2}D\partial_z^2 \beta&lt;br /&gt;
+ k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we choose &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x^* = \sqrt{\frac{D}{ka_0}}\,\,\,t^*=\frac{1}{ka_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the system &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
-\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \beta =\partial_z^2 \beta&lt;br /&gt;
+ \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution via split step method ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Reaction diffusion.gif|thumb|right|500px|Solutions for &amp;lt;math&amp;gt;\alpha(z,0) =1&lt;br /&gt;
\, \beta(z,0) = \exp(-10z^2)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We can solve this equations numerically using a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Split-step_method split step method]. We assume&lt;br /&gt;
that at time &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; we know &amp;lt;math&amp;gt;\alpha(z,\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;\beta(z,\tau)&amp;lt;/math&amp;gt;. We then solve first the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
from &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\tau + \Delta\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can do exactly using the spectral methods just discussed for&lt;br /&gt;
the dispersion equation). We write this solution as &lt;br /&gt;
&amp;lt;math&amp;gt;\tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
Then we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
by assuming that &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is constant and subject to the boundary&lt;br /&gt;
condition that &amp;lt;math&amp;gt;\alpha(z,\tau) = \tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha(z,\tau + \Delta\tau) = e^{-\beta(z,\tau) \Delta\tau} \tilde{\alpha}(z,\tau+ \Delta\tau)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and we do likewise for the equation for &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. Note that&lt;br /&gt;
while both steps are exact the result from the split step method is an &lt;br /&gt;
approximation with error which becomes smaller as the step size becomes&lt;br /&gt;
smaller.&lt;br /&gt;
&lt;br /&gt;
We can easily implement this split step method in matlab and we obtain&lt;br /&gt;
a pair of travelling waves.&lt;br /&gt;
&lt;br /&gt;
== Travelling Waves solution ==&lt;br /&gt;
&lt;br /&gt;
When we solve the equations we found the solution formed travelling waves and&lt;br /&gt;
we now consider this phenomena in detail. &lt;br /&gt;
&lt;br /&gt;
We define a new coordinate &amp;lt;math&amp;gt;y = z - v\tau&amp;lt;/math&amp;gt; (so we will consider only&lt;br /&gt;
waves travelling to the right, although we could analyse waves travelling to&lt;br /&gt;
the left in a similar fashion).  We seek stationary solutions in &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha(y)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta(y)&amp;lt;/math&amp;gt; which satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \alpha}{\mathrm{d}y^2} + v \frac{\mathrm{d} \alpha}{\mathrm{d}y} = \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we add these equations we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 (\alpha+\beta)}{\mathrm{d}y^2} + v \frac{\mathrm{d} (\alpha+\beta)}{\mathrm{d}y} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;\alpha + \beta = c_0 + c_1 e^{-vy}&amp;lt;/math&amp;gt;. Boundary conditions&lt;br /&gt;
are that as &amp;lt;math&amp;gt;y\to\infty &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha = 1&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 0&amp;lt;/math&amp;gt; and if &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\alpha = 0&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 1&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;\alpha + \beta = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
This means that, since &amp;lt;math&amp;gt;\alpha \geq 0&amp;lt;/math&amp;gt;, we must have&lt;br /&gt;
&amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
We can then obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} + \beta(1-\beta)= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which we can write as the system of first order equations.&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_phase_portrait.jpg|thumb|right|500px|Phase portrait for out system showing&lt;br /&gt;
the equilibrium points and the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
We define the variable &amp;lt;math&amp;gt;\gamma = \frac{\mathrm{d}\beta}{\mathrm{d}y}&amp;lt;/math&amp;gt;&lt;br /&gt;
and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\mathrm{d}\beta}{\mathrm{d} y} &amp;amp;= \gamma&amp;amp;\\&lt;br /&gt;
\frac{\mathrm{d}\gamma}{\mathrm{d} y} &amp;amp;= -v\gamma + \beta(\beta -1)&amp;amp; \\&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This dynamical system has equilibrium points at &amp;lt;math&amp;gt;(0,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt;. We can analyse these equilibrium points by &lt;br /&gt;
linearization. The Jacobian matrix is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 + 2\beta &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can easily see that the Jacobian evaluated at our first equilibrium point is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(0,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues &amp;lt;math&amp;gt;\mu_{\pm} = -1/2 (v \mp \sqrt{v^2-4})&amp;lt;/math&amp;gt;.  Therefore&lt;br /&gt;
this point is a nodal sink (possibly a spiral)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_wave.gif|right|Travelling wave solution for v=2 and the position on&lt;br /&gt;
the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally,&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(1,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues  &amp;lt;math&amp;gt;\lambda_{\pm} = -1/2 (v \mp \sqrt{v^2+4})&amp;lt;/math&amp;gt;. &lt;br /&gt;
This is a a saddle point. The unstable and stable&lt;br /&gt;
separatrices leave the equilibrium point at &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; in the directions  &lt;br /&gt;
&amp;lt;math&amp;gt; \begin{pmatrix}\lambda_{\pm} \\ 1\end{pmatrix}&amp;lt;/math&amp;gt;.  The only path on which &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; are the unstable separatrices. Also, only the &lt;br /&gt;
unstable separatrix which enters the region &amp;lt;math&amp;gt;\beta&amp;lt;1&amp;lt;/math&amp;gt; is physically meaningful. &lt;br /&gt;
 &lt;br /&gt;
To find a travelling wave we need to find a heteroclinic connection &lt;br /&gt;
between the two equilibrium points which also has to satisfy the conditions &lt;br /&gt;
that &amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We need to show that the heteroclinic connection does not cross the &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
Consider the region &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R = \left\{(\beta,\gamma)\,|\, \beta&amp;lt;1,\,-k\beta&amp;lt;\gamma&amp;lt;0\right\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\beta = 1,d\beta/dy&amp;lt;0&amp;lt;/math&amp;gt; and hence all flow it into &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;.&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\gamma = 0, d\gamma/dy &amp;lt; 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0&amp;lt;\beta&amp;lt;1&amp;lt;/math&amp;gt;.  On the line&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma = -k \beta&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d\beta/dy &amp;lt; 0&amp;lt;/math&amp;gt; so that integral paths&lt;br /&gt;
enter the region if and only if &amp;lt;math&amp;gt;d\gamma/d\beta &amp;lt; \gamma/\beta&amp;lt;/math&amp;gt;. We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
d\gamma/d\beta - \gamma/\beta = -v - \frac{\beta(1-\beta)}{\gamma} -\frac{\gamma}{\beta}&lt;br /&gt;
= \frac{1}{k} (k^2 - vk +1 -\beta)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;\gamma = -k\beta&amp;lt;/math&amp;gt;.  Therefore we need to find a value of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;k^2 - vk +1 &amp;lt; 0&amp;lt;/math&amp;gt;, which is possible provided &amp;lt;math&amp;gt;v\geq 2&amp;lt;/math&amp;gt;, for example&lt;br /&gt;
&amp;lt;math&amp;gt;k = \dfrac{v}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rF4X42jP0v8}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|D0NwYlM-uOg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|5IEZJtJaDHk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|t_OjTSwVgdo}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|kTHVZaYezLk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|MVuSg5_sfYI}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hxKMOHyy6Bw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yQ-O2KIqu44}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=14504</id>
		<title>Burgers Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Burgers_Equation&amp;diff=14504"/>
		<updated>2025-11-04T08:06:38Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Exact Solution of Burgers equations */ more beautiful solution form&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Burgers Equation&lt;br /&gt;
 | next chapter = &lt;br /&gt;
 | previous chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
We have already met the conservation law for the traffic equations&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and seen how this leads to shocks. We can smooth this equation by adding&lt;br /&gt;
dispersion to the equation to give us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\rho +c\left( \rho \right) \partial _{x}\rho =\nu \partial&lt;br /&gt;
_{x}^{2}\rho &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu &amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The simplest equation of this type is to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+u\partial _{x}u=\nu \partial _{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(changing variables to &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and this equation is known as Burgers equation.&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
We can find a travelling wave solution by assuming that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =u\left( x-ct\right) =u\left( \xi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This leads to the equations &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We begin by looking at the phase plane for this system, writing &amp;lt;math&amp;gt;w=u^{\prime&lt;br /&gt;
}&amp;lt;/math&amp;gt; so that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\dfrac{\mathrm{d}u}{\mathrm{d}\xi } &amp;amp;=&amp;amp;w \\&lt;br /&gt;
\dfrac{\mathrm{d}w}{\mathrm{d}\xi } &amp;amp;=&amp;amp;\frac{1}{\nu }\left( w\left( u-c\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a degenerate system with the entire &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; axis being equilibria.&lt;br /&gt;
&lt;br /&gt;
We can also solve this equation exactly as follows.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu^{\prime }+u^{\prime }u-\nu u^{\prime \prime }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
can be integrated to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cu+\frac{1}{2}\left( u\right) ^{2}-\nu u^{\prime} =c_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be rearranged to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u^{\prime }=\frac{1}{2\nu }\left( \left( u\right) ^{2}-2cu-2c_{1}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We define the two roots of the quadratic &amp;lt;math&amp;gt;\left( u\right) ^{2}-2\nu&lt;br /&gt;
u-2c_{1}=0&amp;lt;/math&amp;gt; by &amp;lt;math&amp;gt;u_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u_{2}&amp;lt;/math&amp;gt; &lt;br /&gt;
and we assume that &amp;lt;math&amp;gt;u_{2} &amp;lt; u_{1}&amp;lt;/math&amp;gt;. Note that there is only a bounded&lt;br /&gt;
solution if we have two real roots and for the bounded solution &lt;br /&gt;
&amp;lt;math&amp;gt;u_{2} &amp;lt; u &amp;lt;  u_{1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
We note that the wave speed&lt;br /&gt;
is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c=\frac{1}{2}\left( u_{1}+u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The equation can therefore be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\nu u^{\prime }=\left( u-u_{1}\right) \left( u-u_{2}\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( \xi \right) =\frac{1}{2}\left( u_{1}+u_{2}\right) -\frac{1}{2}\left(&lt;br /&gt;
u_{1}-u_{2}\right) \tanh \left[ \left( \frac{\xi }{4\nu }\right) \left(&lt;br /&gt;
u_{1}-u_{2}\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of Burgers equation==&lt;br /&gt;
&lt;br /&gt;
We can solve the equation using our split step spectral method. The equation&lt;br /&gt;
can be written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u=-\frac{1}{2}\partial _{x}\left( u^{2}\right) +\nu \partial&lt;br /&gt;
_{x}^{2}u &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this by solving in Fourier space to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-\frac{1}{2}ik \widehat{\left( u^{2}\right)} -\nu k^{2}\hat{u} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we solve each of the steps in turn &lt;br /&gt;
for a small time interval to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\tilde{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\hat{u}\left( k,t\right) -\frac{&lt;br /&gt;
\Delta t}{2}ik\mathcal{F}\left( \left[ \mathcal{F}^{-1}\hat{u}\left(&lt;br /&gt;
k,t\right) \right] ^{2}\right) \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right) &amp;amp;=&amp;amp;\tilde{u}\left( k,t+\Delta t\right)&lt;br /&gt;
\exp \left( -\nu k^{2}\Delta t\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase plane for a travelling wave solution&lt;br /&gt;
! Numerical solution of Burgers equation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Burgers_phase.jpg|thumb|right|500px|Phase plane for a travelling wave solution of Burgers equation]]&lt;br /&gt;
| [[Image:File-Burgers2.gif|thumb|right|500px| Numerical solution of Burgers equation]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Exact Solution of Burgers equations==&lt;br /&gt;
&lt;br /&gt;
We can find an exact solution to Burgers equation. We want to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}u+u\partial _{x}u &amp;amp;=&amp;amp;\nu \partial _{x}^{2}u \\&lt;br /&gt;
u\left( x,0\right) &amp;amp;=&amp;amp;F\left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Frist we write the equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( \frac{u^{2}}{2}-\nu \partial _{x}u\right)&lt;br /&gt;
=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We want to find a function &amp;lt;math&amp;gt;\psi \left( x,t\right) &amp;lt;/math&amp;gt; such that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{x}\psi =u,\ \ \partial _{t}\psi =\nu \partial _{x}u-\frac{u^{2}}{2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that because &amp;lt;math&amp;gt;\partial _{x}\partial _{t}\psi =\partial _{t}\partial&lt;br /&gt;
_{x}\psi &amp;lt;/math&amp;gt; we will satisfy Burgers equation. This gives us the following&lt;br /&gt;
equation for &amp;lt;math&amp;gt;\psi &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We introduce the &#039;&#039;Cole-Hopf &#039;&#039; transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\psi =-2\nu \log \left( \phi \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From this we can obtain the three results:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\partial _{x}\psi &amp;amp;=-2\nu \frac{\partial _{x}\phi }{\phi } \\&lt;br /&gt;
\partial _{x}^{2}\psi &amp;amp;=2\nu \left( \frac{\partial _{x}\phi }{\phi }\right)&lt;br /&gt;
^{2}-\frac{2\nu }{\phi }\partial _{x}^{2}\phi \\&lt;br /&gt;
\partial _{t}\psi &amp;amp;=-2\nu \frac{\partial _{t}\phi }{\phi } &lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\psi =\nu \partial _{x}^{2}\psi -\frac{1}{2}\left( \partial&lt;br /&gt;
_{x}\psi \right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
becomes &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-2\nu \frac{\partial _{t}\phi }{\phi }=2\nu ^{2}\left( \frac{\partial&lt;br /&gt;
_{x}\phi }{\phi }\right) ^{2}&lt;br /&gt;
-2\nu^2 \frac{\partial_x^2\phi}{\phi}&lt;br /&gt;
-\frac{1}{2}\left( 2\nu \frac{\partial _{x}\phi &lt;br /&gt;
}{\phi }\right) ^{2} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\phi =\nu \partial _{x}^{2}\phi &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is just the diffusion equation. Note that we also have to transform the&lt;br /&gt;
boundary conditions. We have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left( x\right) =u\left( x,0\right) =-2\nu \frac{\partial _{x}\phi \left(&lt;br /&gt;
x,0\right) }{\phi \left( x,0\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can write this as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}x}\left( \log \left( \phi \right) \right) =-\frac{1}{2\nu }F\left(&lt;br /&gt;
x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,0\right) =\Phi \left( x\right) =\exp \left( -\frac{1}{2\nu }&lt;br /&gt;
\int_{0}^{x}F\left( s\right) \mathrm{d}s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We need to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\phi &amp;amp;=&amp;amp;\nu \partial _{x}^{2}\phi \\&lt;br /&gt;
\phi \left( x,0\right) &amp;amp;=&amp;amp;\Phi \left( x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We take the Fourier transform and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial _{t}\hat{\phi} &amp;amp;=&amp;amp;-k^{2}\nu \hat{\phi} \\&lt;br /&gt;
\hat{\phi}\left( k,0\right) &amp;amp;=&amp;amp;\hat{\Phi}\left( k\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{\phi}\left( k,t\right) =\hat{\Phi}\left( k\right) e^{-k^{2}\nu t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then use the convolution theorem to write &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\phi \left( x,t\right) &amp;amp;=&amp;amp;\Phi \left( x\right) * \mathcal{F}^{-1}\left[&lt;br /&gt;
e^{-k^{2}\nu t}\right] \\&lt;br /&gt;
&amp;amp;=&amp;amp;\Phi \left( x\right) * \dfrac1{\sqrt{4\pi\nu t}} e^{-x^2 / 4\nu t} \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{1}{\sqrt{4\pi \nu t}}\int_{-\infty }^{\infty }\Phi \left( y\right)&lt;br /&gt;
\exp \left[ -\frac{\left( x-y\right) ^{2}}{4\nu t}\right] \mathrm{d}y&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Which can be expressed as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\phi \left( x,t\right) =\frac{1}{\sqrt{4\pi \nu t}}\int_{-\infty }^{\infty&lt;br /&gt;
}\exp \left[ -\frac{f}{2\nu }\right] \mathrm{d}y &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x,y,t\right) =\frac{1}{2\nu }\int_{0}^{y}F\left( s\right) \mathrm{d}s+\frac{&lt;br /&gt;
\left( x-y\right) ^{2}}{2t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
To find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; we recall that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
u\left( x,t\right) &amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x}\phi \left( x,t\right) }{\phi&lt;br /&gt;
\left( x,t\right) } \\&lt;br /&gt;
&amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x}\left( \Phi \left( x\right) * e^{-x^2 / 4\nu t} \right) }{\Phi \left( x\right) * e^{-x^2 / 4\nu t} } \\&lt;br /&gt;
&amp;amp;=&amp;amp;-2\nu \dfrac{\partial _{x} \Phi \left( x\right) * e^{-x^2 / 4\nu t} }{\Phi \left( x\right) * e^{-x^2 / 4\nu t} } = \dfrac{\Phi \left( x\right) * x e^{-x^2 / 4\nu t} }{\Phi \left( x\right) * t e^{-x^2 / 4\nu t} } \\&lt;br /&gt;
&amp;amp;=&amp;amp;\dfrac{\int_{-\infty }^{\infty }\left( \frac{x-y}{t}\right) \exp \left[ -&lt;br /&gt;
\dfrac{f}{2\nu }\right] \mathrm{d}y}{\int_{-\infty }^{\infty }\exp \left[ -\frac{f}{&lt;br /&gt;
2\nu }\right] \mathrm{d}y}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;\partial_x(f * y)=\partial_x f * y = f * \partial_x y&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|tVXQmxOG_6Y}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hzgpMM_wWts}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|uH4B1XsGB-0}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|h6aDmCtJygM}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|CsnUKrLjtyQ}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14503</id>
		<title>Reaction-Diffusion Systems</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14503"/>
		<updated>2025-11-04T07:23:12Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Diffusion */ Fixes + discrete convolution&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Reaction-Diffusion Systems&lt;br /&gt;
 | next chapter = [[Burgers Equation]]&lt;br /&gt;
 | previous chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief theory of reaction diffusion waves.&lt;br /&gt;
&lt;br /&gt;
== Law of Mass Action ==&lt;br /&gt;
&lt;br /&gt;
The law of mass action states that equation rates are proportional to the concentration&lt;br /&gt;
of reacting species and the ratio in which they combined. It is discussed in detail in &lt;br /&gt;
[[Billingham and King 2000]]. We will present here a few simple examples.&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Simple Decay ===&lt;br /&gt;
&lt;br /&gt;
Suppose we have of chemical &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; which decays to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;P \to A&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate &amp;lt;math&amp;gt;k[P]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;[P]&amp;lt;/math&amp;gt; denotes concentration.  Then if we&lt;br /&gt;
set &amp;lt;math&amp;gt;p=[P]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a = [A] &amp;lt;/math&amp;gt; we obtain the equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}p}{\mathrm{d}t} = -kp\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}a}{\mathrm{d}t} = kp&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
p = p_0 e^{-kt}\,\,\,\textrm{and}\,\,\, a = a_0 + p_0(1-e^{-kt})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; are the values of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; repectively at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example 2: Quadratic Autocatalysis ===&lt;br /&gt;
&lt;br /&gt;
This example will be important when we consider reaction diffusion problems.&lt;br /&gt;
We consider the reaction &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;A + B \to 2B&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate proportional to &amp;lt;math&amp;gt;k[A][B]&amp;lt;/math&amp;gt;.  If we define &amp;lt;math&amp;gt;a = [A]&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;b = [B]&amp;lt;/math&amp;gt; we obtain the following equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}a}{\mathrm{d}t} = -kab\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}b}{\mathrm{d}t} = kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve these equations by observing that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}(a+b)}{\mathrm{d}t} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;a + b = a_0 + b_0&amp;lt;/math&amp;gt;. We can then eliminate &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}b}{\mathrm{d}t} = k(a_0 + b_0 - b)b&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is separable with solution &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
b = \frac{b_0(a_0 + b_0)e^{k(a_0 + b_0)t}}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
a = \frac{a_0(a_0 + b_0)}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;a\to 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\to a_0 + b_0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;t\to \infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Diffusion ==&lt;br /&gt;
&lt;br /&gt;
The equation for spatially homogeneous diffusion of a chemical with concentration&lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t c = D\nabla^2 c&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the [http://en.wikipedia.org/wiki/Heat_equation heat equation]. We will consider this in&lt;br /&gt;
only one spatial dimension. Consider it on the boundary  &amp;lt;math&amp;gt;-\infty &amp;lt; x &amp;lt; \infty&amp;lt;/math&amp;gt;. In this case&lt;br /&gt;
we can solve by the [http://en.wikipedia.org/wiki/Fourier_transform Fourier transform] and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t \hat{c} = -D k^2 \hat{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt; is the Fourier transform of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. This has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c} = \hat{c}_0 e^{-D k^2 t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can find the inverse transform using convolution and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \mathcal{F}^{-1} \left\{ e^{-k^2 D t} \mathcal{F} \left\{ c_0(x) \right\} \right\} = c_0(x) * \frac{1}{\sqrt{4\pi D t}} e^{-x^2/4Dt} = \frac{1}{\sqrt{4\pi D t}} \int_{-\infty}^{\infty} c_0(x) e^{-(x-s)^2/4Dt}\mathrm{d}s&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution of the dispersion equation using FFT ===&lt;br /&gt;
&lt;br /&gt;
We can solve the dispersion equation using the discrete Fourier transform and&lt;br /&gt;
its closely related numerical implementation the FFT (Fast Fourier Transform). &lt;br /&gt;
We have already met the FFT [[Numerical Solution of the KdV]] but we consider it here in more detail. &lt;br /&gt;
We consider the  concentration &lt;br /&gt;
on the finite domain &amp;lt;math&amp;gt;-L \leq x \leq  L&amp;lt;/math&amp;gt; and use a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Fourier_series Fourier series] expansion &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(t) e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;k_n = \pi n /L &amp;lt;/math&amp;gt;. If we substitute this into the diffusion equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0)e^{-k_n^2 D t} e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this is not the same solution as we obtained on the infinite domain because&lt;br /&gt;
of the boundary conditions on the finite domain. The coefficients &amp;lt;math&amp;gt;\hat{c}_n(0)&amp;lt;/math&amp;gt;&lt;br /&gt;
are found using the initial conditions so that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{2L} \int_{-L}^{L} e^{-\mathrm{i} k_n x} c_0(x) \mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key to the numerical solution of this equation is the use of the FFT. We begin by discretising the&lt;br /&gt;
domain into a series of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; points &amp;lt;math&amp;gt;x_m = -L + 2Lm/N &amp;lt;/math&amp;gt;. We then use this to&lt;br /&gt;
approximate the integral above and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{N} \sum_{m=0}^{N-1} e^{-\mathrm{i} k_n x_m} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
= \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} e^{\mathrm{i} \pi n} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also get&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{\mathrm{i} k_n x_m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
 = \sum_{n=0}^{N-1} \hat{c}_n(0) e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N} e^{-\mathrm{i} \pi n} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
but we know that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) e^{-\mathrm{i} \pi n}  = \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \frac{1}{N} \sum_{n=0}^{N-1} \sum_{l=0}^{N-1} c_0(x_l) e^{-2\mathrm{i} \pi nl/N} e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The discrete Fourier transform ===&lt;br /&gt;
The&lt;br /&gt;
[http://en.wikipedia.org/wiki/Discrete_Fourier_transform discrete Fourier transform]&lt;br /&gt;
of a sequence of &#039;&#039;N&#039;&#039; complex numbers &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; is transformed into the  sequence of &#039;&#039;N&#039;&#039; complex numbers &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; by the DFT according to the formula:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{c}_n = \sum_{m=0}^{N-1} c_m e^{-2\pi \mathrm{i}mn/N} \quad \quad n = 0, \dots, N-1&amp;lt;/math&amp;gt;   &lt;br /&gt;
&amp;lt;/center&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
We denote the transform by the symbol &amp;lt;math&amp;gt;\mathcal{F}&amp;lt;/math&amp;gt;, as in &amp;lt;math&amp;gt;\mathbf{X} = \mathcal{F} \left \{ \mathbf{x} \right \} &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \left ( \mathbf{x} \right )&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \mathbf{x}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;inverse discrete Fourier transform (IDFT)&#039;&#039;&#039; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;c_m = \frac{1}{N} \sum_{n=0}^{N-1} \hat{c}_n e^{2\pi \mathrm{i}mn/N} \quad \quad m = 0,\dots,N-1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore we can write again, similar to the continuous transform case (with the only difficulty that we need to define carefully the values of &lt;br /&gt;
&amp;lt;math&amp;gt;k_n&amp;lt;/math&amp;gt;):&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) =  \mathcal{F}^{-1} \left\{ e^{-k_n^2 D t} \mathcal{F} \left\{ c_0(x_m) \right\} \right\} = c_0(x_m) * \frac{1}{\sqrt{4\pi D t}} e^{-x_m^2/4Dt} = \frac{1}{\sqrt{4\pi D t}} \sum_{n=0}^{N-1} c_0(x_{(m-n)\bmod N}) e^{-x_{n}^2/4Dt}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The real power of this method lies with the [http://en.wikipedia.org/wiki/FFT Fast Fourier Transform]&lt;br /&gt;
or &#039;&#039;&#039;FFT&#039;&#039;&#039; algorithm. A naive implementation of the discrete Fourier transform above (or its inverse) &lt;br /&gt;
will involve order &amp;lt;math&amp;gt;N^2&amp;lt;/math&amp;gt; operations. Using FFT algorithms, this can be reduced to  order &amp;lt;math&amp;gt;N  \log(N)&amp;lt;/math&amp;gt;. This is an incredible speed up, for example&lt;br /&gt;
if N = 1024, FFT algorithms are more efficient by a factor of 147. This is the reason FFT&lt;br /&gt;
algorithms are used so extensively.&lt;br /&gt;
&lt;br /&gt;
== Reaction Diffusion Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider an auto catalytic reaction where the chemical species also diffuse. In this &lt;br /&gt;
case the equations are&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t a = D\partial_x^2 a - kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t b = D\partial_x^2 b + kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can non-dimensionalise these equations scaling the variables as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
z = x/x^*\,\,\,\tau = t/t^*\,\,\,\alpha = a/a_0\,\,\,\beta = b/a_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So that the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \alpha = \frac{a_0}{(x^*)^2}D\partial_z^2 \alpha &lt;br /&gt;
- k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \beta = \frac{a_0}{(x^*)^2}D\partial_z^2 \beta&lt;br /&gt;
+ k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we choose &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x^* = \sqrt{\frac{D}{ka_0}}\,\,\,t^*=\frac{1}{ka_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the system &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
-\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \beta =\partial_z^2 \beta&lt;br /&gt;
+ \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution via split step method ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Reaction diffusion.gif|thumb|right|500px|Solutions for &amp;lt;math&amp;gt;\alpha(z,0) =1&lt;br /&gt;
\, \beta(z,0) = \exp(-10z^2)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We can solve this equations numerically using a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Split-step_method split step method]. We assume&lt;br /&gt;
that at time &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; we know &amp;lt;math&amp;gt;\alpha(z,\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;\beta(z,\tau)&amp;lt;/math&amp;gt;. We then solve first the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
from &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\tau + \Delta\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can do exactly using the spectral methods just discussed for&lt;br /&gt;
the dispersion equation). We write this solution as &lt;br /&gt;
&amp;lt;math&amp;gt;\tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
Then we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
by assuming that &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is constant and subject to the boundary&lt;br /&gt;
condition that &amp;lt;math&amp;gt;\alpha(z,\tau) = \tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha(z,\tau + \Delta\tau) = e^{-\beta(z,\tau) \Delta\tau} \tilde{\alpha}(z,\tau+ \Delta\tau)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and we do likewise for the equation for &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. Note that&lt;br /&gt;
while both steps are exact the result from the split step method is an &lt;br /&gt;
approximation with error which becomes smaller as the step size becomes&lt;br /&gt;
smaller.&lt;br /&gt;
&lt;br /&gt;
We can easily implement this split step method in matlab and we obtain&lt;br /&gt;
a pair of travelling waves.&lt;br /&gt;
&lt;br /&gt;
== Travelling Waves solution ==&lt;br /&gt;
&lt;br /&gt;
When we solve the equations we found the solution formed travelling waves and&lt;br /&gt;
we now consider this phenomena in detail. &lt;br /&gt;
&lt;br /&gt;
We define a new coordinate &amp;lt;math&amp;gt;y = z - v\tau&amp;lt;/math&amp;gt; (so we will consider only&lt;br /&gt;
waves travelling to the right, although we could analyse waves travelling to&lt;br /&gt;
the left in a similar fashion).  We seek stationary solutions in &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha(y)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta(y)&amp;lt;/math&amp;gt; which satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \alpha}{\mathrm{d}y^2} + v \frac{\mathrm{d} \alpha}{\mathrm{d}y} = \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we add these equations we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 (\alpha+\beta)}{\mathrm{d}y^2} + v \frac{\mathrm{d} (\alpha+\beta)}{\mathrm{d}y} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;\alpha + \beta = c_0 + c_1 e^{-vy}&amp;lt;/math&amp;gt;. Boundary conditions&lt;br /&gt;
are that as &amp;lt;math&amp;gt;y\to\infty &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha = 1&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 0&amp;lt;/math&amp;gt; and if &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\alpha = 0&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 1&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;\alpha + \beta = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
This means that, since &amp;lt;math&amp;gt;\alpha \geq 0&amp;lt;/math&amp;gt;, we must have&lt;br /&gt;
&amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
We can then obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} + \beta(1-\beta)= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which we can write as the system of first order equations.&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_phase_portrait.jpg|thumb|right|500px|Phase portrait for out system showing&lt;br /&gt;
the equilibrium points and the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
We define the variable &amp;lt;math&amp;gt;\gamma = \frac{\mathrm{d}\beta}{\mathrm{d}y}&amp;lt;/math&amp;gt;&lt;br /&gt;
and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\mathrm{d}\beta}{\mathrm{d} y} &amp;amp;= \gamma&amp;amp;\\&lt;br /&gt;
\frac{\mathrm{d}\gamma}{\mathrm{d} y} &amp;amp;= -v\gamma + \beta(\beta -1)&amp;amp; \\&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This dynamical system has equilibrium points at &amp;lt;math&amp;gt;(0,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt;. We can analyse these equilibrium points by &lt;br /&gt;
linearization. The Jacobian matrix is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 + 2\beta &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can easily see that the Jacobian evaluated at our first equilibrium point is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(0,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues &amp;lt;math&amp;gt;\mu_{\pm} = -1/2 (v \mp \sqrt{v^2-4})&amp;lt;/math&amp;gt;.  Therefore&lt;br /&gt;
this point is a nodal sink (possibly a spiral)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_wave.gif|right|Travelling wave solution for v=2 and the position on&lt;br /&gt;
the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally,&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(1,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues  &amp;lt;math&amp;gt;\lambda_{\pm} = -1/2 (v \mp \sqrt{v^2+4})&amp;lt;/math&amp;gt;. &lt;br /&gt;
This is a a saddle point. The unstable and stable&lt;br /&gt;
separatrices leave the equilibrium point at &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; in the directions  &lt;br /&gt;
&amp;lt;math&amp;gt; \begin{pmatrix}\lambda_{\pm} \\ 1\end{pmatrix}&amp;lt;/math&amp;gt;.  The only path on which &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; are the unstable separatrices. Also, only the &lt;br /&gt;
unstable separatrix which enters the region &amp;lt;math&amp;gt;\beta&amp;lt;1&amp;lt;/math&amp;gt; is physically meaningful. &lt;br /&gt;
 &lt;br /&gt;
To find a travelling wave we need to find a heteroclinic connection &lt;br /&gt;
between the two equilibrium points which also has to satisfy the conditions &lt;br /&gt;
that &amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We need to show that the heteroclinic connection does not cross the &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
Consider the region &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R = \left\{(\beta,\gamma)\,|\, \beta&amp;lt;1,\,-k\beta&amp;lt;\gamma&amp;lt;0\right\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\beta = 1,d\beta/dy&amp;lt;0&amp;lt;/math&amp;gt; and hence all flow it into &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;.&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\gamma = 0, d\gamma/dy &amp;lt; 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0&amp;lt;\beta&amp;lt;1&amp;lt;/math&amp;gt;.  On the line&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma = -k \beta&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d\beta/dy &amp;lt; 0&amp;lt;/math&amp;gt; so that integral paths&lt;br /&gt;
enter the region if and only if &amp;lt;math&amp;gt;d\gamma/d\beta &amp;lt; \gamma/\beta&amp;lt;/math&amp;gt;. We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
d\gamma/d\beta - \gamma/\beta = -v - \frac{\beta(1-\beta)}{\gamma} -\frac{\gamma}{\beta}&lt;br /&gt;
= \frac{1}{k} (k^2 - vk +1 -\beta)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;\gamma = -k\beta&amp;lt;/math&amp;gt;.  Therefore we need to find a value of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;k^2 - vk +1 &amp;lt; 0&amp;lt;/math&amp;gt;, which is possible provided &amp;lt;math&amp;gt;v\geq 2&amp;lt;/math&amp;gt;, for example&lt;br /&gt;
&amp;lt;math&amp;gt;k = \dfrac{v}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rF4X42jP0v8}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|D0NwYlM-uOg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|5IEZJtJaDHk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|t_OjTSwVgdo}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|kTHVZaYezLk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|MVuSg5_sfYI}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hxKMOHyy6Bw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yQ-O2KIqu44}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14502</id>
		<title>Reaction-Diffusion Systems</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Reaction-Diffusion_Systems&amp;diff=14502"/>
		<updated>2025-10-31T11:34:54Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Reaction Diffusion Equations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Reaction-Diffusion Systems&lt;br /&gt;
 | next chapter = [[Burgers Equation]]&lt;br /&gt;
 | previous chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We present here a brief theory of reaction diffusion waves.&lt;br /&gt;
&lt;br /&gt;
== Law of Mass Action ==&lt;br /&gt;
&lt;br /&gt;
The law of mass action states that equation rates are proportional to the concentration&lt;br /&gt;
of reacting species and the ratio in which they combined. It is discussed in detail in &lt;br /&gt;
[[Billingham and King 2000]]. We will present here a few simple examples.&lt;br /&gt;
&lt;br /&gt;
=== Example 1: Simple Decay ===&lt;br /&gt;
&lt;br /&gt;
Suppose we have of chemical &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; which decays to &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;P \to A&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate &amp;lt;math&amp;gt;k[P]&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;[P]&amp;lt;/math&amp;gt; denotes concentration.  Then if we&lt;br /&gt;
set &amp;lt;math&amp;gt;p=[P]&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a = [A] &amp;lt;/math&amp;gt; we obtain the equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}p}{\mathrm{d}t} = -kp\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}a}{\mathrm{d}t} = kp&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
p = p_0 e^{-kt}\,\,\,\textrm{and}\,\,\, a = a_0 + p_0(1-e^{-kt})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;p_0&amp;lt;/math&amp;gt; are the values of &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; repectively at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Example 2: Quadratic Autocatalysis ===&lt;br /&gt;
&lt;br /&gt;
This example will be important when we consider reaction diffusion problems.&lt;br /&gt;
We consider the reaction &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;A + B \to 2B&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
with rate proportional to &amp;lt;math&amp;gt;k[A][B]&amp;lt;/math&amp;gt;.  If we define &amp;lt;math&amp;gt;a = [A]&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;b = [B]&amp;lt;/math&amp;gt; we obtain the following equations&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \frac{\mathrm{d}a}{\mathrm{d}t} = -kab\,\,\,\textrm{and}\,\,\,  \frac{\mathrm{d}b}{\mathrm{d}t} = kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve these equations by observing that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}(a+b)}{\mathrm{d}t} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;a + b = a_0 + b_0&amp;lt;/math&amp;gt;. We can then eliminate &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}b}{\mathrm{d}t} = k(a_0 + b_0 - b)b&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is separable with solution &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
b = \frac{b_0(a_0 + b_0)e^{k(a_0 + b_0)t}}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
a = \frac{a_0(a_0 + b_0)}{a_0 + b_0e^{k(a_0 + b_0)t}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that &amp;lt;math&amp;gt;a\to 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\to a_0 + b_0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;t\to \infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Diffusion ==&lt;br /&gt;
&lt;br /&gt;
The equation for spatially homogeneous diffusion of a chemical with concentration&lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t c = D\nabla^2 c&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which is the [http://en.wikipedia.org/wiki/Heat_equation heat equation]. We will consider this in&lt;br /&gt;
only one spatial dimension. Consider it on the boundary  &amp;lt;math&amp;gt;-\infty &amp;lt; x &amp;lt; \infty&amp;lt;/math&amp;gt;. In this case&lt;br /&gt;
we can solve by the [http://en.wikipedia.org/wiki/Fourier_transform Fourier transform] and obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\partial_t \hat{c} = -D k^2 \hat{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt; is the Fourier transform of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. This has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c} = \hat{c}_0 e^{-D k^2 t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can find the inverse transform using convolution and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \frac{1}{\sqrt{4\pi D t}} \int_{-\infty}^{\infty} c_0(x) e^{(x-s)^2/4Dt}\mathrm{d}s&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution of the dispersion equation using FFT ===&lt;br /&gt;
&lt;br /&gt;
We can solve the dispersion equation using the discrete Fourier transform and&lt;br /&gt;
its closely related numerical implementation the FFT (Fast Fourier Transform). &lt;br /&gt;
We have already met the FFT [[Numerical Solution of the KdV]] but we consider it here in more detail. &lt;br /&gt;
We consider the  concentration &lt;br /&gt;
on the finite domain &amp;lt;math&amp;gt;-L \leq x \leq  L&amp;lt;/math&amp;gt; and use a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Fourier_series Fourier series] expansion &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(t) e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;k_n = \pi n /L &amp;lt;/math&amp;gt;. If we substitute this into the diffusion equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0)e^{-k_n^2 D t} e^{\mathrm{i} k_n x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this is not the same solution as we obtained on the infinite domain because&lt;br /&gt;
of the boundary conditions on the finite domain. The coefficients &amp;lt;math&amp;gt;\hat{c}_n(0)&amp;lt;/math&amp;gt;&lt;br /&gt;
are found using the initial conditions so that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{2L} \int_{-L}^{L} e^{-\mathrm{i} k_n x} c_0(x) \mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The key to the numerical solution of this equation is the use of the FFT. We begin by discretising the&lt;br /&gt;
domain into a series of &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; points &amp;lt;math&amp;gt;x_m = -L + 2Lm/N &amp;lt;/math&amp;gt;. We then use this to&lt;br /&gt;
approximate the integral above and obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) = \frac{1}{N} \sum_{m=0}^{N-1} e^{-\mathrm{i} k_n x_m} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
= \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} e^{\mathrm{i} \pi n} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also get&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) = \sum_{n=-\infty}^{\infty} \hat{c}_n(0) e^{-k_n^2 D t} e^{\mathrm{i} k_n x_m}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
 = \sum_{n=-\infty}^{\infty} \hat{c}_n(0) e^{-k_n^2 D t} e^{2\mathrm{i} \pi nm/N} e^{-\mathrm{i} \pi n} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
but we know that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\hat{c}_n(0) e^{-\mathrm{i} \pi n}  = \frac{1}{N} \sum_{m=0}^{N-1} e^{-2\mathrm{i} \pi nm/N} c_0(x_m)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== The discrete Fourier transform ===&lt;br /&gt;
The&lt;br /&gt;
[http://en.wikipedia.org/wiki/Discrete_Fourier_transform discrete Fourier transform]&lt;br /&gt;
of a sequence of &#039;&#039;2N&#039;&#039; complex numbers &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &#039;&#039;c&#039;&#039;&amp;lt;sub&amp;gt;&#039;&#039;2N&#039;&#039;−1&amp;lt;/sub&amp;gt; is transformed into the  sequence of &#039;&#039;N&#039;&#039; complex numbers &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt;, ..., &amp;lt;math&amp;gt;\hat{c}&amp;lt;/math&amp;gt;&amp;lt;sub&amp;gt;&#039;&#039;N&#039;&#039;−1&amp;lt;/sub&amp;gt; by the DFT according to the formula:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\hat{c}_m = \sum_{n=0}^{N-1} c_n e^{-2\pi \mathrm{i}mn/N} \quad \quad m = 0, \dots, N-1&amp;lt;/math&amp;gt;   &lt;br /&gt;
&amp;lt;/center&amp;gt;           &lt;br /&gt;
&lt;br /&gt;
We denote the transform by the symbol &amp;lt;math&amp;gt;\mathcal{F}&amp;lt;/math&amp;gt;, as in &amp;lt;math&amp;gt;\mathbf{X} = \mathcal{F} \left \{ \mathbf{x} \right \} &amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \left ( \mathbf{x} \right )&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;\mathcal{F} \mathbf{x}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;inverse discrete Fourier transform (IDFT)&#039;&#039;&#039; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;c_n = \frac{1}{N} \sum_{m=0}^{N-1} \hat{c}_m e^{2\pi \mathrm{i}mn/N} \quad \quad n = 0,\dots,N-1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
c(x_m,t) =  \mathcal{F} \left\{ e^{-k_n^2 D t} \mathcal{F}^{-1} \left\{ c_0(x_m) \right\}&lt;br /&gt;
\right\} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that the choice of where to put the &amp;lt;math&amp;gt;1/N&amp;lt;/math&amp;gt; is arbitrary in the definition of FFT and IFFT and &lt;br /&gt;
does not exactly match here.  Of course since it appears once the formula above is correct regardless. &lt;br /&gt;
The only difficulty is that we need to define carefully the values of &lt;br /&gt;
&amp;lt;math&amp;gt;k_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The real power of this method lies with the [http://en.wikipedia.org/wiki/FFT Fast Fourier Transform]&lt;br /&gt;
or &#039;&#039;&#039;FFT&#039;&#039;&#039; algorithm. A naive implementation of the discrete Fourier transform above (or its inverse) &lt;br /&gt;
will involve order &amp;lt;math&amp;gt;N^2&amp;lt;/math&amp;gt; operations. Using FFT algorithms, this can be reduced to  order &amp;lt;math&amp;gt;N  \log(N)&amp;lt;/math&amp;gt;. This is an incredible speed up, for example&lt;br /&gt;
if N = 1024, FFT algorithms are more efficient by a factor of 147. This is the reason FFT&lt;br /&gt;
algorithms are used so extensively.&lt;br /&gt;
&lt;br /&gt;
== Reaction Diffusion Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider an auto catalytic reaction where the chemical species also diffuse. In this &lt;br /&gt;
case the equations are&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t a = D\partial_x^2 a - kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t b = D\partial_x^2 b + kab&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can non-dimensionalise these equations scaling the variables as&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
z = x/x^*\,\,\,\tau = t/t^*\,\,\,\alpha = a/a_0\,\,\,\beta = b/a_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
So that the equations become&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \alpha = \frac{a_0}{(x^*)^2}D\partial_z^2 \alpha &lt;br /&gt;
- k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{a_0}{t^*}\partial_\tau \beta = \frac{a_0}{(x^*)^2}D\partial_z^2 \beta&lt;br /&gt;
+ k a_0^2 \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we choose &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
x^* = \sqrt{\frac{D}{ka_0}}\,\,\,t^*=\frac{1}{ka_0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the system &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
-\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \beta =\partial_z^2 \beta&lt;br /&gt;
+ \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Solution via split step method ===&lt;br /&gt;
&lt;br /&gt;
[[Image:Reaction diffusion.gif|thumb|right|500px|Solutions for &amp;lt;math&amp;gt;\alpha(z,0) =1&lt;br /&gt;
\, \beta(z,0) = \exp(-10z^2)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
We can solve this equations numerically using a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Split-step_method split step method]. We assume&lt;br /&gt;
that at time &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; we know &amp;lt;math&amp;gt;\alpha(z,\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;\beta(z,\tau)&amp;lt;/math&amp;gt;. We then solve first the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = \partial_z^2 \alpha &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
from &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\tau + \Delta\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can do exactly using the spectral methods just discussed for&lt;br /&gt;
the dispersion equation). We write this solution as &lt;br /&gt;
&amp;lt;math&amp;gt;\tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;&lt;br /&gt;
Then we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_\tau \alpha = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
by assuming that &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is constant and subject to the boundary&lt;br /&gt;
condition that &amp;lt;math&amp;gt;\alpha(z,\tau) = \tilde{\alpha}(z,\tau + \Delta\tau)&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\alpha(z,\tau + \Delta\tau) = e^{-\beta(z,\tau) \Delta\tau} \tilde{\alpha}(z,\tau+ \Delta\tau)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and we do likewise for the equation for &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;. Note that&lt;br /&gt;
while both steps are exact the result from the split step method is an &lt;br /&gt;
approximation with error which becomes smaller as the step size becomes&lt;br /&gt;
smaller.&lt;br /&gt;
&lt;br /&gt;
We can easily implement this split step method in matlab and we obtain&lt;br /&gt;
a pair of travelling waves.&lt;br /&gt;
&lt;br /&gt;
== Travelling Waves solution ==&lt;br /&gt;
&lt;br /&gt;
When we solve the equations we found the solution formed travelling waves and&lt;br /&gt;
we now consider this phenomena in detail. &lt;br /&gt;
&lt;br /&gt;
We define a new coordinate &amp;lt;math&amp;gt;y = z - v\tau&amp;lt;/math&amp;gt; (so we will consider only&lt;br /&gt;
waves travelling to the right, although we could analyse waves travelling to&lt;br /&gt;
the left in a similar fashion).  We seek stationary solutions in &lt;br /&gt;
&amp;lt;math&amp;gt;\alpha(y)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta(y)&amp;lt;/math&amp;gt; which satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \alpha}{\mathrm{d}y^2} + v \frac{\mathrm{d} \alpha}{\mathrm{d}y} = \alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} = -\alpha\beta&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we add these equations we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 (\alpha+\beta)}{\mathrm{d}y^2} + v \frac{\mathrm{d} (\alpha+\beta)}{\mathrm{d}y} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;\alpha + \beta = c_0 + c_1 e^{-vy}&amp;lt;/math&amp;gt;. Boundary conditions&lt;br /&gt;
are that as &amp;lt;math&amp;gt;y\to\infty &amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\alpha = 1&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 0&amp;lt;/math&amp;gt; and if &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\alpha = 0&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;\beta = 1&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;\alpha + \beta = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
This means that, since &amp;lt;math&amp;gt;\alpha \geq 0&amp;lt;/math&amp;gt;, we must have&lt;br /&gt;
&amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
We can then obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^2 \beta}{\mathrm{d}y^2} + v \frac{\mathrm{d} \beta}{\mathrm{d}y} + \beta(1-\beta)= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which we can write as the system of first order equations.&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_phase_portrait.jpg|thumb|right|500px|Phase portrait for out system showing&lt;br /&gt;
the equilibrium points and the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
We define the variable &amp;lt;math&amp;gt;\gamma = \frac{\mathrm{d}\beta}{\mathrm{d}y}&amp;lt;/math&amp;gt;&lt;br /&gt;
and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\mathrm{d}\beta}{\mathrm{d} y} &amp;amp;= \gamma&amp;amp;\\&lt;br /&gt;
\frac{\mathrm{d}\gamma}{\mathrm{d} y} &amp;amp;= -v\gamma + \beta(\beta -1)&amp;amp; \\&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This dynamical system has equilibrium points at &amp;lt;math&amp;gt;(0,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt;. We can analyse these equilibrium points by &lt;br /&gt;
linearization. The Jacobian matrix is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 + 2\beta &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can easily see that the Jacobian evaluated at our first equilibrium point is&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(0,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
-1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues &amp;lt;math&amp;gt;\mu_{\pm} = -1/2 (v \mp \sqrt{v^2-4})&amp;lt;/math&amp;gt;.  Therefore&lt;br /&gt;
this point is a nodal sink (possibly a spiral)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:R_d_wave.gif|right|Travelling wave solution for v=2 and the position on&lt;br /&gt;
the heteroclinic connection]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additionally,&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 J_{(1,0)} =\begin{pmatrix}&lt;br /&gt;
0 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -v&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues  &amp;lt;math&amp;gt;\lambda_{\pm} = -1/2 (v \mp \sqrt{v^2+4})&amp;lt;/math&amp;gt;. &lt;br /&gt;
This is a a saddle point. The unstable and stable&lt;br /&gt;
separatrices leave the equilibrium point at &amp;lt;math&amp;gt;(1,0)&amp;lt;/math&amp;gt; in the directions  &lt;br /&gt;
&amp;lt;math&amp;gt; \begin{pmatrix}\lambda_{\pm} \\ 1\end{pmatrix}&amp;lt;/math&amp;gt;.  The only path on which &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; is bounded&lt;br /&gt;
as &amp;lt;math&amp;gt;y\to-\infty&amp;lt;/math&amp;gt; are the unstable separatrices. Also, only the &lt;br /&gt;
unstable separatrix which enters the region &amp;lt;math&amp;gt;\beta&amp;lt;1&amp;lt;/math&amp;gt; is physically meaningful. &lt;br /&gt;
 &lt;br /&gt;
To find a travelling wave we need to find a heteroclinic connection &lt;br /&gt;
between the two equilibrium points which also has to satisfy the conditions &lt;br /&gt;
that &amp;lt;math&amp;gt;0\leq \beta \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We need to show that the heteroclinic connection does not cross the &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt; axis.&lt;br /&gt;
Consider the region &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R = \left\{(\beta,\gamma)\,|\, \beta&amp;lt;1,\,-k\beta&amp;lt;\gamma&amp;lt;0\right\}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\beta = 1,d\beta/dy&amp;lt;0&amp;lt;/math&amp;gt; and hence all flow it into &amp;lt;math&amp;gt;R&amp;lt;/math&amp;gt;.&lt;br /&gt;
On the line &amp;lt;math&amp;gt;\gamma = 0, d\gamma/dy &amp;lt; 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;0&amp;lt;\beta&amp;lt;1&amp;lt;/math&amp;gt;.  On the line&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma = -k \beta&amp;lt;/math&amp;gt; we know that &amp;lt;math&amp;gt;d\beta/dy &amp;lt; 0&amp;lt;/math&amp;gt; so that integral paths&lt;br /&gt;
enter the region if and only if &amp;lt;math&amp;gt;d\gamma/d\beta &amp;lt; \gamma/\beta&amp;lt;/math&amp;gt;. We know that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
d\gamma/d\beta - \gamma/\beta = -v - \frac{\beta(1-\beta)}{\gamma} -\frac{\gamma}{\beta}&lt;br /&gt;
= \frac{1}{k} (k^2 - vk +1 -\beta)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;\gamma = -k\beta&amp;lt;/math&amp;gt;.  Therefore we need to find a value of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;k^2 - vk +1 &amp;lt; 0&amp;lt;/math&amp;gt;, which is possible provided &amp;lt;math&amp;gt;v\geq 2&amp;lt;/math&amp;gt;, for example&lt;br /&gt;
&amp;lt;math&amp;gt;k = \dfrac{v}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|rF4X42jP0v8}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|D0NwYlM-uOg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|5IEZJtJaDHk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|t_OjTSwVgdo}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|kTHVZaYezLk}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|MVuSg5_sfYI}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hxKMOHyy6Bw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yQ-O2KIqu44}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14501</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14501"/>
		<updated>2025-10-05T08:42:21Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Single Soliton Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;x=\pm\infty&amp;lt;/math&amp;gt; (which is true for the bound&lt;br /&gt;
state eigenfunctions, i.e. those from the discrete spectrum). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
Some more details on the content of this lecture can be found in [https://www.rexresearch1.com/SpinorsLibrary/SolitonsInstantonsTwistorsDunajski.pdf Dunajski, Maciej (2009). Solitons, Instantons, and Twistors] (Chapters 2.2 and 2.3).&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x, t\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknowns &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{nm} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v_n(x, t)=\sum_{m=1}^{N}\left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}f_m&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;\partial_x\left(\delta_{nm}+c_{nm}\right)=-e^{-k_mx}f_n&amp;lt;/math&amp;gt;, this gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
K\left(  x,x,t\right)  =-&amp;amp;\sum_{n=1}^{N} v_n(x, t)e^{-k_{n}x} \\&lt;br /&gt;
 =-&amp;amp;\sum_{m=1}^{N}\sum_{n=1}^{N} \left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}f_me^{-k_{n}x} \\&lt;br /&gt;
 =&amp;amp;\sum_{m=1}^{N}\sum_{n=1}^{N} \left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}\partial_x\left(\left(\mathbf{I}+\mathbf{C}\right)_{mn}\right) \\&lt;br /&gt;
 =\,&amp;amp;\operatorname{Tr}\left(\left(\mathbf{I}+\mathbf{C}\right)^{-1}\partial_x\left(\mathbf{I}+\mathbf{C}\right)\right) \\&lt;br /&gt;
=\,&amp;amp;\dfrac{\partial_x\left(\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)}{\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)} \\&lt;br /&gt;
=\,&amp;amp;\partial_x\left(\log\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
And therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right) =2\partial_{x}K\left(x,x,t\right)=2\partial^2_x\left(\log\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/(2k_1)\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\operatorname{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k_{1}^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k_{1}}e^{-\alpha/2}=e^{-k_{1}x_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14500</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14500"/>
		<updated>2025-10-04T09:26:05Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Proof of an Infinite Number of Conservation Laws */ fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting features of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Let&#039;s begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since we can rewrite the equation into the conservation form &amp;lt;math&amp;gt;\partial _{t}w+\partial_{x}\left(3w^2-2\varepsilon ^{2}w^{3}+\partial _{x}^{2}w\right)=0&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{4}-\partial _{x}w_{3}-2w_{0}w_{2}-w_{1}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u = \partial _{x}(\partial _{x}^2 u  + 2 u^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{4} = \partial _{x}^4 u  + 6 u \partial_{x}^2 u + 5 (\partial_{x} u)^2 + 2 u^3 = \partial _{x}(\partial _{x}^3 u  + 6 u \partial_{x} u) + 2 u^3 - (\partial_{x} u)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just an &amp;lt;math&amp;gt;\partial _{x}&amp;lt;/math&amp;gt; of some &amp;lt;math&amp;gt;X(u)&amp;lt;/math&amp;gt; and therefore does not actually provide a conservation law.&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }\partial_{x} X(u) \mathrm{d} x = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_2&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w_4&amp;lt;/math&amp;gt; correspond to conservation of &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }u\mathrm{d} x&amp;lt;/math&amp;gt; (mass), &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }u^2\mathrm{d} x&amp;lt;/math&amp;gt; (momentum), and &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }(2 u^3 - (\partial_{x} u)^2)\mathrm{d} x&amp;lt;/math&amp;gt; (energy).&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14499</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14499"/>
		<updated>2025-09-30T06:50:39Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Reflectionless Potential */ this can actually be solved nicely (Dunajski 2009)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;x=\pm\infty&amp;lt;/math&amp;gt; (which is true for the bound&lt;br /&gt;
state eigenfunctions, i.e. those from the discrete spectrum). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
Some more details on the content of this lecture can be found in [https://www.rexresearch1.com/SpinorsLibrary/SolitonsInstantonsTwistorsDunajski.pdf Dunajski, Maciej (2009). Solitons, Instantons, and Twistors] (Chapters 2.2 and 2.3).&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x, t\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknowns &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{nm} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v_n(x, t)=\sum_{m=1}^{N}\left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}f_m&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since &amp;lt;math&amp;gt;\partial_x\left(\delta_{nm}+c_{nm}\right)=-e^{-k_mx}f_n&amp;lt;/math&amp;gt;, this gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
K\left(  x,x,t\right)  =-&amp;amp;\sum_{n=1}^{N} v_n(x, t)e^{-k_{n}x} \\&lt;br /&gt;
 =-&amp;amp;\sum_{m=1}^{N}\sum_{n=1}^{N} \left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}f_me^{-k_{n}x} \\&lt;br /&gt;
 =&amp;amp;\sum_{m=1}^{N}\sum_{n=1}^{N} \left(\left(\mathbf{I}+\mathbf{C}\right)  ^{-1}\right)_{nm}\partial_x\left(\left(\mathbf{I}+\mathbf{C}\right)_{mn}\right) \\&lt;br /&gt;
 =\,&amp;amp;\operatorname{Tr}\left(\left(\mathbf{I}+\mathbf{C}\right)^{-1}\partial_x\left(\mathbf{I}+\mathbf{C}\right)\right) \\&lt;br /&gt;
=\,&amp;amp;\dfrac{\partial_x\left(\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)}{\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)} \\&lt;br /&gt;
=\,&amp;amp;\partial_x\left(\log\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
And therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right) =2\partial_{x}K\left(x,x,t\right)=2\partial^2_x\left(\log\operatorname{det}\left(\mathbf{I}+\mathbf{C}\right)\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\operatorname{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Example_Calculations_for_the_KdV_and_IST&amp;diff=14498</id>
		<title>Example Calculations for the KdV and IST</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Example_Calculations_for_the_KdV_and_IST&amp;diff=14498"/>
		<updated>2025-09-30T06:01:51Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Example 2: Hat Function Potential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Example Calculations for the KdV and IST&lt;br /&gt;
 | next chapter = [[Reaction-Diffusion Systems]]&lt;br /&gt;
 | previous chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
We consider here the two examples we treated in [[Properties of the Linear Schrodinger Equation]].&lt;br /&gt;
&lt;br /&gt;
==Example1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We have already calculated the scattering data for the delta function&lt;br /&gt;
potential in [[Properties of the Linear Schrodinger Equation]]. The scattering data is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  k_{1},\sqrt{k_{1}},\frac{u_{0}}{2ik-u_{0}&lt;br /&gt;
},\frac{2ik}{2ik-u_{0}}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The spectral data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{1}=k_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{1}\left(  t\right)  =c_{1}\left(  0\right)  e^{4k_{1}^{3}t}=\sqrt{k_{1}&lt;br /&gt;
}e^{4k_{1}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,t\right)  =\left(  k_{1},\sqrt{k_{1}}e^{4k_{1}^{3}t}&lt;br /&gt;
,\frac{u_{0}}{2ik-u_{0}}e^{8ik^{3}t},\frac{2ik}{2ik-u_{0}}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
We solve for the case when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0, &amp;amp; x\notin\left[  -1,1\right]  \\&lt;br /&gt;
20, &amp;amp; x\in\left[  -1,1\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have already solved this case in [[Properties of the Linear Schrodinger Equation]].&lt;br /&gt;
For the even solutions we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For the odd solutions we need to solve and&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that the solitons have amplitude &amp;lt;math&amp;gt;2k_{n}^{2}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-2\lambda_{n}&amp;lt;/math&amp;gt;. This&lt;br /&gt;
can be seen in the height of the solitary waves. &lt;br /&gt;
&lt;br /&gt;
We cannot work with a hat function numerically, because the jump in &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; leads&lt;br /&gt;
to high frequencies which dominate the response. We can smooth our function&lt;br /&gt;
by a number of methods. We use here the function &amp;lt;math&amp;gt;\tanh\left(  x\right)  &amp;lt;/math&amp;gt; so&lt;br /&gt;
we write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\frac{20}{2}\left(  \tanh\left(  \nu\left(  x+1\right)&lt;br /&gt;
\right)  -\tanh\left(  \nu\left(  x-1\right)  \right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\nu&amp;lt;/math&amp;gt; is an appropriate constant to make the function increase in value&lt;br /&gt;
sufficiently rapidly but not too rapidly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Wide_function.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
| [[Image:Widefunction.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt;. ]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|K0zeheguRKo}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14497</id>
		<title>Introduction to KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14497"/>
		<updated>2025-09-30T05:55:39Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Formula for the solitary wave */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to KdV&lt;br /&gt;
 | next chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
 | previous chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
The KdV (Korteweg-De Vries) equation is one of the most important non-linear&lt;br /&gt;
pde&#039;s. It was originally derived to model shallow water waves with weak&lt;br /&gt;
nonlinearities, but it has a wide variety of applications. The derivation of &lt;br /&gt;
the KdV is given in [[KdV Equation Derivation]]. The KdV equation&lt;br /&gt;
is written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+6u\partial _{x}u+\partial _{x}^{3}u=0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about it can be found at [http://en.wikipedia.org/wiki/Korteweg%E2%80%93de_Vries_equation Korteweg de Vries equation]&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
The KdV equation posesses travelling wave solutions. One particular&lt;br /&gt;
travelling wave solution is called a soltion and it was discovered&lt;br /&gt;
experimentally by [http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell] &lt;br /&gt;
in 1834. However, it was not understood&lt;br /&gt;
theoretically until the work of [http://en.wikipedia.org/wiki/Diederik_Korteweg Korteweg] and &lt;br /&gt;
[http://en.wikipedia.org/wiki/Gustav_de_Vries de Vries] in 1895.&lt;br /&gt;
&lt;br /&gt;
We begin with the assumption that the wave travels with constant form, i.e.&lt;br /&gt;
is of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =f\left( x-ct\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that in this equation the parameter &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is an unknown as is the&lt;br /&gt;
function &amp;lt;math&amp;gt;f.&amp;lt;/math&amp;gt; &lt;br /&gt;
Only very special values of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; will give travelling&lt;br /&gt;
waves. &lt;br /&gt;
We introduce the coordinate &amp;lt;math&amp;gt;\zeta = x - ct&amp;lt;/math&amp;gt;.&lt;br /&gt;
If we substitute this expression into the KdV equation we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-c\frac{\mathrm{d}f}{\mathrm{d}\zeta}+6f\frac{\mathrm{d}f}{\mathrm{d}\zeta}+\frac{\mathrm{d}^{3}f}{\mathrm{d}\zeta^{3}}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can integrate this with respect to &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; is a constant of integration.&lt;br /&gt;
&lt;br /&gt;
If we think about this equation as Newton&#039;s second law in a potential well &amp;lt;math&amp;gt;&lt;br /&gt;
V(f) &amp;lt;/math&amp;gt; then the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}= -\frac{\mathrm{d}V}{\mathrm{d}f} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then the potential well is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V\left( f\right) =-A_{0}-A_{1}f-c\frac{f^{2}}{2}+f^{3} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore our equation for &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; may be thought of as the motion of a particle&lt;br /&gt;
in a cubic well.&lt;br /&gt;
&lt;br /&gt;
The constant &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; has no effect on our solution so we can set it to be zero. &lt;br /&gt;
We can choose the constant &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; and then we have a&lt;br /&gt;
maximum at &amp;lt;math&amp;gt;f=0&amp;lt;/math&amp;gt;. There is a solution which rolls from this at &amp;lt;math&amp;gt;t=-\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
and then runs up the other side and finally returns to the maximum at &amp;lt;math&amp;gt;&lt;br /&gt;
t=\infty .&amp;lt;/math&amp;gt; This corresponds to a solitary wave solution.&lt;br /&gt;
&lt;br /&gt;
We can also think about the equation as a first order system using &amp;lt;math&amp;gt;&lt;br /&gt;
f^{^{\prime }}=v.&amp;lt;/math&amp;gt; This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;v \\&lt;br /&gt;
\frac{\mathrm{d}v}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;A_{1}+cf-3f^{2}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we chose &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; then we obtain two equilibria at &amp;lt;math&amp;gt;(f,v)=\left(&lt;br /&gt;
0,0\right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(c/3,0).&amp;lt;/math&amp;gt; If we analysis these equilibria we find the&lt;br /&gt;
first is a saddle and the second is a nonlinear center (it is neither repelling nor&lt;br /&gt;
attracting). &lt;br /&gt;
The Jacobian matrix for the saddle point is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
J_{\left( 0,0\right) }=\left( &lt;br /&gt;
\begin{array}{cc}&lt;br /&gt;
0 &amp;amp; 1 \\ &lt;br /&gt;
c &amp;amp; 0&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues at &amp;lt;math&amp;gt;\pm \sqrt{c}&amp;lt;/math&amp;gt; and the incident directions are &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
1\\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow \sqrt{c},\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
-1 \\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow -\sqrt{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
There is a&lt;br /&gt;
homoclinic connection which connects the equilibrium point at the origin. This homoclinic&lt;br /&gt;
connection represents the solitary wave.  Within this homoclinic connection &lt;br /&gt;
lie periodic orbits which represent the cnoidal waves.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase portrait&lt;br /&gt;
! Solitary Wave&lt;br /&gt;
! Cnoidal Wave&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Kdv phase portrait.jpg|thumb|350px|Phase portrait]]&lt;br /&gt;
| [[Image:Kdv wave solitary2.gif|thumb|350px|Solitary Wave]]&lt;br /&gt;
| [[Image:Kdv wave cn.gif|thumb|350px|Cnoidal Wave]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We can also integrate the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
by multiplying by &amp;lt;math&amp;gt;f^{\prime }&amp;lt;/math&amp;gt;and integrating. This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\left( f^{^{\prime }}\right) ^{2}}{2}=A_{0}+A_{1}f + c\frac{&lt;br /&gt;
f^{2}}{2}-f^{3} = -V(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is no coincidence that the right hand side is the potential energy, because this&lt;br /&gt;
is nothing more that the equation for conservation of energy (or the first&lt;br /&gt;
integral of the Lagrangian system) which does not depend on &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is a separable equation and the only challenge is to integrate &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{1}{\sqrt{-2V(f)}} \mathrm{d}f.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Formula for the solitary wave==&lt;br /&gt;
&lt;br /&gt;
We know that the solitary wave solution is found when &amp;lt;math&amp;gt;&lt;br /&gt;
A_{0}=A_{1}=0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( f^{^{\prime }}\right) ^{2}=f^{2}\left( c-2f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can be solved by separation of variables to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}}=\int \mathrm{d}\zeta &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then substitute &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and note that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c-2f=c\left( 1-\mathrm{sech}^{2}\left( s\right) \right) =c\tanh ^{2}\left( f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}s}=-c\frac{\sinh \left( f\right) }{\cosh ^{3}\left( f\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}} &amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}\int \frac{\sinh \left(&lt;br /&gt;
f\right) }{\mathrm{sech}^{2}\left( s\right) \tanh \left( f\right) \cosh ^{3}\left(&lt;br /&gt;
f\right) }\mathrm{d}s \\&lt;br /&gt;
&amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}s&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{2}{\sqrt{c}}s=\zeta+a &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f(\zeta)=\frac{1}{2}c\,\mathrm{sech}^{2}\left( \frac{\sqrt{c}}{2}\left( \zeta+a\right) \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Of course we assumed that &amp;lt;math&amp;gt;\zeta=x-ct&amp;lt;/math&amp;gt; so the formula for the solitary wave is&lt;br /&gt;
given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =\frac{1}{2}c\,\mathrm{sech}^{2}\left[ \frac{\sqrt{c}}{2}\left(&lt;br /&gt;
x-ct+a\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that a solution exists for each &lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and that the amplitude is proportional to &amp;lt;math&amp;gt;c.&amp;lt;/math&amp;gt; All of this was&lt;br /&gt;
discovered experimentally by &lt;br /&gt;
[http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell].&lt;br /&gt;
&lt;br /&gt;
==Formula for the cnoidal wave==&lt;br /&gt;
&lt;br /&gt;
If we consider the case when the solution oscillates between two values &amp;lt;math&amp;gt;F_2 &amp;lt; F_3&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can assume are also roots of &amp;lt;math&amp;gt;V(f)&amp;lt;/math&amp;gt; without loss of generality) then &lt;br /&gt;
we can integrate the equation to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( \zeta\right) =F_2+(F_3 - F_2) \mathrm{cn}^{2}\left( \gamma \zeta ;k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;cn&amp;lt;/math&amp;gt; is a Jacobi Elliptic function and&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are constants which depend on &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. &lt;br /&gt;
Derivation of this equation is found [[KdV Cnoidal Wave Solutions]].&lt;br /&gt;
We can write this equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =a+b \mathrm{cn}^{2}\left( \gamma (x-ct);k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a=k^2\gamma^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c = 6b + 4(2k^2 -1)\gamma^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
These waves are known as [http://en.wikipedia.org/wiki/Cnoidal_wave cnoidal waves].&lt;br /&gt;
&lt;br /&gt;
In the limit the two solutions agree. We also obtain a sinusoidal solution in the limit of &lt;br /&gt;
small amplitude.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SzZ-KhvvPio}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QltlSQQBtrs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NJ7h3Z9QtvU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NictSlSgRbM}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14496</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14496"/>
		<updated>2025-09-30T05:15:41Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Reflectionless Potential */ revert&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;x=\pm\infty&amp;lt;/math&amp;gt; (which is true for the bound&lt;br /&gt;
state eigenfunctions, i.e. those from the discrete spectrum). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
Some more details on the content of this lecture can be found in [https://www.rexresearch1.com/SpinorsLibrary/SolitonsInstantonsTwistorsDunajski.pdf Dunajski, Maciej (2009). Solitons, Instantons, and Twistors] (Chapters 2.2 and 2.3).&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x, t\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknowns &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14495</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14495"/>
		<updated>2025-09-30T05:11:45Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Reflectionless Potential */ typos&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;x=\pm\infty&amp;lt;/math&amp;gt; (which is true for the bound&lt;br /&gt;
state eigenfunctions, i.e. those from the discrete spectrum). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
Some more details on the content of this lecture can be found in [https://www.rexresearch1.com/SpinorsLibrary/SolitonsInstantonsTwistorsDunajski.pdf Dunajski, Maciej (2009). Solitons, Instantons, and Twistors] (Chapters 2.2 and 2.3).&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x, t\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknowns &amp;lt;math&amp;gt;v_{m}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14494</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14494"/>
		<updated>2025-09-29T07:00:52Z</updated>

		<summary type="html">&lt;p&gt;Levi: some clarifications, add book link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;x=\pm\infty&amp;lt;/math&amp;gt; (which is true for the bound&lt;br /&gt;
state eigenfunctions, i.e. those from the discrete spectrum). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
Some more details on the content of this lecture can be found in [https://www.rexresearch1.com/SpinorsLibrary/SolitonsInstantonsTwistorsDunajski.pdf Dunajski, Maciej (2009). Solitons, Instantons, and Twistors] (Chapters 2.2 and 2.3).&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknows &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14493</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14493"/>
		<updated>2025-09-28T10:51:04Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{-\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is bounded (which is true for the bound&lt;br /&gt;
state eigenfunctions). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknows &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14492</id>
		<title>Connection betwen KdV and the Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Connection_betwen_KdV_and_the_Schrodinger_Equation&amp;diff=14492"/>
		<updated>2025-09-28T10:49:03Z</updated>

		<summary type="html">&lt;p&gt;Levi: some more explanations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Connection betwen KdV and the Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Example Calculations for the KdV and IST]]&lt;br /&gt;
 | previous chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
If we substitute the relationship&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
into the KdV after some manipulation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda w^{2}+\partial_{x}\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;Q=\partial_{t}w+\partial_{x}^{3}w-3\left(  \lambda-u\right)&lt;br /&gt;
\partial_{x}w.&amp;lt;/math&amp;gt; If we integrate this equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int^\infty_{-\infty}\partial_{t}\lambda w^{2}\,\mathrm{d}x+\left(  w\partial_{x}Q-\partial&lt;br /&gt;
_{x}wQ\right)\Bigg|^\infty_{\infty}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and, since &amp;lt;math&amp;gt;w^2&amp;gt;0&amp;lt;/math&amp;gt; except for some isolated points&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}\lambda=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
provided that the eigenfunction &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; is bounded (which is true for the bound&lt;br /&gt;
state eigenfunctions). This shows that the discrete eigenvalues are unchanged&lt;br /&gt;
and &amp;lt;math&amp;gt;u\left(  x,t\right)  &amp;lt;/math&amp;gt; evolves according to the KdV. Many other&lt;br /&gt;
properties can be found.&lt;br /&gt;
&lt;br /&gt;
==Scattering Data==&lt;br /&gt;
&lt;br /&gt;
For the discrete spectrum the eigenfunctions behave like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{n}\left(  x,t\right)  =c_{n}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\infty&amp;lt;/math&amp;gt; with&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w_{n}\left(  x,t\right)  \right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous spectrum looks like&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx \mathrm{e}^{-\mathrm{i}kx}+r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}&lt;br /&gt;
,\ \ \ x\rightarrow-\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x,t\right)  \approx a\left(  k,t\right)  \mathrm{e}^{-\mathrm{i}kx},\ \ \ x\rightarrow&lt;br /&gt;
\infty&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is the reflection coefficient and &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is the transmission&lt;br /&gt;
coefficient. This gives us the scattering data at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
S\left(  \lambda,0\right)  =\left(  \left\{  k_{n},c_{n}\left(  0\right)&lt;br /&gt;
\right\}  _{n=1}^{N},r\left(  k,0\right)  ,a\left(  k,0\right)  \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The scattering data evolves as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}(t)=k_{n}(0) = k_{n}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{n}\left(  t\right)  =c_{n}\left(  0\right)  e^{4k_{n}^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
r\left(  k,t\right)  =r\left(  k,0\right)  e^{8ik^{3}t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
a\left(  k,t\right)  =a\left(  k,0\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can recover &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from scattering data. We write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}&lt;br /&gt;
x}+\frac{1}{2\pi}\int_{-\infty}^{\infty}r\left(  k,t\right)  \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y;t\right)  +F\left(  x+y;t\right)  +\int_{x}^{\infty}K\left(&lt;br /&gt;
x,z;t\right)  F\left(  z+y;t\right)  \mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This is a linear integral equation called the Gelfand-Levitan-Marchenko equation. We then find &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; from&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x,t\right)  =2\partial_{x}K\left(  x,x,t\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Reflectionless Potential==&lt;br /&gt;
&lt;br /&gt;
In general the IST is difficult to solve. However, there is a simplification&lt;br /&gt;
we can make when we have a reflectionless potential (which we will see gives&lt;br /&gt;
rise to the soliton solutions). The reflectionless potential is the case when&lt;br /&gt;
&amp;lt;math&amp;gt;r\left(  k,0\right)  =0&amp;lt;/math&amp;gt; for all values of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; In this case&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
F\left(  x,t\right)  =\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  +\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)&lt;br /&gt;
e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}K\left(  x,z,t\right)&lt;br /&gt;
\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
From the equation we can see that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the equation,&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}v_{n}\left(  x,t\right)  e^{-k_{n}y}+\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }+\int_{x}^{\infty}&lt;br /&gt;
-\sum_{m=1}^{N}v_{m}\left(  x,t\right)  e^{-k_{m}z}\sum_{n=1}^{N}c_{n}&lt;br /&gt;
^{2}\left(  t\right)  e^{-k_{n}\left(  y+z\right)  }\mathrm{d}z=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which leads to&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\sum_{n=1}^{N}  v_{n}\left(  x,t\right)  e^{-k_{n}y}&lt;br /&gt;
+\sum_{n=1}^{N}c_{n}^{2}\left(  t\right)  e^{-k_{n}\left(  x+y\right)  }&lt;br /&gt;
-\sum_{n=1}^{N}\sum_{m=1}^{N}\frac{ c_{n}^{2}\left(&lt;br /&gt;
t\right)  }{k_{n}+k_{m}}v_{m}\left(  x\right)  e^{-k_{m}x}e^{-k_{n}\left(&lt;br /&gt;
y+x\right)  }=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and we can eliminate the sum over &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and the&lt;br /&gt;
&amp;lt;math&amp;gt;e^{-k_{n}y}&amp;lt;/math&amp;gt; to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-v_{n}\left(  x,t\right)  +c_{n}^2\left(  t\right)  e^{-k_{n}x}-\sum_{m=1}&lt;br /&gt;
^{N}\frac{c_{n}^2\left(  t\right)   }{k_{n}+k_{m}}&lt;br /&gt;
v_{m}\left(  x,t\right)  e^{-\left(  k_{m}+k_{n}\right)  x}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which is an algebraic (finite dimensional system) for the unknows &amp;lt;math&amp;gt;v_{n}.&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We can write this as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(  \mathbf{I}+\mathbf{C}\right)  \vec{v}=\vec{f}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f_{m}=c_{m}^2\left(  t\right)  e^{-k_{m}x}&amp;lt;/math&amp;gt; and&lt;br /&gt;
the elements of &amp;lt;math&amp;gt;\mathbf{C}&amp;lt;/math&amp;gt; are given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{mn} = \frac{c_{n}^2\left(  t\right)}&lt;br /&gt;
{k_{n}+k_{m}}e^{-\left(  k_{m}+k_{n}\right)  x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
K\left(  x,y,t\right)  =-\sum_{m=1}^{N} \left(&lt;br /&gt;
\mathbf{I}+\mathbf{C}\right)  ^{-1}\vec{f}e^{-k_{m}y}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then find &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Single Soliton Example ===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; (a single soliton&lt;br /&gt;
solution) we get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
K\left(  x,x,t\right)   &amp;amp;  =-\frac{c_{1}^2\left(  t\right)  &lt;br /&gt;
e^{-2k_{1}x}}{1+\frac{c_{1}^2\left(  t\right)  }&lt;br /&gt;
{2k_{1}}e^{-2 k_{1} x}}\\&lt;br /&gt;
&amp;amp;  =\frac{-1}{e^{2k_{1}x - 8k_{1}^{3}t-\alpha} + 1/2k_1}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;e^{-\alpha}=1/c_{0}^{2}\left(  0\right)  .&amp;lt;/math&amp;gt; Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u\left(  x,t\right)   &amp;amp;  =2\partial_{x}K\left(  x,x,t\right)  \\&lt;br /&gt;
&amp;amp;  =\frac{4k_{1}e^{2k_{1}x-8k_{1}^{3}t-\alpha}}{\left( e^{2k_{1}&lt;br /&gt;
x-8k_{1}^{3}t-\alpha} + 1/2k_1\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =\frac{8k_{1}^{2}}{\left(  \sqrt{2k_{1}}e^{\theta}+e^{-\theta}/\sqrt&lt;br /&gt;
{2k_{1}}\right)  ^{2}}\\&lt;br /&gt;
&amp;amp;  =2k_{1}^{2}\mbox{sech}^{2}\left\{  k_{1}\left(  x-x_{0}\right)  -4k_{1}&lt;br /&gt;
^{3}t\right\}&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\theta=k_{1}x-4k^{3}t-\alpha/2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sqrt{2k}e^{-\alpha/2}=e^{-kx_{0}&lt;br /&gt;
}&amp;lt;/math&amp;gt;. This is of course the single soliton solution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|KHGoPCoyP28}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|8mVq6MQWO3I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|meTgaaGKsfQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AfAQyjzvJUU}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14491</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14491"/>
		<updated>2025-09-28T09:27:56Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Case when \lambda&amp;gt;0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
We consider the cases of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain (as &amp;lt;math&amp;gt;w\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt;)&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
2\left(  a^2\dfrac{e^{-u_{0}x}}{-u_{0}}\right)\Bigg|_{0}^{\infty}=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\dfrac{2a^2}{u_{0}}=1&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the incident wave, &amp;lt;math&amp;gt;r\mathrm{e}^{\mathrm{i}kx}&amp;lt;/math&amp;gt; is the reflected wave, and &amp;lt;math&amp;gt;t\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the transmitted wave.&lt;br /&gt;
&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\zeta,\zeta\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\zeta,\zeta\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\zeta,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\zeta,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; -\cos\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\sin\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; -\cos\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\sin\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\zeta}\sin\kappa\zeta+k\cos\kappa\zeta&lt;br /&gt;
e^{-k\zeta}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\zeta=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\zeta,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; \sin\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\cos\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; \sin\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\cos\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\zeta}a\cos\kappa\zeta+k\sin\kappa\zeta e^{-k\zeta}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\zeta\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\zeta\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivatives at &amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\zeta} &amp;amp; \cos\kappa\zeta &amp;amp; -\sin\kappa\zeta &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\zeta} &amp;amp; \kappa\sin\kappa\zeta &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\zeta &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\zeta &amp;amp; \sin\kappa\zeta &amp;amp; -\mathrm{e}^{-\mathrm{i}k\zeta}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\zeta &amp;amp; \kappa\cos\kappa\zeta &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\zeta}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14490</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14490"/>
		<updated>2025-09-28T08:44:25Z</updated>

		<summary type="html">&lt;p&gt;Levi: change varsigma to actual zeta&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
We consider the cases of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain (as &amp;lt;math&amp;gt;w\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt;)&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
2\left(  a^2\dfrac{e^{-u_{0}x}}{-u_{0}}\right)\Bigg|_{0}^{\infty}=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\dfrac{2a^2}{u_{0}}=1&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the incident wave, &amp;lt;math&amp;gt;r\mathrm{e}^{\mathrm{i}kx}&amp;lt;/math&amp;gt; is the reflected wave, and &amp;lt;math&amp;gt;t\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the transmitted wave.&lt;br /&gt;
&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\zeta,\zeta\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\zeta,\zeta\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\zeta,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\zeta,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; -\cos\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\sin\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; -\cos\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\sin\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\zeta}\sin\kappa\zeta+k\cos\kappa\zeta&lt;br /&gt;
e^{-k\zeta}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\zeta=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\zeta,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \zeta,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; \sin\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\cos\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\zeta} &amp;amp; \sin\kappa\zeta\\&lt;br /&gt;
ke^{-k\zeta} &amp;amp; -\kappa\cos\kappa\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\zeta}a\cos\kappa\zeta+k\sin\kappa\zeta e^{-k\zeta}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\zeta\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\zeta\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\zeta&amp;lt; x &amp;lt;\zeta\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\zeta&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm\zeta&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\zeta} &amp;amp; \cos\kappa\zeta &amp;amp; -\sin\kappa\zeta &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\zeta} &amp;amp; \kappa\sin\kappa\zeta &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\zeta &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\zeta &amp;amp; \sin\kappa\zeta &amp;amp; -\mathrm{e}^{-\mathrm{i}k\zeta}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\zeta &amp;amp; \kappa\cos\kappa\zeta &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\zeta}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14489</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14489"/>
		<updated>2025-09-28T08:43:39Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Case when \lambda&amp;gt;0 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
We consider the cases of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain (as &amp;lt;math&amp;gt;w\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt;)&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
2\left(  a^2\dfrac{e^{-u_{0}x}}{-u_{0}}\right)\Bigg|_{0}^{\infty}=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\dfrac{2a^2}{u_{0}}=1&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the incident wave, &amp;lt;math&amp;gt;r\mathrm{e}^{\mathrm{i}kx}&amp;lt;/math&amp;gt; is the reflected wave, and &amp;lt;math&amp;gt;t\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the transmitted wave.&lt;br /&gt;
&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varsigma,\varsigma\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\varsigma,\varsigma\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\varsigma}\sin\kappa\varsigma+k\cos\kappa\varsigma&lt;br /&gt;
e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\varsigma=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\varsigma,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\varsigma}a\cos\kappa\varsigma+k\sin\kappa\varsigma e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\varsigma\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \cos\kappa\varsigma &amp;amp; -\sin\kappa\varsigma &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\varsigma &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\varsigma &amp;amp; \sin\kappa\varsigma &amp;amp; -\mathrm{e}^{-\mathrm{i}k\varsigma}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa\varsigma &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14488</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14488"/>
		<updated>2025-09-28T06:19:49Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting features of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Let&#039;s begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since we can rewrite the equation into the conservation form &amp;lt;math&amp;gt;\partial _{t}w+\partial_{x}\left(3w^2-2\varepsilon ^{2}w^{3}+\partial _{x}^{2}w\right)=0&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{4}-\partial _{x}w_{3}-2w_{0}w_{2}-w_{1}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u = \partial _{x}(\partial _{x}^2 u  + 2 u^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{4} = \partial _{x}^4 u  + 6 u \partial_{x}^2 u + 5 (\partial_{x} u)^2 + 2 u^3 = \partial _{x}(\partial _{x}^3 u  + 6 u \partial_{x} u) + 2 u^3 - (\partial_{x} u)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just an &amp;lt;math&amp;gt;\partial _{x}&amp;lt;/math&amp;gt; of some &amp;lt;math&amp;gt;X(u)&amp;lt;/math&amp;gt; and therefore does not actually provide a conservation law.&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }\partial_{x} X(u) \mathrm{d} x = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_2&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w_4&amp;lt;/math&amp;gt; correspond to conservation of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; (mass), &amp;lt;math&amp;gt;u^2&amp;lt;/math&amp;gt; (momentum), and &amp;lt;math&amp;gt;2 u^3 - (\partial_{x} u)^2&amp;lt;/math&amp;gt; (energy).&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14487</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14487"/>
		<updated>2025-09-28T06:18:36Z</updated>

		<summary type="html">&lt;p&gt;Levi: a bit more explanations&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
We consider the cases of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain (as &amp;lt;math&amp;gt;w\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt;)&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
2\left(  a^2\dfrac{e^{-u_{0}x}}{-u_{0}}\right)\Bigg|_{0}^{\infty}=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\dfrac{2a^2}{u_{0}}=1&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the incident wave, &amp;lt;math&amp;gt;r\mathrm{e}^{\mathrm{i}kx}&amp;lt;/math&amp;gt; is the reflected wave, and &amp;lt;math&amp;gt;t\mathrm{e}^{-\mathrm{i}kx}&amp;lt;/math&amp;gt; is the transmitted wave.&lt;br /&gt;
&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varsigma,\varsigma\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\varsigma,\varsigma\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\varsigma}\sin\kappa\varsigma+k\cos\kappa\varsigma&lt;br /&gt;
e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\varsigma=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\varsigma,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\varsigma}a\cos\kappa\varsigma+k\sin\kappa\varsigma e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\varsigma\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm1&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \cos\kappa\varsigma &amp;amp; -\sin\kappa\varsigma &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\varsigma &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\varsigma &amp;amp; \sin\kappa\varsigma &amp;amp; -\mathrm{e}^{-\mathrm{i}k\varsigma}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa\varsigma &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14486</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14486"/>
		<updated>2025-09-27T06:38:52Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Let&#039;s begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since we can rewrite the equation into the conservation form &amp;lt;math&amp;gt;\partial _{t}w+\partial_{x}\left(3w^2-2\varepsilon ^{2}w^{3}+\partial _{x}^{2}w\right)=0&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{4}-\partial _{x}w_{3}-2w_{0}w_{2}-w_{1}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u = \partial _{x}(\partial _{x}^2 u  + 2 u^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{4} = \partial _{x}^4 u  + 6 u \partial_{x}^2 u + 5 (\partial_{x} u)^2 + 2 u^3 = \partial _{x}(\partial _{x}^3 u  + 6 u \partial_{x} u) + 2 u^3 - (\partial_{x} u)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just an &amp;lt;math&amp;gt;\partial _{x}&amp;lt;/math&amp;gt; of some &amp;lt;math&amp;gt;X(u)&amp;lt;/math&amp;gt; and therefore does not actually provide a conservation law.&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }\partial_{x} X(u) \mathrm{d} x = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_2&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w_4&amp;lt;/math&amp;gt; correspond to conservation of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; (mass), &amp;lt;math&amp;gt;u^2&amp;lt;/math&amp;gt; (momentum), and &amp;lt;math&amp;gt;2 u^3 - (\partial_{x} u)^2&amp;lt;/math&amp;gt; (energy).&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14485</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14485"/>
		<updated>2025-09-27T06:38:07Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\rightarrow\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We consider the case of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varsigma,\varsigma\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\varsigma,\varsigma\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\varsigma}\sin\kappa\varsigma+k\cos\kappa\varsigma&lt;br /&gt;
e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\varsigma=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\varsigma,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\varsigma}a\cos\kappa\varsigma+k\sin\kappa\varsigma e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\varsigma\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm1&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \cos\kappa\varsigma &amp;amp; -\sin\kappa\varsigma &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\varsigma &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\varsigma &amp;amp; \sin\kappa\varsigma &amp;amp; -\mathrm{e}^{-\mathrm{i}k\varsigma}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa\varsigma &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14484</id>
		<title>Properties of the Linear Schrodinger Equation</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Properties_of_the_Linear_Schrodinger_Equation&amp;diff=14484"/>
		<updated>2025-09-25T20:27:31Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Properties of the Linear Schrodinger Equation&lt;br /&gt;
 | next chapter = [[Connection betwen KdV and the Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The linear Schrödinger equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
has two kinds of solutions for &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt; The&lt;br /&gt;
first are waves and the second are bound solutions. It is well known that&lt;br /&gt;
there are at most a finite number of bound solutions (provided &amp;lt;math&amp;gt;u\rightarrow0&amp;lt;/math&amp;gt;&lt;br /&gt;
as &amp;lt;math&amp;gt;x\pm\infty&amp;lt;/math&amp;gt; sufficiently rapidly) and a continum of solutions for the&lt;br /&gt;
incident waves. This is easiest seen through the following examples&lt;br /&gt;
&lt;br /&gt;
==Example 1: &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt; function potential==&lt;br /&gt;
&lt;br /&gt;
We consider here the case when &amp;lt;math&amp;gt;u\left(  x,0\right)  = u_0 \delta\left(  x\right)&lt;br /&gt;
.&amp;lt;/math&amp;gt; Note that this function can be thought of as the limit as of the potential&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varepsilon,\varepsilon\right] \\&lt;br /&gt;
\frac{u_{0}}{2\varepsilon} &amp;amp; x\in\left[  -\varepsilon,\varepsilon\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
In this case we need to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+ u_0\delta(x) w=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We consider the case of &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; separately. For the first&lt;br /&gt;
case we write &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; and we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
ae^{kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
be^{-kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We have two conditions at &amp;lt;math&amp;gt;x=0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_0 w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This final condition is obtained by integrating `across&#039; zero as follows&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_{0^{-}}^{0^{+}} \left(\partial_x^2 w +u_0\delta(x) w + \lambda w \right) \ \mathrm{d}x = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This gives the condition that &amp;lt;math&amp;gt;a=b&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;k=u_{0}/2.&amp;lt;/math&amp;gt; We need to normalise the eigenfunctions so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty}^{\infty}\left(  w\left(  x\right)  \right)  ^{2}\mathrm{d}x=1.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
2\int_{0}^{\infty}\left(  ae^{-u_{0}x/2}\right)  ^{2}\mathrm{d}x=1&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which means that &amp;lt;math&amp;gt;a=\sqrt{u_{0}/2}.&amp;lt;/math&amp;gt; Therefore, there is only one discrete&lt;br /&gt;
spectral point which we denote by &amp;lt;math&amp;gt;k_{1}=u_{0}/2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\sqrt{k_{1}}e^{k_{1}x}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
\sqrt{k_{1}}e^{-k_{1}x}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The continuous eigenfunctions correspond to &amp;lt;math&amp;gt;\lambda=k^{2}&amp;gt;0&amp;lt;/math&amp;gt; are of the form&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x&amp;lt;0\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx}, &amp;amp; x&amp;gt;0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Again we have the conditions that &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; must be continuous at &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_{x}w\left(  0^{+}\right)  -\partial_{x}w\left(  0^{-}\right)&lt;br /&gt;
+u_{0}w\left(  0\right)  =0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
1+r  &amp;amp;  =t\\&lt;br /&gt;
-ikt+ik-ikr  &amp;amp;  =-tu_{0}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
r  &amp;amp;  =\frac{u_{0}}{2ik-u_{0}}\\&lt;br /&gt;
t  &amp;amp;  =\frac{2ik}{2ik-u_{0}}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Example 2: Hat Function Potential==&lt;br /&gt;
&lt;br /&gt;
The properties of the eigenfunction is perhaps seem most easily through the&lt;br /&gt;
following example&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0 &amp;amp; x\notin\left[  -\varsigma,\varsigma\right] \\&lt;br /&gt;
b &amp;amp; x\in\left[  -\varsigma,\varsigma\right]&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;b&amp;gt;0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Case when &amp;lt;math&amp;gt;\lambda&amp;lt;0&amp;lt;/math&amp;gt;===&lt;br /&gt;
&lt;br /&gt;
If we solve this equation for the case when &amp;lt;math&amp;gt;\lambda&amp;lt;0,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\lambda=-k^{2}&amp;lt;/math&amp;gt; we&lt;br /&gt;
get&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{2}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b-k^{2}}&amp;lt;/math&amp;gt; which means that &amp;lt;math&amp;gt;0\leq k\leq\sqrt{b}&amp;lt;/math&amp;gt; (there is&lt;br /&gt;
no solution for &amp;lt;math&amp;gt;k&amp;gt;\sqrt{b}).&amp;lt;/math&amp;gt; We then match &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivative at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; to solve for &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt;. This leads to two system of&lt;br /&gt;
equations, one for the even (&amp;lt;math&amp;gt;a_{1}=a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{2}=0&amp;lt;/math&amp;gt; ) and one for the odd&lt;br /&gt;
solutions (&amp;lt;math&amp;gt;a_{1}=-a_{2}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_{1}=0)&amp;lt;/math&amp;gt;. The solution for the even solutions&lt;br /&gt;
is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x&amp;lt;-\varsigma,\\&lt;br /&gt;
b_{1}\cos\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
a_{1}e^{-kx}, &amp;amp; x&amp;gt;\varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we impose the condition that the function and its derivative are continuous at&lt;br /&gt;
&amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; we obtain the following equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This has non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; -\cos\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\sin\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\kappa e^{-k\varsigma}\sin\kappa\varsigma+k\cos\kappa\varsigma&lt;br /&gt;
e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\kappa\varsigma=\frac{k}{\kappa}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We know that &amp;lt;math&amp;gt;0&amp;lt;\kappa&amp;lt;\sqrt{b}&amp;lt;/math&amp;gt; and if we plot this we see that we obtain a&lt;br /&gt;
finite number of solutions.&lt;br /&gt;
&lt;br /&gt;
The solution for the odd solutions is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
a_{1}e^{kx}, &amp;amp; x &amp;lt;-\varsigma,\\&lt;br /&gt;
b_{2}\sin\kappa x, &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma,\\&lt;br /&gt;
-a_{1}e^{-kx} &amp;amp; x &amp;gt; \varsigma,&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and again imposing the condition that the solution and its derivative is continuous&lt;br /&gt;
at &amp;lt;math&amp;gt;x=\pm\varsigma&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
a_{1}\\&lt;br /&gt;
b_{1}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can non trivial solutions when&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\det\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
e^{-k\varsigma} &amp;amp; \sin\kappa\varsigma\\&lt;br /&gt;
ke^{-k\varsigma} &amp;amp; -\kappa\cos\kappa\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\kappa e^{-k\varsigma}a\cos\kappa\varsigma+k\sin\kappa\varsigma e^{-k\varsigma}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\tan\varsigma\kappa=-\frac{\kappa}{k}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Case when &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; ===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;\lambda&amp;gt;0&amp;lt;/math&amp;gt; we write &amp;lt;math&amp;gt;\lambda=k^{2}&amp;lt;/math&amp;gt; and we obtain solution&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left(  x\right)  =\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}+r\mathrm{e}^{\mathrm{i}kx}, &amp;amp; x &amp;lt;-\varsigma\\&lt;br /&gt;
b_{1}\cos\kappa x+b_{2}\sin\kappa x &amp;amp; -\varsigma&amp;lt; x &amp;lt;\varsigma\\&lt;br /&gt;
t\mathrm{e}^{-\mathrm{i}kx} &amp;amp; x&amp;gt;\varsigma&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\kappa=\sqrt{b+k^{2}}.&amp;lt;/math&amp;gt; Matching &amp;lt;math&amp;gt;w&amp;lt;/math&amp;gt; and its derivaties at &amp;lt;math&amp;gt;x=\pm1&amp;lt;/math&amp;gt; we&lt;br /&gt;
obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
-\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \cos\kappa\varsigma &amp;amp; -\sin\kappa\varsigma &amp;amp; 0\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma} &amp;amp; \kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa&lt;br /&gt;
\varsigma &amp;amp; 0\\&lt;br /&gt;
0 &amp;amp; \cos\kappa\varsigma &amp;amp; \sin\kappa\varsigma &amp;amp; -\mathrm{e}^{-\mathrm{i}k\varsigma}\\&lt;br /&gt;
0 &amp;amp; -\kappa\sin\kappa\varsigma &amp;amp; \kappa\cos\kappa\varsigma &amp;amp;&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k\varsigma}&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  \left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
r\\&lt;br /&gt;
b_{1}\\&lt;br /&gt;
b_{2}\\&lt;br /&gt;
t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)  =\left(&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k}\\&lt;br /&gt;
ik\mathrm{e}^{-\mathrm{i}k}\\&lt;br /&gt;
0\\&lt;br /&gt;
0&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|anAThvCcpNw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SDPIx42VjLQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|OUmjeLZWr3M}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|hIfcO3a8_XU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|z13lKSTficA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|2XlQpEscxE4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|iMMQ4NUdXNc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|0F_dINNxMlw}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_the_Inverse_Scattering_Transform&amp;diff=14483</id>
		<title>Introduction to the Inverse Scattering Transform</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_the_Inverse_Scattering_Transform&amp;diff=14483"/>
		<updated>2025-09-25T10:48:24Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to the Inverse Scattering Transform&lt;br /&gt;
 | next chapter = [[Properties of the Linear Schrodinger Equation]]&lt;br /&gt;
 | previous chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The inverse scattering transformation gives a way to solve the KdV equation&lt;br /&gt;
exactly. You can think about is as being an analogous transformation to the&lt;br /&gt;
Fourier transformation, except it works for a non linear equation. We want to&lt;br /&gt;
be able to solve&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\partial_{t}u+6u\partial_{x}u+\partial_{x}^{3}u  &amp;amp;  =0\\&lt;br /&gt;
u(x,0)  &amp;amp;  =f\left(  x\right)&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;\left\vert u\right\vert \rightarrow0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow\pm\infty.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Miura transformation is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-v^{2}-\partial_x v\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and if &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; satisfies the mKdV&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{t}v-6v^{2}\partial_{x}v+\partial_{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; satisfies the KdV (but not vice versa). We can think about the Miura&lt;br /&gt;
transformation as being a nonlinear ODE solving for &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; given &amp;lt;math&amp;gt;u.&amp;lt;/math&amp;gt; This&lt;br /&gt;
nonlinear ODE is also known as the Riccati equation and there is a well known&lt;br /&gt;
transformation which linearises this equation. It we write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
v=\frac{\left(  \partial_{x}w\right)  }{w}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we obtain the equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The KdV is invariant under the transformation &amp;lt;math&amp;gt;x\rightarrow x+6\lambda t,&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u\rightarrow u+\lambda.&amp;lt;/math&amp;gt; Therefore we consider the associated eigenvalue&lt;br /&gt;
problem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_{x}^{2}w+uw=-\lambda w&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The eigenfunctions and eigenvalues of this scattering problem play a key role&lt;br /&gt;
in the inverse scattering transformation. Note that this is Schrödinger equation.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|P3uMk9OS8p4}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14482</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14482"/>
		<updated>2025-09-24T19:17:33Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Proof of an Infinite Number of Conservation Laws */ some changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Lets begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since we can rewrite the equation into the conservation form &amp;lt;math&amp;gt;\partial _{t}w+\partial_{x}\left(3w^2-2\varepsilon ^{2}w^{3}+\partial _{x}^{2}w\right)=0&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{4}-\partial _{x}w_{3}-2w_{0}w_{2}-w_{1}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u = \partial _{x}(\partial _{x}^2 u  + 2 u^2)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{4} = \partial _{x}^4 u  + 6 u \partial_{x}^2 u + 5 (\partial_{x} u)^2 + 2 u^3 = \partial _{x}(\partial _{x}^3 u  + 6 u \partial_{x} u) + 2 u^3 - (\partial_{x} u)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just an &amp;lt;math&amp;gt;\partial _{x}&amp;lt;/math&amp;gt; of some &amp;lt;math&amp;gt;X(u)&amp;lt;/math&amp;gt; and therefore does not actually provide a conservation law.&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }\partial_{x} X(u) \mathrm{d} x = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_2&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w_4&amp;lt;/math&amp;gt; correspond to conservation of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; (mass), &amp;lt;math&amp;gt;u^2&amp;lt;/math&amp;gt; (momentum), and &amp;lt;math&amp;gt;2 u^3 - (\partial_{x} u)^2&amp;lt;/math&amp;gt; (energy).&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14481</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14481"/>
		<updated>2025-09-24T18:04:10Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Proof of an Infinite Number of Conservation Laws */ add w_4 and mass-momentum-energy&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Lets begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since the equation is in conservation form then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{4}-\partial _{x}w_{3}-2w_{0}w_{2}-w_{1}^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{4} = \partial _{x}^4 u  + 6 u \partial_{x}^2 u + 5 (\partial_{x} u)^2 + 2 u^3 = \partial _{x}^4 u  + 6 \partial_{x} (u \partial_{x} u) + 2 u^3 - (\partial_{x} u)^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just the derivative (with some modification) of the previous law and &lt;br /&gt;
therefore does not actually provide a new conservation law.&lt;br /&gt;
&lt;br /&gt;
As &amp;lt;math&amp;gt;\int_{-\infty }^{\infty }\partial_{x} X(u) \mathrm{d} x = 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;w_2&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;w_4&amp;lt;/math&amp;gt; correspond to conservation of &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; (mass), &amp;lt;math&amp;gt;u^2&amp;lt;/math&amp;gt; (momentum), and &amp;lt;math&amp;gt;2 u^3 - (\partial_{x} u)^2&amp;lt;/math&amp;gt; (energy).&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14480</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14480"/>
		<updated>2025-09-24T17:51:22Z</updated>

		<summary type="html">&lt;p&gt;Levi: some fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Lets begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of mass. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of momentum. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since the equation is in conservation form then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recursively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just the derivative (with some modification) of the previous law and &lt;br /&gt;
therefore does not actually provide a new conservation law.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14479</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14479"/>
		<updated>2025-09-24T17:44:57Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Lets begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;X(u)\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of momentum. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of energy. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since the equation is in conservation form then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recurrsively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just the derivative (with some modification) of the previous law and &lt;br /&gt;
therefore does not actually provide a new conservation law.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14478</id>
		<title>Conservation Laws for the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Conservation_Laws_for_the_KdV&amp;diff=14478"/>
		<updated>2025-09-24T16:59:25Z</updated>

		<summary type="html">&lt;p&gt;Levi: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Conservation Laws for the KdV&lt;br /&gt;
 | next chapter = [[Introduction to the Inverse Scattering Transform]]&lt;br /&gt;
 | previous chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
One of the most interesting freatures of the KdV is the existence of&lt;br /&gt;
infinitely many conservation laws. Lets begin with some basics of&lt;br /&gt;
conservation laws. If we can write our equation of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}T\left( u\right) +\partial _{x}X\left( u\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Then we can integrate this equation from &amp;lt;math&amp;gt;-\infty &amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\infty &amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }\partial _{t}T\left( u\right) \mathrm{d} x = -\int_{-\infty&lt;br /&gt;
}^{\infty }\partial _{x}X\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The second integral will be zero if &amp;lt;math&amp;gt;u\rightarrow 0&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;x\rightarrow \pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }T\left( u\right) \mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved by the solution of the equation. For the KdV we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}\left( 3u^{2}+\partial _{x}^{2}u\right) =0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that we immediately see that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
is conserved. This corresponds to conservation of momentum. We can also&lt;br /&gt;
write the KdV equation as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\left( u^{2}\right) +\partial _{x}\left( 4u^{3}+2u\partial&lt;br /&gt;
_{x}^{2}u-\left( \partial _{x}u\right) ^{2}\right) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that the quantity &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }u^{2}\mathrm{d} x&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
must be conserved. This corresponds to conservation of energy. It turns out&lt;br /&gt;
that there is an infinite number of conserved quantities and we give here&lt;br /&gt;
the proof of this.&lt;br /&gt;
&lt;br /&gt;
==Modified KdV==&lt;br /&gt;
&lt;br /&gt;
The modified KdV is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}v-3\partial _{x}\left( v^{3}\right) +\partial _{x}^{3}v=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is connected to the KdV by Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=-\left( v^{2}+\partial _{x}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial&lt;br /&gt;
_{x}^{3}u=-(2v+\partial _{x})\left( \partial _{t}v-3\partial _{x}\left(&lt;br /&gt;
v^{3}\right) +\partial _{x}^{3}v\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this shows that every solution of the mKdV is a solution of the&lt;br /&gt;
KdV but not vice versa. &lt;br /&gt;
&lt;br /&gt;
==Proof of an Infinite Number of Conservation Laws==&lt;br /&gt;
&lt;br /&gt;
An ingenious proof of the exisitence of an infinite number of conservation&lt;br /&gt;
laws can be obtain from a generalization of Miura&#039;s transformation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we substitute this into the KdV we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right) +\partial _{x}^{3}u=\left(&lt;br /&gt;
1-\varepsilon \partial _{x}-2\varepsilon ^{2}w\right) \left( \partial&lt;br /&gt;
_{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial _{x}w+\partial&lt;br /&gt;
_{x}^{3}w\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; solves the KdV equation provided that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}w+6\left( w-\varepsilon ^{2}w^{2}\right) \partial&lt;br /&gt;
_{x}w+\partial _{x}^{3}w=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We write the solution to this equation as a formal power series &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w\left( x,t,\varepsilon \right) =\sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Since the equation is in conservation form then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w\left( x,t,\varepsilon \right) \mathrm{d} x = \mathrm{constant}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and since this is true for all &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; this implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int_{-\infty }^{\infty }w_{n}\left( x,t\right) \mathrm{d}  x = \mathrm{constant} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then consider the expression &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w-\varepsilon \partial _{x}w-\varepsilon ^{2}w^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=\sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left( x,t\right) -\varepsilon&lt;br /&gt;
\partial _{x}\left( \sum_{n=0}^{\infty }\varepsilon ^{n}w_{n}\left(&lt;br /&gt;
x,t\right) \right) -\varepsilon ^{2}\left( \sum_{n=0}^{\infty }\varepsilon&lt;br /&gt;
^{n}w_{n}\left( x,t\right) \right) ^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It we equate powers of &amp;lt;math&amp;gt;\varepsilon &amp;lt;/math&amp;gt; we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u=w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{1}-\partial _{x}w_{0}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{2}-\partial _{x}w_{1}-w_{0}^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
0=w_{3}-\partial _{x}w_{2}-2w_{0}w_{1}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can solve recurrsively to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{0}=u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{1}=\partial _{x}u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{2} = \partial_{x}^2 u + u^{2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
w_{3} = \partial _{x}^3 u  + 4 u \partial_{x} u&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that each of the odd conservation laws (&amp;lt;math&amp;gt;w_1, w_3&amp;lt;/math&amp;gt; etc.) are just the derivative (with some modification) of the previous law and &lt;br /&gt;
therefore does not actually provide a new conservation law.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|9w3-IWX2b5g}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QQjh14uguvg}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14477</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14477"/>
		<updated>2025-09-24T16:50:28Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Example Calculations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;ik\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;i k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt; x &amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. We obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the Fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right)+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u_{1}^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ 2\, \mathrm{sech}^{2}\left(x+1\right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|ZjeuLNdxcRc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|C7gI5PCKvFQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|X7-p8nBmKw4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xevnpuOoks0}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14476</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14476"/>
		<updated>2025-09-24T16:45:58Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Numerical Solution of the KdV */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;ik\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;i k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt; x &amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. We obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the Fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u^{2}\right)+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u_{1}^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ \, 2 \mathrm{sech}^{2}\left(\left(&lt;br /&gt;
x +1\right) \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|ZjeuLNdxcRc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|C7gI5PCKvFQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|X7-p8nBmKw4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xevnpuOoks0}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14475</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14475"/>
		<updated>2025-09-24T15:48:47Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Numerical Implementation Using the FFT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;ik\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;i k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt; x &amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. We obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the Fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u\right) ^{2}+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u_{1}^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ \, 2 \mathrm{sech}^{2}\left(\left(&lt;br /&gt;
x +1\right) \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|ZjeuLNdxcRc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|C7gI5PCKvFQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|X7-p8nBmKw4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xevnpuOoks0}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14474</id>
		<title>Numerical Solution of the KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Numerical_Solution_of_the_KdV&amp;diff=14474"/>
		<updated>2025-09-24T15:47:34Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Solution for the Linearized KdV */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Numerical Solution of the KdV&lt;br /&gt;
 | next chapter = [[Conservation Laws for the KdV]]&lt;br /&gt;
 | previous chapter = [[Introduction to KdV]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We present here a method to solve the KdV equation numerically. There are&lt;br /&gt;
many different methods to solve the KdV and we use here a spectral method&lt;br /&gt;
which has been found to work well. Spectral methods work by using the&lt;br /&gt;
Fourier transform (or some varient of it) to calculate the derivative.&lt;br /&gt;
&lt;br /&gt;
==Fourier Transform==&lt;br /&gt;
&lt;br /&gt;
Recall that the Fourier transform is given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\mathcal{F}\left[ f(x)\right] =\hat{f}\left( k\right) =\int_{-\infty&lt;br /&gt;
}^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the inverse Fourier transform is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x\right) =\mathcal{F}^{-1}\left[ \hat{f}\left( k\right) \right] =&lt;br /&gt;
\frac{1}{2\pi }\int_{-\infty }^{\infty }\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note that there are other ways of writing this transform). The most&lt;br /&gt;
important property of the Fourier transform is that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\int_{-\infty }^{\infty }\left( \partial _{x}f\left( x\right) \right)&lt;br /&gt;
\mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x &amp;amp;=&amp;amp;-\int_{-\infty }^{\infty }f\left( x\right) &lt;br /&gt;
\left( \partial_{x}\mathrm{e}^{-\mathrm{i}kx}\right) \mathrm{d}x \\&lt;br /&gt;
&amp;amp;=&amp;amp;ik\int_{-\infty }^{\infty }f\left( x\right) \mathrm{e}^{-\mathrm{i}kx}\mathrm{d}x&lt;br /&gt;
\end{matrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we have assumed that the function &amp;lt;math&amp;gt;f\left( x\right) &amp;lt;/math&amp;gt; vanishes at &amp;lt;math&amp;gt;\pm&lt;br /&gt;
\infty .&amp;lt;/math&amp;gt; This means that the Fourier transform converts differentiation to&lt;br /&gt;
multiplication by &amp;lt;math&amp;gt;i k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution for the Linearized KdV==&lt;br /&gt;
&lt;br /&gt;
We begin with a simple example. Suppose we want to solve the linearized KdV&lt;br /&gt;
equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+\partial _{x}^{3}u=0,\ \ -\infty &amp;lt; x &amp;lt;\infty &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to solve initial conditions &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,0\right) =f\left( x\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve this equation by taking the Fourier transform. We obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}-ik^{3}\hat{u}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
So that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\hat{u}\left( k,t\right) =\hat{f}\left( k\right) \mathrm{e}^{\mathrm{i}k^{3}t} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) = \frac{1}{2\pi}&lt;br /&gt;
\int_{-\infty}^{\infty }\hat{f}\left( k\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}t}\mathrm{e}^{\mathrm{i}kx}\mathrm{d}k &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Implementation Using the FFT==&lt;br /&gt;
&lt;br /&gt;
The Fast Fourier Transform (FFT) is a method to calculate the fourier&lt;br /&gt;
transform efficiently for discrete sets of points. These points need to be&lt;br /&gt;
evenly spaced in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; plane and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
x_{n}=x_{0}+n\Delta x,\ \ 0\leq n\leq N-1 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
(note they can start at any &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; value). For the FFT to be as efficient as&lt;br /&gt;
possible &amp;lt;math&amp;gt;N&amp;lt;/math&amp;gt; should be a power of &amp;lt;math&amp;gt;2.&amp;lt;/math&amp;gt; Corresponding to the discrete set of&lt;br /&gt;
points in the &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; domain is a discrete set of points in the &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; plane given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
k_{n}=\left\{ &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
n\Delta k,\ \ 0\leq n\leq \frac{N}{2} \\ &lt;br /&gt;
\left( n-N\right) \Delta k,\ \ \frac{N}{2}+1\leq n\leq N-1&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\Delta k=2\pi /(N\Delta x).&amp;lt;/math&amp;gt; Note that this numbering seems slighly&lt;br /&gt;
odd and is due to aliasing. We are not that interested in the frequency&lt;br /&gt;
domain solution but we need to make sure that we select the correct values&lt;br /&gt;
of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; for our numerical code.&lt;br /&gt;
&lt;br /&gt;
==Numerical Code for the Linear KdV==&lt;br /&gt;
&lt;br /&gt;
Here is the code to solve the linear KdV using MATLAB&lt;br /&gt;
&lt;br /&gt;
N = 1024;&lt;br /&gt;
&lt;br /&gt;
t=0.1;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
f = exp(-x.^2);&lt;br /&gt;
&lt;br /&gt;
f_hat = fft(f);&lt;br /&gt;
&lt;br /&gt;
u = real(ifft(f_hat.*exp(i*k.^3*t)));&lt;br /&gt;
&lt;br /&gt;
==Numerical Solution of the KdV==&lt;br /&gt;
&lt;br /&gt;
It turns out that a method to solve the KdV equation can be derived using&lt;br /&gt;
spectral methods. We begin with the KdV equation written as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+3\partial _{x}\left( u\right) ^{2}+\partial _{x}^{3}u=0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The Fourier transform of the KdV is therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}+3ik\widehat{\left( u^{2}\right)} -ik^{3}\hat{u}=0&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We solve this equation by a split step method. We write the equation as  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)} +ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=ik^{3}\hat{u}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
exactly while the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}\hat{u}=-3ik\widehat{\left( u^{2}\right)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
needs to be solved by time stepping. The idea of the split step method is to&lt;br /&gt;
solve alternatively each of these equations when stepping from &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;&lt;br /&gt;
t+\Delta t.&amp;lt;/math&amp;gt; Therefore we solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
-3ik \Delta t\widehat{\left( u_{1}^{2}\right)}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that we are using Euler&#039;s method to time step and that the solution&lt;br /&gt;
could be improved by using a better method, such as the Runge-Kutta 4&lt;br /&gt;
method. &lt;br /&gt;
&lt;br /&gt;
The only slighly tricky thing is that we have both &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{u}&amp;lt;/math&amp;gt; in the&lt;br /&gt;
equation, but we can simply use the Fourier transform to connect these. The&lt;br /&gt;
equation then becomes&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\hat{u}_{1}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}\left( k,t\right)&lt;br /&gt;
\mathrm{e}^{\mathrm{i}k^{3}\Delta t} \\&lt;br /&gt;
\hat{u}\left( k,t+\Delta t\right)  &amp;amp;=&amp;amp;\hat{u}_{1}\left( k,t+\Delta t\right)&lt;br /&gt;
- 3ik\Delta t\left( \mathcal{F}\left( \left( \mathcal{F}^{-1}\left[ \hat{u}_{1}\left( k,t+\Delta t\right)\right]&lt;br /&gt;
\right) ^{2}\right) \right) &lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Numerical Code to solve the KdV by the split step method==&lt;br /&gt;
&lt;br /&gt;
Here is some code to solve the KdV using MATLAB &lt;br /&gt;
&lt;br /&gt;
N = 256;&lt;br /&gt;
&lt;br /&gt;
x = linspace(-10,10,N);&lt;br /&gt;
&lt;br /&gt;
delta_x = x(2) - x(1);&lt;br /&gt;
&lt;br /&gt;
delta_k = 2*pi/(N*delta_x);&lt;br /&gt;
&lt;br /&gt;
k = [0:delta_k:N/2*delta_k,-(N/2-1)*delta_k:delta_k:-delta_k];&lt;br /&gt;
&lt;br /&gt;
c=16;&lt;br /&gt;
&lt;br /&gt;
u = 1/2*c*(sech(sqrt(c)/2*(x+8))).^2;&lt;br /&gt;
&lt;br /&gt;
delta_t = 0.4/N^2;&lt;br /&gt;
&lt;br /&gt;
tmax = 0.1; nmax = round(tmax/delta_t);&lt;br /&gt;
&lt;br /&gt;
U = fft(u);&lt;br /&gt;
&lt;br /&gt;
for n = 1:nmax&lt;br /&gt;
&lt;br /&gt;
% first we solve the linear part&lt;br /&gt;
&lt;br /&gt;
U = U.*exp(1i*k.^3*delta_t);&lt;br /&gt;
&lt;br /&gt;
%then we solve the non linear part&lt;br /&gt;
&lt;br /&gt;
U = U - delta_t*(3i*k.*fft(real(ifft(U)).^2));&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
== Example Calculations ==&lt;br /&gt;
We cosider the evolution of the KdV with two solitons as&lt;br /&gt;
initial condition as given below.&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u(x,0) = 8\,\mathrm{sech}^{2}\left(2(x+8)\right) &lt;br /&gt;
+ \, 2 \mathrm{sech}^{2}\left(\left(&lt;br /&gt;
x +1\right) \right)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Animation&lt;br /&gt;
! Three-dimensional plot.&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Two_soliton.gif|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons.]]&lt;br /&gt;
| [[Image:Two_soliton.jpg|thumb|right|500px|Evolution of &amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt; for two solitons. &lt;br /&gt;
Note the phase shift which occurs in the soliton interaction.]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|ZjeuLNdxcRc}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|C7gI5PCKvFQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|X7-p8nBmKw4}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|xevnpuOoks0}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14473</id>
		<title>Introduction to KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14473"/>
		<updated>2025-09-24T08:27:30Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Travelling Wave Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to KdV&lt;br /&gt;
 | next chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
 | previous chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
The KdV (Korteweg-De Vries) equation is one of the most important non-linear&lt;br /&gt;
pde&#039;s. It was originally derived to model shallow water waves with weak&lt;br /&gt;
nonlinearities, but it has a wide variety of applications. The derivation of &lt;br /&gt;
the KdV is given in [[KdV Equation Derivation]]. The KdV equation&lt;br /&gt;
is written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+6u\partial _{x}u+\partial _{x}^{3}u=0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about it can be found at [http://en.wikipedia.org/wiki/Korteweg%E2%80%93de_Vries_equation Korteweg de Vries equation]&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
The KdV equation posesses travelling wave solutions. One particular&lt;br /&gt;
travelling wave solution is called a soltion and it was discovered&lt;br /&gt;
experimentally by [http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell] &lt;br /&gt;
in 1834. However, it was not understood&lt;br /&gt;
theoretically until the work of [http://en.wikipedia.org/wiki/Diederik_Korteweg Korteweg] and &lt;br /&gt;
[http://en.wikipedia.org/wiki/Gustav_de_Vries de Vries] in 1895.&lt;br /&gt;
&lt;br /&gt;
We begin with the assumption that the wave travels with constant form, i.e.&lt;br /&gt;
is of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =f\left( x-ct\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that in this equation the parameter &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is an unknown as is the&lt;br /&gt;
function &amp;lt;math&amp;gt;f.&amp;lt;/math&amp;gt; &lt;br /&gt;
Only very special values of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; will give travelling&lt;br /&gt;
waves. &lt;br /&gt;
We introduce the coordinate &amp;lt;math&amp;gt;\zeta = x - ct&amp;lt;/math&amp;gt;.&lt;br /&gt;
If we substitute this expression into the KdV equation we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-c\frac{\mathrm{d}f}{\mathrm{d}\zeta}+6f\frac{\mathrm{d}f}{\mathrm{d}\zeta}+\frac{\mathrm{d}^{3}f}{\mathrm{d}\zeta^{3}}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can integrate this with respect to &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; is a constant of integration.&lt;br /&gt;
&lt;br /&gt;
If we think about this equation as Newton&#039;s second law in a potential well &amp;lt;math&amp;gt;&lt;br /&gt;
V(f) &amp;lt;/math&amp;gt; then the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}= -\frac{\mathrm{d}V}{\mathrm{d}f} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then the potential well is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V\left( f\right) =-A_{0}-A_{1}f-c\frac{f^{2}}{2}+f^{3} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore our equation for &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; may be thought of as the motion of a particle&lt;br /&gt;
in a cubic well.&lt;br /&gt;
&lt;br /&gt;
The constant &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; has no effect on our solution so we can set it to be zero. &lt;br /&gt;
We can choose the constant &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; and then we have a&lt;br /&gt;
maximum at &amp;lt;math&amp;gt;f=0&amp;lt;/math&amp;gt;. There is a solution which rolls from this at &amp;lt;math&amp;gt;t=-\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
and then runs up the other side and finally returns to the maximum at &amp;lt;math&amp;gt;&lt;br /&gt;
t=\infty .&amp;lt;/math&amp;gt; This corresponds to a solitary wave solution.&lt;br /&gt;
&lt;br /&gt;
We can also think about the equation as a first order system using &amp;lt;math&amp;gt;&lt;br /&gt;
f^{^{\prime }}=v.&amp;lt;/math&amp;gt; This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;v \\&lt;br /&gt;
\frac{\mathrm{d}v}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;A_{1}+cf-3f^{2}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we chose &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; then we obtain two equilibria at &amp;lt;math&amp;gt;(f,v)=\left(&lt;br /&gt;
0,0\right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(c/3,0).&amp;lt;/math&amp;gt; If we analysis these equilibria we find the&lt;br /&gt;
first is a saddle and the second is a nonlinear center (it is neither repelling nor&lt;br /&gt;
attracting). &lt;br /&gt;
The Jacobian matrix for the saddle point is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
J_{\left( 0,0\right) }=\left( &lt;br /&gt;
\begin{array}{cc}&lt;br /&gt;
0 &amp;amp; 1 \\ &lt;br /&gt;
c &amp;amp; 0&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues at &amp;lt;math&amp;gt;\pm \sqrt{c}&amp;lt;/math&amp;gt; and the incident directions are &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
1\\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow \sqrt{c},\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
-1 \\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow -\sqrt{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
There is a&lt;br /&gt;
homoclinic connection which connects the equilibrium point at the origin. This homoclinic&lt;br /&gt;
connection represents the solitary wave.  Within this homoclinic connection &lt;br /&gt;
lie periodic orbits which represent the cnoidal waves.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase portrait&lt;br /&gt;
! Solitary Wave&lt;br /&gt;
! Cnoidal Wave&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Kdv phase portrait.jpg|thumb|350px|Phase portrait]]&lt;br /&gt;
| [[Image:Kdv wave solitary2.gif|thumb|350px|Solitary Wave]]&lt;br /&gt;
| [[Image:Kdv wave cn.gif|thumb|350px|Cnoidal Wave]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We can also integrate the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
by multiplying by &amp;lt;math&amp;gt;f^{\prime }&amp;lt;/math&amp;gt;and integrating. This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\left( f^{^{\prime }}\right) ^{2}}{2}=A_{0}+A_{1}f + c\frac{&lt;br /&gt;
f^{2}}{2}-f^{3} = -V(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is no coincidence that the right hand side is the potential energy, because this&lt;br /&gt;
is nothing more that the equation for conservation of energy (or the first&lt;br /&gt;
integral of the Lagrangian system) which does not depend on &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is a separable equation and the only challenge is to integrate &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{1}{\sqrt{-2V(f)}} \mathrm{d}f.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Formula for the solitary wave==&lt;br /&gt;
&lt;br /&gt;
We know that the solitary wave solution is found when &amp;lt;math&amp;gt;&lt;br /&gt;
A_{0}=A_{1}=0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( f^{^{\prime }}\right) ^{2}=f^{2}\left( c-2f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can be solved by separation of variables to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}}=\int \mathrm{d}\zeta &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then substitute &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and note that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c-2f=c\left( 1-\mathrm{sech}^{2}\left( s\right) \right) =c\tanh ^{2}\left( f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}s}=-c\frac{\sinh \left( f\right) }{\cosh ^{3}\left( f\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}} &amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}\int \frac{\sinh \left(&lt;br /&gt;
f\right) }{\mathrm{sech}^{2}\left( s\right) \tanh \left( f\right) \cosh ^{3}\left(&lt;br /&gt;
f\right) }\mathrm{d}s \\&lt;br /&gt;
&amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}s&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{2}{\sqrt{c}}s=\zeta+a &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( \frac{\sqrt{c}}{2}\left( \zeta+a\right) \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Of course we assumed that &amp;lt;math&amp;gt;x=x-ct&amp;lt;/math&amp;gt; so the formula for the solitary wave is&lt;br /&gt;
given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =\frac{1}{2}c\,\mathrm{sech}^{2}\left[ \frac{\sqrt{c}}{2}\left(&lt;br /&gt;
x-ct+a\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that a solution exists for each &lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and that the amplitude is proportional to &amp;lt;math&amp;gt;c.&amp;lt;/math&amp;gt; All of this was&lt;br /&gt;
discovered experimentally by &lt;br /&gt;
[http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell].&lt;br /&gt;
&lt;br /&gt;
==Formula for the cnoidal wave==&lt;br /&gt;
&lt;br /&gt;
If we consider the case when the solution oscillates between two values &amp;lt;math&amp;gt;F_2 &amp;lt; F_3&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can assume are also roots of &amp;lt;math&amp;gt;V(f)&amp;lt;/math&amp;gt; without loss of generality) then &lt;br /&gt;
we can integrate the equation to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( \zeta\right) =F_2+(F_3 - F_2) \mathrm{cn}^{2}\left( \gamma \zeta ;k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;cn&amp;lt;/math&amp;gt; is a Jacobi Elliptic function and&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are constants which depend on &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. &lt;br /&gt;
Derivation of this equation is found [[KdV Cnoidal Wave Solutions]].&lt;br /&gt;
We can write this equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =a+b \mathrm{cn}^{2}\left( \gamma (x-ct);k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a=k^2\gamma^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c = 6b + 4(2k^2 -1)\gamma^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
These waves are known as [http://en.wikipedia.org/wiki/Cnoidal_wave cnoidal waves].&lt;br /&gt;
&lt;br /&gt;
In the limit the two solutions agree. We also obtain a sinusoidal solution in the limit of &lt;br /&gt;
small amplitude.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SzZ-KhvvPio}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QltlSQQBtrs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NJ7h3Z9QtvU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NictSlSgRbM}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14472</id>
		<title>Introduction to KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14472"/>
		<updated>2025-09-21T10:17:50Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Travelling Wave Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to KdV&lt;br /&gt;
 | next chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
 | previous chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
The KdV (Korteweg-De Vries) equation is one of the most important non-linear&lt;br /&gt;
pde&#039;s. It was originally derived to model shallow water waves with weak&lt;br /&gt;
nonlinearities, but it has a wide variety of applications. The derivation of &lt;br /&gt;
the KdV is given in [[KdV Equation Derivation]]. The KdV equation&lt;br /&gt;
is written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+6u\partial _{x}u+\partial _{x}^{3}u=0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about it can be found at [http://en.wikipedia.org/wiki/Korteweg%E2%80%93de_Vries_equation Korteweg de Vries equation]&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
The KdV equation posesses travelling wave solutions. One particular&lt;br /&gt;
travelling wave solution is called a soltion and it was discovered&lt;br /&gt;
experimentally by [http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell] &lt;br /&gt;
in 1834. However, it was not understood&lt;br /&gt;
theoretically until the work of [http://en.wikipedia.org/wiki/Diederik_Korteweg Korteweg] and &lt;br /&gt;
[http://en.wikipedia.org/wiki/Gustav_de_Vries de Vries] in 1895.&lt;br /&gt;
&lt;br /&gt;
We begin with the assumption that the wave travels with constant form, i.e.&lt;br /&gt;
is of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =f\left( x-ct\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that in this equation the parameter &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is an unknown as is the&lt;br /&gt;
function &amp;lt;math&amp;gt;f.&amp;lt;/math&amp;gt; &lt;br /&gt;
Only very special values of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; will give travelling&lt;br /&gt;
waves. &lt;br /&gt;
We introduce the coordinate &amp;lt;math&amp;gt;\zeta = x - ct&amp;lt;/math&amp;gt;.&lt;br /&gt;
If we substitute this expression into the KdV equation we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-c\frac{\mathrm{d}f}{\mathrm{d}\zeta}+6f\frac{\mathrm{d}f}{\mathrm{d}\zeta}+\frac{\mathrm{d}^{3}f}{\mathrm{d}\zeta^{3}}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can integrate this with respect to &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; is a constant of integration.&lt;br /&gt;
&lt;br /&gt;
If we think about this equation as Newton&#039;s second law in a potential well &amp;lt;math&amp;gt;&lt;br /&gt;
V(f) &amp;lt;/math&amp;gt; then the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}= -\frac{\mathrm{d}V}{\mathrm{d}f} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then the potential well is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V\left( f\right) =-A_{0}-A_{1}f-c\frac{f^{2}}{2}+f^{3} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore our equation for &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; may be thought of as the motion of a particle&lt;br /&gt;
in a cubic well.&lt;br /&gt;
&lt;br /&gt;
The constant &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; has no effect on our solution so we can set it to be zero. &lt;br /&gt;
We can choose the constant &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; and then we have a&lt;br /&gt;
maximum at &amp;lt;math&amp;gt;f=0&amp;lt;/math&amp;gt;. There is a solution which rolls from this at &amp;lt;math&amp;gt;t=-\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
and then runs up the other side and finally returns to the maximum at &amp;lt;math&amp;gt;&lt;br /&gt;
t=\infty .&amp;lt;/math&amp;gt; This corresponds to a solitary wave solution.&lt;br /&gt;
&lt;br /&gt;
We can also think about the equation as a first order system using &amp;lt;math&amp;gt;&lt;br /&gt;
f^{^{\prime }}=v.&amp;lt;/math&amp;gt; This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;v \\&lt;br /&gt;
\frac{\mathrm{d}v}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;A_{1}+cf-3f^{2}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we chose &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; then we obtain two equilibria at &amp;lt;math&amp;gt;(f,v)=\left(&lt;br /&gt;
0,0\right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(c/3,0).&amp;lt;/math&amp;gt; If we analysis these equilibria we find the&lt;br /&gt;
first is a saddle and the second is a nonlinear center (it is neither repelling nor&lt;br /&gt;
attracting). &lt;br /&gt;
The Jacobian matrix for the saddle point is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
J_{\left( 0,0\right) }=\left( &lt;br /&gt;
\begin{array}{cc}&lt;br /&gt;
0 &amp;amp; 1 \\ &lt;br /&gt;
c &amp;amp; 0&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues at &amp;lt;math&amp;gt;\pm \sqrt{c}&amp;lt;/math&amp;gt; and the incident directions are &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
1\\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow \sqrt{c},\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
-1 \\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow -\sqrt{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
There is a&lt;br /&gt;
homoclinic connection which connects the equilibrium point at the origin. This holoclinic&lt;br /&gt;
connection represents the solitary wave.  Within this homoclinic connection &lt;br /&gt;
lie periodic orbits which represent the cnoidal waves.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase portrait&lt;br /&gt;
! Solitary Wave&lt;br /&gt;
! Cnoidal Wave&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Kdv phase portrait.jpg|thumb|350px|Phase portrait]]&lt;br /&gt;
| [[Image:Kdv wave solitary2.gif|thumb|350px|Solitary Wave]]&lt;br /&gt;
| [[Image:Kdv wave cn.gif|thumb|350px|Cnoidal Wave]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We can also integrate the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
by multiplying by &amp;lt;math&amp;gt;f^{\prime }&amp;lt;/math&amp;gt;and integrating. This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\left( f^{^{\prime }}\right) ^{2}}{2}=A_{0}+A_{1}f + c\frac{&lt;br /&gt;
f^{2}}{2}-f^{3} = -V(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is no coincidence that the right hand side is the potential energy, because this&lt;br /&gt;
is nothing more that the equation for conservation of energy (or the first&lt;br /&gt;
integral of the Lagrangian system) which does not depend on &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is a separable equation and the only challenge is to integrate &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{1}{\sqrt{-2V(f)}} \mathrm{d}f.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Formula for the solitary wave==&lt;br /&gt;
&lt;br /&gt;
We know that the solitary wave solution is found when &amp;lt;math&amp;gt;&lt;br /&gt;
A_{0}=A_{1}=0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( f^{^{\prime }}\right) ^{2}=f^{2}\left( c-2f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can be solved by separation of variables to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}}=\int \mathrm{d}\zeta &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then substitute &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and note that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c-2f=c\left( 1-\mathrm{sech}^{2}\left( s\right) \right) =c\tanh ^{2}\left( f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}s}=-c\frac{\sinh \left( f\right) }{\cosh ^{3}\left( f\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}} &amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}\int \frac{\sinh \left(&lt;br /&gt;
f\right) }{\mathrm{sech}^{2}\left( s\right) \tanh \left( f\right) \cosh ^{3}\left(&lt;br /&gt;
f\right) }\mathrm{d}s \\&lt;br /&gt;
&amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}s&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{2}{\sqrt{c}}s=\zeta+a &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( \frac{\sqrt{c}}{2}\left( \zeta+a\right) \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Of course we assumed that &amp;lt;math&amp;gt;x=x-ct&amp;lt;/math&amp;gt; so the formula for the solitary wave is&lt;br /&gt;
given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =\frac{1}{2}c\,\mathrm{sech}^{2}\left[ \frac{\sqrt{c}}{2}\left(&lt;br /&gt;
x-ct+a\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that a solution exists for each &lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and that the amplitude is proportional to &amp;lt;math&amp;gt;c.&amp;lt;/math&amp;gt; All of this was&lt;br /&gt;
discovered experimentally by &lt;br /&gt;
[http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell].&lt;br /&gt;
&lt;br /&gt;
==Formula for the cnoidal wave==&lt;br /&gt;
&lt;br /&gt;
If we consider the case when the solution oscillates between two values &amp;lt;math&amp;gt;F_2 &amp;lt; F_3&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can assume are also roots of &amp;lt;math&amp;gt;V(f)&amp;lt;/math&amp;gt; without loss of generality) then &lt;br /&gt;
we can integrate the equation to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( \zeta\right) =F_2+(F_3 - F_2) \mathrm{cn}^{2}\left( \gamma \zeta ;k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;cn&amp;lt;/math&amp;gt; is a Jacobi Elliptic function and&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are constants which depend on &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. &lt;br /&gt;
Derivation of this equation is found [[KdV Cnoidal Wave Solutions]].&lt;br /&gt;
We can write this equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =a+b \mathrm{cn}^{2}\left( \gamma (x-ct);k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a=k^2\gamma^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c = 6b + 4(2k^2 -1)\gamma^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
These waves are known as [http://en.wikipedia.org/wiki/Cnoidal_wave cnoidal waves].&lt;br /&gt;
&lt;br /&gt;
In the limit the two solutions agree. We also obtain a sinusoidal solution in the limit of &lt;br /&gt;
small amplitude.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SzZ-KhvvPio}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QltlSQQBtrs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NJ7h3Z9QtvU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NictSlSgRbM}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14471</id>
		<title>Introduction to KdV</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Introduction_to_KdV&amp;diff=14471"/>
		<updated>2025-09-21T10:15:54Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Travelling Wave Solution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Introduction to KdV&lt;br /&gt;
 | next chapter = [[Numerical Solution of the KdV]]&lt;br /&gt;
 | previous chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
The KdV (Korteweg-De Vries) equation is one of the most important non-linear&lt;br /&gt;
pde&#039;s. It was originally derived to model shallow water waves with weak&lt;br /&gt;
nonlinearities, but it has a wide variety of applications. The derivation of &lt;br /&gt;
the KdV is given in [[KdV Equation Derivation]]. The KdV equation&lt;br /&gt;
is written as &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\partial _{t}u+6u\partial _{x}u+\partial _{x}^{3}u=0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More information about it can be found at [http://en.wikipedia.org/wiki/Korteweg%E2%80%93de_Vries_equation Korteweg de Vries equation]&lt;br /&gt;
&lt;br /&gt;
==Travelling Wave Solution==&lt;br /&gt;
&lt;br /&gt;
The KdV equation posesses travelling wave solutions. One particular&lt;br /&gt;
travelling wave solution is called a soltion and it was discovered&lt;br /&gt;
experimentally by [http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell] &lt;br /&gt;
in 1834. However, it was not understood&lt;br /&gt;
theoretically until the work of [http://en.wikipedia.org/wiki/Diederik_Korteweg Korteweg] and &lt;br /&gt;
[http://en.wikipedia.org/wiki/Gustav_de_Vries de Vries] in 1895.&lt;br /&gt;
&lt;br /&gt;
We begin with the assumption that the wave travels with constant form, i.e.&lt;br /&gt;
is of the form &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
u\left( x,t\right) =f\left( x-ct\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that in this equation the parameter &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is an unknown as is the&lt;br /&gt;
function &amp;lt;math&amp;gt;f.&amp;lt;/math&amp;gt; &lt;br /&gt;
Only very special values of &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; will give travelling&lt;br /&gt;
waves. &lt;br /&gt;
We introduce the coordinate &amp;lt;math&amp;gt;\zeta = x - ct&amp;lt;/math&amp;gt;.&lt;br /&gt;
If we substitute this expression into the KdV equation we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-c\frac{\mathrm{d}f}{\mathrm{d}\zeta}+6f\frac{\mathrm{d}f}{\mathrm{d}\zeta}+\frac{\mathrm{d}^{3}f}{\mathrm{d}\zeta^{3}}=0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can integrate this with respect to &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; to obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is a constant of integration.&lt;br /&gt;
&lt;br /&gt;
If we think about this equation as Newton&#039;s second law in a potential well &amp;lt;math&amp;gt;&lt;br /&gt;
V(f) &amp;lt;/math&amp;gt; then the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}= -\frac{\mathrm{d}V}{\mathrm{d}f} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then the potential well is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
V\left( f\right) =-A_{0}-A_{1}f-c\frac{f^{2}}{2}+f^{3} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore our equation for &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; may be thought of as the motion of a particle&lt;br /&gt;
in a cubic well.&lt;br /&gt;
&lt;br /&gt;
The constant &amp;lt;math&amp;gt;A_0&amp;lt;/math&amp;gt; has no effect on our solution so we can set it to be zero. &lt;br /&gt;
We can choose the constant &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; and then we have a&lt;br /&gt;
maximum at &amp;lt;math&amp;gt;f=0&amp;lt;/math&amp;gt;. There is a solution which rolls from this at &amp;lt;math&amp;gt;t=-\infty &amp;lt;/math&amp;gt;&lt;br /&gt;
and then runs up the other side and finally returns to the maximum at &amp;lt;math&amp;gt;&lt;br /&gt;
t=\infty .&amp;lt;/math&amp;gt; This corresponds to a solitary wave solution.&lt;br /&gt;
&lt;br /&gt;
We can also think about the equation as a first order system using &amp;lt;math&amp;gt;&lt;br /&gt;
f^{^{\prime }}=v.&amp;lt;/math&amp;gt; This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;v \\&lt;br /&gt;
\frac{\mathrm{d}v}{\mathrm{d}\zeta} &amp;amp;=&amp;amp;A_{1}+cf-3f^{2}&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we chose &amp;lt;math&amp;gt;A_{1}=0&amp;lt;/math&amp;gt; then we obtain two equilibria at &amp;lt;math&amp;gt;(f,v)=\left(&lt;br /&gt;
0,0\right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(c/3,0).&amp;lt;/math&amp;gt; If we analysis these equilibria we find the&lt;br /&gt;
first is a saddle and the second is a nonlinear center (it is neither repelling nor&lt;br /&gt;
attracting). &lt;br /&gt;
The Jacobian matrix for the saddle point is&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
J_{\left( 0,0\right) }=\left( &lt;br /&gt;
\begin{array}{cc}&lt;br /&gt;
0 &amp;amp; 1 \\ &lt;br /&gt;
c &amp;amp; 0&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which has eigenvalues at &amp;lt;math&amp;gt;\pm \sqrt{c}&amp;lt;/math&amp;gt; and the incident directions are &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
1\\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow \sqrt{c},\left( &lt;br /&gt;
\begin{array}{c}&lt;br /&gt;
-1 \\ &lt;br /&gt;
\sqrt{c}&lt;br /&gt;
\end{array}&lt;br /&gt;
\right) \leftrightarrow -\sqrt{c}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
There is a&lt;br /&gt;
homoclinic connection which connects the equilibrium point at the origin. This holoclinic&lt;br /&gt;
connection represents the solitary wave.  Within this homoclinic connection &lt;br /&gt;
lie periodic orbits which represent the cnoidal waves.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Phase portrait&lt;br /&gt;
! Solitary Wave&lt;br /&gt;
! Cnoidal Wave&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Kdv phase portrait.jpg|thumb|350px|Phase portrait]]&lt;br /&gt;
| [[Image:Kdv wave solitary2.gif|thumb|350px|Solitary Wave]]&lt;br /&gt;
| [[Image:Kdv wave cn.gif|thumb|350px|Cnoidal Wave]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We can also integrate the equation &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-cf+3f^{2}+\frac{\mathrm{d}^{2}f}{\mathrm{d}\zeta^{2}}=A_{1} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
by multiplying by &amp;lt;math&amp;gt;f^{\prime }&amp;lt;/math&amp;gt;and integrating. This gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\left( f^{^{\prime }}\right) ^{2}}{2}=A_{0}+A_{1}f + c\frac{&lt;br /&gt;
f^{2}}{2}-f^{3} = -V(f)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It is no coincidence that the right hand side is the potential energy, because this&lt;br /&gt;
is nothing more that the equation for conservation of energy (or the first&lt;br /&gt;
integral of the Lagrangian system) which does not depend on &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is a separable equation and the only challenge is to integrate &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{1}{\sqrt{-2V(f)}} \mathrm{d}f.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Formula for the solitary wave==&lt;br /&gt;
&lt;br /&gt;
We know that the solitary wave solution is found when &amp;lt;math&amp;gt;&lt;br /&gt;
A_{0}=A_{1}=0.&amp;lt;/math&amp;gt; This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\left( f^{^{\prime }}\right) ^{2}=f^{2}\left( c-2f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This can be solved by separation of variables to give &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}}=\int \mathrm{d}\zeta &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We then substitute &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( s\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and note that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c-2f=c\left( 1-\mathrm{sech}^{2}\left( s\right) \right) =c\tanh ^{2}\left( f\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}f}{\mathrm{d}s}=-c\frac{\sinh \left( f\right) }{\cosh ^{3}\left( f\right) } &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
\int \frac{\mathrm{d}f}{f\sqrt{c-2f}} &amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}\int \frac{\sinh \left(&lt;br /&gt;
f\right) }{\mathrm{sech}^{2}\left( s\right) \tanh \left( f\right) \cosh ^{3}\left(&lt;br /&gt;
f\right) }\mathrm{d}s \\&lt;br /&gt;
&amp;amp;=&amp;amp;-\frac{2}{\sqrt{c}}s&lt;br /&gt;
\end{matrix}&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
-\frac{2}{\sqrt{c}}s=\zeta+a &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Therefore &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f=\frac{1}{2}c\,\mathrm{sech}^{2}\left( \frac{\sqrt{c}}{2}\left( \zeta+a\right) \right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Of course we assumed that &amp;lt;math&amp;gt;x=x-ct&amp;lt;/math&amp;gt; so the formula for the solitary wave is&lt;br /&gt;
given by&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =\frac{1}{2}c\,\mathrm{sech}^{2}\left[ \frac{\sqrt{c}}{2}\left(&lt;br /&gt;
x-ct+a\right) \right] &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that a solution exists for each &lt;br /&gt;
&amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;, and that the amplitude is proportional to &amp;lt;math&amp;gt;c.&amp;lt;/math&amp;gt; All of this was&lt;br /&gt;
discovered experimentally by &lt;br /&gt;
[http://en.wikipedia.org/wiki/John_Scott_Russell John Scott Russell].&lt;br /&gt;
&lt;br /&gt;
==Formula for the cnoidal wave==&lt;br /&gt;
&lt;br /&gt;
If we consider the case when the solution oscillates between two values &amp;lt;math&amp;gt;F_2 &amp;lt; F_3&amp;lt;/math&amp;gt;&lt;br /&gt;
(which we can assume are also roots of &amp;lt;math&amp;gt;V(f)&amp;lt;/math&amp;gt; without loss of generality) then &lt;br /&gt;
we can integrate the equation to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( \zeta\right) =F_2+(F_3 - F_2) \mathrm{cn}^{2}\left( \gamma \zeta ;k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;cn&amp;lt;/math&amp;gt; is a Jacobi Elliptic function and&lt;br /&gt;
&amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; are constants which depend on &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;. &lt;br /&gt;
Derivation of this equation is found [[KdV Cnoidal Wave Solutions]].&lt;br /&gt;
We can write this equation as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
f\left( x-ct\right) =a+b \mathrm{cn}^{2}\left( \gamma (x-ct);k\right) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;a=k^2\gamma^2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c = 6b + 4(2k^2 -1)\gamma^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
These waves are known as [http://en.wikipedia.org/wiki/Cnoidal_wave cnoidal waves].&lt;br /&gt;
&lt;br /&gt;
In the limit the two solutions agree. We also obtain a sinusoidal solution in the limit of &lt;br /&gt;
small amplitude.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SzZ-KhvvPio}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QltlSQQBtrs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NJ7h3Z9QtvU}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|NictSlSgRbM}}&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14469</id>
		<title>Nonlinear Shallow Water Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14469"/>
		<updated>2025-08-24T21:41:01Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Speed of the shock */ fix&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Nonlinear Shallow Water Waves&lt;br /&gt;
 | next chapter = [[Introduction to KdV]]&lt;br /&gt;
 | previous chapter = [[Traffic Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We assume that water is incompressible,&lt;br /&gt;
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. &lt;br /&gt;
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation&lt;br /&gt;
in either the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. The fluid is governed by two parameters, &lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt;, the velocity of the water, and &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; the water depth (note that this is not the still water depth since the problem&lt;br /&gt;
is nonlinear). &lt;br /&gt;
&lt;br /&gt;
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].&lt;br /&gt;
&lt;br /&gt;
== Equations of Motion ==&lt;br /&gt;
&lt;br /&gt;
The equation for the conservation of mass can derived by considering a a region &amp;lt;math&amp;gt;[x,x+\Delta x]&amp;lt;/math&amp;gt;&lt;br /&gt;
Conservation of mass then implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_x^{x + \Delta x} \rho h(s,t) \mathrm{d}s = \rho h(x,t)u(x,t) - \rho h(x+\Delta x,t)u(x+\Delta x,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A second equation comes from conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x + \Delta x}^{x} &lt;br /&gt;
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho \,&amp;lt;/math&amp;gt; denotes density, and the pressure &amp;lt;math&amp;gt;P \,&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  This then gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \frac{1}{2}\rho g {h(x)}^2 - &lt;br /&gt;
 \frac{1}{2}\rho g  {h(x + \Delta x)}^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we then take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t  \left( h u \right) &lt;br /&gt;
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can simplify this using the equation derived from conservation of mass to &lt;br /&gt;
to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h + u \partial_x h + h \partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.&lt;br /&gt;
&lt;br /&gt;
We can rewrite them in terms of the local wave speed &amp;lt;math&amp;gt;c(x, t) = \sqrt{gh(x, t)}&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;2\partial_t c + 2u\partial_x c + c\partial_x u = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t u + u\partial_x u + 2c \partial_x c = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These equation are almost identical to those of compressible gas dynamics. Much of our understanding&lt;br /&gt;
of the equations for water have been found by researchers studying compressible gas dynamics.&lt;br /&gt;
&lt;br /&gt;
== Linearized Equations ==&lt;br /&gt;
&lt;br /&gt;
We can linearize these equations by assuming that &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is small and that &lt;br /&gt;
&amp;lt;math&amp;gt;h=h_0 + \zeta &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt; is the average water depth&lt;br /&gt;
and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is also assumed small. This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \zeta + h_0\partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + g \partial_x \zeta = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These linear shallow water equations which can be &lt;br /&gt;
derived from the linear equations for water of finite&lt;br /&gt;
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).&lt;br /&gt;
&lt;br /&gt;
== Characteristics ==&lt;br /&gt;
&lt;br /&gt;
The equations possess characteristics. &lt;br /&gt;
Adding and subtracting the two equations above we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
on the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_+ = u + 2c = u + 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant,&lt;br /&gt;
and on the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2c = u - 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant.&lt;br /&gt;
&lt;br /&gt;
The functions &amp;lt;math&amp;gt;R_{\pm} (u ,c) = u \pm 2c&amp;lt;/math&amp;gt;, are called the Riemannian invariants.&lt;br /&gt;
&lt;br /&gt;
== Simple Waves ==&lt;br /&gt;
&lt;br /&gt;
The problem as formulated can be solved by advancing the solution along the characteristics, but&lt;br /&gt;
this will in general be quite difficult analytically. However, there is a special class of problems,&lt;br /&gt;
called &#039;&#039;Simple Waves&#039;&#039; in which the solution only changes on one characteristic.  &lt;br /&gt;
They are best illustrated through some examples. Note that the characteristic can meet forming&lt;br /&gt;
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]&lt;br /&gt;
when it occurs on the surface of the water. &lt;br /&gt;
&lt;br /&gt;
=== The dam break problem ===&lt;br /&gt;
Assume the water occupies the region &amp;lt;math&amp;gt;{x &amp;lt; 0 ; 0 &amp;lt; z &amp;lt; h_0 }&amp;lt;/math&amp;gt; initially held back by a dam at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
At &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, the dam is removed (breaks). What is the height of the water &lt;br /&gt;
&amp;lt;math&amp;gt;h(x,t) \,&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t &amp;gt; 0? \,&amp;lt;/math&amp;gt; The initial condition is therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;h(x,0) = \begin{cases}&lt;br /&gt;
 h_0, &amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
 0, &amp;amp; x &amp;gt; 0&lt;br /&gt;
 \end{cases} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u(x ,0) = 0. \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the characteristic that originates at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c_0 = \sqrt{gh_0}&amp;lt;/math&amp;gt; is the initial (linear) wave speed.&lt;br /&gt;
&lt;br /&gt;
Therefore, if a &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic from this region intersect, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0  &lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence, &amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h = h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
Moreover, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so these characteristics are straight lines in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;&lt;br /&gt;
(the undisturbed region).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic leave the region a&amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and enter &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. For now we will assume that these characteristics fill the domain&lt;br /&gt;
(and show that this is true shortly).&lt;br /&gt;
For &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and on each of the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;R_- = u - 2\sqrt{gh}&amp;lt;/math&amp;gt; is constant.&lt;br /&gt;
However, since this region is filled with &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics where &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; &lt;br /&gt;
must be constant on each &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic. &lt;br /&gt;
This also means that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must be straight lines.&lt;br /&gt;
&lt;br /&gt;
Since the fluid occupies &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
these &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must start at the origin, with &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_-(t) = \left(u - \sqrt{gh}\right)t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u - \sqrt{gh} = \frac{x}{t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
We also have &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt; from the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics. We can solve these equations &lt;br /&gt;
at each point in &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. Solving for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
h_0,\quad x &amp;lt;-c_0 t,&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
0,\quad x &amp;lt;-c_0 t.&lt;br /&gt;
\end{cases}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Where we have assumed that, since &amp;lt;math&amp;gt;h = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x = 2c_0 t,&amp;lt;/math&amp;gt; &lt;br /&gt;
the  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic only exist in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
We will verify this by explicitly calculating them.    &lt;br /&gt;
&lt;br /&gt;
It remains to determine the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic, which originated in &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and show they &lt;br /&gt;
will fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;, &lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristics are straight lines with slope &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 &amp;gt; 0,\;\; t &amp;lt; \frac{x_0}{2c_0}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t&amp;lt;/math&amp;gt; so that for &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t &amp;gt; \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
and substituting the solution we found for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Solving this ODE  subject to &amp;lt;math&amp;gt;X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the equation for a characteristic curve.&lt;br /&gt;
The curves indeed fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and all satisfy &amp;lt;math&amp;gt;\big\{X_+ (t) &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;.  To summarize, the&lt;br /&gt;
&amp;lt;math&amp;gt;C^{+}&amp;lt;/math&amp;gt;  characteristics are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t&amp;gt; x_0/2 c_0\\&lt;br /&gt;
 -x_0 + c_0 t, \quad 0\ &amp;lt; t &amp;lt; x_0/2 c_0&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam &lt;br /&gt;
break problem, blue for &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; and red for &amp;lt;math&amp;gt;C_{-}&amp;lt;/math&amp;gt;. The solid red lines&lt;br /&gt;
show the curves &amp;lt;math&amp;gt;x=-c_0 t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x=2c_0 t&amp;lt;/math&amp;gt; (note we have assumed&lt;br /&gt;
here that &amp;lt;math&amp;gt;c_0 =1&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the Dam Break problem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Shocks ==&lt;br /&gt;
&lt;br /&gt;
For a unique solution two exist there must be a single &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt;&lt;br /&gt;
characteristic through each point. When two characteristics of the same kind meet we &lt;br /&gt;
have a shock forming. &lt;br /&gt;
&lt;br /&gt;
=== Accelerating Piston ===&lt;br /&gt;
&lt;br /&gt;
We now consider the problem of water initially at rest occupying the &lt;br /&gt;
half space &amp;lt;math&amp;gt;x&amp;gt;0&amp;lt;/math&amp;gt; which is initially at rest. At &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; begins to move to the right with constant&lt;br /&gt;
acceleration &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; so that the position of the piston is given by&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{2}at^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We assume that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics which originate in the&lt;br /&gt;
water at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; fill the fluid. On these characteristics&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2 c = -2c_0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and this condition must hold throughout the fluid.  &lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics we know that&lt;br /&gt;
&amp;lt;math&amp;gt; R_+ = u + 2 c &amp;lt;/math&amp;gt; must be a constant and hence on the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
must be constant and hence the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics must&lt;br /&gt;
be straight lines.  Note that this does not mean that the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics have the same slope and there is no&lt;br /&gt;
requirement that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are straight lines.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic originate from the fluid&lt;br /&gt;
or from the front of the piston. We consider those which originate from&lt;br /&gt;
the piston.  The  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originates from&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u+2c = a t_0 + 2c_{\text{plate}} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; a t_0&amp;lt;/math&amp;gt; is the velocity of the piston at time &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;c_{\text{plate}}&amp;lt;/math&amp;gt; is the speed (related to height) at the plate. &lt;br /&gt;
We know that &amp;lt;math&amp;gt; R_- = u - 2 c =-2c_0&amp;lt;/math&amp;gt; through out the fluid, so that if&lt;br /&gt;
we solve this at the plate (where &amp;lt;math&amp;gt;u=at_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c=c_{\text{plate}}&amp;lt;/math&amp;gt;)&lt;br /&gt;
then we get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{\text{plate}} = at_0/2 + c_0\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
are constant and therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
using the condition &amp;lt;math&amp;gt;X_+(t_0,t_0) = \frac{1}{2} a t_0^2&amp;lt;/math&amp;gt; (the initial value which&lt;br /&gt;
comes from the position of the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;).&lt;br /&gt;
The slope of these lines increases and eventually meet to form a shock. &lt;br /&gt;
We find this point of intersection by considering neighboring characteristics&lt;br /&gt;
and determining when they first intersect. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0 + \Delta t) = X_+(t,t_0)  + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0) = X_+(t,t_0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
It follows that neighbouring characteristics will meet when &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t = \frac{2c_0}{3a} + \frac{4}{3}t_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The first time that a shock forms is the minimum value of this equation.&lt;br /&gt;
For this piston example, this occurs when &amp;lt;math&amp;gt;t_0 = 0&amp;lt;/math&amp;gt; and the value&lt;br /&gt;
of &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;t = 2c_0/(3a)&amp;lt;/math&amp;gt;. At this point&lt;br /&gt;
a shock is formed and we can no longer find a unique solution by following the &lt;br /&gt;
characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Accelerating_piston.jpg|thumb|right|500px| &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; characteristics for the &lt;br /&gt;
accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.]]&lt;br /&gt;
| [[Image:Accelerating_piston2.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the &lt;br /&gt;
accelerating piston.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Piston Moving with Constant Velocity ===&lt;br /&gt;
&lt;br /&gt;
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.  &lt;br /&gt;
&lt;br /&gt;
We consider the case of a piston, with positive constant velocity &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; (which is initially at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;), advancing into a semi-infinite expanse of&lt;br /&gt;
fluid that is initially at rest with depth &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics which originate in the fluid&lt;br /&gt;
at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; have slope&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originate at the piston at &lt;br /&gt;
&amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that these two characteristics will intersect at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore a shock forms immediately and we can track this by determining the&lt;br /&gt;
speed of the shock&lt;br /&gt;
&lt;br /&gt;
=== Speed of the shock ===&lt;br /&gt;
&lt;br /&gt;
We need the conservation equations in integral form to determine the speed&lt;br /&gt;
of the shock.  Conservation of mass, written as an integral is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x &lt;br /&gt;
+ \left. \rho u h \right|_{x_1}^{x_2} =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If the shock is located at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
which we assume is located between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x &lt;br /&gt;
= \partial_t \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) h \mathrm{d}x&lt;br /&gt;
= \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x - h^{+} \partial_t s(t) + h^{-}\partial_t s(t),&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;h^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;h^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we then obtain the following&lt;br /&gt;
identity&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -&lt;br /&gt;
u^{+} h^{+} + u^{-} h^{-} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+&amp;lt;/math&amp;gt; is the flow speed on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;u^-&amp;lt;/math&amp;gt; is the flow speed on the left (negative) side. &lt;br /&gt;
&lt;br /&gt;
We now need to consider the equation for conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x_2}^{x_1} &lt;br /&gt;
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the pressure &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydraulic Jump ===&lt;br /&gt;
&lt;br /&gt;
For a hydraulic jump, &amp;lt;math&amp;gt;\dot{s}(t) = 0&amp;lt;/math&amp;gt;, which means that we must solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u^{+} h^{+} - u^{-} h^{-} = 0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we introduce the variables &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H = \frac{h^{+}}{h^{-}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{Fr}&amp;lt;/math&amp;gt; is the &#039;&#039;Froude&#039;&#039; number&lt;br /&gt;
which is equivalent to the Mach number for gas dynamics.  &lt;br /&gt;
Then we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This expression has the roots&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The only physically meaningful solution is the root which satisfies&lt;br /&gt;
&amp;lt;math&amp;gt;H&amp;gt;1&amp;lt;/math&amp;gt;.  This is only true providing &amp;lt;math&amp;gt;\mathrm{Fr} &amp;gt; 1&amp;lt;/math&amp;gt;, which means&lt;br /&gt;
that we can only obtain a hydraulic jump if the flow is supercritical.  &lt;br /&gt;
&lt;br /&gt;
Below is a video of a hydraulic jump.  You can clearly see the point where the flow is changing from supercritical to subcritical (look for the small turbulent region in the channel)&lt;br /&gt;
{{#ev:youtube|5etwhZ0d2GU}}&lt;br /&gt;
&lt;br /&gt;
=== Shallow Water Bore ===&lt;br /&gt;
We now consider  a bore, in which &lt;br /&gt;
the shock wave advances into still water. &lt;br /&gt;
We denote the fluid speed by &amp;lt;math&amp;gt;V = u^{-}&amp;lt;/math&amp;gt;. &lt;br /&gt;
We denote the height on the wall side&lt;br /&gt;
by &amp;lt;math&amp;gt;h_1&amp;lt;/math&amp;gt; and the height on the other side must be &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;h^{+} = h_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;h^{-} = h_1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u^{+} = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h_{0}\partial_t s(t) - h_{1}\partial_t s(t) &lt;br /&gt;
 + V h_{1}= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}&lt;br /&gt;
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be solved to obtain the shock speed and the height of the moving fluid. &lt;br /&gt;
&lt;br /&gt;
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they&lt;br /&gt;
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]&lt;br /&gt;
a tidal bore on the Amazon.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Yi8fytUszrQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|_668xmJ9DAQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yTat11ERJMg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|qG8bPJwX96k}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|38ZWW2dM1Qs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AZHlhA5pQBg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VhlY5lQcTlM}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;br /&gt;
[[Category:Shallow Depth]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14468</id>
		<title>Nonlinear Shallow Water Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14468"/>
		<updated>2025-08-23T23:12:11Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Speed of the shock */ fix signs&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Nonlinear Shallow Water Waves&lt;br /&gt;
 | next chapter = [[Introduction to KdV]]&lt;br /&gt;
 | previous chapter = [[Traffic Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We assume that water is incompressible,&lt;br /&gt;
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. &lt;br /&gt;
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation&lt;br /&gt;
in either the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. The fluid is governed by two parameters, &lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt;, the velocity of the water, and &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; the water depth (note that this is not the still water depth since the problem&lt;br /&gt;
is nonlinear). &lt;br /&gt;
&lt;br /&gt;
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].&lt;br /&gt;
&lt;br /&gt;
== Equations of Motion ==&lt;br /&gt;
&lt;br /&gt;
The equation for the conservation of mass can derived by considering a a region &amp;lt;math&amp;gt;[x,x+\Delta x]&amp;lt;/math&amp;gt;&lt;br /&gt;
Conservation of mass then implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_x^{x + \Delta x} \rho h(s,t) \mathrm{d}s = \rho h(x,t)u(x,t) - \rho h(x+\Delta x,t)u(x+\Delta x,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A second equation comes from conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x + \Delta x}^{x} &lt;br /&gt;
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho \,&amp;lt;/math&amp;gt; denotes density, and the pressure &amp;lt;math&amp;gt;P \,&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  This then gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \frac{1}{2}\rho g {h(x)}^2 - &lt;br /&gt;
 \frac{1}{2}\rho g  {h(x + \Delta x)}^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we then take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t  \left( h u \right) &lt;br /&gt;
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can simplify this using the equation derived from conservation of mass to &lt;br /&gt;
to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h + u \partial_x h + h \partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.&lt;br /&gt;
&lt;br /&gt;
We can rewrite them in terms of the local wave speed &amp;lt;math&amp;gt;c(x, t) = \sqrt{gh(x, t)}&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;2\partial_t c + 2u\partial_x c + c\partial_x u = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t u + u\partial_x u + 2c \partial_x c = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These equation are almost identical to those of compressible gas dynamics. Much of our understanding&lt;br /&gt;
of the equations for water have been found by researchers studying compressible gas dynamics.&lt;br /&gt;
&lt;br /&gt;
== Linearized Equations ==&lt;br /&gt;
&lt;br /&gt;
We can linearize these equations by assuming that &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is small and that &lt;br /&gt;
&amp;lt;math&amp;gt;h=h_0 + \zeta &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt; is the average water depth&lt;br /&gt;
and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is also assumed small. This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \zeta + h_0\partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + g \partial_x \zeta = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These linear shallow water equations which can be &lt;br /&gt;
derived from the linear equations for water of finite&lt;br /&gt;
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).&lt;br /&gt;
&lt;br /&gt;
== Characteristics ==&lt;br /&gt;
&lt;br /&gt;
The equations possess characteristics. &lt;br /&gt;
Adding and subtracting the two equations above we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
on the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_+ = u + 2c = u + 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant,&lt;br /&gt;
and on the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2c = u - 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant.&lt;br /&gt;
&lt;br /&gt;
The functions &amp;lt;math&amp;gt;R_{\pm} (u ,c) = u \pm 2c&amp;lt;/math&amp;gt;, are called the Riemannian invariants.&lt;br /&gt;
&lt;br /&gt;
== Simple Waves ==&lt;br /&gt;
&lt;br /&gt;
The problem as formulated can be solved by advancing the solution along the characteristics, but&lt;br /&gt;
this will in general be quite difficult analytically. However, there is a special class of problems,&lt;br /&gt;
called &#039;&#039;Simple Waves&#039;&#039; in which the solution only changes on one characteristic.  &lt;br /&gt;
They are best illustrated through some examples. Note that the characteristic can meet forming&lt;br /&gt;
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]&lt;br /&gt;
when it occurs on the surface of the water. &lt;br /&gt;
&lt;br /&gt;
=== The dam break problem ===&lt;br /&gt;
Assume the water occupies the region &amp;lt;math&amp;gt;{x &amp;lt; 0 ; 0 &amp;lt; z &amp;lt; h_0 }&amp;lt;/math&amp;gt; initially held back by a dam at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
At &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, the dam is removed (breaks). What is the height of the water &lt;br /&gt;
&amp;lt;math&amp;gt;h(x,t) \,&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t &amp;gt; 0? \,&amp;lt;/math&amp;gt; The initial condition is therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;h(x,0) = \begin{cases}&lt;br /&gt;
 h_0, &amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
 0, &amp;amp; x &amp;gt; 0&lt;br /&gt;
 \end{cases} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u(x ,0) = 0. \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the characteristic that originates at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c_0 = \sqrt{gh_0}&amp;lt;/math&amp;gt; is the initial (linear) wave speed.&lt;br /&gt;
&lt;br /&gt;
Therefore, if a &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic from this region intersect, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0  &lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence, &amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h = h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
Moreover, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so these characteristics are straight lines in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;&lt;br /&gt;
(the undisturbed region).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic leave the region a&amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and enter &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. For now we will assume that these characteristics fill the domain&lt;br /&gt;
(and show that this is true shortly).&lt;br /&gt;
For &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and on each of the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;R_- = u - 2\sqrt{gh}&amp;lt;/math&amp;gt; is constant.&lt;br /&gt;
However, since this region is filled with &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics where &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; &lt;br /&gt;
must be constant on each &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic. &lt;br /&gt;
This also means that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must be straight lines.&lt;br /&gt;
&lt;br /&gt;
Since the fluid occupies &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
these &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must start at the origin, with &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_-(t) = \left(u - \sqrt{gh}\right)t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u - \sqrt{gh} = \frac{x}{t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
We also have &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt; from the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics. We can solve these equations &lt;br /&gt;
at each point in &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. Solving for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
h_0,\quad x &amp;lt;-c_0 t,&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
0,\quad x &amp;lt;-c_0 t.&lt;br /&gt;
\end{cases}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Where we have assumed that, since &amp;lt;math&amp;gt;h = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x = 2c_0 t,&amp;lt;/math&amp;gt; &lt;br /&gt;
the  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic only exist in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
We will verify this by explicitly calculating them.    &lt;br /&gt;
&lt;br /&gt;
It remains to determine the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic, which originated in &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and show they &lt;br /&gt;
will fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;, &lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristics are straight lines with slope &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 &amp;gt; 0,\;\; t &amp;lt; \frac{x_0}{2c_0}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t&amp;lt;/math&amp;gt; so that for &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t &amp;gt; \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
and substituting the solution we found for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Solving this ODE  subject to &amp;lt;math&amp;gt;X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the equation for a characteristic curve.&lt;br /&gt;
The curves indeed fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and all satisfy &amp;lt;math&amp;gt;\big\{X_+ (t) &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;.  To summarize, the&lt;br /&gt;
&amp;lt;math&amp;gt;C^{+}&amp;lt;/math&amp;gt;  characteristics are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t&amp;gt; x_0/2 c_0\\&lt;br /&gt;
 -x_0 + c_0 t, \quad 0\ &amp;lt; t &amp;lt; x_0/2 c_0&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam &lt;br /&gt;
break problem, blue for &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; and red for &amp;lt;math&amp;gt;C_{-}&amp;lt;/math&amp;gt;. The solid red lines&lt;br /&gt;
show the curves &amp;lt;math&amp;gt;x=-c_0 t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x=2c_0 t&amp;lt;/math&amp;gt; (note we have assumed&lt;br /&gt;
here that &amp;lt;math&amp;gt;c_0 =1&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the Dam Break problem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Shocks ==&lt;br /&gt;
&lt;br /&gt;
For a unique solution two exist there must be a single &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt;&lt;br /&gt;
characteristic through each point. When two characteristics of the same kind meet we &lt;br /&gt;
have a shock forming. &lt;br /&gt;
&lt;br /&gt;
=== Accelerating Piston ===&lt;br /&gt;
&lt;br /&gt;
We now consider the problem of water initially at rest occupying the &lt;br /&gt;
half space &amp;lt;math&amp;gt;x&amp;gt;0&amp;lt;/math&amp;gt; which is initially at rest. At &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; begins to move to the right with constant&lt;br /&gt;
acceleration &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; so that the position of the piston is given by&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{2}at^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We assume that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics which originate in the&lt;br /&gt;
water at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; fill the fluid. On these characteristics&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2 c = -2c_0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and this condition must hold throughout the fluid.  &lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics we know that&lt;br /&gt;
&amp;lt;math&amp;gt; R_+ = u + 2 c &amp;lt;/math&amp;gt; must be a constant and hence on the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
must be constant and hence the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics must&lt;br /&gt;
be straight lines.  Note that this does not mean that the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics have the same slope and there is no&lt;br /&gt;
requirement that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are straight lines.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic originate from the fluid&lt;br /&gt;
or from the front of the piston. We consider those which originate from&lt;br /&gt;
the piston.  The  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originates from&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u+2c = a t_0 + 2c_{\text{plate}} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; a t_0&amp;lt;/math&amp;gt; is the velocity of the piston at time &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;c_{\text{plate}}&amp;lt;/math&amp;gt; is the speed (related to height) at the plate. &lt;br /&gt;
We know that &amp;lt;math&amp;gt; R_- = u - 2 c =-2c_0&amp;lt;/math&amp;gt; through out the fluid, so that if&lt;br /&gt;
we solve this at the plate (where &amp;lt;math&amp;gt;u=at_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c=c_{\text{plate}}&amp;lt;/math&amp;gt;)&lt;br /&gt;
then we get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{\text{plate}} = at_0/2 + c_0\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
are constant and therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
using the condition &amp;lt;math&amp;gt;X_+(t_0,t_0) = \frac{1}{2} a t_0^2&amp;lt;/math&amp;gt; (the initial value which&lt;br /&gt;
comes from the position of the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;).&lt;br /&gt;
The slope of these lines increases and eventually meet to form a shock. &lt;br /&gt;
We find this point of intersection by considering neighboring characteristics&lt;br /&gt;
and determining when they first intersect. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0 + \Delta t) = X_+(t,t_0)  + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0) = X_+(t,t_0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
It follows that neighbouring characteristics will meet when &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t = \frac{2c_0}{3a} + \frac{4}{3}t_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The first time that a shock forms is the minimum value of this equation.&lt;br /&gt;
For this piston example, this occurs when &amp;lt;math&amp;gt;t_0 = 0&amp;lt;/math&amp;gt; and the value&lt;br /&gt;
of &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;t = 2c_0/(3a)&amp;lt;/math&amp;gt;. At this point&lt;br /&gt;
a shock is formed and we can no longer find a unique solution by following the &lt;br /&gt;
characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Accelerating_piston.jpg|thumb|right|500px| &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; characteristics for the &lt;br /&gt;
accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.]]&lt;br /&gt;
| [[Image:Accelerating_piston2.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the &lt;br /&gt;
accelerating piston.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Piston Moving with Constant Velocity ===&lt;br /&gt;
&lt;br /&gt;
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.  &lt;br /&gt;
&lt;br /&gt;
We consider the case of a piston, with positive constant velocity &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; (which is initially at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;), advancing into a semi-infinite expanse of&lt;br /&gt;
fluid that is initially at rest with depth &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics which originate in the fluid&lt;br /&gt;
at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; have slope&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originate at the piston at &lt;br /&gt;
&amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that these two characteristics will intersect at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore a shock forms immediately and we can track this by determining the&lt;br /&gt;
speed of the shock&lt;br /&gt;
&lt;br /&gt;
=== Speed of the shock ===&lt;br /&gt;
&lt;br /&gt;
We need the conservation equations in integral form to determine the speed&lt;br /&gt;
of the shock.  Conservation of mass, written as an integral is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x &lt;br /&gt;
+ \left. \rho u h \right|_{x_1}^{x_2} =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If the shock is located at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
which we assume is located between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x &lt;br /&gt;
= \partial_t \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) h \mathrm{d}x&lt;br /&gt;
= \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x - h^{+} \partial_t s(t) + h^{-}\partial_t s(t),&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;h^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;h^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we then obtain the following&lt;br /&gt;
identity&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -&lt;br /&gt;
u^{+} h^{+} + u^{-} h^{-} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;u^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
&lt;br /&gt;
We now need to consider the equation for conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x_2}^{x_1} &lt;br /&gt;
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the pressure &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydraulic Jump ===&lt;br /&gt;
&lt;br /&gt;
For a hydraulic jump, &amp;lt;math&amp;gt;\dot{s}(t) = 0&amp;lt;/math&amp;gt;, which means that we must solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u^{+} h^{+} - u^{-} h^{-} = 0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we introduce the variables &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H = \frac{h^{+}}{h^{-}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{Fr}&amp;lt;/math&amp;gt; is the &#039;&#039;Froude&#039;&#039; number&lt;br /&gt;
which is equivalent to the Mach number for gas dynamics.  &lt;br /&gt;
Then we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This expression has the roots&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The only physically meaningful solution is the root which satisfies&lt;br /&gt;
&amp;lt;math&amp;gt;H&amp;gt;1&amp;lt;/math&amp;gt;.  This is only true providing &amp;lt;math&amp;gt;\mathrm{Fr} &amp;gt; 1&amp;lt;/math&amp;gt;, which means&lt;br /&gt;
that we can only obtain a hydraulic jump if the flow is supercritical.  &lt;br /&gt;
&lt;br /&gt;
Below is a video of a hydraulic jump.  You can clearly see the point where the flow is changing from supercritical to subcritical (look for the small turbulent region in the channel)&lt;br /&gt;
{{#ev:youtube|5etwhZ0d2GU}}&lt;br /&gt;
&lt;br /&gt;
=== Shallow Water Bore ===&lt;br /&gt;
We now consider  a bore, in which &lt;br /&gt;
the shock wave advances into still water. &lt;br /&gt;
We denote the fluid speed by &amp;lt;math&amp;gt;V = u^{-}&amp;lt;/math&amp;gt;. &lt;br /&gt;
We denote the height on the wall side&lt;br /&gt;
by &amp;lt;math&amp;gt;h_1&amp;lt;/math&amp;gt; and the height on the other side must be &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;h^{+} = h_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;h^{-} = h_1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u^{+} = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h_{0}\partial_t s(t) - h_{1}\partial_t s(t) &lt;br /&gt;
 + V h_{1}= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}&lt;br /&gt;
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be solved to obtain the shock speed and the height of the moving fluid. &lt;br /&gt;
&lt;br /&gt;
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they&lt;br /&gt;
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]&lt;br /&gt;
a tidal bore on the Amazon.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Yi8fytUszrQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|_668xmJ9DAQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yTat11ERJMg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|qG8bPJwX96k}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|38ZWW2dM1Qs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AZHlhA5pQBg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VhlY5lQcTlM}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;br /&gt;
[[Category:Shallow Depth]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14463</id>
		<title>Nonlinear Shallow Water Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Nonlinear_Shallow_Water_Waves&amp;diff=14463"/>
		<updated>2025-08-06T23:42:27Z</updated>

		<summary type="html">&lt;p&gt;Levi: /* Equations of Motion */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Nonlinear Shallow Water Waves&lt;br /&gt;
 | next chapter = [[Introduction to KdV]]&lt;br /&gt;
 | previous chapter = [[Traffic Waves]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
We assume that water is incompressible,&lt;br /&gt;
viscous effects are negligible and that the typical wave lengths are much larger than the water depth. &lt;br /&gt;
This allows us to assume [[:Category:Shallow Depth|Shallow Depth]]. We assume that the problem has not variation&lt;br /&gt;
in either the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; direction. The fluid is governed by two parameters, &lt;br /&gt;
&amp;lt;math&amp;gt;u(x,t)&amp;lt;/math&amp;gt;, the velocity of the water, and &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; the water depth (note that this is not the still water depth since the problem&lt;br /&gt;
is nonlinear). &lt;br /&gt;
&lt;br /&gt;
The theory we present here is discussed in [[Stoker 1957]], [[Billingham and King 2000]] and [[Johnson 1997]].&lt;br /&gt;
&lt;br /&gt;
== Equations of Motion ==&lt;br /&gt;
&lt;br /&gt;
The equation for the conservation of mass can derived by considering a a region &amp;lt;math&amp;gt;[x,x+\Delta x]&amp;lt;/math&amp;gt;&lt;br /&gt;
Conservation of mass then implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_x^{x + \Delta x} \rho h(s,t) \mathrm{d}s = \rho h(x,t)u(x,t) - \rho h(x+\Delta x,t)u(x+\Delta x,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h(x ,t) + \partial_x (h(x ,t)u(x ,t)) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A second equation comes from conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x + \Delta x}^{x} &lt;br /&gt;
+ \int_0^{h(x)} P(x,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x + \Delta x)} P(x+\Delta x,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho \,&amp;lt;/math&amp;gt; denotes density, and the pressure &amp;lt;math&amp;gt;P \,&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  This then gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x}^{x + \Delta x} \rho h u \mathrm{d}x &lt;br /&gt;
= -\left. \rho u^2 h \right|_{x}^{x + \Delta x} &lt;br /&gt;
+ \frac{1}{2}\rho g {h(x)}^2 - &lt;br /&gt;
 \frac{1}{2}\rho g  {h(x + \Delta x)}^2 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we then take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t  \left( h u \right) &lt;br /&gt;
+ \partial_x \left(u^2 h + \frac{1}{2} gh^2\right) =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
We can simplify this using the equation derived from conservation of mass to &lt;br /&gt;
to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The equations &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t h + u \partial_x h + h \partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + u \partial_x u + g \partial_x h = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
are called the nonlinear shallow water equations. They determine the horizontal water velocity and the local water depth.&lt;br /&gt;
&lt;br /&gt;
We can rewrite them in terms of the local wave speed &amp;lt;math&amp;gt;c(x, t) = \sqrt{gh(x, t)}&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;2\partial_t c + 2u\partial_x c + c\partial_x u = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\partial_t u + u\partial_x u + 2c \partial_x c = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These equation are almost identical to those of compressible gas dynamics. Much of our understanding&lt;br /&gt;
of the equations for water have been found by researchers studying compressible gas dynamics.&lt;br /&gt;
&lt;br /&gt;
== Linearized Equations ==&lt;br /&gt;
&lt;br /&gt;
We can linearize these equations by assuming that &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; is small and that &lt;br /&gt;
&amp;lt;math&amp;gt;h=h_0 + \zeta &amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt; is the average water depth&lt;br /&gt;
and &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt; is also assumed small. This gives us&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \zeta + h_0\partial_x u = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t u + g \partial_x \zeta = 0  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
These linear shallow water equations which can be &lt;br /&gt;
derived from the linear equations for water of finite&lt;br /&gt;
depth and taking the limit of small depth (see [[:Category:Shallow Depth|Shallow Depth]]).&lt;br /&gt;
&lt;br /&gt;
== Characteristics ==&lt;br /&gt;
&lt;br /&gt;
The equations possess characteristics. &lt;br /&gt;
Adding and subtracting the two equations above we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial (u \pm 2c)}{\partial t}+ (u \pm c)\frac{\partial (u \pm 2c)}{\partial x} = 0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that &lt;br /&gt;
on the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_+}{\mathrm{d} t} = u + c = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_+ = u + 2c = u + 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant,&lt;br /&gt;
and on the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; characteristic, given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - c = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_-&amp;lt;/math&amp;gt; invariant &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2c = u - 2\sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
is a constant.&lt;br /&gt;
&lt;br /&gt;
The functions &amp;lt;math&amp;gt;R_{\pm} (u ,c) = u \pm 2c&amp;lt;/math&amp;gt;, are called the Riemannian invariants.&lt;br /&gt;
&lt;br /&gt;
== Simple Waves ==&lt;br /&gt;
&lt;br /&gt;
The problem as formulated can be solved by advancing the solution along the characteristics, but&lt;br /&gt;
this will in general be quite difficult analytically. However, there is a special class of problems,&lt;br /&gt;
called &#039;&#039;Simple Waves&#039;&#039; in which the solution only changes on one characteristic.  &lt;br /&gt;
They are best illustrated through some examples. Note that the characteristic can meet forming&lt;br /&gt;
a shock, which is called a [http://en.wikipedia.org/wiki/Tidal_bore bore] or a &lt;br /&gt;
[http://en.wikipedia.org/wiki/Hydraulic_jump hydraulic jump]&lt;br /&gt;
when it occurs on the surface of the water. &lt;br /&gt;
&lt;br /&gt;
=== The dam break problem ===&lt;br /&gt;
Assume the water occupies the region &amp;lt;math&amp;gt;{x &amp;lt; 0 ; 0 &amp;lt; z &amp;lt; h_0 }&amp;lt;/math&amp;gt; initially held back by a dam at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
At &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, the dam is removed (breaks). What is the height of the water &lt;br /&gt;
&amp;lt;math&amp;gt;h(x,t) \,&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;t &amp;gt; 0? \,&amp;lt;/math&amp;gt; The initial condition is therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;h(x,0) = \begin{cases}&lt;br /&gt;
 h_0, &amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
 0, &amp;amp; x &amp;gt; 0&lt;br /&gt;
 \end{cases} &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;u(x ,0) = 0. \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
On the characteristic that originates at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_\pm = u \pm 2\sqrt{gh} = \pm 2\sqrt{gh_0} = \pm 2c_0 &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c_0 = \sqrt{gh_0}&amp;lt;/math&amp;gt; is the initial (linear) wave speed.&lt;br /&gt;
&lt;br /&gt;
Therefore, if a &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and a &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic from this region intersect, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u + 2\sqrt{gh} = 2c_0 , \;\mathrm{and}\; u - 2\sqrt{gh} = -2c_0  &lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence, &amp;lt;math&amp;gt;u = 0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h = h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
Moreover, &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_\pm}{\mathrm{d} t} = u \pm \sqrt{gh} = \pm c_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so these characteristics are straight lines in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;&lt;br /&gt;
(the undisturbed region).&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristic leave the region a&amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and enter &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. For now we will assume that these characteristics fill the domain&lt;br /&gt;
(and show that this is true shortly).&lt;br /&gt;
For &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d} X_-}{\mathrm{d} t} = u - \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and on each of the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;R_- = u - 2\sqrt{gh}&amp;lt;/math&amp;gt; is constant.&lt;br /&gt;
However, since this region is filled with &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics where &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; &lt;br /&gt;
must be constant on each &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristic. &lt;br /&gt;
This also means that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must be straight lines.&lt;br /&gt;
&lt;br /&gt;
Since the fluid occupies &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;t = 0&amp;lt;/math&amp;gt;, &lt;br /&gt;
these &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics must start at the origin, with &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_-(t) = \left(u - \sqrt{gh}\right)t&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which in turn implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u - \sqrt{gh} = \frac{x}{t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
We also have &amp;lt;math&amp;gt;R_+ = u + 2\sqrt{gh} = 2c_0&amp;lt;/math&amp;gt; from the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics. We can solve these equations &lt;br /&gt;
at each point in &amp;lt;math&amp;gt;\big\{x &amp;gt; -c_0 t \big\}&amp;lt;/math&amp;gt;. Solving for &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
h(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{h_0}{9}\left(2 - \frac{x}{c_0 t}\right)^2, \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
h_0,\quad x &amp;lt;-c_0 t,&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u(x, t) = &lt;br /&gt;
\begin{cases}&lt;br /&gt;
\frac{2}{3} \left (c_0 + \frac{x}{t} \right ), \quad -c_0 t &amp;lt; x&amp;lt; 2 c_0 t,\\&lt;br /&gt;
0,\quad x &amp;lt;-c_0 t.&lt;br /&gt;
\end{cases}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Where we have assumed that, since &amp;lt;math&amp;gt;h = 0&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x = 2c_0 t,&amp;lt;/math&amp;gt; &lt;br /&gt;
the  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic only exist in the region &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
We will verify this by explicitly calculating them.    &lt;br /&gt;
&lt;br /&gt;
It remains to determine the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic, which originated in &amp;lt;math&amp;gt;\big\{x &amp;lt; 0 \big\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
and show they &lt;br /&gt;
will fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;\big\{x &amp;lt; -c_0 t \big\}&amp;lt;/math&amp;gt;, &lt;br /&gt;
the &amp;lt;math&amp;gt;\;C_+&amp;lt;/math&amp;gt; characteristics are straight lines with slope &amp;lt;math&amp;gt;c_0&amp;lt;/math&amp;gt; and are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = -x_0 + c_0 t, \quad \left(x_0 &amp;gt; 0,\;\; t &amp;lt; \frac{x_0}{2c_0}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
When &amp;lt;math&amp;gt;t = \frac{x_0}{2c_0},\;\;\ X_{+} (t) = -c_0 t&amp;lt;/math&amp;gt; so that for &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t &amp;gt; \frac{x_0}{2c_0}, \quad \frac{\mathrm{d} X_{+} (t)}{\mathrm{d} t} = u + \sqrt{gh}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt; &lt;br /&gt;
and substituting the solution we found for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_{+} (t)}{\mathrm{d} t} = \frac{4}{3}c_0 + \frac{X_{+} (t)}{3t}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Solving this ODE  subject to &amp;lt;math&amp;gt;X_+ \left(\frac{x_0}{2c_0}\right) = -\frac{x_0}{2}&amp;lt;/math&amp;gt; gives&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) = 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\;\;&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
the equation for a characteristic curve.&lt;br /&gt;
The curves indeed fill the domain &amp;lt;math&amp;gt;\big\{x &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt; &lt;br /&gt;
and all satisfy &amp;lt;math&amp;gt;\big\{X_+ (t) &amp;lt; 2c_0 t \big\}&amp;lt;/math&amp;gt;.  To summarize, the&lt;br /&gt;
&amp;lt;math&amp;gt;C^{+}&amp;lt;/math&amp;gt;  characteristics are given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+ (t) =&lt;br /&gt;
\begin{cases}&lt;br /&gt;
 2c_0 t - 3\left(\frac{x_0}{2}\right)^{2/3}(c_0 t)^{1/3},\quad t&amp;gt; x_0/2 c_0\\&lt;br /&gt;
 -x_0 + c_0 t, \quad 0\ &amp;lt; t &amp;lt; x_0/2 c_0&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Characteristics_dam_break.jpg|thumb|right|500px|Characteristics for the dam &lt;br /&gt;
break problem, blue for &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; and red for &amp;lt;math&amp;gt;C_{-}&amp;lt;/math&amp;gt;. The solid red lines&lt;br /&gt;
show the curves &amp;lt;math&amp;gt;x=-c_0 t&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x=2c_0 t&amp;lt;/math&amp;gt; (note we have assumed&lt;br /&gt;
here that &amp;lt;math&amp;gt;c_0 =1&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Dambreak.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the Dam Break problem]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Shocks ==&lt;br /&gt;
&lt;br /&gt;
For a unique solution two exist there must be a single &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt;&lt;br /&gt;
characteristic through each point. When two characteristics of the same kind meet we &lt;br /&gt;
have a shock forming. &lt;br /&gt;
&lt;br /&gt;
=== Accelerating Piston ===&lt;br /&gt;
&lt;br /&gt;
We now consider the problem of water initially at rest occupying the &lt;br /&gt;
half space &amp;lt;math&amp;gt;x&amp;gt;0&amp;lt;/math&amp;gt; which is initially at rest. At &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; begins to move to the right with constant&lt;br /&gt;
acceleration &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; so that the position of the piston is given by&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{1}{2}at^2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We assume that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics which originate in the&lt;br /&gt;
water at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; fill the fluid. On these characteristics&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
R_- = u - 2 c = -2c_0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and this condition must hold throughout the fluid.  &lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics we know that&lt;br /&gt;
&amp;lt;math&amp;gt; R_+ = u + 2 c &amp;lt;/math&amp;gt; must be a constant and hence on the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
must be constant and hence the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics must&lt;br /&gt;
be straight lines.  Note that this does not mean that the &lt;br /&gt;
&amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics have the same slope and there is no&lt;br /&gt;
requirement that the &amp;lt;math&amp;gt;C_-&amp;lt;/math&amp;gt; characteristics are straight lines.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic originate from the fluid&lt;br /&gt;
or from the front of the piston. We consider those which originate from&lt;br /&gt;
the piston.  The  &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originates from&lt;br /&gt;
the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u+2c = a t_0 + 2c_{\text{plate}} \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt; a t_0&amp;lt;/math&amp;gt; is the velocity of the piston at time &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;c_{\text{plate}}&amp;lt;/math&amp;gt; is the speed (related to height) at the plate. &lt;br /&gt;
We know that &amp;lt;math&amp;gt; R_- = u - 2 c =-2c_0&amp;lt;/math&amp;gt; through out the fluid, so that if&lt;br /&gt;
we solve this at the plate (where &amp;lt;math&amp;gt;u=at_0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c=c_{\text{plate}}&amp;lt;/math&amp;gt;)&lt;br /&gt;
then we get &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;&lt;br /&gt;
c_{\text{plate}} = at_0/2 + c_0\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
are constant and therefore&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\mathrm{d}X_+}{\mathrm{d}t} = u+c = at_0 + \left( \frac{1}{2}at_0 + c_0 \right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
Hence&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0) = \left( \frac{3}{2} a t_0 + c_0 \right) t - c_0 t_0 -a t_0^2&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
using the condition &amp;lt;math&amp;gt;X_+(t_0,t_0) = \frac{1}{2} a t_0^2&amp;lt;/math&amp;gt; (the initial value which&lt;br /&gt;
comes from the position of the piston at &amp;lt;math&amp;gt;t=t_0&amp;lt;/math&amp;gt;).&lt;br /&gt;
The slope of these lines increases and eventually meet to form a shock. &lt;br /&gt;
We find this point of intersection by considering neighboring characteristics&lt;br /&gt;
and determining when they first intersect. &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
X_+(t,t_0 + \Delta t) = X_+(t,t_0)  + \Delta t \frac{\partial X_+}{\partial t_0} (t,t_0) = X_+(t,t_0)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
It follows that neighbouring characteristics will meet when &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{\partial X_+}{\partial t_0} (t,t_0) = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which implies that &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
t = \frac{2c_0}{3a} + \frac{4}{3}t_0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The first time that a shock forms is the minimum value of this equation.&lt;br /&gt;
For this piston example, this occurs when &amp;lt;math&amp;gt;t_0 = 0&amp;lt;/math&amp;gt; and the value&lt;br /&gt;
of &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;t = 2c_0/(3a)&amp;lt;/math&amp;gt;. At this point&lt;br /&gt;
a shock is formed and we can no longer find a unique solution by following the &lt;br /&gt;
characteristics.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Characteristics&lt;br /&gt;
! Surface elevation&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Accelerating_piston.jpg|thumb|right|500px| &amp;lt;math&amp;gt;C_{+}&amp;lt;/math&amp;gt; characteristics for the &lt;br /&gt;
accelerating piston, red undisturbed, blue from the piston and the green line shows the transition.]]&lt;br /&gt;
| [[Image:Accelerating_piston2.gif|thumb|right|500px|Evolution of the fluid surface &amp;lt;math&amp;gt;h(x,t)&amp;lt;/math&amp;gt; for the &lt;br /&gt;
accelerating piston.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Piston Moving with Constant Velocity ===&lt;br /&gt;
&lt;br /&gt;
This example is also known as the Moving Wall Problem, and is connected to Shallow Water Bores.  &lt;br /&gt;
&lt;br /&gt;
We consider the case of a piston, with positive constant velocity &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; (which is initially at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;), advancing into a semi-infinite expanse of&lt;br /&gt;
fluid that is initially at rest with depth &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristics which originate in the fluid&lt;br /&gt;
at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; have slope&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0}&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and the &amp;lt;math&amp;gt;C_+&amp;lt;/math&amp;gt; characteristic which originate at the piston at &lt;br /&gt;
&amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt; must satisfy&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\frac{\mathrm{d} X_+}{\mathrm{d}t} = \sqrt{gh_0} + \frac{3}{2} V &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
so that these two characteristics will intersect at &amp;lt;math&amp;gt;t=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
Therefore a shock forms immediately and we can track this by determining the&lt;br /&gt;
speed of the shock&lt;br /&gt;
&lt;br /&gt;
=== Speed of the shock ===&lt;br /&gt;
&lt;br /&gt;
We need the conservation equations in integral form to determine the speed&lt;br /&gt;
of the shock.  Conservation of mass, written as an integral is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h \mathrm{d}x &lt;br /&gt;
+ \left. \rho u h \right|_{x_2}^{x_1} =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If the shock is located at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
which we assume is located between &amp;lt;math&amp;gt;x_1&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;x_2&amp;lt;/math&amp;gt;, then &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} h \mathrm{d}x &lt;br /&gt;
= \partial_t \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) h \mathrm{d}x&lt;br /&gt;
= \left( \int_{x_1}^{s(t)} + &lt;br /&gt;
\int_{s(t)}^{x_2} \right) \partial_t h \mathrm{d}x + h^{+} \partial_t s(t) - h^{-}\partial_t s(t),&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;h^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;h^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
If we take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we then obtain the following&lt;br /&gt;
identity&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}\partial_t s(t) - h^{-}\partial_t s(t) -&lt;br /&gt;
u^{+} h^{+} + u^{-} h^{-} = 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;u^+&amp;lt;/math&amp;gt; is the height on the right (positive) side of &lt;br /&gt;
the jump and &amp;lt;math&amp;gt;u^-&amp;lt;/math&amp;gt; is the height on the left (negative) side. &lt;br /&gt;
&lt;br /&gt;
We now need to consider the equation for conservation of momentum. In integral form&lt;br /&gt;
this is &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\partial_t \int_{x_1}^{x_2} \rho h u \mathrm{d}x &lt;br /&gt;
= \left. \rho u^2 h \right|_{x_1}^{x_2} &lt;br /&gt;
+ \int_0^{h(x_1)} P(x_1,z,t) \mathrm{d}z - &lt;br /&gt;
\int_0^{h(x_2)} P(x_2,z,t) \mathrm{d}z&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where the pressure &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
P = \rho g \left(h - z\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
(i.e. we have hydrostatic equilibrium).  We can apply a similar argument as before to obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h^{+}u^{+}\partial_t s(t) - h^{-}u^{-}\partial_t s(t) = &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Hydraulic Jump ===&lt;br /&gt;
&lt;br /&gt;
For a hydraulic jump, &amp;lt;math&amp;gt;\dot{s}(t) = 0&amp;lt;/math&amp;gt;, which means that we must solve &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
u^{+} h^{+} - u^{-} h^{-} = 0 \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; &lt;br /&gt;
\left(u^{+}\right)^2 h^{+} - \left(u^{-}\right)^2 h^{-}&lt;br /&gt;
+ \frac{1}{2} g  \left(h^{+}\right)^2 - \frac{1}{2} g  \left(h^{-}\right)^2  =0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
If we introduce the variables &lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H = \frac{h^{+}}{h^{-}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\mathrm{Fr} = \frac{u^{-}}{\sqrt{gh^{-}}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\mathrm{Fr}&amp;lt;/math&amp;gt; is the &#039;&#039;Froude&#039;&#039; number&lt;br /&gt;
which is equivalent to the Mach number for gas dynamics.  &lt;br /&gt;
Then we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H^2 -1 = 2 \mathrm{Fr}^2 \left(1 - \frac{1}{H}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
This expression has the roots&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
H=1, \quad H=\frac{1}{2}\left(-1\pm\sqrt{1 + 8 \mathrm{Fr}^2}\right)&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
The only physically meaningful solution is the root which satisfies&lt;br /&gt;
&amp;lt;math&amp;gt;H&amp;gt;1&amp;lt;/math&amp;gt;.  This is only true providing &amp;lt;math&amp;gt;\mathrm{Fr} &amp;gt; 1&amp;lt;/math&amp;gt;, which means&lt;br /&gt;
that we can only obtain a hydraulic jump if the flow is supercritical.  &lt;br /&gt;
&lt;br /&gt;
Below is a video of a hydraulic jump.  You can clearly see the point where the flow is changing from supercritical to subcritical (look for the small turbulent region in the channel)&lt;br /&gt;
{{#ev:youtube|5etwhZ0d2GU}}&lt;br /&gt;
&lt;br /&gt;
=== Shallow Water Bore ===&lt;br /&gt;
We now consider  a bore, in which &lt;br /&gt;
the shock wave advances into still water. &lt;br /&gt;
We denote the fluid speed by &amp;lt;math&amp;gt;V = u^{-}&amp;lt;/math&amp;gt;. &lt;br /&gt;
We denote the height on the wall side&lt;br /&gt;
by &amp;lt;math&amp;gt;h_1&amp;lt;/math&amp;gt; and the height on the other side must be &amp;lt;math&amp;gt;h_0&amp;lt;/math&amp;gt;, i.e.&lt;br /&gt;
&amp;lt;math&amp;gt;h^{+} = h_0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;h^{-} = h_1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;u^{+} = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 h_{0}\partial_t s(t) - h_{1}\partial_t s(t) &lt;br /&gt;
 + V h_{1}= 0&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
 - h_{1}V\partial_t s(t) = - \left(V\right)^2 h_{1}&lt;br /&gt;
+ \frac{1}{2} g  \left(h_{0}\right)^2 - \frac{1}{2} g  \left(h_{1}\right)^2  &lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
which can be solved to obtain the shock speed and the height of the moving fluid. &lt;br /&gt;
&lt;br /&gt;
Below is a video of surfing on the [http://en.wikipedia.org/wiki/Severn Severn] bore, do not believe everything they&lt;br /&gt;
say. You might also want to check out the [http://en.wikipedia.org/wiki/Pororoca Pororoca]&lt;br /&gt;
a tidal bore on the Amazon.&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Yi8fytUszrQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|_668xmJ9DAQ}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|yTat11ERJMg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|qG8bPJwX96k}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|38ZWW2dM1Qs}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|AZHlhA5pQBg}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|VhlY5lQcTlM}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;br /&gt;
[[Category:Nonlinear Water-Wave Theory]]&lt;br /&gt;
[[Category:Shallow Depth]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
	<entry>
		<id>https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=14462</id>
		<title>Traffic Waves</title>
		<link rel="alternate" type="text/html" href="https://www.wikiwaves.org/index.php?title=Traffic_Waves&amp;diff=14462"/>
		<updated>2025-08-05T06:52:42Z</updated>

		<summary type="html">&lt;p&gt;Levi: Some fixes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{nonlinear waves course&lt;br /&gt;
 | chapter title = Traffic Waves&lt;br /&gt;
 | next chapter = [[Nonlinear Shallow Water Waves]]&lt;br /&gt;
 | previous chapter = [[Method of Characteristics for Linear Equations]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{complete pages}}&lt;br /&gt;
&lt;br /&gt;
We consider here some simple equations which model traffic flow. This problem is discussed in&lt;br /&gt;
[[Billingham and King 2000]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Reference]]&lt;br /&gt;
&lt;br /&gt;
== Equations ==&lt;br /&gt;
&lt;br /&gt;
We consider a single lane of road, and we measure distance along the road with &lt;br /&gt;
the variable &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; is time. &lt;br /&gt;
We define the following variables&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{matrix}&lt;br /&gt;
&amp;amp;\rho(x,t) &amp;amp;: &amp;amp;\mbox{car density (cars/km)} \\&lt;br /&gt;
&amp;amp; v(\rho)         &amp;amp;: &amp;amp;\mbox{car velocity (km/hour)} \\&lt;br /&gt;
&amp;amp; q(x,t) =\rho v         &amp;amp;: &amp;amp;\mbox{car flow rate (cars/hour)}  \\&lt;br /&gt;
\end{matrix} &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we consider a finite length of road &amp;lt;math&amp;gt;x_1\leq x \leq x_2&amp;lt;/math&amp;gt; then the net flow of cars&lt;br /&gt;
in and out must be balanced by the change in density. This means that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \int_{x_1}^{x_2} \rho(x,t) \mathrm{d}x = -q(x_2,t) + q(x_1,t)&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We now consider continuous densities (which is obviously an approximation) and &lt;br /&gt;
set &amp;lt;math&amp;gt;x_2 = x_1 + \Delta x&amp;lt;/math&amp;gt; and we obtain &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \rho(x_1,t) = -\frac{q(x_2,t) + q(x_1,t)}{\Delta x}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and if we take the limit as &amp;lt;math&amp;gt;\Delta x \to 0&amp;lt;/math&amp;gt; we obtain the differential equation&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial q}{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Note that this equation has been derived purely from the need to conserve cars (it is a conservation equation) and &lt;br /&gt;
is not possible to solve this equation until we have derived a connection between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
== Equation for &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; only ==&lt;br /&gt;
&lt;br /&gt;
At the moment we assume that we have some expression for &amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt;&lt;br /&gt;
If we substitute the expression for &amp;lt;math&amp;gt;q = v\rho&amp;lt;/math&amp;gt; into our differential equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \frac{\partial }{\partial x} \left(v(\rho)\rho\right) = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which gives us &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + \left(v^{\prime}(\rho)\rho + v(\rho)\right)&lt;br /&gt;
\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
or &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho)\frac{\partial \rho }{\partial x} = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &#039;&#039;&#039;kinematic wave speed&#039;&#039;&#039;. Note that this is not the speed of the cars, but&lt;br /&gt;
the speed at which disturbances in the density travel.&lt;br /&gt;
&lt;br /&gt;
== A simple relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is an equation of state and&lt;br /&gt;
there is no &#039;&#039;exact&#039;&#039; equation since it depends on many unknowns. One of the&lt;br /&gt;
simplest relationship between &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; is derived from&lt;br /&gt;
the following assumptions&lt;br /&gt;
&lt;br /&gt;
* When the density &amp;lt;math&amp;gt;\rho = 0&amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=v_0&amp;lt;/math&amp;gt;&lt;br /&gt;
* When the density is &amp;lt;math&amp;gt;\rho = \rho_{\max} &amp;lt;/math&amp;gt; the speed is &amp;lt;math&amp;gt;v=0&amp;lt;/math&amp;gt;&lt;br /&gt;
* The speed is a linear function of &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; between these two values. &lt;br /&gt;
&lt;br /&gt;
This also gives good fit with measured data. We will either consider the general case or use this simple&lt;br /&gt;
relationship. Using this we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
The flux of cars is given by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
q = \rho v(\rho) = v_0\frac{\rho(\rho_{\max} - \rho)}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and the wave speed is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) =  \left(v^{\prime}(\rho)\rho + v(\rho)\right) = -\frac{v_0}{\rho_{\max}}\rho + v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
= v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Velocity.jpg|thumb|350px|&amp;lt;math&amp;gt;v(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Q_flux.jpg|thumb|350px|&amp;lt;math&amp;gt;q(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:C_speed.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho)&amp;lt;/math&amp;gt; versus &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Small Amplitude Disturbances ==&lt;br /&gt;
&lt;br /&gt;
We can linearise the model by assuming that the variation in density is small so &lt;br /&gt;
that we can write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho = \rho_0 + \tilde{\rho}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where we assume that &amp;lt;math&amp;gt;\tilde{\rho}&amp;lt;/math&amp;gt; is small. This allows us to write the equations as&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \tilde{\rho}}{\partial t}  + c(\rho_0) \frac{\partial \tilde{\rho}}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where the main difference between this and the full equation is that the wave speed &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is&lt;br /&gt;
a constant. This is the linearised equation. Note that this linearisation does not give a good model because &lt;br /&gt;
traffic density does not vary only a small amount about some mean (as is the case for accoustic waves where the &lt;br /&gt;
density of air is roughly constant). &lt;br /&gt;
&lt;br /&gt;
Under these assumptions the solution to the equation is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\tilde{\rho} = f(x - c(\rho_0)t) &lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is determined by the initial condition. This represents &lt;br /&gt;
disturbances which travel with speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; in the positive&lt;br /&gt;
&amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; direction. &lt;br /&gt;
&lt;br /&gt;
We now consider the &#039;&#039;&#039;characteristic curves&#039;&#039;&#039; which are curves along which the density&lt;br /&gt;
&amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is a constant. These are give by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x = X(t) = x_0 + c(\rho_0) t.\,&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which are just straight lines of constant slope.  We will see shortly that the full (nonlinear)&lt;br /&gt;
equations also possess characteristics.&lt;br /&gt;
&lt;br /&gt;
== Nonlinear Initial Value Problem == &lt;br /&gt;
&lt;br /&gt;
We wish to solve &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial \rho}{\partial t}  + c(\rho) \frac{\partial \rho}{\partial x}  = 0&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
subject to the initial conditions&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = \rho_0(x) \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
It turns out that the concept of characteristic curves is very important for this problem. &lt;br /&gt;
&lt;br /&gt;
If we want &amp;lt;math&amp;gt;\rho(X(t),t)&amp;lt;/math&amp;gt; to be a constant then we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}}{\mathrm{d}t}\rho(X(t),t) = \frac{\mathrm{d} X}{\mathrm{d}t} \frac{\partial \rho}{\partial x} + &lt;br /&gt;
\frac{\partial \rho}{\partial t} = 0. &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
Comparing this to the governing partial differential equation we can see that we require&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d} X}{\mathrm{d}t}  = c(\rho) &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This means that the characteristics are straight lines (since &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; is constant) with&lt;br /&gt;
slope given by &amp;lt;math&amp;gt; c(\rho_0(x_0))&amp;lt;/math&amp;gt; so that the equation for the characteristics is &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X(t)  = x_0 + c(\rho_0(x_0))t \,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not allow us to write down a solution to the initial value problem,&lt;br /&gt;
all we can do is write&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho_0(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
which allows us to calculate the solution stepping forward in time, but not to determine the solution given&lt;br /&gt;
a value of &amp;lt;math&amp;gt;(x,t)&amp;lt;/math&amp;gt; (because we generally cannot solve the equation &amp;lt;math&amp;gt;x_0 + c(\rho_0(x_0))t = x&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;x_0&amp;lt;/math&amp;gt;).  &lt;br /&gt;
&lt;br /&gt;
The characteristics are a family of straight lines which will all have different slopes. If two characteristics&lt;br /&gt;
meet, our solution method will break down because there will be two values of the density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. &lt;br /&gt;
This gives rise to a &#039;&#039;&#039;shock&#039;&#039;&#039;. It turns&lt;br /&gt;
out that this the formation of shocks is a product of the equations themselves and not with the solution method.&lt;br /&gt;
We will see shortly that special methods are required to treat these shocks. &lt;br /&gt;
&lt;br /&gt;
=== Case when no shocks are formed ===&lt;br /&gt;
&lt;br /&gt;
The characteristic curves will fill the space without meeting provided that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;&lt;br /&gt;
is a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. If we work with our previous model we&lt;br /&gt;
have &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
v(\rho) = v_0\frac{\rho_{\max} - \rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
 &amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt; is a monotonically decreasing function of density &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;. This means&lt;br /&gt;
that the wave speed &amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt; will be&lt;br /&gt;
a monotonically increasing function of the distance &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; if an only if the density is a&lt;br /&gt;
monotonically decreasing function. In this case the solution can be calculated straightforwardly &lt;br /&gt;
by expansion of the initial density. &lt;br /&gt;
&lt;br /&gt;
==== No shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example1 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example1_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example1_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example11.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1- \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem and the expansion fan ====&lt;br /&gt;
&lt;br /&gt;
We can consider a simple problem in which there is a jump in the initial density&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;gt; \rho_{R}&amp;lt;/math&amp;gt; so that we do not form a shock. In this case&lt;br /&gt;
the characteristics on each side of &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; have a different slope and the &lt;br /&gt;
question is what happens between. It is easiest to think about the following problem&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; -\epsilon \\&lt;br /&gt;
\frac{\rho_{R}-\rho_{L}}{2\epsilon}x + \frac{\rho_{R}+\rho_{L}}{2} &amp;amp; -\epsilon \leq x \leq \epsilon \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \epsilon &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We can then see that we have lines of uniformly varying slope for &amp;lt;math&amp;gt;-\epsilon &amp;lt; x &amp;lt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
with slope between &amp;lt;math&amp;gt;c(\rho_L)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c(\rho_R)&amp;lt;/math&amp;gt;. If we then take the limit&lt;br /&gt;
as &amp;lt;math&amp;gt;\epsilon \to 0&amp;lt;/math&amp;gt; we obtain an expansion fan emanating from &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If we assume that &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
c(\rho) = v_0\frac{\rho_{\max} - 2\rho}{\rho_{\max}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we know that on the lines of the expansion fan (which all start at &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt;) we have&lt;br /&gt;
&amp;lt;math&amp;gt;c(\rho) = x/t&amp;lt;/math&amp;gt; (as the characteristic lines themselves are &amp;lt;math&amp;gt;x = c(\rho(x, t))t&amp;lt;/math&amp;gt;). We can rearrange this and solve for &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and obtain&lt;br /&gt;
&amp;lt;math&amp;gt;\rho(x, t) =\frac{ 1}{2} \rho_{\max} \left(1-\dfrac x{v_0 t}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The solution is then given by  &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; c(\rho_L) t\\&lt;br /&gt;
\frac{ \rho_{\max}}{2} \left(1-\dfrac x{v_0 t}\right),&amp;amp; c(\rho_L) t \leq x \leq  c(\rho_R) t\\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt;  c(\rho_R) t&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
This solution is known as an &#039;&#039;&#039;expansion fan&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.6,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.3,&amp;amp; x &amp;gt; 0.&lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Expansion_fan_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Expansion_fan_characteristics.jpg|thumb|350px|Characterisitics]]&lt;br /&gt;
| [[Image:Expansion_fan2.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Shocks ===&lt;br /&gt;
&lt;br /&gt;
So far we have only considered the case when &amp;lt;math&amp;gt;g(x_0)=c(\rho_0(x_0))&amp;lt;/math&amp;gt; is monotonically increasing so that&lt;br /&gt;
two characteristics never cross. We now consider the case when characteristics can meet. &lt;br /&gt;
A movie of this case is shown below. &lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Suugn-p5C1M}}&lt;br /&gt;
&lt;br /&gt;
We can easily see that&lt;br /&gt;
the first characteristics to meet will be neighbouring characteristics. Consider two characteristics&lt;br /&gt;
with &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_1(t) = x_0 + g(x_0)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
X_2(t) = x_0 + \delta x + g(x_0+\delta x)t\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Then these curves will meet at time &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; where &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
x_0 + g(x_0)T = x_0 + \delta x + g(x_0+\delta x)T\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
which implies that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
T = -\frac{1}{g^{\prime}(x_0)}&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt; &lt;br /&gt;
Note the following&lt;br /&gt;
* If &amp;lt;math&amp;gt;g^{\prime}(x) &amp;gt; 0 &amp;lt;/math&amp;gt; then no shock will form. &lt;br /&gt;
* The shock first forms at the minimum positive value of &amp;lt;math&amp;gt; - \frac{1}{g^{\prime}(x)} &amp;lt;/math&amp;gt;  for &amp;lt;math&amp;gt; -\infty &amp;lt; x &amp;lt;\infty &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== Shock Fitting ====&lt;br /&gt;
&lt;br /&gt;
If we calculate the solution using our formula &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x_0 + c(\rho_0(x_0))t,t) = \rho(x_0)\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
then we find that the solution becomes multivalued in the case when a shock forms.&lt;br /&gt;
We then have to fit a shock. One way to do this is by imposing the condition that equal&lt;br /&gt;
areas are removed and added when we chose the position of the shock. &lt;br /&gt;
This corresponds to the condition that&lt;br /&gt;
the number of cars must be conserved&lt;br /&gt;
&lt;br /&gt;
==== Speed of the shock ====&lt;br /&gt;
&lt;br /&gt;
If we consider the case when there is a shock at &amp;lt;math&amp;gt;s(t)&amp;lt;/math&amp;gt; with &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{-}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;x=s^{-}&amp;lt;/math&amp;gt; &lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;\rho = \rho^{+}&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;x=s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
(where &amp;lt;math&amp;gt;s^{-}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just less than s(t) and &amp;lt;math&amp;gt;s^{+}&amp;lt;/math&amp;gt;&lt;br /&gt;
is just greater than s(t) ). If we substitute&lt;br /&gt;
this into the governing integral equation we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\partial}{\partial t} \left( \int_{x_1}^{s(t)} \rho(x,t)\mathrm{d}x + \int_{s(t)}^{x_2}&lt;br /&gt;
 \rho(x,t)\mathrm{d}x \right) = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
and hence&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
 \int_{x_1}^{x_2}&lt;br /&gt;
\frac{\partial \rho(x,t)}{\partial t} \mathrm{d}x + \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(x_1,t) - q(x_2,t)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
If we now take the limit as &amp;lt;math&amp;gt;x_1\to x_2&amp;lt;/math&amp;gt; we obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t}\rho^{-} &lt;br /&gt;
- \frac{\mathrm{d}s}{\mathrm{d}t}\rho^{+}  = q(\rho^{-}) - q(\rho^{+})&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
so that&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\frac{\mathrm{d}s}{\mathrm{d}t} = \frac{q(\rho^{-}) - q(\rho^{+})}&lt;br /&gt;
{\rho^{-} - \rho^{+}}  &lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Shock example ====&lt;br /&gt;
&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &amp;lt;math&amp;gt;\rho_0 = 1/2(1 + \tanh(x))&amp;lt;/math&amp;gt;. The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic example2 rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Traffic_example2_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Traffic_example2_characteristics.jpg|thumb|350px|Characterisitics for  &amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt;]]&lt;br /&gt;
| [[Image:Traffic_example2.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t) &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; for &amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\rho_0 = 1/2(1+ \tanh(x))&amp;lt;/math&amp;gt; Dotted solution is without shock fitting.]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Riemann problem ====&lt;br /&gt;
&lt;br /&gt;
We now consider the Riemann problem &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
where &amp;lt;math&amp;gt;\rho_{L} &amp;lt; \rho_{R}&amp;lt;/math&amp;gt;. In this case a shock forms immediately and&lt;br /&gt;
the characteristics terminate at the shock. The shock moves with constant speed given by&lt;br /&gt;
the equation for the motion of the shock (or can be found by the equal areas rule). We obtain&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,t) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
\rho_{L},&amp;amp; x &amp;lt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t  \\&lt;br /&gt;
\rho_{R},&amp;amp; x &amp;gt; \frac{1}{2} \left(c(\rho_{L}) + c(\rho_{R}) \right) t &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
We consider the case when &amp;lt;math&amp;gt;\rho_{\max} = v_0 = 1&amp;lt;/math&amp;gt; and where the initial density is given&lt;br /&gt;
by &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt; &lt;br /&gt;
\rho(x,0) = &lt;br /&gt;
\left\{&lt;br /&gt;
\begin{matrix}&lt;br /&gt;
0.3,&amp;amp; x &amp;lt; 0 \\&lt;br /&gt;
0.6,&amp;amp; x &amp;gt; 0 &lt;br /&gt;
\end{matrix}&lt;br /&gt;
\right.&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The figures below show the initial density, the initial speed,&lt;br /&gt;
the characteristics, and &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; for this case.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
! &amp;lt;math&amp;gt;c&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_rho.jpg|thumb|350px| &amp;lt;math&amp;gt;\rho_0&amp;lt;/math&amp;gt; ]]&lt;br /&gt;
| [[Image:Shock_c.jpg|thumb|350px|&amp;lt;math&amp;gt;c(\rho_0)&amp;lt;/math&amp;gt;]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! characteristics&lt;br /&gt;
! &amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Shock_characteristics.jpg|thumb|350px|Characterisitics with shock shown in green.]]&lt;br /&gt;
| [[Image:Shock3.gif|thumb|350px|&amp;lt;math&amp;gt;\rho(x,t)&amp;lt;/math&amp;gt; with the red dotted line showing the solution without shock fitting]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Lecture Videos == &lt;br /&gt;
&lt;br /&gt;
=== Part 1 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|SWIXL97H0fw}}&lt;br /&gt;
&lt;br /&gt;
=== Part 2 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|j652tvrgm4c}}&lt;br /&gt;
&lt;br /&gt;
=== Part 3 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|QVtYsUGtb7I}}&lt;br /&gt;
&lt;br /&gt;
=== Part 4 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Ik2Q7H_aIV8}}&lt;br /&gt;
&lt;br /&gt;
=== Part 5 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|lNeFNHAqgEA}}&lt;br /&gt;
&lt;br /&gt;
=== Part 6 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|Yo0sW3Nh2FI}}&lt;br /&gt;
&lt;br /&gt;
=== Part 7 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|gOEMfOQZAAM}}&lt;br /&gt;
&lt;br /&gt;
=== Part 8 ===&lt;br /&gt;
&lt;br /&gt;
{{#ev:youtube|ZwvTZcWLZKM}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Simple Nonlinear Waves]]&lt;/div&gt;</summary>
		<author><name>Levi</name></author>
	</entry>
</feed>