<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m2104">
  
  <name>The Concept of State</name>
  
  <metadata>
  <md:version>2.9</md:version>
  <md:created>2001/01/17</md:created>
  <md:revised>2002/10/24</md:revised>
  <md:authorlist>
    <md:author id="aca">
      <md:firstname>Thanos</md:firstname>
      
      <md:surname>Antoulas</md:surname>
      <md:email>aca@rice.edu</md:email>
    </md:author>
    <md:author id="jps">
      <md:firstname>John</md:firstname>
      <md:othername>Paul</md:othername>
      <md:surname>Slavinsky</md:surname>
      <md:email>jps@alumni.rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="lizychan">
      <md:firstname>Elizabeth</md:firstname>
      
      <md:surname>Chan</md:surname>
      <md:email>lizychan@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="aca">
      <md:firstname>Thanos</md:firstname>
      
      <md:surname>Antoulas</md:surname>
      <md:email>aca@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="jps">
      <md:firstname>John</md:firstname>
      <md:othername>Paul</md:othername>
      <md:surname>Slavinsky</md:surname>
      <md:email>jps@alumni.rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>memory</md:keyword>
    <md:keyword>state</md:keyword>
  </md:keywordlist>

  <md:abstract>Memory and state in systems.</md:abstract>
</metadata>

  <!-- End Header ******************************* -->
  <!-- ****************************************** -->
  <content>
    
    <para id="p0">In order to characterize the memory of a dynamical system, we use a concept known as <term>state</term>.  <note type="Important!">A system's state is defined as the minimal set of variables evaluated at
      <m:math><m:apply><m:eq/><m:ci>t</m:ci><m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci></m:apply></m:math>
      needed to determine the future evolution of the system for
      <m:math><m:apply><m:gt/><m:ci>t</m:ci><m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci></m:apply></m:math>,
      given the excitation
