<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jimmy.apablaza</id>
	<title>Class Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://fweb.wallawalla.edu/class-wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jimmy.apablaza"/>
	<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php/Special:Contributions/Jimmy.apablaza"/>
	<updated>2026-04-10T08:50:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Metal_Cart&amp;diff=8966</id>
		<title>Example: Metal Cart</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Metal_Cart&amp;diff=8966"/>
		<updated>2010-02-16T03:44:27Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Comments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Problem==&lt;br /&gt;
A DC generator is built using a metal cart with metallic wheels that travel around a set of perfectly conducting rails in a large circle. The rails are L m apart and there is a uniform magnetic &amp;lt;math&amp;gt;\vec B&amp;lt;/math&amp;gt; field normal to the plane. The cart has a penguin,with mass m, and is driven by a rocket engine having a constant thrust &amp;lt;math&amp;gt; F_1 &amp;lt;/math&amp;gt;. A wet polar bear, having stumbled out of a shack where he recently had a bad experience with a battery, lays dying across the tracks acting as a load resistance R over the rails.  Find The current as a function of time. What is the current after the generator attains the steady-state condition?&lt;br /&gt;
&lt;br /&gt;
[[Image:Emec_cart_polarBear2.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Problem loosely based on 2.6 from Electric Machinery and Transformers, 3rd ed &lt;br /&gt;
&amp;lt;ref&amp;gt;Guru and Huseyin, &#039;&#039;Electric Machinery and Transformers&#039;&#039;, 3rd ed. (New York: Oxford University Press, 2001)&amp;lt;/ref&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this Problem the large circle will be represented by a pair of parallel wires and the cart as a single wire. This is illustrated below in the top and end view figures.&lt;br /&gt;
[[Image:Emec_cart_topview.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Emec_cart_endview.png]]&lt;br /&gt;
&lt;br /&gt;
We have two forces, &amp;lt;math&amp;gt; F_1 &amp;lt;/math&amp;gt; being the force from the rocket engine and &amp;lt;math&amp;gt; F_2 &amp;lt;/math&amp;gt; being the force caused by the current in the conductor and the Magnetic Field.&lt;br /&gt;
The resulting Force &amp;lt;math&amp;gt; F_t &amp;lt;/math&amp;gt; is simply the sum of &amp;lt;math&amp;gt; F_1 &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; F_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; F_2  &amp;lt;/math&amp;gt; can be found using Ampere&#039;s Law&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\vec F=\int\limits_{c} I ~\vec dl\times \vec B~~~~~\Longrightarrow~~~~~ \vec F_2=\int\limits_{0}^{L} I ~\vec dl\times \vec B  ~~~~~\Longrightarrow~~~~~ \vec F_2=- I(t) ~B~L ~~  \hat i&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can also say that &amp;lt;math&amp;gt; I(t)=\frac{-e_m(t)}{R} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And &amp;lt;math&amp;gt;~~ {e_m(t)}= \int\limits_{o}^{L} (\vec v \times \vec B)~\vec dl ~~~~~\Longrightarrow~~~~~ {e_m(t)}=-v~L~B   &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; I(t)=\frac{v~L~B}{R}   ~~~~~~~~~~~~~~~~~~~~~~\vec F_2=- I(t) ~B~L ~~  \hat i~~~~~\Longrightarrow~~~~~\vec F_2=- \frac{v~L~B}{R} ~B~L ~~  \hat i ~~~~~\Longrightarrow~~~~~\vec F_2=- \frac{v~L^2~B^2}{R} ~~  \hat i&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \dot v=\frac{F_1}{m} ~\hat i~+\frac {F_2}{m}~ \hat i ~~~~~\Longrightarrow~~~~~ \dot v= ~\frac{F_1}{m} ~~\hat i~- \frac{v~L^2~B^2}{R m}~~\hat i  ~~~~~\Longrightarrow~~~~~ \dot v~ +~ v \left(\frac{L^2~B^2}{R~m}\right) ~-~\frac{F_1}{m}~=~0      &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have a lovely differential equation to work with! To attempt to find the current we will take the Laplace transform.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \mathcal{L}\left\{  \dot v ~+~v\left(\frac{L^2~B^2}{R~m}\right)-\frac{F_1}{m}   \right\}   ~~~~~\Longrightarrow~~~~~ s~V(s)~+~\frac{L^2B^2}{R~m} V(s) ~-~\frac{F_1}{m~s}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lets title and substitute in the variable &amp;lt;math&amp;gt;~~~~\psi=\frac{L^2~B^2}{R ~m}~~&amp;lt;/math&amp;gt;  to simplify things&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; s~V(s)~+~\psi~V(s)~-~\frac{F_1}{m~s}~=~0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V(s)~(s~+~\psi)~=~\frac{F_1}{m~s} ~~~~~\Longrightarrow~~~~~ V(s)~=~\frac {F_1}{m~s~(s~+~\psi)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using partial fraction expansion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\frac {F_1}{m~s~(s~+~\psi)}~~~~~~\Longrightarrow~~~~~~\frac{F_1/m\psi}{s}~-~\frac{F_1/m\psi}{s~+~\psi} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;V(s)=\frac{F_1/m\psi}{s}~-~\frac{F_1/m\psi}{s~+~\psi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;V(t)= \mathcal{L}\left\{  \frac{F_1/m\psi}{s}~-~\frac{F_1/m\psi}{s~+~\psi}   \right\}  ~~~~~\Longrightarrow~~~~~ V(t)=\frac {F_0}{m~\psi}\left(u(t)~-~e^{-\psi~t} ~u(t)\right) ~~~~~\Longrightarrow~~~~~ V(t)= \frac {F_0}{m~\psi}\left(1~-~e^{-\psi~t}\right) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V(t)=\frac {F_0}{m~ \frac{L^2~B^2}{R ~m}}\left(1~-~e^{-\frac{L^2~B^2}{R ~m}~t}\right) ~~~~~\Longrightarrow~~~~~ V(t)=\frac {F_0~R}{L^2~B^2}\left(1~-~e^{-\frac{L^2~B^2}{R ~m}~t}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We know that&lt;br /&gt;
&amp;lt;math&amp;gt;~~ e_m(t)~=~V(t)LB &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we can substitute in V(t) to get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; e_m(t)= \frac {F_0~R}{L~B}\left(1~-~e^{-\frac{L^2~B^2}{R ~m}~t}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And we know that &amp;lt;math&amp;gt;~~I(t)~=~\frac{e_m(t)}{R}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; I(t)=\frac{\frac {F_0~R}{L~B}\left(1~-~e^{-\frac{L^2~B^2}{R ~m}~t}\right)}{R}~~~~~\Longrightarrow~~~~~ I(t)~=~\frac {F_0}{L~B}\left(1~-~e^{-\frac{L^2~B^2}{R ~m}~t}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To find the steady-state current we simply look at the limit of I(t) as &amp;lt;math&amp;gt;t \rightarrow \infty&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\lim_{t\rightarrow \infty} I(t)=\frac{F_0}{L~B} \left( 1- e^{-\infty}\right) ~~~~~\Longrightarrow~~~~~ I(\infty)=\frac{F_0}{L~B} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
So the Steady-State Current = &amp;lt;math&amp;gt;\frac{F_0}{L~B}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; In~conclusion~it ~can ~be ~seen ~that ~a ~penguin ~driven, ~polar ~bear ~killing ~generator &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;~would ~be ~a ~viable ~option ~for ~alternative ~energy ~in ~Canada. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reviewed by==&lt;br /&gt;
&lt;br /&gt;
[[Kirk Betz]] Read and approved 1-26-10&lt;br /&gt;
&lt;br /&gt;
[[Will Griffith]] Approved 1-27-10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Read By==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
*I completely agree with your conclusion (Tim Rasmussen)&lt;br /&gt;
*I&#039;m just worried about the ecologists. (J. Apablaza)&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8764</id>
		<title>Example: Ideal Transformer Exercise</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8764"/>
		<updated>2010-01-27T03:17:40Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Reviewed By */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Author==&lt;br /&gt;
&lt;br /&gt;
John Hawkins&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
&lt;br /&gt;
An ideal transformer has a primary winding with 500 turns and a secondary winding with 2000 turns.  Given that &amp;lt;math&amp;gt;\ e_1=120\angle{0^\circ}\text{ V, RMS}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ i_1=(2+3j)\text{ A}&amp;lt;/math&amp;gt;, find the load impedance, &amp;lt;math&amp;gt;\ Z_L&amp;lt;/math&amp;gt; and the Thevenin equivalent, &amp;lt;math&amp;gt;\ Z_{th}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
We could find the Thevenin impedance directly, but we will save that until the end as a checking mechanism.  First, we will find the actual load impedance by finding the current and voltage in the secondary winding and finding their ratio.  The equations used are those derived in class by Professor Frohne.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1=\frac{2000}{500}(120)=480\text{ V}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_2=\frac{N_1}{N_2}i_1=\frac{500}{2000}(2+3j)=\left(\frac{1}{2}+\frac{3}{4}j\right)\text{ A}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_L=\frac{e_2}{i_2}=\frac{480}{\frac{1}{2}+\frac{3}{4}j}=\mathbf{(295.4-443.1j)\ \Omega\ =(532.5\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\left(\frac{N_1}{N_2}\right)^2Z_L=\left(\frac{500}{2000}\right)^2(295.4-443.1j)=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned at the beginning, this should be the impedance found using the ratio of the primary voltage and current.  Using this method, we find that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\frac{e_1}{i_1}=\frac{120}{2+3j}=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the same answer as above, which verifies the solutions.&lt;br /&gt;
&lt;br /&gt;
==Reviewed By==&lt;br /&gt;
&lt;br /&gt;
*Tyler Anderson&lt;br /&gt;
*Jimmy Apablaza-Lorca&lt;br /&gt;
&lt;br /&gt;
==Read By==&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
Tyler Anderson: it may be helpful to the readers if you referenced what equations you are using. For example:&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt; EQ (5-39)&amp;lt;/math&amp;gt;&lt;br /&gt;
Otherwise it looks sound to me. &lt;br /&gt;
&lt;br /&gt;
John Hawkins: I didn&#039;t use the textbook, so such a reference is not required.  I agree that it would be useful for those in the class, but I don&#039;t have the same textbook as everyone else, and I doubt anyone would care to know my book&#039;s equation numbers.  Thanks for reminding me about references, though.  I mentioned the class derivation above in the text.&lt;br /&gt;
&lt;br /&gt;
Tyler Anderson: haha fair enough then. props for that. perhaps I could barrow your book sometime? cause ours is absolute crap.&lt;br /&gt;
&lt;br /&gt;
John Hawkins: I hate the book I&#039;m using as well, but if you want to use it sometime that would be fine.&lt;br /&gt;
&lt;br /&gt;
J. Apablaza: Everything looks sound to me. Perhaps, you should include an image so that you can earn some extra points.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8763</id>
		<title>Example: Ideal Transformer Exercise</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8763"/>
		<updated>2010-01-27T03:17:16Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Reviewed By */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Author==&lt;br /&gt;
&lt;br /&gt;
John Hawkins&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
&lt;br /&gt;
An ideal transformer has a primary winding with 500 turns and a secondary winding with 2000 turns.  Given that &amp;lt;math&amp;gt;\ e_1=120\angle{0^\circ}\text{ V, RMS}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ i_1=(2+3j)\text{ A}&amp;lt;/math&amp;gt;, find the load impedance, &amp;lt;math&amp;gt;\ Z_L&amp;lt;/math&amp;gt; and the Thevenin equivalent, &amp;lt;math&amp;gt;\ Z_{th}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
We could find the Thevenin impedance directly, but we will save that until the end as a checking mechanism.  First, we will find the actual load impedance by finding the current and voltage in the secondary winding and finding their ratio.  The equations used are those derived in class by Professor Frohne.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1=\frac{2000}{500}(120)=480\text{ V}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_2=\frac{N_1}{N_2}i_1=\frac{500}{2000}(2+3j)=\left(\frac{1}{2}+\frac{3}{4}j\right)\text{ A}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_L=\frac{e_2}{i_2}=\frac{480}{\frac{1}{2}+\frac{3}{4}j}=\mathbf{(295.4-443.1j)\ \Omega\ =(532.5\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\left(\frac{N_1}{N_2}\right)^2Z_L=\left(\frac{500}{2000}\right)^2(295.4-443.1j)=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned at the beginning, this should be the impedance found using the ratio of the primary voltage and current.  Using this method, we find that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\frac{e_1}{i_1}=\frac{120}{2+3j}=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the same answer as above, which verifies the solutions.&lt;br /&gt;
&lt;br /&gt;
==Reviewed By==&lt;br /&gt;
&lt;br /&gt;
Tyler Anderson&lt;br /&gt;
Jimmy Apablaza-Lorca&lt;br /&gt;
&lt;br /&gt;
==Read By==&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
Tyler Anderson: it may be helpful to the readers if you referenced what equations you are using. For example:&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt; EQ (5-39)&amp;lt;/math&amp;gt;&lt;br /&gt;
Otherwise it looks sound to me. &lt;br /&gt;
&lt;br /&gt;
John Hawkins: I didn&#039;t use the textbook, so such a reference is not required.  I agree that it would be useful for those in the class, but I don&#039;t have the same textbook as everyone else, and I doubt anyone would care to know my book&#039;s equation numbers.  Thanks for reminding me about references, though.  I mentioned the class derivation above in the text.&lt;br /&gt;
&lt;br /&gt;
Tyler Anderson: haha fair enough then. props for that. perhaps I could barrow your book sometime? cause ours is absolute crap.&lt;br /&gt;
&lt;br /&gt;
John Hawkins: I hate the book I&#039;m using as well, but if you want to use it sometime that would be fine.&lt;br /&gt;
&lt;br /&gt;
J. Apablaza: Everything looks sound to me. Perhaps, you should include an image so that you can earn some extra points.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8762</id>
		<title>Example: Ideal Transformer Exercise</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Example:_Ideal_Transformer_Exercise&amp;diff=8762"/>
		<updated>2010-01-27T03:16:53Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Comments */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Author==&lt;br /&gt;
&lt;br /&gt;
John Hawkins&lt;br /&gt;
&lt;br /&gt;
==Problem Statement==&lt;br /&gt;
&lt;br /&gt;
An ideal transformer has a primary winding with 500 turns and a secondary winding with 2000 turns.  Given that &amp;lt;math&amp;gt;\ e_1=120\angle{0^\circ}\text{ V, RMS}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ i_1=(2+3j)\text{ A}&amp;lt;/math&amp;gt;, find the load impedance, &amp;lt;math&amp;gt;\ Z_L&amp;lt;/math&amp;gt; and the Thevenin equivalent, &amp;lt;math&amp;gt;\ Z_{th}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
We could find the Thevenin impedance directly, but we will save that until the end as a checking mechanism.  First, we will find the actual load impedance by finding the current and voltage in the secondary winding and finding their ratio.  The equations used are those derived in class by Professor Frohne.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1=\frac{2000}{500}(120)=480\text{ V}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;i_2=\frac{N_1}{N_2}i_1=\frac{500}{2000}(2+3j)=\left(\frac{1}{2}+\frac{3}{4}j\right)\text{ A}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_L=\frac{e_2}{i_2}=\frac{480}{\frac{1}{2}+\frac{3}{4}j}=\mathbf{(295.4-443.1j)\ \Omega\ =(532.5\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\left(\frac{N_1}{N_2}\right)^2Z_L=\left(\frac{500}{2000}\right)^2(295.4-443.1j)=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As mentioned at the beginning, this should be the impedance found using the ratio of the primary voltage and current.  Using this method, we find that&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Z_{th}=\frac{e_1}{i_1}=\frac{120}{2+3j}=\mathbf{(18.5-27.7j)\ \Omega\ =(33.3\angle{-56.3^\circ})\ \Omega}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the same answer as above, which verifies the solutions.&lt;br /&gt;
&lt;br /&gt;
==Reviewed By==&lt;br /&gt;
&lt;br /&gt;
Tyler Anderson&lt;br /&gt;
&lt;br /&gt;
==Read By==&lt;br /&gt;
&lt;br /&gt;
==Comments==&lt;br /&gt;
Tyler Anderson: it may be helpful to the readers if you referenced what equations you are using. For example:&lt;br /&gt;
&amp;lt;math&amp;gt;e_2=\frac{N_2}{N_2}e_1&amp;lt;/math&amp;gt;  &amp;lt;math&amp;gt; EQ (5-39)&amp;lt;/math&amp;gt;&lt;br /&gt;
Otherwise it looks sound to me. &lt;br /&gt;
&lt;br /&gt;
John Hawkins: I didn&#039;t use the textbook, so such a reference is not required.  I agree that it would be useful for those in the class, but I don&#039;t have the same textbook as everyone else, and I doubt anyone would care to know my book&#039;s equation numbers.  Thanks for reminding me about references, though.  I mentioned the class derivation above in the text.&lt;br /&gt;
&lt;br /&gt;
Tyler Anderson: haha fair enough then. props for that. perhaps I could barrow your book sometime? cause ours is absolute crap.&lt;br /&gt;
&lt;br /&gt;
John Hawkins: I hate the book I&#039;m using as well, but if you want to use it sometime that would be fine.&lt;br /&gt;
&lt;br /&gt;
J. Apablaza: Everything looks sound to me. Perhaps, you should include an image so that you can earn some extra points.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8426</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8426"/>
		<updated>2010-01-20T10:13:45Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Eddy1.png|thumb|Figure 1. Induced magnetic fields in a loaded coil.]]&lt;br /&gt;
Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
[[Image:Eddy2.png|thumb|Figure 2. Eddy currents.]]&lt;br /&gt;
Whenever a current travels in a coil, a magnetic field, or electromagnetic induction, is produced around the coil. This is explained by the Faraday&#039;s Law of Induction, which states that a change in the magnetic environment of a coil will induce an electromagnetic force in the coil. The polarity of that emf generated by the change in magnetic flux will also produce a current whose magnetic field is opposed to the change that produces it. This is know as Lenz&#039;s Law.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
&lt;br /&gt;
Eddy current is used as a method of measurement, inspection of defects, and correction.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8425</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8425"/>
		<updated>2010-01-20T10:13:30Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Eddy2.png|thumb|Figure 1. Induced magnetic fields in a loaded coil.]]&lt;br /&gt;
Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
[[Image:Eddy1.png|thumb|Figure 2. Eddy currents.]]&lt;br /&gt;
Whenever a current travels in a coil, a magnetic field, or electromagnetic induction, is produced around the coil. This is explained by the Faraday&#039;s Law of Induction, which states that a change in the magnetic environment of a coil will induce an electromagnetic force in the coil. The polarity of that emf generated by the change in magnetic flux will also produce a current whose magnetic field is opposed to the change that produces it. This is know as Lenz&#039;s Law.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
&lt;br /&gt;
Eddy current is used as a method of measurement, inspection of defects, and correction.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:Eddy2.png&amp;diff=8424</id>
		<title>File:Eddy2.png</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:Eddy2.png&amp;diff=8424"/>
		<updated>2010-01-20T10:10:41Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: Eddy Currents&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy Currents&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=File:Eddy1.png&amp;diff=8423</id>
		<title>File:Eddy1.png</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=File:Eddy1.png&amp;diff=8423"/>
		<updated>2010-01-20T10:10:16Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: Diagram - Induced magnetic field in a coil&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Diagram - Induced magnetic field in a coil&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8422</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8422"/>
		<updated>2010-01-20T10:09:05Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
&lt;br /&gt;
Whenever a current travels in a coil, a magnetic field, or electromagnetic induction, is produced around the coil. This is explained by the Faraday&#039;s Law of Induction, which states that a change in the magnetic environment of a coil will induce an electromagnetic force in the coil. The polarity of that emf generated by the change in magnetic flux will also produce a current whose magnetic field is opposed to the change that produces it. This is know as Lenz&#039;s Law.&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
&lt;br /&gt;
Eddy current is used as a method of measurement, inspection of defects, and correction.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8416</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8416"/>
		<updated>2010-01-20T08:07:10Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* How does it work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
&lt;br /&gt;
Whenever a current travels in a coil, a magnetic field, or electromagnetic induction, is produced around the coil. This is explained by the Faraday&#039;s Law of Induction, which states that a change in the magnetic environment of a coil will induce an electromagnetic force in the coil. The polarity of that emf generated by the change in magnetic flux will also produce a current whose magnetic field is opposed to the change that produces it. This is know as Lenz&#039;s Law.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8415</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8415"/>
		<updated>2010-01-20T08:05:28Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* How does it work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;br /&gt;
&lt;br /&gt;
Whenever a current travels in a coil, a magnetic field, or electromagnetic induction, around the coil. This is explained by the Faraday&#039;s Law of Induction, which states that a change in the magnetic environment of a coil will induce an electromagnetic force in the coil. The polarity of that emf generated by the change in magnetic flux will also produce a current whose magnetic field is opposed to the change that produces it. This is know as Lenz&#039;s Law&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8413</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8413"/>
		<updated>2010-01-20T07:57:58Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
== Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;br /&gt;
&lt;br /&gt;
== How does it work? ==&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8412</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8412"/>
		<updated>2010-01-20T07:48:27Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Why &amp;quot;Eddy&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
==Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar. A similar phenomenon occurs when a current is induced in a large conductor.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8411</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8411"/>
		<updated>2010-01-20T07:19:58Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
==Why &amp;quot;Eddy&amp;quot;?==&lt;br /&gt;
An Eddy is a term used in fluid mechanics which describes a fluid&#039;s swirl and its reverse current after the fluid has overcome an obstacle, like those produced by a dragging oar.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8276</id>
		<title>Eddy Current</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Eddy_Current&amp;diff=8276"/>
		<updated>2010-01-18T23:47:12Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: New page: Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.  ==Why &amp;quot;Eddy&amp;quot;?==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eddy current is an electrical phenomenon that occurs when a conductor is exposed to a varying magnetic field which causes a current flow within the conductor.&lt;br /&gt;
&lt;br /&gt;
==Why &amp;quot;Eddy&amp;quot;?==&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Jimmy_Apablaza&amp;diff=8275</id>
		<title>Jimmy Apablaza</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Jimmy_Apablaza&amp;diff=8275"/>
		<updated>2010-01-18T23:43:46Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== My Articles ==&lt;br /&gt;
&lt;br /&gt;
* [[Electrostatics]]&lt;br /&gt;
* [[Faraday&#039;s Law]]&lt;br /&gt;
* [[Eddy Current]]&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Jimmy_Apablaza&amp;diff=8274</id>
		<title>Jimmy Apablaza</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Jimmy_Apablaza&amp;diff=8274"/>
		<updated>2010-01-18T23:42:42Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: New page: == My Articles ==&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== My Articles ==&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Class_Roster&amp;diff=8273</id>
		<title>Class Roster</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Class_Roster&amp;diff=8273"/>
		<updated>2010-01-18T23:42:22Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Class of 2010===&lt;br /&gt;
#[[Eric Clay]]&lt;br /&gt;
#[[Jason Osborne]]&lt;br /&gt;
#Tim Van Arsdale&lt;br /&gt;
#[[Kirk Betz]]&lt;br /&gt;
#Corneliu Turturica&lt;br /&gt;
#[[Jimmy Apablaza]]&lt;br /&gt;
#[[Will Griffith]]&lt;br /&gt;
#[[Greg Fong]]&lt;br /&gt;
#[[Tyler Anderson]]&lt;br /&gt;
#[[Andrew Sell]]&lt;br /&gt;
#[[Lau, Chris]]&lt;br /&gt;
#[[Kyle Lafferty]]&lt;br /&gt;
#[[Matthew Fetke]]&lt;br /&gt;
#[[Wesley Brown]]&lt;br /&gt;
#[[Erik Biesenthal]]&lt;br /&gt;
#[[Jodi Hodge]]&lt;br /&gt;
#[[David Robbins]]&lt;br /&gt;
#[[Amy Crosby]]&lt;br /&gt;
#[[Tim Rasmussen]]&lt;br /&gt;
#[[Kevin Starkey EMEC]]&lt;br /&gt;
#[[John Hawkins]]&lt;br /&gt;
#[[Alex Roddy]]&lt;br /&gt;
#[[Aric Vyhmeister]]&lt;br /&gt;
#[[Nick Christman]]&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=8272</id>
		<title>Electromechanical Energy Conversion</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=8272"/>
		<updated>2010-01-18T23:41:47Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Rules]]&lt;br /&gt;
&lt;br /&gt;
[[Class Roster]]&lt;br /&gt;
&lt;br /&gt;
[[Points]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Questions==&lt;br /&gt;
&lt;br /&gt;
What do we do when we are finished with the draft and ready to publish?&lt;br /&gt;
* If it&#039;s been approved by the reviewers, move it to the articles section&lt;br /&gt;
&lt;br /&gt;
Does anyone know why my LaTEX stuff is changing sizes throughout my article? [[An Ideal Transformer Example]]&lt;br /&gt;
&lt;br /&gt;
*(John Hawkins) As I understand it, the text is made full size (larger) if there is ever a function call, i.e. something starting with a backslash, excluding some things like greek letters.  I have just put &amp;quot;\ &amp;quot; (the function call for a space) at the beginning of an equation and had it work.  If you don&#039;t want to change anything about your equation but just want it displayed full size, type &amp;quot;\,\!&amp;quot; (small forward space and small backward space) somewhere in your equation.&lt;br /&gt;
*Thanks John!&lt;br /&gt;
&lt;br /&gt;
==Announcements==&lt;br /&gt;
&lt;br /&gt;
If anyone wants to write the derivation of Ampere&#039;s Law you can put it on my (Wesley Brown) [[Ampere&#039;s Law]] page and be a co-author.&lt;br /&gt;
&lt;br /&gt;
==Draft Articles==&lt;br /&gt;
These articles are not ready for reading and error checking. They are listed so people will not simultaneously write about similar topics.&lt;br /&gt;
* [[Ferromagnetism]]&lt;br /&gt;
* [[Magnetic Circuits]]&lt;br /&gt;
* [[Gauss Meters]]&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[DC Motor]]&lt;br /&gt;
* [[AC vs. DC]]&lt;br /&gt;
* [[AC Motors]]&lt;br /&gt;
* [[Fringing]]&lt;br /&gt;
* [[Electrostatics]]&lt;br /&gt;
* [[Faraday&#039;s Law]]&lt;br /&gt;
* [[Eddy Current]]&lt;br /&gt;
* [[Example Problems of Magnetic Circuits]]&lt;br /&gt;
* [[Magnetic Circuit]] (John Hawkins)&lt;br /&gt;
* [[Ohm&#039;s Law and Reluctance]]&lt;br /&gt;
* [[Magnetic Flux]]&lt;br /&gt;
* [[An Ideal Transformer Example]]&lt;br /&gt;
* [[Example: Ideal Transformer Exercise]] (John Hawkins)&lt;br /&gt;
* [[Reference Terms and Units]] (Amy Crosby)&lt;br /&gt;
&lt;br /&gt;
==Reviewed Articles==&lt;br /&gt;
These articles have been reviewed and submitted.&lt;br /&gt;
* [[Nick_ENGR431_P1|Magnetostatics]] (Nick Christman)&lt;br /&gt;
* [[Magnetic Flux]] (Jason Osborne)&lt;br /&gt;
*[[An Application of Electromechanical Energy Conversion: Hybrid Electric Vehicles]] (Chris Lau)&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7591</id>
		<title>Electrostatics</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7591"/>
		<updated>2010-01-11T08:00:47Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Electrostatics is the study of the electric phenomena under statics conditions. (Under construction...)&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Nick_ENGR431_P1&amp;diff=7581</id>
		<title>Nick ENGR431 P1</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Nick_ENGR431_P1&amp;diff=7581"/>
		<updated>2010-01-11T07:55:36Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Nick Christman: Paper 1 - Magnetostatics ==&lt;br /&gt;
&lt;br /&gt;
Back to [[Nick ENGR431 | Nick&#039;s EMEC Wiki]]&lt;br /&gt;
&lt;br /&gt;
Back to [[Electromechanical Energy Conversion | Class EMEC Wiki]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:15pt;&amp;quot;&amp;gt;&#039;&#039;&#039;Brief Introduction to Magnetostatics&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;Nick Christman&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
According to several sources, there is an ancient story about a Cretan shepherd named Magnes who accidentally discovered a naturally occurring magnetic material known as lodestone (or loadstone). As the legend goes, Magnes was herding his sheep one day when the iron nails in his shoes and the iron tip on his staff became unusually attracted to a large, dark stone – lodestones contain a mineral, now known as magnetite (&amp;lt;math&amp;gt;Fe_{3}O_{4}&amp;lt;/math&amp;gt;), that consists of naturally occurring magnetic properties&amp;lt;ref&amp;gt;Jezek, How Magnets Work&amp;lt;/ref&amp;gt;. The first record of using magnets is somewhat of a debatable topic because magnetic properties were first recorded by Greek philosophers possibly as early as the 7th century BC and the Chinese have written records dating circa 4th century BC. In either case, the awareness of magnetic properties has been around for quite some time and the study of magnetism continues to be important and popular portion of research topics.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Magnetostatics, the study of static magnetic fields, is only a small portion of the overall study of magnetic properties. As just stated, magnetostatics implies that the magnetic field is static – that is, the flow of current that creates the magnetic field is steady or direct current (DC)&amp;lt;ref&amp;gt;Wikipedia, Magnetostatics&amp;lt;/ref&amp;gt; – and this allows scientists to make very accurate approximations of how magnetic fields act. In this document, the theory and application behind magnetostatics will be addressed.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
It is said that currents in opposite directions repel while currents in the same directions attract. To demonstrate this, take a common example that is illustrated in David Griffiths &#039;&#039;Introduction to Electrodynamics&#039;&#039;, 3rd edition: “[Imagine] two wires hang from the ceiling, a few centimeters apart; when I turn on a current so that it passes up one wire and back down the other, the wires jump apart. Moreover, I could hook up my demonstration so as to make the current flow up both wires; in this case they are found to attract” &amp;lt;ref&amp;gt;Griffiths, p. 203&amp;lt;/ref&amp;gt;(Griffiths 203). This demonstration is illustrated in Figure 1. Through experimentation it has been proven that the forces of attraction in this system are not due to electrostatics, but instead are the result of magnetic forces – &#039;&#039;in addition to an electric field, a moving charge also generates a magnetic field&#039;&#039;&amp;lt;ref&amp;gt;Griffiths, p. 203&amp;lt;/ref&amp;gt; (Griffiths 203). In fact, if one were to allow a current to flow down a straight wire, then a magnetic field circling the wire will be formed – recall the right-hand-rule which states that if you grasp the wire with your right hand (thumb pointing in the direction of current) then your fingers curl in the direction of the magnetic field. Place two wires in close proximity to each other, such as those mentioned in the demonstration above, and there will be a magnetic force between the two wires – hence, in one case the two wires repel and in the other they attract.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
[[Image:Paper1_img1.png |thumb|center|upright=2.5|Figure 1: Illustration of (A) currents in opposite directions repel and (B) currents in the same directions attract. Image created by Nick Christman.]]&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
This concept of magnetic force is an interesting, yet complicating topic that is often covered in series of undergraduate and graduate level courses. Generally speaking, however, there is one law that encapsulates all of magnetostatics, which is Lorentz Force Law&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\textstyle F = Q(v \times B) &amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;Griffiths, p. 204&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where Q is the charge for which the magnetic field is acting upon, B is the magnetic field, and v is the velocity of the charge Q. (Note that this force, F, is due to the magnetic field acting on Q and that there are no external electric fields present. In the presence of an external electric field, there would be an additional term.) Furthermore, Lorentz Force Law can be expanded in order to account for a current carrying wire rather than a point charge. In the case of a current carrying wire, Lorentz Force Law becomes&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \textstyle F = \int (I \times B)dl = \int I(dl \times B) &amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;Griffiths, p. 204&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
where &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt;, the current, is represented by a vector pointing in the same direction as &amp;lt;math&amp;gt;dl&amp;lt;/math&amp;gt;. In most cases, however, current is treated as constant; thus, Lorentz Force Law can be written as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align:center;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt; \textstyle F = I \int (dl \times B) &amp;lt;/math&amp;gt;&amp;lt;ref&amp;gt;Griffiths, p. 209&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Overall, magnetostatics has been derived from a compilation of different sources and it is used to more simply model the properties of magnetism. In both the constant and non-constant current cases presented above, it is clear that the Lorentz Force Law is an important aspect of magnetostatics that can be expanded to account for nearly every study of magnetism. This short overview of magnetostatics is important when one desires to develop and understand magnetic circuits and, ultimately, transformers.&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;References&#039;&#039;&#039;:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Griffiths, David J. &amp;quot;Introduction to Electrodynamics.&amp;quot; Upper Saddle River, N.J: Prentice Hall, 1999.&lt;br /&gt;
&lt;br /&gt;
Jezek, Geno. &amp;quot;History of Magnets.&amp;quot; How Magnets Work. Web. 9 Jan. 2010. &amp;lt;http://www.howmagnetswork.com/history.html&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Mohan, Ned. Electric Drives An Integrative Approach. Minneapolis: Mnpere, 2004.&lt;br /&gt;
&lt;br /&gt;
Wikepdia. &amp;quot;Magnetostatics.&amp;quot; Wikipedia, the free encyclopedia. Web. 10 Jan. 2010. &amp;lt;http://en.wikipedia.org/wiki/Magnetostatics&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;In-text Citations&#039;&#039;&#039;:&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;Statistics&#039;&#039;&#039;:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Word Count: 845  (content, equations, work cited, and title)&lt;br /&gt;
&lt;br /&gt;
Image Count: 1&lt;br /&gt;
&lt;br /&gt;
Potential Points: TBD&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;Reviewers&#039;&#039;&#039;:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Kevin Starkey&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;text-align: center; font-size:13pt;&amp;quot;&amp;gt;&#039;&#039;&#039;Readers&#039;&#039;&#039;:&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Jimmy Apablaza&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7571</id>
		<title>Electrostatics</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7571"/>
		<updated>2010-01-11T07:50:56Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Electrostatics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Under construction...&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7568</id>
		<title>Electrostatics</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electrostatics&amp;diff=7568"/>
		<updated>2010-01-11T07:48:35Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: New page: = Electrostatics =&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Electrostatics =&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=7566</id>
		<title>Electromechanical Energy Conversion</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=7566"/>
		<updated>2010-01-11T07:48:17Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Draft Articles */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Rules]]&lt;br /&gt;
&lt;br /&gt;
[[Class Roster]]&lt;br /&gt;
&lt;br /&gt;
[[Points]]&lt;br /&gt;
&lt;br /&gt;
==Articles==&lt;br /&gt;
None published to date&lt;br /&gt;
&lt;br /&gt;
==Questions==&lt;br /&gt;
&lt;br /&gt;
What do we do when we are finished with the draft and ready to publish?&lt;br /&gt;
&lt;br /&gt;
==Draft Articles==&lt;br /&gt;
These articles are not ready for reading and error checking. They are listed so people will not simultaneously write about similar topics.&lt;br /&gt;
* [[Ferromagnetism]]&lt;br /&gt;
* [[Magnetic Circuits]]&lt;br /&gt;
* [[Gauss Meters]]&lt;br /&gt;
* [[Ampere&#039;s Law]]&lt;br /&gt;
* [[DC Motor]]&lt;br /&gt;
* [[AC vs. DC]]&lt;br /&gt;
* [[An Application of Electromechanical Energy Conversion: Hybrid Electric Vehicles]]&lt;br /&gt;
* [[AC Motors]]&lt;br /&gt;
* [[Fringing]]&lt;br /&gt;
* [[Nick_ENGR431_P1|Magnetostatics]]&lt;br /&gt;
* [[Electrostatics]]&lt;br /&gt;
* [[Example problems of magnetic circuits]]&lt;br /&gt;
* [[Magnetic Circuit]]&lt;br /&gt;
* [[Ohm&#039;s Law and Reluctance]]&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=An_Interesting_Application_for_Magnets&amp;diff=7356</id>
		<title>An Interesting Application for Magnets</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=An_Interesting_Application_for_Magnets&amp;diff=7356"/>
		<updated>2010-01-10T22:48:32Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===An Interesting Application for Magnets===&lt;br /&gt;
By: Will Griffith&lt;br /&gt;
&lt;br /&gt;
Reviewed By: Jimmy Apablaza&lt;br /&gt;
&lt;br /&gt;
Science fiction has sparked many great ideas.  Satellites for example were first thought of in some sicence fiction stories.  Specificaly communication satalites were first theorized by Arthur C. Clarke and later were found to truly be possible.  Not everything theorized in science fiction can become a reality.  A good example is Jack Williamson&#039;s story &amp;quot;The Metal Man.&amp;quot;  In this story a scientist studies a location riddled with radiation.  The cave is riddled with strange crystalline creatures and structures.  He tries to escape but before he can reach home the affects of the radiation turn his body into metal.  As of now no known form of radiation could cause this, and it is unlikely that any would.  Still at the time radiation was not understood and so this author came up with a possible idea of something radiation can do. still can give use good stepping stones in the right direction, and often expand our thinking to relms that we would have never dreamed of going.  In our discussion of magnetic circuits I am reminded of an idea I derived from a science fiction book.  My idea comes from Ray Bradbury&#039;s book Fahrenheit 451.  In this book there are firemen and in there fire station they have a fire-poll.  This is no ordinary poll though.  This fire-poll can go not only down up it can take it&#039;s rider up.  This got me thinking one day about how someone could do this.  I started thinking about Maglev trains and how they work.  For propulsion the rail changes part of it&#039;s magnetic field to pull the front of the train forward and push the back of the train the same direction. It also levitates the train above the rail so there is hopefully no friction involved.  Well this concept could be applied to a fire-poll.  You could just make the main poll magnetic and then hook an apparatus too it.  This could either just be something you gripped, or better something you could grip and a place to put one or both feet.  Realistically this would be impractical energy wise, it would be better to use conventional elevators or just the stairs. But still this would be amazing to see.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[Image:Asm0001.jpg]]&lt;br /&gt;
&lt;br /&gt;
This is a concept design I made in Pro-E.&lt;br /&gt;
(This article was submitted for review 1-7-10 at 10:30pm).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am making a video too but it wont be up untell later and so I will just submit it individually then.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=6765</id>
		<title>Electromechanical Energy Conversion</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Electromechanical_Energy_Conversion&amp;diff=6765"/>
		<updated>2010-01-04T20:45:54Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Class 2010&lt;br /&gt;
#Eric Clay&lt;br /&gt;
#Jason Osborne&lt;br /&gt;
#Tim Van Arsdale&lt;br /&gt;
#Kirk Betz&lt;br /&gt;
#Corneliu Turturica&lt;br /&gt;
#Jimmy Apablaza&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6468</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6468"/>
		<updated>2009-12-13T19:46:41Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
so, the matrix exponential can be solved using matrix multiplication.&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6465</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6465"/>
		<updated>2009-12-13T19:38:13Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6460</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6460"/>
		<updated>2009-12-13T18:47:21Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.25 e^{2 \mathbf{i} t} &amp;amp;  0                         &amp;amp;  0                             &amp;amp;  0                              \\&lt;br /&gt;
0                        &amp;amp;  0.25 e^{-2 \mathbf{i} t}  &amp;amp;  0                             &amp;amp;  0                              \\&lt;br /&gt;
0                        &amp;amp;  0                         &amp;amp;  0.25 e^{1.1547 \mathbf{i} t}  &amp;amp;  0                              \\&lt;br /&gt;
0                        &amp;amp;  0                         &amp;amp;  0                             &amp;amp;  0.25 e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6459</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6459"/>
		<updated>2009-12-13T18:40:45Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6458</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6458"/>
		<updated>2009-12-13T18:40:04Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6457</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6457"/>
		<updated>2009-12-13T18:38:26Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
A&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the exponential matrix becomes, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}=\widehat{A}\underline{x}=T^{-1}e^{\hat{A}t}T\underline{x}=e^{At}\underline{x}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
e^{\hat{A}t}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\underline{x}}&lt;br /&gt;
=&lt;br /&gt;
e^{2 \mathbf{i} t} &amp;amp;  0                  &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp; e^{-2 \mathbf{i} t} &amp;amp;  0                        &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  e^{1.1547 \mathbf{i} t}  &amp;amp;  0                        \\&lt;br /&gt;
0                  &amp;amp;  0                  &amp;amp;  0                        &amp;amp; e^{-1.1547 \mathbf{i} t}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6456</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6456"/>
		<updated>2009-12-13T18:22:00Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Standard Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 \underline{k_1} e^{\lambda_1 t} + c_2 \underline{k}_2 e^{\lambda_2 t} + c_3 \underline{k_3} e^{\lambda_3 t} + c_4 \underline{k_4} e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6455</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6455"/>
		<updated>2009-12-13T18:19:11Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Standard Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\underline{x} = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\underline{x}&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6454</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6454"/>
		<updated>2009-12-13T00:22:09Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no damping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6453</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6453"/>
		<updated>2009-12-13T00:21:49Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Problem Statement */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are negligible&lt;br /&gt;
* no dumping forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6452</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6452"/>
		<updated>2009-12-13T00:20:39Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* State Space */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. It&#039;s known that &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;. In addition, we assume that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, so the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6451</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6451"/>
		<updated>2009-12-13T00:16:44Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Eigenvalues &amp;amp; Eigenvectors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVi()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6450</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6450"/>
		<updated>2009-12-13T00:16:19Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues &amp;amp; Eigenvectors ===&lt;br /&gt;
The eigenvalues and eigenvectors are easily obtained with the help of a TI-89 calculator. First, we consider the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once we define the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix, the eigenvalues are determined by using the &#039;&#039;&#039;&#039;&#039;eigVl()&#039;&#039;&#039;&#039;&#039; function, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, we use the &#039;&#039;&#039;&#039;&#039;eigVc()&#039;&#039;&#039;&#039;&#039; function to find the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Again, we can resort to the TI-89 calculator. As it is mentioned above, the matrix exponential is obtained by typing &#039;&#039;&#039;&#039;&#039;eigVc(a)^-1*a*eigVc(a)&#039;&#039;&#039;&#039;&#039;, where &#039;&#039;&#039;&#039;&#039;a&#039;&#039;&#039;&#039;&#039; is the &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt; matrix. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6449</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6449"/>
		<updated>2009-12-13T00:02:26Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
\bar{z}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6448</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6448"/>
		<updated>2009-12-13T00:01:20Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\dot{\bar{z}}&lt;br /&gt;
=&lt;br /&gt;
\hat{A}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
TAT^{-1}\bar{z}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
2 \mathbf{i} &amp;amp;  0            &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp; -2 \mathbf{i} &amp;amp;  0                  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  1.1547 \mathbf{i}  &amp;amp;  0                  \\&lt;br /&gt;
0            &amp;amp;  0            &amp;amp;  0                  &amp;amp; -1.1547 \mathbf{i}  \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6447</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6447"/>
		<updated>2009-12-12T23:34:20Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
The matrix exponential is,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\dot{\bar{z}}=\hat{A}\bar{z}=TAT^{-1}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\hat{A}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} &amp;amp;  0.2 \mathbf{i} &amp;amp; -0.29277 \mathbf{i} &amp;amp;  0.29277 \mathbf{i} \\&lt;br /&gt;
0.4             &amp;amp;  0.4            &amp;amp;  0.33806            &amp;amp;  0.33806            \\&lt;br /&gt;
0.4 \mathbf{i}  &amp;amp; -0.4 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} &amp;amp;  0.58554 \mathbf{i} \\&lt;br /&gt;
-0.8            &amp;amp; -0.8            &amp;amp; -0.67621            &amp;amp;  0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
so&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
T&lt;br /&gt;
=&lt;br /&gt;
(T^{-1})^{-1}&lt;br /&gt;
=&lt;br /&gt;
[k_1|k_2|k_3|k_4]^{-1}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
 1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp; -0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
-1.25 \mathbf{i}     &amp;amp;  0.625    &amp;amp;  0.625 \mathbf{i}     &amp;amp; -0.3125   \\&lt;br /&gt;
 0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp;  0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
-0.853913 \mathbf{i} &amp;amp;  0.73951  &amp;amp; -0.426956 \mathbf{i}  &amp;amp;  0.369755 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let&#039;s consider the space state equation, The matrix exponential is defined as, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\ddot{x} = \widehat{A} \, \underline{x}(t)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{z}}=\bold{\hat{A}}\bar{z}=\bold{TAT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can use the equation for a transfer function to help us solve through the use of matrix exponentials.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar{z}=\bold{T}\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can be rearranged by multiplying &#039;&#039;&#039;T-inverse&#039;&#039;&#039; to the left side of the equations.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\bar{z}=\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can bring in the standard form of a state space equation&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{x}}=\bold{A}\bar{x}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining the two equations we then get&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\dot{\bar{z}}=\bold{AT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the equation on the left by &#039;&#039;&#039;T&#039;&#039;&#039; we get&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{z}}=\bold{TAT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{\hat{A}}=&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6446</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6446"/>
		<updated>2009-12-12T23:08:54Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* = Matrix Exponential */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ===&lt;br /&gt;
Let&#039;s consider the space state equation, The matrix exponential is defined as, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{z}}=\bold{\hat{A}}\bar{z}=\bold{TAT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we can use the equation for a transfer function to help us solve through the use of matrix exponentials.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar{z}=\bold{T}\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can be rearranged by multiplying &#039;&#039;&#039;T-inverse&#039;&#039;&#039; to the left side of the equations.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\bar{z}=\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can bring in the standard form of a state space equation&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{x}}=\bold{A}\bar{x}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining the two equations we then get&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\dot{\bar{z}}=\bold{AT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the equation on the left by &#039;&#039;&#039;T&#039;&#039;&#039; we get&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{z}}=\bold{TAT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{\hat{A}}=&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6445</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6445"/>
		<updated>2009-12-12T23:02:19Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Matrix Exponential ==&lt;br /&gt;
Now we can use the equation for a transfer function to help us solve through the use of matrix exponentials.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar{z}=\bold{T}\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This can be rearranged by multiplying &#039;&#039;&#039;T-inverse&#039;&#039;&#039; to the left side of the equations.&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\bar{z}=\bar{x}\,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can bring in the standard form of a state space equation&lt;br /&gt;
:&amp;lt;math&amp;gt;\dot{\bar{x}}=\bold{A}\bar{x}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining the two equations we then get&lt;br /&gt;
:&amp;lt;math&amp;gt;\bold{T^{-1}}\dot{\bar{z}}=\bold{AT^{-1}}\bar{z}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6444</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6444"/>
		<updated>2009-12-12T07:00:02Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x&lt;br /&gt;
=&lt;br /&gt;
c_1&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_2&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-2 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_3&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{1.1547 \mathbf{i}}&lt;br /&gt;
+&lt;br /&gt;
c_4&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
e^{-1.1547 \mathbf{i}}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6443</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6443"/>
		<updated>2009-12-12T06:53:38Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Standard Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x = c_1 k_1 e^{\lambda_1 t} + c_2 k_2 e^{\lambda_2 t} + c_3 k_3 e^{\lambda_3 t} + c_4 k_4 e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
x = c_1&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}0.0520 \\-0.1609 \\-0.3031\\0.9378\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{-3.0937}+ c_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{bmatrix}0.4176i \\-0.8928\\- 0.0716i\\0.1532\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{2.1380i}+ c_3&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}- 0.4176i \\-0.8928\\0.0716i\\0.1532\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{- 2.1380i}+ c_4&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}-0.0520 \\-0.1609\\0.3031\\0.9378\end{bmatrix}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{3.0937}\,&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6442</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6442"/>
		<updated>2009-12-12T06:47:55Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Standard Equation ===&lt;br /&gt;
Now, we plug the eigenvalues and eigenvectors to produce the standar equation, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;x=c_1k_1e^{\lambda_1 t}+c_2k_2e^{\lambda_2 t}+c_3k_3e^{\lambda_3 t}+c_4k_4e^{\lambda_4 t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\ x=c_1&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}0.0520 \\-0.1609 \\-0.3031\\0.9378\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{-3.0937}+ c_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{bmatrix}0.4176i \\-0.8928\\- 0.0716i\\0.1532\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{2.1380i}+ c_3&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}- 0.4176i \\-0.8928\\0.0716i\\0.1532\end{bmatrix}\,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{- 2.1380i}+ c_4&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\begin{bmatrix}-0.0520 \\-0.1609\\0.3031\\0.9378\end{bmatrix}\,&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;e^{3.0937}\,&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6441</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6441"/>
		<updated>2009-12-12T06:20:54Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Eigenvalues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to my TI-89, the eigenvalues are, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the eigenvectors,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
k_1&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_2&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.2 \mathbf{i} \\&lt;br /&gt;
0.4             \\&lt;br /&gt;
-0.4 \mathbf{i}  \\&lt;br /&gt;
-0.8            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_3&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
-0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
-0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\quad&lt;br /&gt;
&lt;br /&gt;
k_4&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0.29277 \mathbf{i} \\&lt;br /&gt;
0.33806             \\&lt;br /&gt;
0.58554 \mathbf{i}  \\&lt;br /&gt;
0.67621            \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6440</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6440"/>
		<updated>2009-12-12T06:08:41Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Eigenvalues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= 2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2= -2 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= 1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4= -1.1547 \mathbf{i}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
	<entry>
		<id>https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6439</id>
		<title>Coupled Oscillator: Double Pendulum</title>
		<link rel="alternate" type="text/html" href="https://fweb.wallawalla.edu/class-wiki/index.php?title=Coupled_Oscillator:_Double_Pendulum&amp;diff=6439"/>
		<updated>2009-12-12T05:57:37Z</updated>

		<summary type="html">&lt;p&gt;Jimmy.apablaza: /* Eigenvalues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By &#039;&#039;&#039;Jimmy Apablaza&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This problem is described in Page 321-322, Section 7.6 of the &#039;&#039;A first Course in Differential Equations&#039;&#039; textbook, 8ED (ISBN 0-534-41878-3).&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig1_Double_Pendulum.png|thumb|Figure 1. Coupled Pendulum.‎]]&lt;br /&gt;
= Problem Statement =&lt;br /&gt;
Consider the double-pendulum system consisting  of a pendulum attached to another pendulum shown in Figure 1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Assumptions:&#039;&#039;&#039;&lt;br /&gt;
* the system oscillates vertically under the influence of gravity.&lt;br /&gt;
* the mass of both rod are neligible&lt;br /&gt;
* no dumpung forces act on the system&lt;br /&gt;
* positive direction to the right.&lt;br /&gt;
&lt;br /&gt;
The system of differential equations describing the motion is nonlinear&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime}cos(\theta_1-\theta_2) + m_2l_1l_2(\theta_2^{\prime})^2sin(\theta_1-\theta_2) + (m_1+m_2)l_1gsin\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime}cos(\theta_1-\theta_2) - m_2l_1l_2(\theta_1^{\prime})^2sin(\theta_1-\theta_2) + m_2l_2gsin\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to linearize these equations, we assume that the displacements &amp;lt;math&amp;gt;\theta_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2&amp;lt;/math&amp;gt; are small enough so that &amp;lt;math&amp;gt;cos(\theta_1-\theta_2)\approx1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;sin(\theta_1-\theta_2)\approx0&amp;lt;/math&amp;gt;. Thus,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(m_1+m_2)l_1^2\theta_1^{\prime\prime} + m_2l_1l_2\theta_2^{\prime\prime} + (m_1+m_2)l_1g\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;m_2l_1^2\theta_2^{\prime\prime} + m_2l_1l_2\theta_1^{\prime\prime} + m_2l_2g\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
Since our concern is about the motion functions, we will assign the masses &amp;lt;math&amp;gt;m_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;m_2&amp;lt;/math&amp;gt;, the rod lenghts &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;l_1&amp;lt;/math&amp;gt;, and gravitational force &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt; constants to different variables as follows, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=(m_1+m_2)l_1^2 \quad B=m_2l_1l_2 \quad C=(m_1+m_2)l_1g \quad D=m_2l_1^2 \quad E=m_2l_2g&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A\theta_1^{&#039;&#039;} + B\theta_2^{&#039;&#039;} + C\theta_1 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;D\theta_2^{&#039;&#039;} + B\theta_1^{&#039;&#039;} + E\theta_2 = 0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;}&amp;lt;/math&amp;gt; we obtain, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{B}{A} \right ) \theta_2^{&#039;&#039;} - \left ( \dfrac{C}{A} \right ) \theta_1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = - \left ( \dfrac{B}{D} \right ) \theta_1^{&#039;&#039;} - \left ( \dfrac{E}{D} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_1^{&#039;&#039;} = - \left ( \dfrac{CD}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{BE}{AD+B^2} \right ) \theta_2 &amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\theta_2^{&#039;&#039;} = \left ( \dfrac{BC}{AD+B^2} \right ) \theta_1 - \left ( \dfrac{AE}{AD+B^2} \right ) \theta_2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== State Space ===&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\widehat{A} \, \underline{x}(t) + \widehat{B} \, \underline{u}(t)&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0                   &amp;amp; 1 &amp;amp; 0                   &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{-CD}{AD-B^2} &amp;amp; 0 &amp;amp; \dfrac{BE}{AD-B^2}  &amp;amp; 0 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
0                   &amp;amp; 0 &amp;amp; 0                   &amp;amp; 1 \\&lt;br /&gt;
 &amp;amp; &amp;amp; &amp;amp; \\&lt;br /&gt;
\dfrac{BC}{AD-B^2}  &amp;amp; 0 &amp;amp; \dfrac{-AE}{AD-B^2} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
+&lt;br /&gt;
&lt;br /&gt;
\widehat{0}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let&#039;s plug some numbers. Knowing &amp;lt;math&amp;gt;g=32&amp;lt;/math&amp;gt;, and assuming that &amp;lt;math&amp;gt;m_1=3&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;m_2=1&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;l_1=l_2=16&amp;lt;/math&amp;gt;, the constants defined previously become,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;A=1024 \quad B=256 \quad C=2048 \quad D=256 \quad E=512&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the state space matrix is, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\theta_1^{&#039;} \\ \theta_1^{&#039;&#039;} \\ \theta_2^{&#039;} \\ \theta_2^{&#039;&#039;}&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0             &amp;amp; 1 &amp;amp; 0             &amp;amp; 0 \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; 0 &amp;amp; \dfrac{2}{3}  &amp;amp; 0 \\&lt;br /&gt;
0             &amp;amp; 0 &amp;amp; 0             &amp;amp; 1 \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0 &amp;amp; -\dfrac{8}{3} &amp;amp; 0 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
\begin{Bmatrix}&lt;br /&gt;
\theta_1 \\ \theta_1^{&#039;} \\ \theta_2 \\ \theta_2^{&#039;}&lt;br /&gt;
\end{Bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Eigenvalues ===&lt;br /&gt;
The eigenvalues are obtained from &amp;lt;math&amp;gt;\widehat{A}&amp;lt;/math&amp;gt;&#039;s identity matrix,&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;&lt;br /&gt;
[\lambda I-A]&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
\lambda       &amp;amp; 1       &amp;amp; 0             &amp;amp; 0       \\&lt;br /&gt;
-\dfrac{8}{3} &amp;amp; \lambda &amp;amp; \dfrac{2}{3}  &amp;amp; 0       \\&lt;br /&gt;
0             &amp;amp; 0       &amp;amp; \lambda       &amp;amp; 1       \\&lt;br /&gt;
\dfrac{8}{3}  &amp;amp; 0       &amp;amp; -\dfrac{8}{3} &amp;amp; \lambda \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_1= -1.15434 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_2=  1.15434 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_3= -2.00187 \mathbf{i}&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;\lambda_4=  2.00187 \mathbf{i}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jimmy.apablaza</name></author>
	</entry>
</feed>