<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engineersphere.com &#187; Math</title>
	<atom:link href="http://engineersphere.com/category/math/feed" rel="self" type="application/rss+xml" />
	<link>http://engineersphere.com</link>
	<description>doesn&#039;t have to make sense to you, but it&#039;s probably great for your health.</description>
	<lastBuildDate>Fri, 28 Oct 2011 03:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>How to Determine if a Vector Set is Linearly Independent</title>
		<link>http://engineersphere.com/math/how-to-determine-if-a-vector-set-is-linearly-independent.html</link>
		<comments>http://engineersphere.com/math/how-to-determine-if-a-vector-set-is-linearly-independent.html#comments</comments>
		<pubDate>Fri, 25 Mar 2011 00:55:34 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[coefficient]]></category>
		<category><![CDATA[dependence]]></category>
		<category><![CDATA[dependent]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[independence]]></category>
		<category><![CDATA[independent]]></category>
		<category><![CDATA[linear]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[pivot]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2700</guid>
		<description><![CDATA[TweetTweetPre-(r)amble The odds favor that by the time someone has reached this article, myself included, they have spent at least the briefest of moments (frustratedly?) questioning the practical applications for  linear combination, linear independence and linear math. In a sentence, these concepts allow us to mathematically understand and represent multidimensional coordinate systems. If you&#8217;re looking [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/how-to-determine-if-a-vector-set-is-linearly-independent.html&via=EngineerSphere&text=How to Determine if a Vector Set is Linearly Independent&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/how-to-determine-if-a-vector-set-is-linearly-independent.html&via=EngineerSphere&text=How to Determine if a Vector Set is Linearly Independent&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Pre-(r)amble</h3>
<p>The odds favor that by the time someone has reached this article, myself included, they have spent at least the briefest of moments (frustratedly?) questioning the practical applications for  linear combination, linear independence and linear math. In a sentence, these concepts allow us to mathematically understand and represent multidimensional coordinate systems. If you&#8217;re looking for a quick explanation for a homework problem feel free to skim through the bolded topics for help in specific areas of concern. Otherwise, here&#8217;s something to think about.  Imagine maneuvering in three dimensional space. An instantaneous position can be described using a three dimensional coordinate system. When following a consistent pattern of movement, an instantaneous position can be described with a fourth dimension, time. Suppose you have just landed the snowball throw of a lifetime and hit a target moving across your view plane, increasing the distance between you, and uphill. You have properly estimated the intersection of two moving objects in four dimensions. This is not always an easy task to execute. Now make this throw using a fifth dimension. Most people can&#8217;t comprehend the existence of a fifth dimension without having to understand how to maneuver in it. With linear math we can attempt to understand and represent the relationships between these dimensions.</p>
<h3>Important Definitions</h3>
<p><strong>Linear Independence</strong><br />
A set of linearly independent vectors {<img src='http://s.wordpress.com/latex.php?latex=V_1%2C%20V_2%2C%20.%20.%20.%20%2C%20V_k%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_1, V_2, . . . , V_k ' title='V_1, V_2, . . . , V_k ' class='latex' />} has ONLY the zero (trivial) solution &lt;<img src='http://s.wordpress.com/latex.php?latex=x_1%2C%20x_2%2C%20.%20.%20.%20%2C%20x_k%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1, x_2, . . . , x_k ' title='x_1, x_2, . . . , x_k ' class='latex' />&gt; <img src='http://s.wordpress.com/latex.php?latex=%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='= ' title='= ' class='latex' /> &lt;<img src='http://s.wordpress.com/latex.php?latex=0%2C%200%2C%20.%20.%20.%20%2C%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='0, 0, . . . , 0 ' title='0, 0, . . . , 0 ' class='latex' />&gt;  for the equation <img src='http://s.wordpress.com/latex.php?latex=x_1%20%2A%20V_1%20%2B%20x_2%20%2A%20V%20_2%20%2B%20.%20.%20.%20%2B%20x_k%20%2A%20V_k%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1 * V_1 + x_2 * V _2 + . . . + x_k * V_k = 0 ' title='x_1 * V_1 + x_2 * V _2 + . . . + x_k * V_k = 0 ' class='latex' /></p>
<p><strong>Linear Dependence</strong><br />
Alternatively, if <img src='http://s.wordpress.com/latex.php?latex=x_1%2C%20x_2%2C%20.%20.%20.%20%2C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1, x_2, . . . , ' title='x_1, x_2, . . . , ' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=x_k%20%5Cneq%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_k \neq 0 ' title='x_k \neq 0 ' class='latex' />, the set of vectors is said to be linearly dependent.</p>
<h3>Determining Linear Independence</h3>
<p>By row reducing a coefficient matrix created from our vectors {<img src='http://s.wordpress.com/latex.php?latex=V_1%2C%20V_2%2C%20.%20.%20.%20%2C%20V_k%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_1, V_2, . . . , V_k ' title='V_1, V_2, . . . , V_k ' class='latex' />}, we can determine our &lt;<img src='http://s.wordpress.com/latex.php?latex=x_1%2C%20x_2%2C%20.%20.%20.%20%2C%20x_k%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1, x_2, . . . , x_k ' title='x_1, x_2, . . . , x_k ' class='latex' />&gt;. Then to classify a set of vectors as linearly independent or dependent, we compare to the definitions above.</p>
<p><strong>Example</strong><br />
Determine if the following set of vectors are linearly independent:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D%201%5C%5C1%5C%5C1%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix} 1\\1\\1\end{bmatrix}' title='\begin{bmatrix} 1\\1\\1\end{bmatrix}' class='latex' /> , <img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D%202%5C%5C2%5C%5C2%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix} 2\\2\\2\end{bmatrix}' title='\begin{bmatrix} 2\\2\\2\end{bmatrix}' class='latex' /> , <img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D%200%5C%5C0%5C%5C5%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix} 0\\0\\5\end{bmatrix}' title='\begin{bmatrix} 0\\0\\5\end{bmatrix}' class='latex' /> , <img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D%201%5C%5C2%5C%5C3%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix} 1\\2\\3\end{bmatrix}' title='\begin{bmatrix} 1\\2\\3\end{bmatrix}' class='latex' /></p>
<h3></h3>
<h3><strong>Setting up a Corresponding System of Equations and Finding it&#8217;s RREF Matrix</strong></h3>
<p>We need to understand that our vectors can be represented with a system of equations all equaling zero to satisfy the equation <img src='http://s.wordpress.com/latex.php?latex=x_1%20%2A%20V_1%20%2B%20x_2%20%2A%20V%20_2%20%2B%20.%20.%20.%20%2B%20x_k%20%2A%20V_k%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1 * V_1 + x_2 * V _2 + . . . + x_k * V_k = 0 ' title='x_1 * V_1 + x_2 * V _2 + . . . + x_k * V_k = 0 ' class='latex' /> from our definition of linear independence. These equations will look something like this:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=1%2Ax_1%20%2B%202%2Ax_2%20%2B%200%2Ax_3%20%2B%201%2Ax_4%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='1*x_1 + 2*x_2 + 0*x_3 + 1*x_4 = 0 ' title='1*x_1 + 2*x_2 + 0*x_3 + 1*x_4 = 0 ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=1%2Ax_1%20%2B%202%2Ax_2%20%2B%200%2Ax_3%20%2B%202%2Ax_4%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='1*x_1 + 2*x_2 + 0*x_3 + 2*x_4 = 0 ' title='1*x_1 + 2*x_2 + 0*x_3 + 2*x_4 = 0 ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=1%2Ax_1%20%2B%202%2Ax_2%20%2B%205%2Ax_3%20%2B%203%2Ax_4%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='1*x_1 + 2*x_2 + 5*x_3 + 3*x_4 = 0 ' title='1*x_1 + 2*x_2 + 5*x_3 + 3*x_4 = 0 ' class='latex' /></p>
<p>Notice that I have simply taken the coefficients from the given vectors and multiplied them by four variables (the number of variables will equal the number of vectors in the given set). They have been set equal to zero to allow us to test for linear independence. From here, create a coefficient matrix and perform row operations to reduce the matrix to reduced row echelon form (rref) .</p>
<p>rref <img src='http://s.wordpress.com/latex.php?latex=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bcccc%7Cc%7D%201%262%260%261%260%5C%5C1%262%260%262%260%5C%5C1%262%265%263%260%5Cend%7Barray%7D%5Cright%5D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\left[ \begin{array}{cccc|c} 1&amp;2&amp;0&amp;1&amp;0\\1&amp;2&amp;0&amp;2&amp;0\\1&amp;2&amp;5&amp;3&amp;0\end{array}\right] ' title='\left[ \begin{array}{cccc|c} 1&amp;2&amp;0&amp;1&amp;0\\1&amp;2&amp;0&amp;2&amp;0\\1&amp;2&amp;5&amp;3&amp;0\end{array}\right] ' class='latex' /> = <img src='http://s.wordpress.com/latex.php?latex=%5Cleft%5B%20%5Cbegin%7Barray%7D%7Bcccc%7Cc%7D%20%201%262%260%260%260%5C%5C0%260%261%260%260%5C%5C0%260%260%261%260%5Cend%7Barray%7D%5Cright%5D%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\left[ \begin{array}{cccc|c}  1&amp;2&amp;0&amp;0&amp;0\\0&amp;0&amp;1&amp;0&amp;0\\0&amp;0&amp;0&amp;1&amp;0\end{array}\right]  ' title='\left[ \begin{array}{cccc|c}  1&amp;2&amp;0&amp;0&amp;0\\0&amp;0&amp;1&amp;0&amp;0\\0&amp;0&amp;0&amp;1&amp;0\end{array}\right]  ' class='latex' /></p>
<h3>Finding the Solution of the RREF Matrix</h3>
<p>Finding the solution of the rref matrix may be the more difficult step in this process. However, it may become trivial following <strong>a few simple steps</strong>.</p>
<p><strong>1) Identify the free variables in the matrix.</strong> Free variables are non-zero and located to the right of pivot variables. Pivot variables are the first non-zero entry in each row and since we have taken the rref of our matrix, all of the pivot variable coefficients are 1. By locating all free variables (or by eliminating all pivot variables) we find that <img src='http://s.wordpress.com/latex.php?latex=x_2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2 ' title='x_2 ' class='latex' /> is our only free variable.</p>
<p><strong>2) Write free variables into your solution. </strong>The variable <img src='http://s.wordpress.com/latex.php?latex=x_2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2 ' title='x_2 ' class='latex' /> can be written into our solution vector as itself but we will represent it with another variable name (i.e. <img src='http://s.wordpress.com/latex.php?latex=t%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t ' title='t ' class='latex' />) so that our solution is in parametric form. Multiple free variables are represented with multiple variables names (i.e. <img src='http://s.wordpress.com/latex.php?latex=s%2C%20t%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='s, t ' title='s, t ' class='latex' />). After this step your solution vector should look like this: &lt;<img src='http://s.wordpress.com/latex.php?latex=x_1%2C%20x_2%2C%20x_3%20%2C%20x_4%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1, x_2, x_3 , x_4 ' title='x_1, x_2, x_3 , x_4 ' class='latex' />&gt; <img src='http://s.wordpress.com/latex.php?latex=%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='= ' title='= ' class='latex' /> &lt;<img src='http://s.wordpress.com/latex.php?latex=%3F%20%2C%20t%2C%20%3F%20%2C%20%3F%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='? , t, ? , ? ' title='? , t, ? , ? ' class='latex' />&gt;. <strong> </strong></p>
<p><strong>3) Solve for pivot variables. </strong>The pivot variables should either be constant (i.e. 0, 6) or a function of your free variables (i.e. <img src='http://s.wordpress.com/latex.php?latex=3%20t-4%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='3 t-4 ' title='3 t-4 ' class='latex' /> ). From the rref matrix we can see that <img src='http://s.wordpress.com/latex.php?latex=x_1%20%3D%20-2%20t%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1 = -2 t ' title='x_1 = -2 t ' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_3%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3 = 0 ' title='x_3 = 0 ' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_4%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_4 = 0 ' title='x_4 = 0 ' class='latex' />. <strong> </strong></p>
<p><strong>4) Complete the solution vector. </strong>Placing the values we just calculated into our solution vector: &lt;<img src='http://s.wordpress.com/latex.php?latex=x_1%2C%20x_2%2C%20x_3%20%2C%20x_4%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1, x_2, x_3 , x_4 ' title='x_1, x_2, x_3 , x_4 ' class='latex' />&gt; <img src='http://s.wordpress.com/latex.php?latex=%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='= ' title='= ' class='latex' /> &lt;<img src='http://s.wordpress.com/latex.php?latex=-2%20t%20%2C%20t%2C%200%20%2C%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='-2 t , t, 0 , 0 ' title='-2 t , t, 0 , 0 ' class='latex' />&gt;</p>
<p><strong>Finally,</strong></p>
<p>Since not all of our <img src='http://s.wordpress.com/latex.php?latex=X_i%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='X_i = 0 ' title='X_i = 0 ' class='latex' />, the given set of vectors is said to be <span style="text-decoration: underline;">linearly dependent</span>. The linear dependence relation is written using our solution vector multiplied by the respective vector from the given set: <img src='http://s.wordpress.com/latex.php?latex=-2%20t%20%2A%20V_1%20%2B%20t%20%2A%20V_2%20%2B%200%20%2A%20V_3%20%2B%200%20%2A%20V_4%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='-2 t * V_1 + t * V_2 + 0 * V_3 + 0 * V_4 = 0 ' title='-2 t * V_1 + t * V_2 + 0 * V_3 + 0 * V_4 = 0 ' class='latex' />. We can also conclude that any vectors with non-zero coefficients are linear combinations of each other. Therefore, <img src='http://s.wordpress.com/latex.php?latex=V_1%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_1 ' title='V_1 ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=V_2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_2 ' title='V_2 ' class='latex' /> are a linear combination.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/how-to-determine-if-a-vector-set-is-linearly-independent.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Convolution Integral Explained</title>
		<link>http://engineersphere.com/math/the-convolution-integral-explained.html</link>
		<comments>http://engineersphere.com/math/the-convolution-integral-explained.html#comments</comments>
		<pubDate>Thu, 10 Mar 2011 06:57:38 +0000</pubDate>
		<dc:creator>Safa</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Circuit Theory]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Signal Processing]]></category>
		<category><![CDATA[Unit Impulse Response]]></category>
		<category><![CDATA[convolutio integral]]></category>
		<category><![CDATA[convolution]]></category>
		<category><![CDATA[convolution integrals]]></category>
		<category><![CDATA[convolution table]]></category>
		<category><![CDATA[convolution tables]]></category>
		<category><![CDATA[impulse response]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2179</guid>
		<description><![CDATA[TweetTweetIntroduction to the convolution Amongst the concepts that cause the most confusion to electrical engineering students, the Convolution Integral stands as a repeat offender.  As such, the point of this article is to explain what a convolution integral is, why engineers need it, and the math behind it. In essence, the &#8220;convolution&#8221; of two functions [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/the-convolution-integral-explained.html&via=EngineerSphere&text=The Convolution Integral Explained&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/the-convolution-integral-explained.html&via=EngineerSphere&text=The Convolution Integral Explained&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Introduction to the convolution<span style="text-decoration: underline;"><br />
</span></h3>
<p>Amongst the concepts that cause the most confusion to electrical engineering students, the <a href="http://engineersphere.com/math/the-convolution-integral-explained.html">Convolution Integral</a> stands as a repeat offender.  As such, the point of this article is to explain what a convolution integral is, why engineers need it, and the math behind it.</p>
<p>In essence, the &#8220;convolution&#8221; of two functions (over the same variable, e.g. <img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)' title='f_1(t)' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=f_2%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_2(t)' title='f_2(t)' class='latex' />) is an operation that produces a separate third function that describes how the first function &#8220;modifies&#8221; the second one.  Conversely, the resulting function can be seen as how the second function &#8220;modifies&#8221; the first function.  Sometimes the result is used to describe how much the first two functions &#8220;have in common.&#8221;  In all honesty, the concept of the convolution of two functions is quite abstract, but the frequency at which it appears in nature grants its importance to scientists and engineers.  Ultimately the aim here is to identify its use to electrical engineers &#8211; so for now do not dwell solely on its mathematical significance.</p>
<p>A convolution of two functions is denoted with the operator &#8220;<img src='http://s.wordpress.com/latex.php?latex=%2A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='* ' title='* ' class='latex' />&#8221;, and is written as:</p>
<div class="wp-caption alignnone" style="width: 291px"><img class=" " title="Convolution Integral" src="http://mathurl.com/4r2zkod.png" alt="convolution integral" width="281" height="40" /><p class="wp-caption-text">Convolution of f1(t) and f2(t)</p></div>
<p>Where <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> is used as a &#8220;dummy variable.&#8221;  To aid in understanding this equation, observe the following graphic:</p>
<div class="wp-caption alignnone" style="width: 478px"><img class="  " title="Convolution of 2 square pulses" src="http://upload.wikimedia.org/wikipedia/commons/6/6a/Convolution_of_box_signal_with_itself2.gif" alt="Convolution of 2 square pulses" width="468" height="147" /><p class="wp-caption-text">Convolution of two square pulses, resulting in a triangular pulse</p></div>
<p>Before diving any further into the math, let us first discuss the relevance of this equation to the realm of electrical engineering.</p>
<h3>Why is the convolution integral relevant?</h3>
<p>Most electrical circuits are designed to be <em>linear, time-invariant </em>(<a href="http://en.wikipedia.org/wiki/LTI_system_theory">LTI</a>) systems.  Being &#8220;linear&#8221; implies that the magnitude of a circuit&#8217;s output signal is a <strong>scaled </strong>version of the input signal&#8217;s magnitude.  Further, an LTI system that is excited by two independent signal sources will output the <strong>sum </strong>of the <strong>scaled </strong>versions of each signal.  This is extended for an infinite number of independent signal sources, and gives rise to the concept of <em>superposition</em>.  Put in another way, if a function <img src='http://s.wordpress.com/latex.php?latex=x_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1(t)' title='x_1(t)' class='latex' /> causes an LTI system to output <img src='http://s.wordpress.com/latex.php?latex=y_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_1(t)' title='y_1(t)' class='latex' />, then:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=a_1%20%5Ccdot%20x_1%28t%29%20%5Cto%20a_1%20%5Ccdot%20y_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1 \cdot x_1(t) \to a_1 \cdot y_1(t)' title='a_1 \cdot x_1(t) \to a_1 \cdot y_1(t)' class='latex' /></p>
<p>Where <img src='http://s.wordpress.com/latex.php?latex=a_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1' title='a_1' class='latex' /> is a multiplicative constant.  In addition to this, superposition allows us to say:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=a_1%20%5Ccdot%20x_1%28t%29%20%2B%20a_2%20%5Ccdot%20x_2%28t%29%20%2B%20%5Cldots%20%5Cto%20a_1%20%5Ccdot%20y_1%28t%29%20%2B%20a_2%20%5Ccdot%20y_2%28t%29%20%2B%20%5Cldots%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1 \cdot x_1(t) + a_2 \cdot x_2(t) + \ldots \to a_1 \cdot y_1(t) + a_2 \cdot y_2(t) + \ldots ' title='a_1 \cdot x_1(t) + a_2 \cdot x_2(t) + \ldots \to a_1 \cdot y_1(t) + a_2 \cdot y_2(t) + \ldots ' class='latex' /></p>
<p>Being a &#8220;time-invariant&#8221; system means <em>it does not matter when the input signal is applied</em> &#8211; a <em>specific </em>input signal will always result in <em>the same </em>output signal for a given LTI system.  Put mathematically, time-invariance can be expressed as:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=x_1%28t%29%20%5Cto%20y_1%28t%29%20%5CLeftrightarrow%20x_1%28t%2B%5Ctau%29%20%5Cto%20y_1%28t%2B%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1(t) \to y_1(t) \Leftrightarrow x_1(t+\tau) \to y_1(t+\tau) ' title='x_1(t) \to y_1(t) \Leftrightarrow x_1(t+\tau) \to y_1(t+\tau) ' class='latex' /></p>
<p>where <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> can be viewed as a time delay when dealing with signals through time (i.e. &#8220;time-domain signals&#8221;).  Though not directly, this concept also signifies that <em>an output signal cannot contain frequency components not inherent in the input signal (</em>causality).</p>
<p>The vast majority of circuits are <a href="http://engineersphere.com/math/the-convolution-integral-explained.html">LTI systems</a>, each with a specific <em>impulse response. </em>The &#8220;impulse response&#8221; of a system is a system&#8217;s output when its input is fed with an <em>impulse signal</em> &#8211; a signal of infinitesimally short duration.  A real-world &#8220;impulse signal&#8221; would be something like a lightning bolt &#8211; or any form of ESD (electro-static dischage).   Basically, any voltage or current that spikes in magnitude for a <em>relatively</em> short period of time may be viewed as an impulse signal.  The impulse response of a circuit will always be a time-domain signal, and exists because no signal can propagate through a circuit in zero time; each individual electron involved can only move so quickly through each component.  Typically, real-world electronic LTI systems exhibit an impulse response that consists of an initial spike in magnitude, followed by an everlasting and ever-decreasing exponential relationship in signal magnitude.  The following image describes this graphically.</p>
<div class="wp-caption alignnone" style="width: 570px"><img title="Typical Unit Impulse Response" src="http://www.me.cmu.edu/ctms/modeling/tutorial/transferfunction/tutorial_tf_impulse.gif" alt="" width="560" height="420" /><p class="wp-caption-text">Typical Unit Impulse Response</p></div>
<p>So, here&#8217;s the big deal: the fact that each LTI circuit has a specific impulse response function (here, referred to as <img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' />) is very useful in predicting its behavior given a particular input signal (here, referred to as <img src='http://s.wordpress.com/latex.php?latex=x%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x(t)' title='x(t)' class='latex' />).  This is because the input signal itself may be viewed as an <em>impulse train &#8211; </em>a stream of continuous impulse functions, with infinitesimally short durations of time between each impulse.  This fact, along with superposition, allows one to find the output of an LTI system given an arbitrary input signal <em>by summing the LTI system&#8217;s impulse response to each impulse function that make up the input signal.</em> By allowing the time between each &#8220;impulse&#8221; of the input signal to go to zero, this approach can be used to determine the output time-domain signal of an LTI system for any time-domain input signal.  For example, the following graphic shows the output of an RC circuit when fed with a square pulse:</p>
<div class="wp-caption alignnone" style="width: 478px"><img title="RC square wave convolution" src="http://upload.wikimedia.org/wikipedia/commons/b/b9/Convolution_of_spiky_function_with_box2.gif" alt="" width="468" height="135" /><p class="wp-caption-text">Convolution of RC network impulse response and square wave input to find the output signal.</p></div>
<p>What is seen here is the integral of the impulse response and the input square wave <em>as the square wave is stepped through time.</em> In the above convolution equation, it is seen that the operation is done with respect to <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />, a dummy variable.  In reality, we are taking an input signal, flipping it vertically through the origin (not evident with a square wave), and determining what the integral is at each value of <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />, which here is <em>delay through time.</em> Since the output of any LTI system is non-causal (meaning it cannot exist until the signal that excites the output has been applied), we must mathematically step through time to see how each impulse signal of the input affects the LTI system&#8217;s impulse response &#8211; again, achieved by stepping through <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> &#8211; the &#8220;time-delay&#8221; dummy variable.</p>
<h3>A Convolution Example</h3>
<p>To see how the convolution integral can be used to predict the output of an LTI circuit, observe the following example:<span style="text-decoration: underline;"> </span></p>
<p style="padding-left: 30px;">For an LTI system with an impulse response of <img src='http://s.wordpress.com/latex.php?latex=h%28t%29%20%3D%20e%5E%7B-2t%7Du%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t) = e^{-2t}u(t) ' title='h(t) = e^{-2t}u(t) ' class='latex' />, calculate the output, <img src='http://s.wordpress.com/latex.php?latex=y%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t)' title='y(t)' class='latex' />, given the input of:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f%28t%29%20%3D%20e%5E%7B-t%7Du%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t) = e^{-t}u(t)' title='f(t) = e^{-t}u(t)' class='latex' /></p>
<p style="padding-left: 30px;">The output of this system is found by solving:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20h%28t%29%2Af%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7B%5Cinfty%7D%20h%28%5Ctau%29%20%5Ccdot%20f%28t-%5Ctau%29%20d%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = h(t)*f(t) = \int_{0}^{\infty} h(\tau) \cdot f(t-\tau) d\tau' title='y(t) = h(t)*f(t) = \int_{0}^{\infty} h(\tau) \cdot f(t-\tau) d\tau' class='latex' /></p>
<p style="padding-left: 30px;">We only integrate between 0 and +<img src='http://s.wordpress.com/latex.php?latex=%5Cinfty&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\infty' title='\infty' class='latex' /> because, if we define <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t = 0' title='t = 0' class='latex' /> as the time that the input signal <img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' /> is applied, then both <img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' /> have zero magnitude at any time <img src='http://s.wordpress.com/latex.php?latex=t%3C0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t&lt;0' title='t&lt;0' class='latex' />.</p>
<p style="padding-left: 30px;">From there, we calculate:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7B%5Cinfty%7D%20e%5E%7B-2%5Ctau%7Du%28%5Ctau%29%20%5Ccdot%20e%5E%7B-%5Ctau%7D%20d%5Ctau%3D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B-%5Ctau%7D%20%5Ccdot%20e%5E%7B-2%28t-%5Ctau%29%7Dd%5Ctau%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = \int_{0}^{\infty} e^{-2\tau}u(\tau) \cdot e^{-\tau} d\tau= \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau ' title='y(t) = \int_{0}^{\infty} e^{-2\tau}u(\tau) \cdot e^{-\tau} d\tau= \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau ' class='latex' /></p>
<p style="padding-left: 30px;">Next, we can simplify and compute the integral:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B-%5Ctau%7D%20%5Ccdot%20e%5E%7B-2%28t-%5Ctau%29%7Dd%5Ctau%20%3D%20e%5E%7B-2t%7D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B%5Ctau%7Dd%5Ctau%20%3D%20e%5E%7B-2t%7D%28e%5Et-1%29%20%3D%20e%5E%7B-t%7D%20-%20e%5E%7B-2t%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau = e^{-2t} \int_{0}^{t}e^{\tau}d\tau = e^{-2t}(e^t-1) = e^{-t} - e^{-2t}' title='y(t) = \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau = e^{-2t} \int_{0}^{t}e^{\tau}d\tau = e^{-2t}(e^t-1) = e^{-t} - e^{-2t}' class='latex' /></p>
<p style="padding-left: 30px;">Since <img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = 0' title='y(t) = 0' class='latex' /> for all <img src='http://s.wordpress.com/latex.php?latex=t%20%3C%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t &lt; 0' title='t &lt; 0' class='latex' />, we can write the output <img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) ' title='y(t) ' class='latex' /> as:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%28e%5E%7B-t%7D-e%5E%7B-2t%7D%29u%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = (e^{-t}-e^{-2t})u(t) ' title='y(t) = (e^{-t}-e^{-2t})u(t) ' class='latex' /></p>
<p style="padding-left: 30px;">This result <img src='http://s.wordpress.com/latex.php?latex=y%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t)' title='y(t)' class='latex' /> <em>describes the output function for an LTI system with an impulse response </em><img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' /> <em>when fed the input signal </em><img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' />.</p>
<h3>5 Steps to perform mathematical convolution</h3>
<p>Often, one may wish to compute the convolution of two signals that can&#8217;t be described with one function of time alone.  For arbitrary signals, such as pulse trains or PCM signals, the convolution <em>at any time t</em> can be computed graphically.  For signals <em>whose individual &#8220;sections&#8221; can be described mathematically</em>, follow these steps to perform a convolution:</p>
<p style="padding-left: 30px;">1.) Choose one of the two funtions (<img src='http://s.wordpress.com/latex.php?latex=h%28%5Ctau%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(\tau)' title='h(\tau)' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=f%28%5Ctau%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(\tau)' title='f(\tau)' class='latex' />), and leave it fixed in <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />-space.</p>
<p style="padding-left: 30px;">2.) Flip the <em>other </em>function vertically across the origin, so that it is <em>time-inverted</em>.</p>
<p style="padding-left: 30px;">3.) Shift the inverted signal through the <img src='http://s.wordpress.com/latex.php?latex=%5Ctau%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau ' title='\tau ' class='latex' /> axis by <img src='http://s.wordpress.com/latex.php?latex=t_0%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0 ' title='t_0 ' class='latex' /> seconds.  Choose to shift the signal to the first &#8220;section&#8221; of the fixed function that is described by the same equation.  The inverted signal (say, <img src='http://s.wordpress.com/latex.php?latex=f%28-%20%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(- \tau) ' title='f(- \tau) ' class='latex' />), now shifted, represents <img src='http://s.wordpress.com/latex.php?latex=f%28t_0%20-%20%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t_0 - \tau) ' title='f(t_0 - \tau) ' class='latex' />, which is basically a &#8220;freeze frame&#8221; of the output after the input signal has been fed to the LTI system for <img src='http://s.wordpress.com/latex.php?latex=t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0' title='t_0' class='latex' /> seconds.</p>
<p style="padding-left: 30px;">4.) The integral of the two functions, after shifting the inverted function by <img src='http://s.wordpress.com/latex.php?latex=t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0' title='t_0' class='latex' /> seconds, is the value of the convolution integral (i.e. output signal) at <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%20t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t = t_0' title='t = t_0' class='latex' />.</p>
<p style="padding-left: 30px;">5.) Repeat this procedure through all &#8220;sections&#8221; of the function fixed in <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />-space.  By doing this, you can compute the value of the output at any time <img src='http://s.wordpress.com/latex.php?latex=t&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t' title='t' class='latex' />!</p>
<h3>Useful Properties</h3>
<p>&nbsp;</p>
<p>The following is a list of useful properties of the convolution integral that can help in developing an intuitive approach to solving problems:<span style="text-decoration: underline;"><br />
</span></p>
<p>1.) Commutative Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2Af_2%28t%29%20%3D%20f_2%28t%29%2Af_1%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*f_2(t) = f_2(t)*f_1(t) ' title='f_1(t)*f_2(t) = f_2(t)*f_1(t) ' class='latex' /></p>
<p>2.) Distributive Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2A%5Bf_2%28t%29%2Bf_3%28t%29%5D%20%3D%20f_1%28t%29%2Af_2%28t%29%20%2B%20f_1%28t%29%2Af_3%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*[f_2(t)+f_3(t)] = f_1(t)*f_2(t) + f_1(t)*f_3(t)' title='f_1(t)*[f_2(t)+f_3(t)] = f_1(t)*f_2(t) + f_1(t)*f_3(t)' class='latex' /></p>
<p>3.) Associative Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2A%5Bf_2%28t%29%2Af_3%28t%29%5D%20%3D%20%5Bf_1%28t%29%2Af_2%28t%29%5D%2Af_3%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*[f_2(t)*f_3(t)] = [f_1(t)*f_2(t)]*f_3(t)' title='f_1(t)*[f_2(t)*f_3(t)] = [f_1(t)*f_2(t)]*f_3(t)' class='latex' /></p>
<p>4.) Shift Property:</p>
<p style="padding-left: 30px;">if <img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2Af_2%28t%29%20%3D%20c%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*f_2(t) = c(t)' title='f_1(t)*f_2(t) = c(t)' class='latex' /></p>
<p style="padding-left: 30px;">then <img src='http://s.wordpress.com/latex.php?latex=f_1%28t-T_1%29%2Af_2%28t-T_2%29%20%3D%20c%28t-T_1-T_2%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t-T_1)*f_2(t-T_2) = c(t-T_1-T_2)' title='f_1(t-T_1)*f_2(t-T_2) = c(t-T_1-T_2)' class='latex' /></p>
<p>5.) Convolution with an Impulse results in the original function:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f%28t%29%2A%20%5Cdelta%20%28t%29%20%3D%20f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)* \delta (t) = f(t)' title='f(t)* \delta (t) = f(t)' class='latex' /> where <img src='http://s.wordpress.com/latex.php?latex=%5Cdelta%20%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\delta (t)' title='\delta (t)' class='latex' /> is the unit impulse function</p>
<p>6.) Width Property:</p>
<p style="padding-left: 30px;"><em>The convolution of a signal of duration </em><img src='http://s.wordpress.com/latex.php?latex=T_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_1' title='T_1' class='latex' /><em> and a signal of duration </em><img src='http://s.wordpress.com/latex.php?latex=T_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_2' title='T_2' class='latex' /> <em>will result in a signal of duration</em> <img src='http://s.wordpress.com/latex.php?latex=T_3%20%3D%20T_1%20%2B%20T_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_3 = T_1 + T_2' title='T_3 = T_1 + T_2' class='latex' /></p>
<h3>Convolution Table</h3>
<p>Finally, here is a<a href="http://i.imgur.com/nTgs9.jpg"> Convolution Table</a> that can <em>greatly </em>reduce the difficulty in solving convolution integrals.</p>
<p>Thank you so much to <a href="http://engineersphere.com">Safa Khamis</a> @ Kansas State University for taking the time to write this tutorial for Engineersphere and the <a href="http://www.ieee.org/index.html">electrical engineering community</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/the-convolution-integral-explained.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Finding the Inverse of a Matrix</title>
		<link>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html</link>
		<comments>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html#comments</comments>
		<pubDate>Sun, 06 Mar 2011 03:26:46 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[identity matrix]]></category>
		<category><![CDATA[inverse]]></category>
		<category><![CDATA[inverse matrix property]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix theory]]></category>
		<category><![CDATA[rref]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2103</guid>
		<description><![CDATA[TweetTweetMatrix manipulations and properties Finding the inverse of a matrix is much more complex than finding the inverse of a number. All real numbers have an inverse (i.e. ). However, not all matrices have an inverse. There are several characteristics that allow us to visibly determine whether a matrix has an inverse but we will [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html&via=EngineerSphere&text=Finding the Inverse of a Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html&via=EngineerSphere&text=Finding the Inverse of a Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Matrix manipulations and properties</h3>
<p>Finding the inverse of a matrix is much more complex than finding the inverse of a number. All real numbers have an inverse (i.e. <img src='http://s.wordpress.com/latex.php?latex=6%5E%7B-1%7D%3D%20%5Cfrac%7B1%7D%7B6%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='6^{-1}= \frac{1}{6} ' title='6^{-1}= \frac{1}{6} ' class='latex' />). However, not all matrices have an inverse. There are several characteristics that allow us to visibly determine whether a matrix has an inverse but we will only focus on one. A matrix must be square (i.e. 2&#215;2, 3&#215;3, etc.) to have an inverse. Performing the following manipulations will be a waste of time if a matrix is not square. It is also important to know the inverse matrix property. Using my example above, <img src='http://s.wordpress.com/latex.php?latex=6%5E%7B-1%7D%20%2A%20%5Cfrac%7B1%7D%7B6%7D%20%3D%201%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='6^{-1} * \frac{1}{6} = 1 ' title='6^{-1} * \frac{1}{6} = 1 ' class='latex' /> and similarly with matrices, <img src='http://s.wordpress.com/latex.php?latex=A%20%2A%20A%5E%7B-1%7D%20%3D%20In%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A * A^{-1} = In ' title='A * A^{-1} = In ' class='latex' /> where In is the identity matrix (diagonal from top left to bottom right contains all 1&#8242;s, and everything else is 0) . We take advantage of this property when solving systems of matrices.</p>
<p>In words, the general algorithm for determining the existence of an inverse matrix is to manipulate the matrix into row reduced echelon form (rref). If the rref matrix is an identity matrix, then the inverse matrix exists. Hang on now, earlier I mentioned that there were other, visible characteristics that allow us to determine the existence of an inverse matrix, but now I&#8217;m asking you to perform a tedious process (without a calculator) with the same goal? Wouldn&#8217;t it be easier to first determine if finding the rref of the matrix is worthwhile? You&#8217;re right, except we are going to make a simple manipulation, and at the same time that we finish our rref process and determine that an inverse matrix exists, we will have found the inverse matrix! How do we do that? We will create an augmented matrix between our matrix in question, <img src='http://s.wordpress.com/latex.php?latex=A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' />, and the appropriate identity matrix where the size of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is equal to the size of matrix <img src='http://s.wordpress.com/latex.php?latex=In%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='In ' title='In ' class='latex' />. We will perform the same rref process to the augmented matrix <img src='http://s.wordpress.com/latex.php?latex=%7C%20A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='| A ' title='| A ' class='latex' /> <img src='http://s.wordpress.com/latex.php?latex=In%20%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='In | ' title='In | ' class='latex' />. If the portion of our augmented matrix previously belonging to matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> reduces to an identity matrix (indicating the existence of <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> ), then the portion previously belonging to the identity matrix, will equal <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' />.</p>
<h3>Some matrix math</h3>
<p>Now, for the math&#8230;</p>
<p>Suppose we are asked to find the inverse of the following matrix:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} ' class='latex' /></p>
<p>First, we must set up the augmented matrix discussed above. Notice that I have simply placed the identity matrix (of the same size as <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> ) on the right of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%261%260%260%5C%5C1%264%263%260%261%260%5C%5C1%263%264%260%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<h3>Finding the rref of an augmented matrix</h3>
<p>Next, we will attempt to find the rref of the augmented matrix. If the portion of the augmented matrix previously belonging to <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> yields an identity matrix, <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is invertible.</p>
<p>rref <img src='http://s.wordpress.com/latex.php?latex=%20%20%5Cbegin%7Bbmatrix%7D1%263%263%261%260%260%5C%5C1%264%263%260%261%260%5C%5C1%263%264%260%260%261%5Cend%7Bbmatrix%7D%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='  \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix}  ' title='  \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix}  ' class='latex' /> = <img src='http://s.wordpress.com/latex.php?latex=%20%20%20%5Cbegin%7Bbmatrix%7D1%260%260%267%26-3%26-3%5C%5C0%261%260%26-1%261%260%5C%5C0%260%261%26-1%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='   \begin{bmatrix}1&amp;0&amp;0&amp;7&amp;-3&amp;-3\\0&amp;1&amp;0&amp;-1&amp;1&amp;0\\0&amp;0&amp;1&amp;-1&amp;0&amp;1\end{bmatrix} ' title='   \begin{bmatrix}1&amp;0&amp;0&amp;7&amp;-3&amp;-3\\0&amp;1&amp;0&amp;-1&amp;1&amp;0\\0&amp;0&amp;1&amp;-1&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<p>Ok great! The left half of our augmented matrix reduced to an identity matrix. That means two things to us: the matrix has an inverse <em>and</em> we&#8217;ve already found the inverse. If you recall from above, <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> is the right half of the augmented matrix (after finding it&#8217;s rref, of course). So we can conclude:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%5E%7B-1%7D%20%3D%20%5Cbegin%7Bbmatrix%7D7%26-3%26-3%5C%5C-1%261%260%5C%5C-1%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix}^{-1} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix}^{-1} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<p>If our rref of the augmented matrix had yielded anything other than an identity matrix, we would conclude that <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> does not exist. This method will simply allow us to determine the existence of and entries to <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> for any size matrix.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solving a Linear System Using the Inverse Matrix</title>
		<link>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html</link>
		<comments>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html#comments</comments>
		<pubDate>Thu, 03 Mar 2011 22:49:47 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[coefficient matrix]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix division]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix theory]]></category>
		<category><![CDATA[solving linear systems]]></category>
		<category><![CDATA[using inverse matrices]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2009</guid>
		<description><![CDATA[TweetTweetDescribing the process of solving a linear system using the adjacent matrix is best done while performing an example. Suppose we have a system where is the coefficient matrix of our system, is the column vector containing our variables, and is the solution column vector. We are asked to solve for the column vector made [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html&via=EngineerSphere&text=Solving a Linear System Using the Inverse Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html&via=EngineerSphere&text=Solving a Linear System Using the Inverse Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>Describing the process of solving a linear system using the adjacent matrix is best done while performing an example. Suppose we have a system <img src='http://s.wordpress.com/latex.php?latex=A%2Ax%20%3D%20B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A*x = B ' title='A*x = B ' class='latex' /> where <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Coefficient_matrix">coefficient matrix</a> of our system, <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' /> is the column vector containing our variables, and <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> is the solution column vector. We are asked to solve for the column vector <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' /> made up of variables <img src='http://s.wordpress.com/latex.php?latex=x_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1' title='x_1' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2' title='x_2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3' title='x_3' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%20%5Cbegin%7Bbmatrix%7D%20x_1%5C%5Cx_2%5C%5Cx_3%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D%2012%5C%5C-10%5C%5C16%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix} 12\\-10\\16\end{bmatrix}' title='\begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix} 12\\-10\\16\end{bmatrix}' class='latex' /></p>
<p>Typically, we would divide <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> by <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> to solve for <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' />, however there is no method for performing division between matrices. By taking advantage of the inverse matrix property <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%2AA%20%3D%201%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1}*A = 1 ' title='A^{-1}*A = 1 ' class='latex' />, we can simply the formula to solve for the column vector <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' />. The <a href="http://en.wikipedia.org/wiki/Commutativity">commutative property</a> does not apply in matrix multiplication so <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%2AB%20%5Cnot%3D%20B%2AA%5E%7B-1%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1}*B \not= B*A^{-1}' title='A^{-1}*B \not= B*A^{-1}' class='latex' />.  <em>Therefore we have have to be aware of the &#8216;order&#8217; in which we multiply</em>:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%28A%5E%7B-1%7D%29%20%2A%20A%20%2A%20x%20%3D%20%28A%5E%7B-1%7D%29%20%2A%20B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(A^{-1}) * A * x = (A^{-1}) * B ' title='(A^{-1}) * A * x = (A^{-1}) * B ' class='latex' />      simplifies to      <img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20A%5E%7B-1%7D%2AB%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = A^{-1}*B ' title='x = A^{-1}*B ' class='latex' /></p>
<p>Notice that since we multiplied by <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> &#8216;first&#8217; on the left side of the equation, we also multiply &#8216;first&#8217; on the right side. Now, multiplying the inverse of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> by matrix <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> will yield a column vector matching our <img src='http://s.wordpress.com/latex.php?latex=x_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1' title='x_1' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2' title='x_2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3' title='x_3' class='latex' />. Below, I have used the equation <img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20A%5E%7B-1%7D%2AB%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = A^{-1}*B ' title='x = A^{-1}*B ' class='latex' /> and plugged the values for <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> into the equation. The product between <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> is shown on the far right. Note: This article assumes you know how to find the inverse of a matrix. This process is described in my article <a href="http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html">Finding The Inverse of a Matrix</a>.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D%20x_1%5C%5Cx_2%5C%5Cx_3%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D7%26-3%26-3%5C%5C-1%261%260%5C%5C-1%260%261%5Cend%7Bbmatrix%7D%20%5Cbegin%7Bbmatrix%7D%20%2012%5C%5C-10%5C%5C16%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D%2066%5C%5C-22%5C%5C4%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} \begin{bmatrix}  12\\-10\\16\end{bmatrix} = \begin{bmatrix} 66\\-22\\4\end{bmatrix}' title=' \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} \begin{bmatrix}  12\\-10\\16\end{bmatrix} = \begin{bmatrix} 66\\-22\\4\end{bmatrix}' class='latex' /></p>
<p>Therefore, <img src='http://s.wordpress.com/latex.php?latex=x_1%3D66&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1=66' title='x_1=66' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2%3D-22&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2=-22' title='x_2=-22' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3%3D4&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3=4' title='x_3=4' class='latex' />. Simple systems (i.e. this 3&#215;3 system) are much easier to solve with algebra instead of finding the inverse of the coefficient matrix and performing matrix multiplication. This application is more practical for larger systems or while working on Matrix Theory homework.</p>
<p><strong>Please leave comments by <a href="http://engineersphere.com/wp-login.php">signing in</a> and then clicking on the &#8220;sticky note&#8221; located in the top right corner of this post to show your appreciation to the author!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Shifting and Scaling of Functions</title>
		<link>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html</link>
		<comments>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html#comments</comments>
		<pubDate>Wed, 07 Apr 2010 21:19:17 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Signal Transmission, Filters, and Applications]]></category>
		<category><![CDATA[amplitude]]></category>
		<category><![CDATA[duration]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[shift]]></category>
		<category><![CDATA[signal]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1317</guid>
		<description><![CDATA[TweetTweetWe&#8217;ll begin with a square function, f(t), that has a an amplitude of 1, a start time of 2 seconds and an end time of 4 seconds. Next, a time shift is demonstrated. Here our function is changed from f(t) to f(t-2). Notice that subtracting 2 from t in the function results in a positive [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html&via=EngineerSphere&text=Time Shifting and Scaling of Functions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html&via=EngineerSphere&text=Time Shifting and Scaling of Functions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>We&#8217;ll begin with a square function, f(t), that has a an amplitude of 1, a start time of 2 seconds and an end time of 4 seconds.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/ft.bmp" alt="square-wave" width="446" height="351" /></p>
<p>Next, a time shift is demonstrated. Here our function is changed from f(t) to f(t-2). Notice that subtracting 2 from t in the function results in a positive shift of the graph.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="positive-shifted-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/ft-2.bmp" alt="positive-shifted-square-wave" width="446" height="351" /></p>
<p>In the next two graphs t will be scaled. Scaling t is not quite as intuitive as we may have expected. When we multiply t by 2, corresponding points of the function now occur at 1/2 the time they previously had. When we divide t by 2, each corresponding time on the graph occurs at a t that is now multiplied by 2. Notice that each of these factors directly affects the duration of the signal.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="time-shifted-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/f2t.bmp" alt="time-shifted-square-wave" width="446" height="351" /><br />
<img class="size-full wp-image-1321 aligncenter" title="time-shifted-square-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/f.5t.bmp" alt="time-shifted-square-wave2" width="446" height="351" /></p>
<p>Scaling the amplitude has more intuitive results. If we multiply f(t) by 2, the amplitude of 1 is changed to 2. Multiplying f(t) by 1/2 results in an amplitude of 1/2.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="taller-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/2ft.bmp" alt="taller-square-wave" width="446" height="351" /><br />
<img class="size-full wp-image-1321 aligncenter" title="truncated-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/5ft.bmp" alt="truncated-square-wave" width="446" height="351" /></p>
<p>Finally, multiplying t by -1 mirrors our function over the y-axis. Each time now occurs at its negative.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="mirrored-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/f-t.bmp" alt="mirrored-square-wave" width="446" height="351" /></p>
<p><strong><br />
Example:</strong><br />
Here we will attempt to convert f(t) into 2*f(.5t+3). The graph of f(t) is shown below.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="triangle-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/exampleft.bmp" alt="triangle-wave" width="446" height="351" /></p>
<p>The easiest way to handle this type of problem without error is to manipulate the function one step at a time. First, I have converted f(t) into 2*f(t). Only the peaks are changed here (by a factor of 2).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="triangle-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/example2ft.bmp" alt="triangle-wave2" width="446" height="351" /></p>
<p>Next, I convert 2*f(t) into 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t). Notice how the <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> actually expands our graph duration by a factor of 2 (from a 6 sec duration to a 12 sec duration).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="shifted-triangle-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/example2fhalft.bmp" alt="shifted-triangle-wave" width="446" height="351" /></p>
<p>Finally, we move from 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t) to 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t + 3). As shown in the discussion above, this is a time shift. Time shifts can be a little confusing because adding results in a negative shift of our graph. Try to think of it as our signal occurring 3 seconds earlier than before, reading from left to right on the graph. The easiest way to do this part is shift each x-intercept by 3 seconds (to the left, of course).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="shifted-triangle-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/example2fhalftplus3.bmp" alt="shifted-triangle-wave2" width="446" height="351" /></p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Solving a System Equation</title>
		<link>http://engineersphere.com/math/differential-equations/solving-a-system-equation.html</link>
		<comments>http://engineersphere.com/math/differential-equations/solving-a-system-equation.html#comments</comments>
		<pubDate>Wed, 30 Dec 2009 00:02:11 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Differential Equations]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[complex roots]]></category>
		<category><![CDATA[linear system equation]]></category>
		<category><![CDATA[solve for complex roots]]></category>
		<category><![CDATA[system equation]]></category>
		<category><![CDATA[system equations]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1117</guid>
		<description><![CDATA[TweetTweetWhy do we need to solve system equations? Often during a course you will need to be able to solve a system equation for its roots.  These roots can be complex, distinct, or repeated.  These problems usually arise when working with linear systems or differential equations.  A system equation is formatted as follows: System Equation: [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/differential-equations/solving-a-system-equation.html&via=EngineerSphere&text=Solving a System Equation&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/differential-equations/solving-a-system-equation.html&via=EngineerSphere&text=Solving a System Equation&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Why do we need to solve system equations?</h3>
<p>Often during a course you will need to be able to solve a system equation for its roots.  These roots can be complex, distinct, or repeated.  These problems usually arise when working with linear systems or differential equations.  A system equation is formatted as follows:</p>
<h3>System Equation: <img src='http://s.wordpress.com/latex.php?latex=Q%28D%29y_%7B0%7D%28t%29%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q(D)y_{0}(t) = 0 ' title='Q(D)y_{0}(t) = 0 ' class='latex' /></h3>
<h3>How to solve a system equation</h3>
<p>For example purposes, I will solve a system equation with complex roots.  A system equation with complex roots as a function of <img src='http://s.wordpress.com/latex.php?latex=%5Clambda%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\lambda ' title='\lambda ' class='latex' /> will appear in the following format (if it does not, you need to manipulate your equation to be in the form):</p>
<p><img src='http://s.wordpress.com/latex.php?latex=Q%28%5Clambda%29%20%3D%20%28%5Clambda%20-%20%5Calpha%20-%20j%5Cbeta%29%28%5Clambda%20-%20%5Calpha%20%2B%20j%5Cbeta%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q(\lambda) = (\lambda - \alpha - j\beta)(\lambda - \alpha + j\beta) ' title='Q(\lambda) = (\lambda - \alpha - j\beta)(\lambda - \alpha + j\beta) ' class='latex' /></p>
<p><strong>Roots</strong>: <img src='http://s.wordpress.com/latex.php?latex=%5Clambda%20%3D%20%5Calpha%20%5Cpm%20j%5Cbeta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\lambda = \alpha \pm j\beta ' title='\lambda = \alpha \pm j\beta ' class='latex' /></p>
<p>So we have <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20%3D%20C_%7B1%7De%5E%7B%28%5Calpha%20%2B%20j%5Cbeta%29t%7D%2BC_%7B2%7De%5E%7B%28%5Calpha%20-%20j%5Cbeta%29t%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) = C_{1}e^{(\alpha + j\beta)t}+C_{2}e^{(\alpha - j\beta)t} ' title='y_{0}(t) = C_{1}e^{(\alpha + j\beta)t}+C_{2}e^{(\alpha - j\beta)t} ' class='latex' /></p>
<p>which also equals <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20%3D%20Ce%5E%7B%5Calpha%20t%7Dcos%28%5Cbeta%20t%20%2B%20%5Ctheta%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) = Ce^{\alpha t}cos(\beta t + \theta) ' title='y_{0}(t) = Ce^{\alpha t}cos(\beta t + \theta) ' class='latex' /></p>
<p>so your first step is to look at your equation and determine your roots, then write out your <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) ' title='y_{0}(t) ' class='latex' /> equation with constants.</p>
<p><strong>Example</strong> <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bd%5E%7B2%7Dv%7D%7Bdt%5E%7B2%7D%7D%20%2B%204%5Cfrac%7Bdv%7D%7Bdt%7D%20%2B%204v%28t%29%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{d^{2}v}{dt^{2}} + 4\frac{dv}{dt} + 4v(t) = 0 ' title='\frac{d^{2}v}{dt^{2}} + 4\frac{dv}{dt} + 4v(t) = 0 ' class='latex' /> with initial conditions <img src='http://s.wordpress.com/latex.php?latex=V%280%29%20%3D%203v%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V(0) = 3v ' title='V(0) = 3v ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=V%5E%7B1%7D%280%29%20%3D%20-4v%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V^{1}(0) = -4v ' title='V^{1}(0) = -4v ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=Q%28%5Clambda%29%20%3D%20%5Clambda%5E%7B2%7D%20%2B%204%5Clambda%20%2B%204%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q(\lambda) = \lambda^{2} + 4\lambda + 4 = 0 ' title='Q(\lambda) = \lambda^{2} + 4\lambda + 4 = 0 ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%28%5Clambda%20%2B%202%29%28%5Clambda%20%2B%202%29%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(\lambda + 2)(\lambda + 2) = 0 ' title='(\lambda + 2)(\lambda + 2) = 0 ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Clambda_%7B1%7D%20%3D%20%5Clambda_%7B2%7D%20%3D%20-2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\lambda_{1} = \lambda_{2} = -2 ' title='\lambda_{1} = \lambda_{2} = -2 ' class='latex' /></p>
<p>so now we can write our <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) ' title='y_{0}(t) ' class='latex' /> equation as follows:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20%3D%20C_%7B1%7De%5E%7B-2t%7D%2BC_%7B2%7Dte%5E%7B-2t%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) = C_{1}e^{-2t}+C_{2}te^{-2t} ' title='y_{0}(t) = C_{1}e^{-2t}+C_{2}te^{-2t} ' class='latex' /></p>
<p>In order to solve for <img src='http://s.wordpress.com/latex.php?latex=C_%7B1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{1} ' title='C_{1} ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=C_%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{2} ' title='C_{2} ' class='latex' /> we need to use our initial conditions.  To evaluate the first derivative initial condition, we must first take the derivative of our <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20%3D%20C_%7B1%7De%5E%7B-2t%7D%2BC_%7B2%7De%5E%7B-2t%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) = C_{1}e^{-2t}+C_{2}e^{-2t} ' title='y_{0}(t) = C_{1}e^{-2t}+C_{2}e^{-2t} ' class='latex' /> that we just found.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%5E%7B1%7D%28t%29%20%3D%20-2C_%7B1%7De%5E%7B-2t%7D%20-%202C_%7B2%7D%2At%2Ae%5E%7B-2t%7D%20%2B%20C_%7B2%7De%5E%7B-2t%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}^{1}(t) = -2C_{1}e^{-2t} - 2C_{2}*t*e^{-2t} + C_{2}e^{-2t} ' title='y_{0}^{1}(t) = -2C_{1}e^{-2t} - 2C_{2}*t*e^{-2t} + C_{2}e^{-2t} ' class='latex' /></p>
<p>evaluating this equation with t = 0 and the response equal to -4v, we get this: <img src='http://s.wordpress.com/latex.php?latex=-4%20%3D%20-2C_%7B1%7D%20%2B%20C_%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='-4 = -2C_{1} + C_{2} ' title='-4 = -2C_{1} + C_{2} ' class='latex' /></p>
<p>evaluating our <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) ' title='y_{0}(t) ' class='latex' /> equation with t = 0 and the response equal to 3v, we calculate <img src='http://s.wordpress.com/latex.php?latex=C_%7B1%7D%20%3D%203%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{1} = 3 ' title='C_{1} = 3 ' class='latex' /></p>
<p>Using these two equations, we calculate our constants:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=C_%7B1%7D%20%3D%203%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{1} = 3 ' title='C_{1} = 3 ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=C_%7B2%7D%20%3D%202%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{2} = 2 ' title='C_{2} = 2 ' class='latex' /></p>
<p>Fill these into our <img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) ' title='y_{0}(t) ' class='latex' /> equation to determine the final result.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=y_%7B0%7D%28t%29%20%3D%203e%5E%7B-2t%7D%2B2te%5E%7B-2t%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_{0}(t) = 3e^{-2t}+2te^{-2t} ' title='y_{0}(t) = 3e^{-2t}+2te^{-2t} ' class='latex' /></p>
<p>Now you know how to solve this common differential equations and linear systems problem, determine characteristic roots and modes, and write system equations. <img src='http://engineersphere.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/differential-equations/solving-a-system-equation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indefinite Integrals</title>
		<link>http://engineersphere.com/math/calculus/indefinite-integrals.html</link>
		<comments>http://engineersphere.com/math/calculus/indefinite-integrals.html#comments</comments>
		<pubDate>Sun, 11 Oct 2009 05:01:04 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[accelleration]]></category>
		<category><![CDATA[area under a curve]]></category>
		<category><![CDATA[definite integrals]]></category>
		<category><![CDATA[indefinite integrals]]></category>
		<category><![CDATA[integral]]></category>
		<category><![CDATA[integrals]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[velocity]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=991</guid>
		<description><![CDATA[TweetTweetWhat are indefinite integrals used for? In integral can be thought of as an area underneath a curve.  Integrals are often used to manipulate position, velocity, and acceleration equations to estimate different situations.  If you are given an equation that represents the velocity of a golf cart driving, like so: (the &#8216; in y&#8217; represents [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/calculus/indefinite-integrals.html&via=EngineerSphere&text=Indefinite Integrals&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/calculus/indefinite-integrals.html&via=EngineerSphere&text=Indefinite Integrals&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>What are indefinite integrals used for?</h3>
<p>In integral can be thought of as an area underneath a curve.  Integrals are often used to manipulate position, velocity, and acceleration equations to estimate different situations.  If you are given an equation that represents the velocity of a golf cart driving, like so: <img src='http://s.wordpress.com/latex.php?latex=y%20%5Cprime%20%3D%203%20x%5E%7B2%7D%20%2B%204%20x%20%2B%203%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y \prime = 3 x^{2} + 4 x + 3 ' title='y \prime = 3 x^{2} + 4 x + 3 ' class='latex' /> (the &#8216; in y&#8217; represents the differential element <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7Bd%7D%7Bdy%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{d}{dy} ' title='\frac{d}{dy} ' class='latex' /> that results when one performs a derivative on the position function f(x).)  then you can find use an integral (Anti-Derivative) to get an expression for the position of the golf cart, y(x).</p>
<p>The integral of a function is represented like so: <img src='http://s.wordpress.com/latex.php?latex=%5Cint_%7B%7D%5E%7Bx%7D%20f%28x%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\int_{}^{x} f(x) ' title='\int_{}^{x} f(x) ' class='latex' /> and it can be thought of as a sum of areas like so:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-993" title="integral-summation" src="http://engineersphere.com/wp-content/uploads/2009/10/graph.png" alt="integral-summation" width="406" height="328" /></p>
<p>Here the integral is performed on the function <img src='http://s.wordpress.com/latex.php?latex=f%28x%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(x) ' title='f(x) ' class='latex' /> from point a to point b, which would make it a definite integral because the bounds are defined.  Our indefinite integral is the same procedure, except missing the bounds, which makes indefinite integral operation require a little twist.</p>
<p>We all know that the derivative of a constant is zero.  For instance, the derivative of 5 is equal to zero.  Once performing this derivative, we should still be able to perform the anti-derivative on this new function (zero) to obtain the original equation (5).  But how will we know what number permeates from performing an anti-derivative of zero.  An indefinite integral is called indefinite because the bounds are not defined on the integration, like so:  <img src='http://s.wordpress.com/latex.php?latex=%5Cint_%7B1%7D%5E%7B4%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\int_{1}^{4} ' title='\int_{1}^{4} ' class='latex' />.  When we perform our indefinite integral we represent this long-lost constant by the letter &#8216;C&#8217;.</p>
<p>Before we integrate our golf cart velocity equation, lets go ahead and look at the laws of integration:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cint_%7B%7D%5E%7B%7D%20f%20%28x%29%5E%7Bn%7D%20%3D%20%5Cfrac%7Bf%28x%29%5E%7Bn%2B1%7D%7D%7Bn%2B1%7D%20%2B%20C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\int_{}^{} f (x)^{n} = \frac{f(x)^{n+1}}{n+1} + C ' title='\int_{}^{} f (x)^{n} = \frac{f(x)^{n+1}}{n+1} + C ' class='latex' /></p>
<p>The integral can also be split up into separate individual integrals if there is addition in the function you are integrating.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cint_%7B%7D%5E%7B%7D%20%285x%5E%7B2%7D%20%2B%203x%20%2B%204%29%20%3D%20%5Cint_%7B%7D%5E%7B%7D%205x%5E%7B2%7D%20%2B%20%5Cint_%7B%7D%5E%7B%7D%203x%20%2B%20%5Cint_%7B%7D%5E%7B%7D%204%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\int_{}^{} (5x^{2} + 3x + 4) = \int_{}^{} 5x^{2} + \int_{}^{} 3x + \int_{}^{} 4 ' title='\int_{}^{} (5x^{2} + 3x + 4) = \int_{}^{} 5x^{2} + \int_{}^{} 3x + \int_{}^{} 4 ' class='latex' /> and whenever you add these integrals together, you only need to account for 1 of the constants (C).</p>
<p>So the integral of our velocity <img src='http://s.wordpress.com/latex.php?latex=y%20%5Cprime%20%3D%203%20x%5E%7B2%7D%20%2B%204%20x%20%2B%203%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y \prime = 3 x^{2} + 4 x + 3 ' title='y \prime = 3 x^{2} + 4 x + 3 ' class='latex' /> will go as follows:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cint_%7B%7D%5E%7B%7D%203x%5E%7B2%7D%20%2B%204x%20%2B%203%20%3D%20%5Cfrac%7B3x%5E%7B3%7D%7D%7B3%7D%20%2B%20%5Cfrac%7B4x%5E%7B2%7D%7D%7B2%7D%20%2B%203x%20%2B%20C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\int_{}^{} 3x^{2} + 4x + 3 = \frac{3x^{3}}{3} + \frac{4x^{2}}{2} + 3x + C ' title='\int_{}^{} 3x^{2} + 4x + 3 = \frac{3x^{3}}{3} + \frac{4x^{2}}{2} + 3x + C ' class='latex' /></p>
<p>or</p>
<p><img src='http://s.wordpress.com/latex.php?latex=y%28x%29%20%3D%20%5Cfrac%7B3x%5E%7B3%7D%7D%7B3%7D%20%2B%5Cfrac%7B4x%5E%7B2%7D%7D%7B2%7D%20%2B%203x%20%2B%20C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(x) = \frac{3x^{3}}{3} +\frac{4x^{2}}{2} + 3x + C ' title='y(x) = \frac{3x^{3}}{3} +\frac{4x^{2}}{2} + 3x + C ' class='latex' /></p>
<p>We can solve for our constant, C, if we are given initial conditions, such as the golf cart was moving at y&#8217;(0) = 1 m/s when we began collecting our data.  Otherwise, we leave the integral in this form.  If you would like to learn how to perform a definite integral, refer to our article on definite integrals.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/calculus/indefinite-integrals.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conversions Between Cartesian, Cylindrical and Spherical Coordinates</title>
		<link>http://engineersphere.com/math/conversions-between-cartesian-cylindrical-and-spherical-coordinates.html</link>
		<comments>http://engineersphere.com/math/conversions-between-cartesian-cylindrical-and-spherical-coordinates.html#comments</comments>
		<pubDate>Sun, 20 Sep 2009 20:58:40 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Dynamics]]></category>
		<category><![CDATA[Electromagnetic Theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Statics]]></category>
		<category><![CDATA[cartesian coordinates]]></category>
		<category><![CDATA[cartesian to cylindrical conversion]]></category>
		<category><![CDATA[cartesian to spherical conversion]]></category>
		<category><![CDATA[cylindrical coordinates]]></category>
		<category><![CDATA[spherical coordinates]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=877</guid>
		<description><![CDATA[TweetTweetThe 3 common methods of describing a point in a three dimensional coordinate system are Cartesian, Cylindrical and Spherical. The most simple is Cartesian but certain teachers find it necessary to use the others. There are a few simple conversions between them but first it is necessary to know their notation. Cartesian: Cylindrical: Spherical: In [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/conversions-between-cartesian-cylindrical-and-spherical-coordinates.html&via=EngineerSphere&text=Conversions Between Cartesian, Cylindrical and Spherical Coordinates&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/conversions-between-cartesian-cylindrical-and-spherical-coordinates.html&via=EngineerSphere&text=Conversions Between Cartesian, Cylindrical and Spherical Coordinates&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>The 3 common methods of describing a point in a three dimensional coordinate system are Cartesian, Cylindrical and Spherical. The most simple is Cartesian but certain teachers find it necessary to use the others. There are a few simple conversions between them but first it is necessary to know their notation.</p>
<p><strong>Cartesian:</strong> <img src='http://s.wordpress.com/latex.php?latex=%28x%2Cy%2Cz%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(x,y,z) ' title='(x,y,z) ' class='latex' /></p>
<p><strong>Cylindrical:</strong> <img src='http://s.wordpress.com/latex.php?latex=%28%5Crho%2C%5Cphi%2Cz%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(\rho,\phi,z) ' title='(\rho,\phi,z) ' class='latex' /></p>
<p><strong>Spherical:</strong> <img src='http://s.wordpress.com/latex.php?latex=%28r%2C%5Ctheta%2C%5Cphi%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(r,\theta,\phi) ' title='(r,\theta,\phi) ' class='latex' /></p>
<p>In most cases you will only need to work from Cartesian to Cylindrical or Spherical OR back, so I will only supply those equations. If you need to work between Cylindrical and Spherical, it would be one more simple step working from one of those, to Cartesian, then on to the other.</p>
<p><strong>Cartesian <img src='http://s.wordpress.com/latex.php?latex=%5Crightarrow%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\rightarrow ' title='\rightarrow ' class='latex' /> Cylindrical:</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20%5Crho%20%5Ccdot%20cos%20%28%5Cphi%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = \rho \cdot cos (\phi) ' title='x = \rho \cdot cos (\phi) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=y%20%3D%20%5Crho%20%5Ccdot%20sin%20%28%5Cphi%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y = \rho \cdot sin (\phi) ' title='y = \rho \cdot sin (\phi) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=z%20%3D%20z%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='z = z ' title='z = z ' class='latex' /></p>
<p><strong>Cartesian <img src='http://s.wordpress.com/latex.php?latex=%5Cleftarrow%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\leftarrow ' title='\leftarrow ' class='latex' /> Cylindrical:</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Crho%20%3D%20%5Csqrt%7Bx%5E2%20%2B%20y%5E2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\rho = \sqrt{x^2 + y^2} ' title='\rho = \sqrt{x^2 + y^2} ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cphi%20%3D%20tan%5E%7B-1%7D%20%28%5Cfrac%7By%7D%7Bx%7D%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\phi = tan^{-1} (\frac{y}{x}) ' title='\phi = tan^{-1} (\frac{y}{x}) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=z%20%3D%20z%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='z = z ' title='z = z ' class='latex' /></p>
<p><strong>Cartesian <img src='http://s.wordpress.com/latex.php?latex=%5Crightarrow%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\rightarrow ' title='\rightarrow ' class='latex' /> Spherical:</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20r%20%5Ccdot%20sin%28%5Ctheta%29%20%5Ccdot%20cos%28%5Cphi%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = r \cdot sin(\theta) \cdot cos(\phi) ' title='x = r \cdot sin(\theta) \cdot cos(\phi) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=y%20%3D%20r%20%5Ccdot%20sin%28%5Ctheta%29%20%5Ccdot%20sin%28%5Cphi%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y = r \cdot sin(\theta) \cdot sin(\phi) ' title='y = r \cdot sin(\theta) \cdot sin(\phi) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=z%20%3D%20r%20%5Ccdot%20cos%28%5Ctheta%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='z = r \cdot cos(\theta) ' title='z = r \cdot cos(\theta) ' class='latex' /></p>
<p><strong>Cartesian <img src='http://s.wordpress.com/latex.php?latex=%5Cleftarrow%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\leftarrow ' title='\leftarrow ' class='latex' /> Spherical:</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=r%20%3D%20%5Csqrt%7Bx%5E2%20%2B%20y%5E2%20%2B%20z%5E2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r = \sqrt{x^2 + y^2 + z^2} ' title='r = \sqrt{x^2 + y^2 + z^2} ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=%5Ctheta%20%3D%20tan%5E%7B-1%7D%28%5Cfrac%7B%5Csqrt%7Bx%5E2%20%2B%20y%5E2%7D%7D%7Bz%7D%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\theta = tan^{-1}(\frac{\sqrt{x^2 + y^2}}{z}) ' title='\theta = tan^{-1}(\frac{\sqrt{x^2 + y^2}}{z}) ' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cphi%20%3D%20tan%5E%7B-1%7D%28%5Cfrac%7By%7D%7Bx%7D%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\phi = tan^{-1}(\frac{y}{x}) ' title='\phi = tan^{-1}(\frac{y}{x}) ' class='latex' /></p>
<p>Plug the values from any given points into the correct equation to convert to a different type of coordinate system.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/conversions-between-cartesian-cylindrical-and-spherical-coordinates.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Unit Vector Between Two Points</title>
		<link>http://engineersphere.com/math/unit-vector-between-two-points.html</link>
		<comments>http://engineersphere.com/math/unit-vector-between-two-points.html#comments</comments>
		<pubDate>Sun, 20 Sep 2009 20:17:52 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Dynamics]]></category>
		<category><![CDATA[Electromagnetic Theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Statics]]></category>
		<category><![CDATA[find unit vector]]></category>
		<category><![CDATA[unit vector]]></category>
		<category><![CDATA[unit vector between two points]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=858</guid>
		<description><![CDATA[TweetTweetSuppose you are interested in finding the unit vector between two points, and , which are described in cartesian coordinates as and , respectively. You would begin by finding the vector between these two points. The direction of this vector may be important so look for key words such as . Once we have established [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/unit-vector-between-two-points.html&via=EngineerSphere&text=Unit Vector Between Two Points&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/unit-vector-between-two-points.html&via=EngineerSphere&text=Unit Vector Between Two Points&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>Suppose you are interested in finding the unit vector between two points, <img src='http://s.wordpress.com/latex.php?latex=P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='P ' title='P ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=Q%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q ' title='Q ' class='latex' />, which are described in cartesian coordinates as <img src='http://s.wordpress.com/latex.php?latex=%282%2C-1%2C3%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(2,-1,3)' title='(2,-1,3)' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%28-1%2C1%2C0%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(-1,1,0)' title='(-1,1,0)' class='latex' />, respectively.</p>
<p>You would begin by finding the vector between these two points. The direction of this vector may be important so look for key words such as <img src='http://s.wordpress.com/latex.php?latex=%60%60from%27%27%20P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='``from&#039;&#039; P ' title='``from&#039;&#039; P ' class='latex' /> <img src='http://s.wordpress.com/latex.php?latex=to%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='to ' title='to ' class='latex' /> <img src='http://s.wordpress.com/latex.php?latex=Q%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q ' title='Q ' class='latex' />. Once we have established the direction we&#8217;re going in, <img src='http://s.wordpress.com/latex.php?latex=P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='P ' title='P ' class='latex' /> to <img src='http://s.wordpress.com/latex.php?latex=Q%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q ' title='Q ' class='latex' /> in this case, we subtract the beginning point from the end point. <img src='http://s.wordpress.com/latex.php?latex=Q%20-%20P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q - P ' title='Q - P ' class='latex' />. This will give us the vector we are looking for. The next step would be to convert this vector into a unit vector, by dividing it by it&#8217;s magnitude.</p>
<p>These are the two formulas we are looking at:<br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20%7BPQ%7D%20%3D%20%3C%20%28Q_x%20-%20P_x%29%20%2C%20%28Q_y%20-%20P_y%29%20%2C%20%28Q_z%20-%20P_z%29%20%3E&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec {PQ} = &lt; (Q_x - P_x) , (Q_y - P_y) , (Q_z - P_z) &gt;' title='\vec {PQ} = &lt; (Q_x - P_x) , (Q_y - P_y) , (Q_z - P_z) &gt;' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20U_%7BPQ%7D%20%3D%20%5Cfrac%7B%5Cvec%20%7BPQ%7D%7D%7B%7C%5Cvec%20%7BPQ%7D%7C%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec U_{PQ} = \frac{\vec {PQ}}{|\vec {PQ}|} ' title='\vec U_{PQ} = \frac{\vec {PQ}}{|\vec {PQ}|} ' class='latex' /></p>
<p>Note:<br />
Here I use <img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20%7BPQ%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec {PQ} ' title='\vec {PQ} ' class='latex' /> as my vector from <img src='http://s.wordpress.com/latex.php?latex=P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='P ' title='P ' class='latex' /> to <img src='http://s.wordpress.com/latex.php?latex=Q%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q ' title='Q ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20U_%7BPQ%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec U_{PQ} ' title='\vec U_{PQ} ' class='latex' /> denotes the unit vector from <img src='http://s.wordpress.com/latex.php?latex=P%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='P ' title='P ' class='latex' /> to <img src='http://s.wordpress.com/latex.php?latex=Q%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q ' title='Q ' class='latex' />.</p>
<p>Implementing these formulas:<br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20%7BPQ%7D%20%3D%20%3C%20%28-1%20-%202%29%20%2C%20%281%20-%20-1%29%20%2C%20%280%20-%203%29%20%3E%20%3D%20%3C%20-3%2C%202%2C%20-3%20%3E&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec {PQ} = &lt; (-1 - 2) , (1 - -1) , (0 - 3) &gt; = &lt; -3, 2, -3 &gt;' title='\vec {PQ} = &lt; (-1 - 2) , (1 - -1) , (0 - 3) &gt; = &lt; -3, 2, -3 &gt;' class='latex' /><br />
<img src='http://s.wordpress.com/latex.php?latex=%5Cvec%20U_%7BPQ%7D%20%3D%20%5Cfrac%7B%3C%20-3%2C%202%2C%20-3%20%3E%7D%7B%7C%3C%20-3%2C%202%2C%20-3%20%3E%7C%7D%20%3D%20%5Cfrac%7B%3C%20-3%2C%202%2C%20-3%20%3E%7D%7B%5Csqrt%20%7B%28-3%29%5E2%20%2B%202%5E2%20%2B%20%28-3%29%5E2%7D%7D%20%3D%20%3C%20%5Cfrac%7B-3%7D%7B%5Csqrt%2022%7D%2C%5Cfrac%7B2%7D%7B%5Csqrt%2022%7D%2C%5Cfrac%7B-3%7D%7B%5Csqrt%2022%7D%3E&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\vec U_{PQ} = \frac{&lt; -3, 2, -3 &gt;}{|&lt; -3, 2, -3 &gt;|} = \frac{&lt; -3, 2, -3 &gt;}{\sqrt {(-3)^2 + 2^2 + (-3)^2}} = &lt; \frac{-3}{\sqrt 22},\frac{2}{\sqrt 22},\frac{-3}{\sqrt 22}&gt;' title='\vec U_{PQ} = \frac{&lt; -3, 2, -3 &gt;}{|&lt; -3, 2, -3 &gt;|} = \frac{&lt; -3, 2, -3 &gt;}{\sqrt {(-3)^2 + 2^2 + (-3)^2}} = &lt; \frac{-3}{\sqrt 22},\frac{2}{\sqrt 22},\frac{-3}{\sqrt 22}&gt;' class='latex' /></p>
<p>Hmm.. The End</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/unit-vector-between-two-points.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vector Dot Product</title>
		<link>http://engineersphere.com/math/calculus/vector-dot-product.html</link>
		<comments>http://engineersphere.com/math/calculus/vector-dot-product.html#comments</comments>
		<pubDate>Tue, 08 Sep 2009 05:29:51 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Calculus]]></category>
		<category><![CDATA[Electromagnetic Theory]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[MATLAB]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Statics]]></category>
		<category><![CDATA[dot product]]></category>
		<category><![CDATA[dot product angle]]></category>
		<category><![CDATA[find dot product]]></category>
		<category><![CDATA[vector angle]]></category>
		<category><![CDATA[vector dot product]]></category>
		<category><![CDATA[vectors]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=800</guid>
		<description><![CDATA[TweetTweetVector dot product rules Another simple review of the vector dot product, for those of you that have forgotten.  The operation that involves multiplying two vectors together can be done in a few ways.  The first operation is called either the scalar product or the dot product.  One of the well known definitions looks like [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/calculus/vector-dot-product.html&via=EngineerSphere&text=Vector Dot Product&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/calculus/vector-dot-product.html&via=EngineerSphere&text=Vector Dot Product&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Vector dot product rules</h3>
<p>Another simple review of the vector dot product, for those of you that have forgotten.  The operation that involves multiplying two vectors together can be done in a few ways.  The first operation is called either the scalar product or the dot product.  One of the well known definitions looks like this:</p>
<p>RULE 1: <img src='http://s.wordpress.com/latex.php?latex=A%20%5Ccdot%20B%20%5Cequiv%20%7CA%7C%7CB%7Ccos%28%5CTheta%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A \cdot B \equiv |A||B|cos(\Theta) ' title='A \cdot B \equiv |A||B|cos(\Theta) ' class='latex' /></p>
<p>This is a scalar product that is equal to the two magnitudes multiplied together and multiplied by the cosine of the angle between them.  If  the two vectors are perpendicular to each other then the angle between them is 90 degrees, which will make the dot product equal zero.  This is an equivalent equation.</p>
<p>RULE 2: <img src='http://s.wordpress.com/latex.php?latex=A%20%5Ccdot%20B%20%5Cequiv%20A_%7Bx%7DB_%7Bx%7D%20%2B%20A_%7By%7DB_%7By%7D%20%2B%20A_%7Bz%7DB_%7Bz%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A \cdot B \equiv A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z} ' title='A \cdot B \equiv A_{x}B_{x} + A_{y}B_{y} + A_{z}B_{z} ' class='latex' /></p>
<p>When you finish your dot product, you should have a number, not a directional vector.  So if you get something like this you did something wrong: <img src='http://s.wordpress.com/latex.php?latex=3%20u_%7Bx%7D%20%2B%202%20u_%7By%7D%20-%205%20u_%7Bz%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='3 u_{x} + 2 u_{y} - 5 u_{z} ' title='3 u_{x} + 2 u_{y} - 5 u_{z} ' class='latex' />.  If you ended up with <img src='http://s.wordpress.com/latex.php?latex=A%20%5Ccdot%20B%20%3D%2035%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A \cdot B = 35 ' title='A \cdot B = 35 ' class='latex' /> (any #) then you don&#8217;t have to completely rule out your answer.</p>
<h3>Practice vectors</h3>
<p>A few vectors to practice with:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=A%20%3D%202%20u_%7Bx%7D%20-%203%20u_%7By%7D%20%2B%205%20u_%7Bz%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A = 2 u_{x} - 3 u_{y} + 5 u_{z} ' title='A = 2 u_{x} - 3 u_{y} + 5 u_{z} ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=B%20%3D%20u_%7Bx%7D%20-%202%20u_%7By%7D%20%2B%202%20u_%7Bz%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B = u_{x} - 2 u_{y} + 2 u_{z} ' title='B = u_{x} - 2 u_{y} + 2 u_{z} ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%7CA%7C%20%3D%20%5Csqrt%7B%282%29%5E%7B2%7D%20%2B%20%28-3%29%5E%7B2%7D%20%2B%20%285%29%5E%7B2%7D%7D%20%3D%20%5Csqrt%7B38%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|A| = \sqrt{(2)^{2} + (-3)^{2} + (5)^{2}} = \sqrt{38} ' title='|A| = \sqrt{(2)^{2} + (-3)^{2} + (5)^{2}} = \sqrt{38} ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%7CB%7C%20%3D%20%5Csqrt%7B%281%29%5E%7B2%7D%20%2B%20%28-2%29%5E%7B2%7D%20%2B%20%282%29%5E%7B2%7D%7D%20%3D%203%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|B| = \sqrt{(1)^{2} + (-2)^{2} + (2)^{2}} = 3 ' title='|B| = \sqrt{(1)^{2} + (-2)^{2} + (2)^{2}} = 3 ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=A%20%5Ccdot%20B%20%3D%20%282%29%281%29%20%2B%20%28-3%29%28-2%29%20%2B%20%285%29%282%29%20%3D%2018%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A \cdot B = (2)(1) + (-3)(-2) + (5)(2) = 18 ' title='A \cdot B = (2)(1) + (-3)(-2) + (5)(2) = 18 ' class='latex' /></p>
<p>Okay, now we have found our dot product by applying RULE 2 above.  We can use this value along with our individual vector magnitudes to apply RULE 1 and obtain the angle <img src='http://s.wordpress.com/latex.php?latex=%5CTheta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\Theta ' title='\Theta ' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5CTheta%20%3D%20%5Carccos%28%5Cfrac%7BA%20%5Ccdot%20B%7D%7B%7CA%7C%7CB%7C%7D%29%20%3D%2018.26%20%5Ccdot%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\Theta = \arccos(\frac{A \cdot B}{|A||B|}) = 18.26 \cdot ' title='\Theta = \arccos(\frac{A \cdot B}{|A||B|}) = 18.26 \cdot ' class='latex' /></p>
<p>We can calculate the projection of the vector A onto the vector B by this relationship:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=proj_%7BB%7D%20A%20%3D%20%5Cfrac%7BA%20%5Ccdot%20B%7D%7B%7CB%7C%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='proj_{B} A = \frac{A \cdot B}{|B|} ' title='proj_{B} A = \frac{A \cdot B}{|B|} ' class='latex' /></p>
<p>Note that this is a scalar quantity, and that we can also define the projection of B onto vector A in a similar fashion:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=proj_%7BA%7D%20B%20%3D%20%5Cfrac%7BA%20%5Ccdot%20B%7D%7B%7CA%7C%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='proj_{A} B = \frac{A \cdot B}{|A|} ' title='proj_{A} B = \frac{A \cdot B}{|A|} ' class='latex' /></p>
<h3>Performing a vector dot product in MATLAB</h3>
<p>Perform a dot product in MATLAB like so:</p>
<p>&gt;&gt;A = [ 1 2 3];</p>
<p>&gt;&gt;B = [2 3 4];</p>
<p>&gt;&gt;dot(A,B)</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/calculus/vector-dot-product.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