<m:math><m:apply><m:ci type="fn">u</m:ci><m:ci>t</m:ci></m:apply></m:math>
      for
      <m:math><m:apply><m:gt/><m:ci>t</m:ci><m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci></m:apply></m:math></note>.
    </para>
    
    <example id="state_ex1">
      
      <para id="p1">We are given the following differential equation describing a system.  Note that
	<m:math>
	  <m:apply><m:eq/>
	    <m:apply><m:ci type="fn">u</m:ci><m:ci>t</m:ci></m:apply>
	    <m:cn>0</m:cn>
	  </m:apply>
	</m:math>.
      </para>
      
      <equation id="eqeq1">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:plus/>
	      
	      <m:apply>
		<m:diff/>
		<m:bvar><m:ci>t</m:ci><m:degree><m:cn>1</m:cn></m:degree></m:bvar>
		<m:apply>
		  <m:ci type="fn">y</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:apply>
	      
	      <m:apply>
		<m:ci type="fn">y</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	      
	    </m:apply>
	    
	    <m:cn>0</m:cn>

	  </m:apply>
	</m:math>
      </equation>
      
      
      
      <para id="p2">Using the Laplace transform techniques described in the module on <cnxn document="m2103">Linear Systems with Constant Coefficients</cnxn>, we can find a solution for
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:ci>t</m:ci></m:apply></m:math>:</para>
      
      <equation id="eqeq2">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:ci type="fn">y</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    
	    <m:apply>
	      <m:times/>
	      <m:apply>
		<m:ci type="fn">y</m:ci>
		<m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci>
	      </m:apply>
	      <m:apply>
		<m:exp/>
		<m:apply>
		  <m:minus/>
		  <m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    
	  </m:apply>
	</m:math>
      </equation>
      
      
      <para id="p3">As we need the information contained in
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:ci><m:msub><m:mi>t</m:mi><m:mn>0</m:mn></m:msub></m:ci></m:apply></m:math>
	for this solution,
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:ci>t</m:ci></m:apply></m:math>
	defines the state.</para>
      
    </example>
    
    <example id="state_ex2">
      
      <para id="p4">The differential equation describing an unforced system is:</para>
      
      <equation id="eqeq3">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:plus/>
	      
	      <m:apply>
		<m:diff/>
		<m:bvar><m:ci>t</m:ci><m:degree><m:cn>2</m:cn></m:degree></m:bvar>
		<m:apply>
		  <m:ci type="fn">y</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:apply>
	      
	      <m:apply>
		<m:times/>
		<m:cn>3</m:cn>
		<m:apply>
		  <m:diff/>
		  <m:bvar><m:ci>t</m:ci><m:degree><m:cn>1</m:cn></m:degree></m:bvar>
		  <m:apply>
		    <m:ci type="fn">y</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      
	      <m:apply>
		<m:times/>
		<m:cn>2</m:cn>
		<m:apply>
		  <m:ci type="fn">y</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:apply>
	      
	    </m:apply>
	    
	    <m:cn>0</m:cn>
	    
	  </m:apply>
	</m:math>
      </equation>
      
      
      
      <para id="p5">Finding the
	<m:math><m:apply><m:ci type="fn">q</m:ci><m:ci>s</m:ci></m:apply></m:math>
	function, we have</para>
      
      <equation id="eqeq4">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:ci type="fn">q</m:ci>
	      <m:ci>s</m:ci>
	    </m:apply>
	    
	    <m:apply>
	      <m:plus/>

	      <m:apply>
		<m:power/>
		<m:ci>s</m:ci>
		<m:cn>2</m:cn>
	      </m:apply>
	      
	      <m:apply>
		<m:times/>
		<m:cn>3</m:cn>
		<m:ci>s</m:ci>
	      </m:apply>
	      
	      <m:cn>2</m:cn>
	      
	    </m:apply>
	    
	  </m:apply>
	</m:math>
      </equation>
      
      <para id="p6">The roots of this function are
	<m:math>
	  <m:apply><m:eq/>
	    <m:ci><m:msub><m:mi>λ</m:mi><m:mn>1</m:mn></m:msub></m:ci>
	    <m:cn>-1</m:cn>
	  </m:apply>
	</m:math>
	and
	<m:math>
	  <m:apply><m:eq/>
	    <m:ci><m:msub><m:mi>λ</m:mi><m:mn>2</m:mn></m:msub></m:ci>
	    <m:cn>-2</m:cn>
	  </m:apply>
	</m:math>.
	These values are used in the solution to the differential equation as the exponents of the exponential functions:</para>
      
      <equation id="eqeq5">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:ci type="fn">y</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    
	    <m:apply>
	      <m:plus/>
	      <m:apply>
		<m:times/>
		<m:ci><m:msub><m:mi>c</m:mi><m:mn>1</m:mn></m:msub></m:ci>
		<m:apply>
		  <m:exp/>
		  <m:apply>
		    <m:minus/>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:times/>
		<m:ci><m:msub><m:mi>c</m:mi><m:mn>2</m:mn></m:msub></m:ci>
		<m:apply>
		  <m:exp/>
		  <m:apply>
		    <m:times/>
		    <m:cn>-2</m:cn>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	    
	  </m:apply>
	</m:math>
      </equation>
      
      
      <para id="p7">where
	<m:math><m:ci><m:msub><m:mi>c</m:mi><m:mn>1</m:mn></m:msub></m:ci></m:math>
	and
	<m:math><m:ci><m:msub><m:mi>c</m:mi><m:mn>2</m:mn></m:msub></m:ci></m:math>
	are constants.  To determine the values of these constants we would need two equations (with two equations and two unknowns, we can find the unknowns).  If we knew
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:cn>0</m:cn></m:apply></m:math>
	and
	<m:math>
	  <m:apply>
	    <m:diff/>
	    <m:bvar><m:ci>t</m:ci><m:degree><m:cn>1</m:cn></m:degree></m:bvar>
	    <m:apply>
	      <m:ci type="fn">y</m:ci>
	      <m:cn>0</m:cn>
	    </m:apply>
	  </m:apply>
	</m:math>
	we could find two equations, and we could then solve for
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:ci>t</m:ci></m:apply></m:math>.
	Therefore the system's state,
	<m:math><m:apply><m:ci type="fn">x</m:ci><m:ci>t</m:ci></m:apply></m:math>,
	is</para>
      
      <equation id="eqeq6">
	<m:math>
	  <m:apply>
	    <m:eq/>
	    
	    <m:apply>
	      <m:ci type="fn">x</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	    
	    <m:matrix>
	      <m:matrixrow>
		<m:apply>
		  <m:ci type="fn">y</m:ci>
		  <m:ci>t</m:ci>
		</m:apply>
	      </m:matrixrow>
	      <m:matrixrow>
		<m:apply>
		  <m:diff/>
		  <m:bvar><m:ci>t</m:ci><m:degree><m:cn>1</m:cn></m:degree></m:bvar>
		  <m:apply>
		    <m:ci type="fn">y</m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:matrixrow>
	    </m:matrix>
	    
	  </m:apply>
	</m:math>
      </equation>
      
      
      <para id="p8">In fact, the state can also be defined as any two non-trivial (i.e. independent) linear combinations of
	<m:math><m:apply><m:ci type="fn">y</m:ci><m:ci>t</m:ci></m:apply></m:math>
	and
	<m:math>
	  <m:apply>
	    <m:diff/>
	    <m:bvar><m:ci>t</m:ci><m:degree><m:cn>1</m:cn></m:degree></m:bvar>
	    <m:apply>
	      <m:ci type="fn">y</m:ci>
	      <m:ci>t</m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>
	.</para>
      
    </example>
    
    <para id="p9"><note type="Important!"><emphasis>Basically, a system's state summarizes its entire past.  It describes the memory-side of dynamical systems.</emphasis></note></para>
    
    
  </content>
</document>
