<?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>Mathematical Science &#38; Technologies</title>
	<atom:link href="http://mathscitech.org/articles/feed" rel="self" type="application/rss+xml" />
	<link>http://mathscitech.org/articles</link>
	<description>... journeys, in a nutshell ...</description>
	<lastBuildDate>Tue, 07 Sep 2010 07:34:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>A Disaster Management Approach to Online Data Storage</title>
		<link>http://mathscitech.org/articles/disaster-management-dat</link>
		<comments>http://mathscitech.org/articles/disaster-management-dat#comments</comments>
		<pubDate>Tue, 07 Sep 2010 06:46:58 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[Technology-Infrastructure]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1381</guid>
		<description><![CDATA[<p></p>
<p>(Technology Infrastructure Series)</p>
<p>In case you&#8217;re taking seriously guarantees about uptime, reliability, or backups advertised by website hosting companies, you should know that most guarantees of service are an idealized concept, especially if you use a low-cost web hosting service.  Now, this doesn&#8217;t mean you should avoid low-cost web hosts.  What you should do [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WordPress Article:<br />
A Disaster Mitigation Approach to Online Data Stores<br />
Assad Ebrahim<br />
6:26 PM 9/3/2010<br />
Posted 9/6/2010<br />
--></p>
<p><strong><em>(Technology Infrastructure Series)</em></strong></p>
<p>In case you&#8217;re taking seriously <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qdXN0aG9zdC5jb20vZ3VhcmFudGVlcw==">guarantees</a> about uptime, reliability, or backups advertised by website hosting companies, you should know that most guarantees of service are an idealized concept, especially if you use a low-cost web hosting service.  Now, this doesn&#8217;t mean you should avoid low-cost web hosts.  What you <em>should</em> do is give a little thought to the &#8220;what if&#8217;s&#8221; that may arise, and what you can do before they arise to minimize the pain when they do.</p>
<p>In this article, I&#8217;ll go through a few situations you might want to consider, and some options you can use to reduce your risk.</p>
<p>
<span id="more-1381"></span></p>
<p>
<hr />
<p>In case you&#8217;re taking seriously <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qdXN0aG9zdC5jb20vZ3VhcmFudGVlcw==">guarantees</a> about uptime, reliability, or backups advertised by website hosting companies, you should know that most guarantees of service are an idealized concept, especially if you use a low-cost web hosting service.  Now, this doesn&#8217;t mean you should avoid low-cost web hosts.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEzODEtMQ==" id='fnref-1381-1'>1</a></sup>  What you <em>should</em> do is give a little thought to the &#8220;what-if&#8217;s&#8221; that may arise, and what you can do before they arise to minimize the pain when they do.</p>
<h4>Prepare for Data Vaporization</h4>
<p>The first thing is to accept that, even with top-dollar sites, &#8220;Life happens&#8221;.  No amount of post-disaster frustration will bring back your data if it has vaporized, and the compensation &#8212; typically the waiver of a month&#8217;s hosting fees <em>at most</em> &#8212; is usually meaningless when compared to the time it has taken to configure your site and enter your data.  So, no how much you pay, nor how good the &#8220;guarantee&#8221; seems, you should always take care to maintain your own set of backups of crucial content, databases, and software configurations.</p>
<p>Some sites make backups easy by providing administration dashboards such as <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jcGFuZWwuY29tLw==">cPanel</a>.  If they do, you should take advantage of the user-friendly interface, and schedule periodic backups.</p>
<p>But even if you use these services, you should also go in through an FTP client and physically create a local tarball (assuming your webserver is a Linux machine) of your entire home directory and download this onto your own computer &#8212; Windows or Linux, either is fine.  This is the only way to ensure that you have <em>everything</em>, including server logs, configuration settings, etc., stored elsewhere.</p>
<h4>Handling Backups</h4>
<p>Date your backups.  Keep at least the last two.  And retain at least one snapshot from every 6-12 month period, going back indefinitely.  That way, if you don&#8217;t notice something has gone missing for some time, you&#8217;ll still have a reference to go back to.  If this sounds prohibitive, remember: storage space is cheap.  You can now buy <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hbWF6b24uY28udWsvU2VhZ2F0ZS1FeHBhbnNpb25zLUV4dGVybmFsLURlc2t0b3AtRHJpdmUvZHAvQjAwMjM4S1pQTS9yZWY9c3JfMV81P2llPVVURjgmIzAzODtzPWNvbXB1dGVycyYjMDM4O3FpZD0xMjgzODMyOTczJiMwMzg7c3I9OC01">a terabyte drive in an external enclosure</a> for under US$75 (55 GBP).</p>
<h4>Plan for Mid-Stream Disruption</h4>
<p>Once your site is up and running, every connectivity hassle with your hosting company will be magnified a thousand-fold as you imagine frustrated users unable to connect and giving up on your site.  To give yourself the greatest flexibility in finding a speedy resolution, I&#8217;d recommend studiously avoiding the &#8220;bundled&#8221; domain + hosting offers that are so common and heavily advertised.</p>
<p>Buy your domain name registrations <em>separately</em> from your hosting service contract, being sure to keep the two <em>companies</em> separate as well.  <strong>The key is flexibility as an operating principle.</strong><sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEzODEtMg==" id='fnref-1381-2'>2</a></sup>  In the event of repeated problems with your hosting company, it is often simpler and cheaper (and less damaging to your users) to simply take your site-hosting business elsewhere.</p>
<p>If you&#8217;ve registered your domain name with a different company than your webhost, you can simply open an independent hosting account with a third company offering similar features and a similar software stack.  While the original site is still configured, migrate your content and those critical configurations from one site to the other, testing as you go.  Once the new site is ready, simply redirect your domain name traffic from the host with the problems to the site with the newly selected host, and you&#8217;re ready to roll again.</p>
<p>Since domain name redirection happens with the company you registered the domain with, you can see why it is important to keep this an independent third company.  That way there is no conflict of interest, and minimum likelihood of additional complications.  Once your web traffic situation is taken care of, you are free to continue to pursue a resolution with the previous company, or just cut your losses (chalk it up to &#8220;cost of doing business&#8221;).</p>
<h4>The Concept of a &#8220;Warm Site&#8221;</h4>
<p>If you&#8217;re truly in the mindset of disaster prevention, or if your website represents a critical operating asset that you simply cannot afford to have go down, then consider taking these precautions one step further.  </p>
<p>To combine low monthly costs with seamless service for your users, consider opening that second hosting account <em>before the problem happens</em> and keeping it configured and current, ready for disruption.  In this way, you&#8217;ll have a reasonably low cost duplicate server that serves as a &#8220;warm site&#8221; &#8212; ready to go at any time.  In the event of disruption, simply redirect your domain name to the warm site, and your users will be slid over to the prepared backup while you resolve the issues with the primary site.  You should know, however, that it takes a while for domain redirections to propagate through the system.  For a level of redundancy that provides &#8220;flick of a switch&#8221; transitions, you&#8217;ll need true mirrored servers, i.e. an <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy51azIubmV0L3dlYi1ob3N0aW5nLw==">enterprise level hosting service</a>.</p>
<h4>An Ounce of Prevention&#8230;</h4>
<p>If you&#8217;ve ever had the unenviable task of migrating hosting services under pressure, you&#8217;ll know that in the data business, a pound of cure would be a bargain &#8212; real life remedies can get much more costly.  So, start those backups, consider those what if&#8217;s, and start taking steps toward regular, sustainable disaster management of your data.</p>
<p>
<hr />
<h4>Footnotes</h4>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1381-1'>I&#8217;ve used <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qdXN0aG9zdC5jb20v">JustHost</a> satisfactorily for my own web-hosting, and apart from a hands-on but fairly typical initial teething period during the first month, there have been no problems since. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEzODEtMQ==">&#8617;</a></span></li>
<li id='fn-1381-2'>For example, I use <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5nb2RhZGR5LmNvbS8=">GoDaddy</a> for domain name registration, and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qdXN0aG9zdC5jb20v">JustHost</a> for web hosting service (with a few purchased add-ons that make things better: a dedicated IP address and &#8220;green&#8221; hosting).  Both companies offer domain+hosting bundles to save a few bucks per year. Should you take the bundled offer?  I would advise not.  Not because you expect either company to fail to perform, but because there is no advantage to being locked down in the event that problems afflict either company.  For a few extra dollars, registering your domain name and buying your web-hosting service from two different providers can save you hassles when things go wrong. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEzODEtMg==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1381" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/disaster-management-dat/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Analysis of Visitor Statistics: Data Mining in-the-Small</title>
		<link>http://mathscitech.org/articles/datamining1</link>
		<comments>http://mathscitech.org/articles/datamining1#comments</comments>
		<pubDate>Fri, 03 Sep 2010 06:23:53 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Statistics-Data-Analysis]]></category>
		<category><![CDATA[Technology-Infrastructure]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1338</guid>
		<description><![CDATA[<p></p>
<p>Statistics and Data Mining Series, Part 1 of 3</p>
<p>For a variety of reasons, meaningful website visitation and behavior statistics are an elusive data set to generate.  In this series of articles, I&#8217;ll describe an approach using free, open source tools and basic statistical and data mining techniques to dig into your site&#8217;s traffic patterns, [...]]]></description>
			<content:encoded><![CDATA[<p><!--wordpress article<br />
The Analysis of Visitor Statistics:  Data Mining in-the-Small<br />
 AKE<br />
August 27, 2010<br />
Posted: Sept 2, 2010<br />
 --></p>
<p><b>Statistics and Data Mining Series, Part 1 of 3</b></p>
<p>For a variety of reasons, meaningful website visitation and behavior statistics are an elusive data set to generate.  In this series of articles, I&#8217;ll describe an approach using free, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF0aC10b29sc2V0LWludHJv">open source tools</a> and basic statistical and data mining techniques to dig into your site&#8217;s traffic patterns, find and then filter out spurious traffic data, and gain insight into visitor profiles and characteristics.</p>
<p>Along the way, we&#8217;ll encounter the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZGF0YW1pbmluZzEjZ29vZG5ld3MtcGFyYWRveA==">&#8220;Good News Cheap, Bad News Expensive&#8221; Paradox</a> of Data Mining &#8212; or, why raw information is often used &#8220;as-is&#8221;.</p>
<p>
<span id="more-1338"></span></p>
<p>
<hr />
<p><h3>What are Visitor Statistics?</h3>
<p>Every site with online articles deals with a fundamental question: who&#8217;s the audience?  And the more fine-grained the answer, the better.  For example, one might like to know what kinds of readers are reading (academic?, individuals?, commercial?, military?, government?), from where they are reading (by country?, city?, browser?, from a desktop or mobile platform?), whether they are new visitors to the site or returning visitors, how often they visit, how many pages were read on each visit and which ones.  And if a reasonable gauge of interest or engagement level could be had, that would be swell!</p>
<p>Why is it so difficult to get meaningful results?  The answer lies in where website visitation information (the raw data) comes from and how it is generated.  </p>
<h4>Where the Information comes from: Server-Side vs. Client-Side Statistics</h4>
<p>There are two fundamentally different ways in which one obtains web traffic statistics: at the server side, generated by the webserver itself, or at the client side, generated by client-side code that executes within the user&#8217;s browser whenever a page is loaded that has this tracking code in it.  Each method has its own pros and cons, and its own biases.  </p>
<p>Client-side statistics require information to be sent to a traffic-recording server directly from the user&#8217;s browser, typically bypassing your own webserver.  To do this, client-side statistics require that you add special code to each page of content that you want analyzed.  When the page is loaded by a user, the embedded code on the page executes and makes a connection with a traffic-recording server, which updates its tally.  (If the client-side code is prevented from running (for example, if JavaScript &#8212; a typical implementation language &#8212; is blocked, you get nothing.)</p>
<p>For client-side statistics, fast traffic-recording servers with high uptime are crucial in order to minimize the overhead that the user experiences due to the additional roundtrip time caused by the execution of the client-side code.  For this reason, client-side statistics were typically a paid-for service.  You paid for two things: the uptime and fast response time of the traffic-recording server, and for the analytical methods &#8212; sometimes transparent, sometimes proprietary &#8212; that were used to generate the statistics that were then made available to you as reports.  But the client-side statistics game is changing, thanks to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5nb29nbGUuY29tL2FuYWx5dGljcy8=">Google Analytics</a>, a free client-side statistics package.  <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9Hb29nbGVfQW5hbHl0aWNzI1RlY2hub2xvZ3k=">Wikipedia review here</a>.</p>
<p>By contrast, Server-side statistics are typically generated from information that resides in the logs that your own webserver and its various modules maintain by default.  Thus server side statistics do not affect the user&#8217;s browing experience.  </p>
<p>From the processing standpoint, server-side statistics are typically free, courtesy of some excellent open source web analysis packages.  But perhaps more significantly, with server-side statistics you have complete control over how the entire history of your web-site&#8217;s traffic data is analyzed.  The advantage is that you know exactly what processing methods you&#8217;re using to obtain your visitation numbers, and thus what kinds of biases are involved.  You can analyze, re-analyze, and set up heuristic filters of your own, re-processing the entire history at will.  This means that you can evolve custom heuristic filters suited to the nature of your site&#8217;s particular traffic patterns.  As these algorithms evolve, the entire history can be re-processed using the same algorithm, thus keeping your time-series data ready for direct comparisons.</p>
<p>Fortunately, these two methods are not mutually exclusive.  And as with any estimation problem with elusive quantities, you should ideally use more than one estimator, exploiting the particular characteristics of each to improve the joint estimate.  </p>
<p>With this as background, let&#8217;s look at the headlined question:</p>
<h3>Why is it Difficult to Obtaining Meaningful WebSite Visit Statistics?</h3>
<p>For most content generating sites, &#8220;meaningful&#8221; means interested humans reading the material.  Robots and Web Crawlers don&#8217;t count.  Casual glances (i.e. the &#8220;gone in 60 seconds&#8221; visitors) don&#8217;t count.  The driving desire is to understand one&#8217;s audience through its online behavior, as opposed to using survey techniques.</p>
<p>With the advance in web based technologies and platforms, one might think that it would be reasonably straight-forward to get meaningful traffic-based statistics.  But if you&#8217;re looking for counts and histograms that are ready to be interpreted as &#8220;interested human visitors&#8221;, you are likely to come away less than satisfied.</p>
<p>Below are seven reasons why the interpretation that one would like, is difficult to get:</p>
<ol>
<li> Ubiquitous Autobot Traffic (Autonomous Web Crawlers).
<li> Congestion-Reducing Proxy Cache services.
<li> Dynamically Allocated IP  Addresses.
<li> The Absence of Unique Identifiers
<li> Content Distributing Feeds and Feed Readers
<li> Your Own Organization&#8217;s Intefering Traffic
<li> Self-Reinforcing Visitation Patterns and Time-Varying Change in Variance
</ol>
<p>Let&#8217;s look at each of the seven reasons in turn.  This discussion will set the stage for the reasoning behind the heuristic filters we&#8217;ve implemented.</p>
<p><b>(1) Ubiquitous Autobot Traffic.</b></p>
<p>For the past several years, there has been an ever increasing volume of autonomous network traffic that does not represent human eyeballs.  This traffic consists of autobots, indexers, search engine spiders, content scrapers, link fishers, automatic comment spammers, and automated hacking bots, among others, all of whom generate &#8220;hits&#8221; and often  even page loads that inflate your server-side traffic statistics.  </p>
<p>Now, some autobots identify themselves as such, making it relatively easy to filter for them.  But the increasing global availability of cheap server space through server farms or low cost cloud computing platforms (such as Amazon&#8217;s) has made the identification problem more difficult.  Autonomous activity originating from these clusters are now able to draw from a much larger pool of IP addresses and to operate from better and faster platforms.  Typically, these autobots are not the helpful type, consisting largely of hacking bots, automatic comment spammers, content scrapers, link fishers, and the like.</p>
<p>The type of autobots that visit your site and the regularity (or lack of it) with which they visit, affect the kind of biases you can expect in your statistics.  For example, search related autobots typically return repeatedly to your site, and do so from a small and relatively stable pool of IP addresses.  Thus, the visits due to such autobots adds unfounded strength to the apparent proportion of returning (human) visitors than is in fact the case.  As another example, indexers typically return within seconds or minutes of a change being made to a page that they are tracking.  So, if you tend to make lots of edits &#8220;live&#8221; on your site, you will generate spikes of autobot traffic correlated with your edits, spikes that may be misinterpreted as interested readers.</p>
<p>Thus, though not all autobots are bad &#8212; indexers and search engines are important for your site to be discovered by those who would find it useful.  But if your goal is understanding your site&#8217;s <em>human</em> readership, then autobots of all types are an undesirable source of noise in your data set, and need to be filtered out.</p>
<p><b>(2) Congestion reducing Proxy Cache services.</b></p>
<p>Proxy Caches are servers that cache frequently requested pages on a network so that they can re-serve them without having to send a request for content onward to your webserver and wait for the return.  Proxy Caches are often part of wide area network congestion management solutions, and can be quite efficient in reducing traffic.  But in order to maintain their relevance, they reach out to your website periodically (many quite frequently), and perform a quick check to see if their cached pages have changed.  </p>
<p>The challenge for server-side statistics is that there is no server side indication of how many eyeballs accessed your content pages from the proxy cache server instead of from your webserver.  This is one of the areas where client-side statistics do better than server-side, since the tally is generated by tracking code executing with the user&#8217;s browser whenever any of your content is loaded, regardless of whether that content is served from your server or from a proxy server.</p>
<p><b>(3) Dynamically Assigned IP Addresses.</b></p>
<p>Raw visitor statistics are primarily based on IP Address.  But a large proportion of IP addresses are issued dynamically by an ISP or an institutional ASN.  So, if you merely look at returning IP Addresses to measure returning visits, your perception of returning visitors will be biased low.  </p>
<p>For example, a typical ISP may respond to every IP address request with one of a number of IP addresses available in its allocation space.  This may mean a new IP address allocation every time a user connects to the Internet, or after a reboot, or once a particular IP allocation has expired.  </p>
<p>At the extreme end of dynamic IP address allocation are ISPs such as AOL that re-issue a new IP address for every page that a visitor views.</p>
<p>Dynamic allocation makes it difficult to equate IP Addresses with visitors, an assignment that requires additional criteria.</p>
<p><b>(4) The Absence of Unique Visitor Identifiers</b></p>
<p>Browser privacy being what it is, you typically cannot (nor in good conscience should you) search for an actual identity.  However, what you can do is put together a virtual &#8220;pseudo-identity&#8221; that is likely to be associated with either an individual or a small number of closely associated individuals (e.g. those sharing a computer or access point).  This is sufficient to obtain estimates on whether the visitor is new or returning, and on their engagement level with the material?</p>
<p><b>(5) Feeds and Feed Readers</b></p>
<p>Feed issuers and feed readers mean that users can (depending on how you set these up) read text versions of your content without actually visiting your site.  This is a problem for both server-side as well as client-side statistics, and even for feed stat-keepers such as Google&#8217;s Feedburner.</p>
<p><b>(6) Your Own Organization&#8217;s Intefering Traffic</b></p>
<p>As a site owner, <em>your activity</em> on your site is an additional, possibly non-trivial source of &#8220;noise&#8221; on your visitor statistics.  Depending on how often you review your site, add content, test it, and maintain it &#8212; especially in the early stages of a site launch &#8212; all of these add to the total number of hits and pages counters.  Unless you filter out your own activity, you will be biasing your results high.</p>
<p>Similarly, if your organization spends time on various parts of your site, then these visits should also be filtered out &#8212; unless page reads by your team count as &#8216;reads&#8217; that you want to track.</p>
<p><b>(7) Self-Reinforcing Visitation Patterns and Time-Varying Change in Variance</b></p>
<p>As your web-traffic grows, traffic monitors and other bots are attracted, which makes volumetric comparisons tricky.  The variance of the time-series is affected both by your and your organization&#8217;s beahviors, but also by the behaviors of other users.</p>
<h3>The Need for Filtering</h3>
<p>The reasons discussed above mean that using raw visitor statistics, without careful cleanup, for estimates of visitor traffic is fraught with inaccuracy.  Both the direction of the biases as well as the variance in the estimates may be changing.  Trying to untangle the data takes some effort.</p>
<p><a name="goodnews-paradox"></a>This leads to the next problem &#8212; a psychological one common in many applications of analytics to business.</p>
<h4>&#8220;Good News Cheap, Bad News Expensive&#8221; &#8212; or Why Raw Information is often used &#8220;As Is&#8221; in Business Decision-Making</h4>
<p>As we&#8217;ve seen, website statistics are a perfect example of a moving, noisy target.  Somehow related to the wealth of raw traffic data, it is clear that there are reasonably good answers.  But what these relationships are and how to get at them is not obvious and takes work.  </p>
<p>I&#8217;ll call this one the &#8220;Good News Cheap, Bad News Expensive&#8221; Paradox.  The name highlights the problem.  Everyone wants good news.  But, if the raw data already deliver so-called &#8220;good news&#8221;, in this case through high visition numbers, or a large proportion of returning visitors, then this &#8220;good news&#8221; is in itself a counter-motivation to investing further time and energy in developing better heuristic filters.  This is even more so if it is clear that the advanced techniques are likely to deliver <em>worse</em> news, for example, that your real visitors (the human ones who are likely to be actually <em>reading</em> your articles) are fewer than the raw numbers suggest.</p>
<p>The difference between the two numbers can be quite dramatic.  For example, in a small, relatively new site, the difference between raw or lightly filtered visitor stats and thoroughly filtered stats in which a substantial amount of spurious traffic is removed, can be as much 30% of the total traffic.  <em>That</em> kind of reduction in &#8220;good news&#8221; requires substantial additional insights to soften the blow.</p>
<p>Enter data mining techniques.</p>
<h4>Escaping the Paradox &#8212; the Value of Data Mining</h4>
<p>Like many paradoxes, the resolution to the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZGF0YW1pbmluZzEjZ29vZG5ld3MtcGFyYWRveA==">&#8220;Good News Cheap, Bad News Expensive&#8221; Paradox</a> is a change in point of view.  Through the use of data mining techniques, one obtains a more detailed, multi-dimensional characterization of visitor profiles and behavior, something that is impossible when looking only at the raw or lightly filtered statistics.  It is this additional information that offers the additional value required to escape the &#8220;Good News Cheap, Bad News Expensive&#8221; Paradox.</p>
<p>For those willing to put in the effort in pursuit of that elusive better understanding, heuristic filtering and data mining techniques are an approach well worth considering.</p>
<hr />
<p>In the next article in this series, I&#8217;ll turn to the practical matters behind getting your hands on the right data, developing useful heuristic filters, and implementing these to supplement the results of existing open source tools.  We&#8217;ll use our own visitor statistics to illustrate the examples.  Stay tuned!</p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1338" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/datamining1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mathematical Finance and The Rise of the Modern Financial Marketplace</title>
		<link>http://mathscitech.org/articles/mathfin1</link>
		<comments>http://mathscitech.org/articles/mathfin1#comments</comments>
		<pubDate>Mon, 05 Jul 2010 18:12:24 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematical-Finance]]></category>
		<category><![CDATA[Economics]]></category>
		<category><![CDATA[History of Science]]></category>
		<category><![CDATA[Society]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1304</guid>
		<description><![CDATA[<p></p>
<p>Abstract</p>
<p>One of the fascinating areas to arise recently in applied mathematics has been Mathematical Finance.  From a technical point of view, Mathematical Finance uses a broad range of sophisticated mathematics for its financial models, and relies on state-of-the-art software engineering and computer hardware to implement these financial models, often in real-time.</p>
<p>Whether one is interested [...]]]></description>
			<content:encoded><![CDATA[<p><!--wordpress article<br />
Mathematical Finance and The Rise of the Modern Financial Marketplace<br />
 AKE<br />
 July 5, 2010<br />
 --></p>
<p><b>Abstract</b></p>
<p>One of the fascinating areas to arise recently in applied mathematics has been Mathematical Finance.  From a technical point of view, Mathematical Finance uses a broad range of sophisticated mathematics for its financial models, and relies on state-of-the-art software engineering and computer hardware to implement these financial models, often in real-time.</p>
<p>Whether one is interested in technology or not, there is a kernel of core financial ideas at the heart of the global free market capitalist system that every literate citizen should understand.  Whether we agree with their principles or with the inequities that are, arguably, the result, these ideas are in place across most of the world today.  A closer look at mathematical finance will offer a better understanding of the mechanics of the modern financial world.</p>
<p>In this article, I&#8217;ll motivate the need for financial mathematics through a simplified account of the rise of the modern financial marketplace.</p>
<p>
<span id="more-1304"></span></p>
<p>
<hr />
<p><h3>What is Mathematical Finance?</h3>
<p>
<strong>Introduction</strong><br />
One of the fascinating areas to arise recently in applied mathematics has been Mathematical Finance.  This is a field whose development has occurred largely within the past forty years, with explosive growth taking place over the past twenty years.</p>
<p>
From a technical point of view, Mathematical Finance uses a broad range of sophisticated mathematics for its financial models: from the partial differential equations of mathematical physics, to stochastic calculus, probabilistic modeling, mathematical optimization, statistics, and numerical methods.  </p>
<p>
But mathematics is just one of a two-headed technology requirement.  The practical implementation of trading strategies based upon these mathematical models requires designing efficient algorithms as well as exploiting the state-of-the-art in software engineering (real-time and embedded development, low latency network programming) and in computing hardware (FPGAs, GPUs, and parallel and distributed processing).</p>
<p>
Together the technical aspects of mathematical finance and financial engineering <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">lie at the intersection of business, economics, mathematics, computer science, physics, and electrical engineering</a>.</p>
<p>
Whether one is interested in technology or not, there is a kernel of core financial ideas that every literate citizen should understand.  These ideas are at the heart of the global free market capitalist system that, for better or worse, is in place across most of the world today.  Whether we agree with its principles, its structures, or the inequities that are arguably exacerbated as a result, a closer look at mathematical finance offers a better understanding of the mechanics of the modern financial world.  For the technologically inclined, there are ample opportunities to contribute.</p>
<p><b>What is Mathematical Finance?</b><br />
Mathematical Finance, also called Quantitative Finance, is that branch of applied mathematics that is applicable to the needs of financial markets.  Mathematical Finance develops and extends the models of financial behavior that are suggested by financial economics.  Since the future is inherently unknown, mathematical finance is a data-intensive, stochastic subject and relies on simulations for many of its modelling formulations, for computing expected values of investment portfolios, and for evaluating and enhancing its trading strategies.  Those who work in this field are called &#8220;quants&#8221;, an abbreviation for quantitative analyst, or financial analyst.</p>
<p>
Financial Engineering, also called Computational Finance, is focused on the practical implementation of the models of mathematical finance and the simulations necessary to evaluate trading strategies.  The mission is the engineering design and development of platforms and systems, often real-time, that are able to take in financial data and rapidly perform the large scale numerical simulations (monte-carlo, simulated annealing, etc.), for computing the likelihood of various outcomes and exploring refinements toward a preferably risk-minimizing strategy.</p>
<p>
How did financial mathematics arise and why is it needed?  In what follows, I&#8217;ll motivate the need for financial mathematics through a simplified account of the rise of the modern financial marketplace.</p>
<p><h3>A Simplified Account of the Rise of the Modern Financial Marketplace</h3>
<p>For all its present complexity, the evolution to the modern financial marketplace appears quite natural when viewed as the response to three basic questions that have been asked, over time, by increasingly more powerful actors, and involving increasing larger sums of capital.  The three basic questions are:</p>
<ol type="1">
<li> I have excess capital (cash) &#8211; where can I put it safely?
<li> I need capital &#8211; where can I  get it reliably?
<li> I want to improve upon my present capital position and reduce the exposure of my capital to risk &#8211; how can I do this?
</ol>
<p>
Let&#8217;s take a look, moving from early history to more modern times.  To keep the narrative light, I&#8217;m going to assume for the first part that you&#8217;re the one with excess capital.  In the second part, I&#8217;ll take up the perspective from the point of view of a banking house in the pre-modern era of emerging statehood, national interests, expanded commerce and larger standing armies.  </p>
<p>
Along the way, observe how the increasing complexity of possible financial transactions leads to increasingly complicated questions of valuation, risk, terms, discounts, offers, and profit margins.  These are the calculations that, carried forward to modern times and the modern financial landscape, form the subject of mathematical finance.  </p>
<p><h4>From Excess Capital and Mattresses to Money-lending and Banking Houses</h4>
<p><b>Stage 1: Keeping Excess Capital in your Mattress or in a Hole</b></p>
<p>
You have excess capital.  Where do you put it?  You could keep it in your mattress.  There, it will earn no interest.  And there is the attendant risk of theft, fire, rats, moisture and other ways in which your capital can be diminished.</p>
<p>
Why?  Because you are a little guy.  Living in a little home.  Vulnerable to being bullied, robbed, and ransacked.  If it were known that you had a lot of cash in your mattress, you can be fairly sure of the outcome.  You would undoubtedly have the pleasure of marauders whose perception of the risk of harm from you or chance of being caught by the authorities is less than their expectation of the profitability of breaking down your bedchamber door and un-stuffing your mattress.</p>
<p>
Burying your capital in a hole in the ground is only slightly better.  In effect, a hole in the ground is a fee-free deposit vault, but unfortunately the combination is simply the location.  If at best, no one sees you make your deposit and you tell no one, your funds are safe assuming no accidental discovery &#8211; wind, earthquake, a dog, or someone digging another hole in the same place.   At worst, your deposit is seen or you are followed, and your capital is dug up soon after you disappear around the corner.  </p>
<p>
Even assuming that you are able to dig, bury, and cover your deposit in absolute secrecy, there is another downside: once deposited you no longer have ready access to your funds.  Every access to your funds requires unearthing and reburial, and any failure of secrecy in the process can mean the disappearance of the remaining funds.</p>
<p>
So, where do you keep your money safe against unexpected impoverishment but also get reasonably reliable, safe access to your funds?</p>
<p><b>Stage 2: Armed Security: A &#8220;Safe Mattress&#8221; For a Fee</b></p>
<p>
In such circumstances, you might decide to arm yourself so that you can personally protect your small fortune.  But this puts at risk the one thing that is required in order to enjoy your wealth &#8211; your life.</p>
<p>
So, it is reasonable to consider placing your money into the care of an agent whose business is the safe keeping and defense of many people&#8217;s money, not just yours.  They would have to be well armed and well protected in order to provide a vigorous defense of the physical security of your money.  You would, of course, have to trust the agent, and they would have to be worthy of that trust, otherwise you have just watched your money run away under an armed guard of your own choosing.  And ideally, you would like to be able to withdraw all or part of your money readily at any time.  </p>
<p>
Now, armed deposit takers who would offer these services of safekeeping and ready access to deposited money, would do so for a fee since the services involve no small risk of attack, and require arms and guards to address this risk.  But since this is a more appealing choice than either a hole in the ground (access problems) or your mattress (security problems), there would be those more than happy to pay a fee for the service.</p>
<p>
In this way, those with substantial excess wealth either become their own fortified depositories, or pay a fee for that service, leading to the development of professional money-holders.</p>
<p><b>Stage 3: From Money-holders to Moneylenders to Banks</b></p>
<p>
Switching perspectives to the point of view of our armed agent: over time, he has become a well known and trusted money-holder who, for a fee, holds sums from an increasing number of members of the community, amassing an increasing volume of physical wealth.  What does the money-holder do with all the money that is deposited with him?<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3R0aEZ0TnRBQUI=" name=\"tthFrefAAB\"><sup>1</sup></a></p>
<p>
In all likelihood, those on sudden hard times needing a short infusion of capital, would have already come to the money-holder to inquire about the possibility of obtaining a loan.  Under the pressure of their own circumstances, they are likely to be willing to pledge an additional fee (interest) in addition to repaying the principal, for the benefit of being able to borrow.</p>
<p>
But before making loans with deposited capital, the money-holder would have to consider carefully: firstly, the risk of a default by the borrower.  In the event of a default, the money-holder would himself have to make whole the entire amount to repay the original depositor&#8217;s deposit, himself bearing the loss from default.  </p>
<p>
What does the money-holder do?  If he is ambitious and risk-taking, he charges interest for loans and begins to function as a (non-insured) bank.  On the one hand, he accepts deposits for a deposit fee and pledges to hold your money safely for you until such time as you want it back.  But behind closed doors, he loans out your money to borrowers, and charges them a lending fee (interest).  (We&#8217;ll discuss interest in more detail later.)</p>
<p>
As this goes on, the money-holder/moneylender must consider a second risk and must decide how much of the deposited capital should be held in reserve and how much should be allowed to be let out the back door as loans to others.  The risk from lending too much is the situation of not having enough liquidity to return a deposited amount when a depositor attempts a withdrawal.  This situation becomes extreme when war, rumors, fear, unrest, or other unstable circumstances cause a large number of depositors to rush to withdraw their money in a short space of time.  </p>
<p>
However, apart from the risk of having insufficient liquidity to cover withdrawals, all other self-interested considerations strongly support the money-holder lending a portion of deposited capital.  By doing so, he increases his profits.  Not only is he taking fees from depositors, but he is collecting regular interest on loaning out the deposited capital, which otherwise would sit idle.  The additional profits from interest can be structured so as to cover expected losses from defaulting borrowers, or those from whom collection attempts fail.  Finally, in the event of attack, his loss exposure is reduced since the deposited assets are dispersed among borrowers.</p>
<p>
From excess capital to money-holders, and from money-holders to moneylenders, we see individuals that formerly acted as holders of money or that had reserves of excess capital, begin to make loans and collect interest on these while continuing to charge fees to depositors to hold their money safely and make it available on demand.  Thus, the origin of banking houses.</p>
<p><b>Why Ordinary Citizens Do Not Easily Become Moneylenders</b><br />
If this is indeed a natural pathway, one might expect larger numbers of ordinary citizens with a sufficient amount of excess capital attempting to directly invest by making loans and collecting interest.  </p>
<p>
But doing so profitably requires an increasingly specialized infrastructure.  There is the requirement of maintaining a sufficiently strong armed force to protect your capital and your person You would also need goons to collect the debts and payments from borrowers reluctant to meet their obligations.  You would need a &#8220;counter&#8221;, or store front, to which depositors could come to withdraw or add funds, and to which prospective borrowers can come to request loans.  Finally, you would need an accounting function to keep track of the payouts and receipts, as well as the profitability of the operation.  </p>
<p>
The two functions of rudimentary banking houses, money-holding and money-lending, have become a specialized business of their own, and it is this specialization that limits the number of participants.</p>
<p><h4>How a Strong State Provides Further Impetus to Finance</h4>
<p>The evolution of simpler money-lending and collection, to the more complex systems of contractual, asset backed loans accompanies the maturation of the nation state and its attendant institution: the rule of law, courts for claimants, the honoring of contracts as a state value, and state-backed enforcement.  </p>
<p>
All of these developments contribute to the maintenance of good order in financial transactions.  The resulting financial stability benefits banking houses as well as all those engaged in capitalist activity: borrowers, lenders, merchants, speculators.</p>
<p><b>The Evolution of Lending</b><br />
As time goes on, banking houses that hold money and lend money become an essential part of the fabric of personal and commercial life.  With increasing accumulated reserves of capital among banking houses, and increasing familiarity and patronage by the affluent and ambitious of the city, banking houses now begin to compete with each other to try to attract depositors and borrowers, knowing that they earn fees from both and require both in order to continue their profitable business.</p>
<p>
One area of competition among them is the terms for deposits and loans.  For depositors willing to fix their deposit for a longer period, the banking house may offer a discounted deposit fee as incentive.  This provides long term reliable liquidity &#8211; good news for lending.</p>
<p>
For loans, there may be different fees for different types of loans: unsecured loans (risker) and secured loans (safer).  Whereas defaulting on a loan in earlier times often meant enslavement or indentured servitude, the onset of state enforced debt protection laws limited the recovery of unsecured loans to the pittance that a debtor&#8217;s prison might afford &#8211; effectively these loans were write-offs.  </p>
<p>
Secured loans on the other hand, are backed by the title deed to an asset which is then held by the lending agent in case of the borrower&#8217;s default on the loan.  Borrowers who secure their loan with an asset that they own reduce the lender&#8217;s risk of loss from default, since in such a case the lender gets the asset.  A lending house being asked for a secured loan might therefore charge less interest to such clients.  </p>
<p>
Profiting from secured loans, however, requires that the lender (banking house) be able to accurately assess the value of the asset against the eventuality of having to dispose of it at some point in the future in order to recover the outstanding amount of the loan on which a borrower might default.</p>
<p><b>The Role of the State</b><br />
Notice that evolution of the financial marketplace to one offering diversified loan products requires a vital change, brought about by the increased strength of the state.  Most importantly, the notion of a secured loan requires a stronger notion of private property, of contracts, and an arena for the enforcement of contracts that is more than simply a contest of strength between debt collector and delinquent.  Of course, a stronger state and stronger voices of the people also mean additional limitations.  For example, the abolition of penal consequences for debt default makes unsecured loans increasingly risky from the lender&#8217;s point of view of guaranteed profit.  But rather than stifle the market for these loans, banking houses have responded to these and other constraints by factoring these into their risk and profit calculations.</p>
<p><h3>The Rise of the Modern Financial Marketplace</h3>
<p>With increasing confidence in the enforcement apparatus of the state and the reliability of contractual obligations, the stage is set for money to be borrowed by those offering incentives other than the typical interest or asset backed security.  We then have venture capital, bonds, stocks, securities, and insurance.</p>
<p>
And every diversification in the borrowing and lending business increases the incentive to develop better means of evaluating risks, assessing non-cash value, and forecasting valuations into the future, strengthening the role of financial analysis in the profit engine of the banking house.</p>
<p><b>From Moneylender to Financier (Venture Capital) and Investor (Bonds and Stocks)</b><br />
One opportunity open to those with excess capital is the partial financing of a venture.  A banking house or moneylender provides part of the capital in return for a share of the expected profits.  The venture might be a trading expedition that requires capital to buy goods, a ship, and to pay a crew.  A successful trading voyage promises to return with locally scarce items (spices, tea, woods, furs, metals) that will fetch a premium and allow the trader to repay the investment plus pay out a portion of the profits and still make out handsomely for himself and possibly the crew (if their labor was taken as an investment instead of for wages).  </p>
<p>
A less direct investment is the buying of a bond.  A bond is issued by an individual or organization looking for capital and willing to repay the capital with interest.  The only way to lose on a bond is if the bond-issuer defaults.  In which case you will obtain a portion of the proceeds from a fire-sale of their assets.</p>
<p>
Still less direct is the buying of a stock.  A stock is issued by a company looking for capital and willing to pay out a dividend (share of the profits).  Because a company that is doing well will be increasing likely to pay out dividends, their stock price rises.  However, there is a risk that the opposite can happen, in which case the stock holder may lose all or part of their initial investment.  But the fact that selling stock at the right time can yield substantial profits means that the stock market becomes attractive to those interested in relatively short-term speculation on the fortunes of businesses and industries.  </p>
<p>
In all three situations (venture funding, bonds, stocks), banking houses, through the 1700s and 1800s provided the crucial capital responsible for significant expansion of economic activity through overseas exploration, colonization, business expansion, infrastructure development, indeed, the bankrolling of governments, and the funding of warfare and standing armies.  In return for their capital, they negotiated either some form of ownership in the venture or entitlement to a share of the profits.  The arrangement meant profit for them, and liquidity for merchants, traders, adventurers, speculators, and governments &#8211; a Faustian bargain for some, but a source for dramatic economic benefits for others.</p>
<p><b>From Money-holder to Insurer: The Rise of Insurance</b><br />
With the increasing complexity of the financial landscape and various contracts, loans, transactions, and investments, the desire increases for different kinds of insurance to offer protection against different loss scenarios: life, health, value, assets, business, fire, flood, earthquake, travel, default, a drop in value either through accident, attack, damage, loss, or insolvency.</p>
<p>
The desire for insurance is obvious: one perceives a risk to ones wealth or investment and wishes to protect ones assets against diminishment due to unpredictable losses of various kinds.  Clearly one would expect to have to pay a fee to the insurer for taking the risk of having to make whole the insured value.  And, over time, these fees would diminish your capital.  But, in the event of a catastrophe, you would at least not lose the entire asset.</p>
<p>
From the point of view of the insurer, insurance is another business opportunity for those with excess capital.  For a fee, one could insure the assets of others.  Success in the business of insurance, even more so than the loan business, is directly related to the ability to accurately assess risk, likelihoods of various outcomes, and to charge appropriate premiums to allow the business to be profitable.  The mathematics of profitable insurance pricing is actuarial science. </p>
<p><b>The Sovereign as a Borrower in the Financial Market</b><br />
Perhaps the largest player in the evolution of finance to its modern day situation has been the entry of the sovereign himself.  What institution can offer the greatest security against default?  Historically, it was the sovereign himself, later the state, or government.  But why does the government require liquidity?  Typically it has been the desire for or threat of war, and the rapidly increasing cost of standing armies and modern warfare in general, that has forced the sovereign to seek additional liquidity beyond its natural base of income.  Other reasons have been the construction of heavy infrastructure: roads, bridges, ports, airports, stadiums &#8211; all of which require cash.  Or perhaps its treasuries are low and inadequate to cover the day-to-day needs of the state.  </p>
<p>
The sovereign or state typically has a good credit rating, i.e. is trusted to repay the loan.  They have wealthy citizens, flourishing businesses, farms, etc., from all of which they collect taxes, a significant source of national revenue.  So the sovereign issues a bond: that is, a contract that can be purchased.  The contract is a pledge by the government to repay the face value of the bond at a fixed time in the future (maturity) and with a fixed interest rate.  </p>
<p>
In this manner, the rise of big government, nation states, and the exponentially increasing cost of warfare, of raising and financing standing armies, of building infrastructure, maintaining overseas holdings, all expanded the needs, volumes, and clients of financial activity to an inter-state level, including the government issuing of bonds.</p>
<p>
Just as stocks did, bonds also become something that can be traded.  They become assets with a face-value worth plus additional interest to be paid on them, and a (typically small) risk of default.  By brokering the buying and selling of bonds, the financial markets have made lending an activity that everyone can participate in &#8211; small amounts from many people &#8211; thus the democratization, if you will, of money-holding and money-lending &#8220;to the masses&#8221;.  </p>
<p><b>Expanded Mercantilism as a Catalyst for Financial Activity</b><br />
Coincident with the rise of nations was the dramatic expansion of the middle class and the development of extensive and regular commerce and trade internationally, along with expeditions of exploration, conquest, and colonial exploitation.  These activities also required capital, often on credit, often as investments, venture capital, or stock.  </p>
<p>
The accompanying proliferation of financial activity led to the creation of trading exchanges, brokers, insurers and re-insurers.  Larger streams of cash flow, easier capital, all led to the rise and expansion of commodities markets, stock markets, bond markets, and various specialized exchanges for the trading of contracts, securities, and investment vehicles.</p>
<p>
The various elements of the modern financial landscape were thus born: capitalists (those with excess capital), banks, financiers (banks, wealthy individuals), insurers and re-insurers, brokers, and exchanges becoming fixtures in the financial life of modern cities.</p>
<p>
<p>
<p><b>From Financial Analysis to Mathematical Finance: Investment, Valuation, and Risk Assessment</b><br />
As the transactions and arrangements of capitalists and financiers (banks, wealthy individuals, moneylenders, insurers) became increasingly complex, there arose the need for better ways to compute the optimal strategies for assessing fees, generating profits, minimizing losses, forecasting changes in value, and developing profitable investment strategies.  </p>
<p>Mathematics has always been involved, but in the past thirty years, the application of techniques of advanced mathematics have transformed both the ability to more accurately model financial behavior, and to manage risk more analytically.  The collection and refinement of the techniques of valuation, risk assessment and investment strategy are at the heart of mathematical finance.</p>
<p>
<hr />
<p>
<em>A PDF version of this article is available <a href=http://www.mathscitech.org/articles/downloads#papers>here</a>.</em></p>
<p>
<p>
<hr />
<h4>Footnotes</h4>
<p>
<a name="tthFtNtAAB"></a><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3R0aEZyZWZBQUI="><sup>1</sup></a>The money-holder could bury it in a hole, but this has the same disadvantages associated with an individual, only on a larger scale.  Certainly, from the fees levied for this service, the money-holder would fortify his home and employ a larger group of better armed men to guard against attack.  But if all of the capital resides in one location, even a well-guarded fort becomes an increasingly attractive target for coordinated assault, or treachery from within.  Over time, simply holding money in one location becomes an increasing burden.</p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1304" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/mathfin1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Professional Grade Typesetting with LaTeX / TeX</title>
		<link>http://mathscitech.org/articles/latex-1-intro</link>
		<comments>http://mathscitech.org/articles/latex-1-intro#comments</comments>
		<pubDate>Thu, 20 May 2010 19:38:12 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematics-General]]></category>
		<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[Knuth]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[TeX]]></category>
		<category><![CDATA[toolset]]></category>
		<category><![CDATA[WYSIWYG]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1202</guid>
		<description><![CDATA[<p></p>
<p>(Mathematical Toolset Series: TeX &#038; LaTeX, Part 1 of 3)</p>
<p>If symbols, formulas, and equations comprise a large portion of your professional communication, then becoming familiar with the LaTeX / TeX platform should be high on your to-do list.  With the right tools and a little practice, the relative ease of creating beautiful documents with [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WP Article<br />
	Assad Ebrahim<br />
	May 18, 2010<br />
	Title: LaTeX / TeX: Professional Grade Typesetting for Scientific Writing<br />
--></p>
<p><strong>(Mathematical Toolset Series: TeX &#038; LaTeX, Part 1 of 3)</strong></p>
<p>If symbols, formulas, and equations comprise a large portion of your professional communication, then becoming familiar with the LaTeX / TeX platform should be high on your to-do list.  With the right tools and a little practice, the relative ease of creating beautiful documents with TeX may mean that you soon leave your favorite Office suite in favor of TeX for your technical writing.</p>
<p>This article introduces the LaTeX / TeX platform, illustrates its capabilities, and highlights the key differences between using TeX for document preparation and more commonly used word processing systems.  </p>
<p>For those that like to know the human side of the tools they use, a little history of TeX, the philosophy motivating its development, and something about its legendary creator, is included.</p>
<p>
<span id="more-1202"></span></p>
<p>
<hr />
This is Part 1 in a series of three articles (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">Part 2</a>, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">Part 3</a>) intended to give you all that you&#8217;ll need to begin working with LaTeX / TeX on Windows, using free, open-source software.</p>
<hr />
<p><h4>TeX Appeal</h4>
<p>LaTeX, spoken &#8220;lay-tech&#8221; or &#8220;lah-tech&#8221;, is a professional document preparation system built atop TeX, spoken &#8220;tech&#8221;.  The name, TeX, is from the Greek, <em>technos</em>, meaning craft, or technology.  Together LaTeX and TeX form a powerful typesetting platform that produces &#8220;camera-ready&#8221; print with a minimum of fuss, even for difficult material such as mathematics.  Using TeX means that you can communicate complex ideas in an aesthetically pleasing form, which means your ideas are more likely to be read, understood, and hopefully absorbed.  </p>
<p>Here, for example, is what you would get after typesetting the binomial formula in LaTeX.<br />
<center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%28a%20%2B%20b%29%5En%20%3D%20%5Csum_%7Bk%3D0%7D%5En%20%5Cbinom%7Bn%7D%7Bk%7D%20a%5Ek%20b%5E%7Bn-k%7D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle (a + b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}.' title='\displaystyle (a + b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}.' class='latex' /></center><br />
The LaTeX markup creating this, shown below, is simple, readable, and, most importantly, has the advantage of being fully specified in text instead of mouse-clicks:</p>
<blockquote><p>
<code><br />
$(a + b)^n = \sum_{k=0}^n \binom{n}{k} a^k b^{n-k}$<br />
</code>
</p></blockquote>
<p>To really get a feel for the quality of automatic typesetting that TeX produces, look at a few articles created in LaTeX:</p>
<p>This is how an article looks that was created in LaTeX and contains mostly words:<br />
<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tb3JpZ2lucy1vZi1tYXRoZW1hdGljcy5wZGY="><em>Mathematics in Pre-History</em> (PDF)</a></p>
<p>And here is an article, created in LaTeX, having complicated formulas, equations, images, and code listings:<br />
<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tc3VtLXBvd2Vycy0zLnBkZg=="><em>Finite Summations of Integer Powers <img src='http://s.wordpress.com/latex.php?latex=x%5Ep&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^p' title='x^p' class='latex' />, PART THREE</em> (PDF)</a></p>
<p>Download these and browse through their formatting and display.  Notice the automatic typesetting details such as kerning (spacing between letters), and subtle differences in how adjoining letters look: <img src='http://s.wordpress.com/latex.php?latex=%5Cmbox%7Bff%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\mbox{ff}' title='\mbox{ff}' class='latex' /> vs. ff, for example.  These, and a host of typesetting subtleties are what distinguishes professionally typeset camera-ready copy from, for example, a Microsoft Word document turned into a PDF.  The effort that would be required to manually typeset a similar looking article in Microsoft Word or Sun&#8217;s Open Writer would be prohibitive, and not least because of the in-depth knowledge required akin to that of a professional typesetter.  By now, if you are not already using LaTeX / TeX, you are hopefully persuaded to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">give it a try.</a>  (If not, here are <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jdGFuLm9yZy93aGF0X2lzX3RleC5odG1s">10 further reasons</a> to consider.)</p>
<p><a name="WYSIWYG"></a></p>
<h4>&#8220;WYSIWYG&#8221; vs. the TeX Way &#8212; a Philosophical Difference</h4>
<p>&#8220;WYSIWYG&#8221; is an acronymn for &#8220;What You See is What You Get&#8221;, and represents the idea that the <em>writer</em> is in charge of every aspect of the typography and layout of his product.  LaTeX / TeX adopts the opposite point of view, namely that the competence of most writers is highest in the area of creating content, and diminishes as the aesthetic standard for beautifully laid out documents is raised.  Thus, the driving idea behind the creation of TeX is that if a computer can be programmed to perform typesetting and layout with the same aesthetic sense of a master typesetter, then most writers would gladly relinquish the responsibility of having to manually make their work look beautiful.</p>
<p>Thus, the heart of the difference between LaTeX/TeX and the so-called &#8220;WYSIWYG&#8221; programs such the Microsoft, Corel, and Sun Office suites, originates in this philosophical view of the appropriate division of responsibility between writer and typesetter.  But this simple philosophical difference results in substantial practical differences, and document preparation platforms that are substantially different in usability, suitability for various writing activities, and quality of the finished product.</p>
<p>The good news is that with the right tools and a little practice, creating documents using LaTeX is relatively easy.  And once you get used to the beautiful look of TeX-ed documents, you&#8217;ll soon find it onerous to go back to the usual &#8220;WYSIWYG&#8221; programs such as the Microsoft, Corel, and Sun Office suites, among others, and let TeX do a professional job typesetting for you.</p>
<h4>Understanding the Platform: Engine vs. Wrapper</h4>
<p>The key to understanding the LaTeX / TeX platform is to recognize the different roles that each of the two software systems plays.  TeX is the master typesetting engine that makes it all possible.  TeX is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NjaWVuY2VibG9ncy5jb20vZ29vZG1hdGgvMjAwOC8wMS90aGVfZ2VuaXVzX29mX2RvbmFsZF9rbnV0aF90eXAucGhw">versatile and powerful, but complex</a>, with many settings, switches, and configurations possible.  Most users don&#8217;t compose their documents directly in TeX.  <em>So although TeX is the typesetting engine, it is actually LaTeX that you will be using.</em>  </p>
<p>LaTeX is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5I21vZHVsYXJpdHk=">wrapper software that encapsulates</a> the powerful functionality of TeX but presents to the user a friendly interface for getting on with the business of document preparation.  All of the capability of TeX is still present, but with defaults that are intelligently chosen so that you can proceed out of the box and need only dig deeper when you wish to make major changes to layout or formatting.</p>
<p>Finally, there is the optional, but desirable graphical environment within which most users, especially new users, will actually compose their documents.  This provides a pleasant, mouse-enabled method for selecting styles, mathematical and symbolic objects, and the markup elements that go into specifying a TeX document.  The markups are descriptive &#8212; they inform the typesetting system of your <em>intent</em>.  Unlike the WYSIWGY programs, they do not prescribe how to perform the layout.  That decision is left to the master typesetter &#8212; TeX.</p>
<h4>The Creation and Impact of TeX</h4>
<p>The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2luLXRoZW9yeS5ibG9nc3BvdC5jb20vMjAwOC8wMS9kb24ta251dGgtaXMtNzAuaHRtbA==">significance of TeX</a> and, through it, Knuth&#8217;s impact on the field of technical publishing, is hard to overstate.  <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zdGFuZm9yZGFsdW1uaS5vcmcvbmV3cy9tYWdhemluZS8yMDA2L21heWp1bi9mZWF0dXJlcy9rbnV0aC5odG1s">A little background</a> helps put in context the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3JlY3Vyc2VkLmJsb2dzcG90LmNvbS8yMDA4LzAxL2RvbmFsZC1rbnV0aC1hbmQtbWUuaHRtbA==">tremendous affection</a> that technical users have both for TeX and for its creater, the legendary Stanford mathematician and computer scientist, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9Eb25hbGRfS251dGg=">Don Knuth</a>.</p>
<p>TeX was not created by a company or corporation.  It was designed and created by Knuth during a 10 year labor of love, born out of both necessity and the desire for aesthetic and technical perfection.  Remember, this was before Microsft and Windows as we know them, before the ubiquitous world wide web, and before Google search, a time when technical materials were still often written by hand, or <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tcm1hcnRpbndlYi5jb20vdHlwZS5odG0=">typed on a typewriter</a>, with hand written symbols to supplement the missing typography.  Once created, TeX and all of its attendant technology were given for free to the user community.  LaTeX was created, similarly, by the mathematician and computer scientist <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MZXNsaWVfTGFtcG9ydA==">Leslie Lamport</a>, to ease document preparation, and was also given away for free to the community.  Together TeX and LaTeX (along with Adobe&#8217;s Postscript) revolutionized publishing and brought the tools for quality communication out of the hands of specialists and into the technical community itself.  </p>
<p>Today, LaTeX / TeX is the de facto platform of choice for technical communications.  In fact,</p>
<blockquote><p>
at least in mathematics, computer science, and physics, the adoption of TeX has been so universal that failure to use it is now <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Njb3R0YWFyb25zb24uY29tL2Jsb2cvP3A9MzA0">a reliable crackpot indicator</a>.  (Scott Aaronson, Computer Scientist)</p></blockquote>
<p>To both Knuth and Lamport are owed a tremendous <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2luLXRoZW9yeS5ibG9nc3BvdC5jb20vMjAwOC8wMS9kb24ta251dGgtaXMtNzAuaHRtbA==">debt of gratitude</a> by the hundreds of thousands of scientists and authors who use the software every day for their research publications, textbook writing, and book writing.  If the author of every document generated freely using TeX were to give Knuth a moment of silence for good karma, he would likely have enough to last several lifetimes.  For what it&#8217;s worth, let me here add mine!</p>
<p>
<hr />
<p>This is the first in a series of three articles intended to give you all that you&#8217;ll need to begin working with LaTeX / TeX on Windows, using free, open-source software.  </p>
<p>Articles two and three get you set up and on your way. </p>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">Part 2: Setting up a TeX / LaTeX Platform on Windows with Open Source Tools</a></p>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">Part 3: Thinking Modular in TeX</a></p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1202" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/latex-1-intro/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Open Source LaTeX / TeX Platform for Windows</title>
		<link>http://mathscitech.org/articles/latex-2-platform</link>
		<comments>http://mathscitech.org/articles/latex-2-platform#comments</comments>
		<pubDate>Thu, 20 May 2010 18:44:19 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematics-General]]></category>
		<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[MikTeX]]></category>
		<category><![CDATA[TeX]]></category>
		<category><![CDATA[TeXnicCenter]]></category>
		<category><![CDATA[toolset]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1207</guid>
		<description><![CDATA[<p>
(Mathematical Toolset Series: TeX &#038; LaTeX, Part 2 of 3)</p>
<p>LaTeX / TeX on Windows has had the rather unfortunate reputation of being difficult to install and use.  But with the quality of today&#8217;s open source tools and references, this is no longer the case, and should not be a reason to deter you from [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WP Article<br />
	Assad Ebrahim<br />
	May 18, 2010<br />
	Title: LaTeX / TeX: Setting up a TeX / LaTeX Platform on Windows with Open Source Tools<br />
--><br />
<strong>(Mathematical Toolset Series: TeX &#038; LaTeX, Part 2 of 3)</strong></p>
<p>LaTeX / TeX on Windows has had the rather unfortunate reputation of being difficult to install and use.  But with the quality of today&#8217;s open source tools and references, this is no longer the case, and should not be a reason to deter you from trying it out.  </p>
<p>This article takes you through the practical business of getting a LaTeX / TeX platform running on Windows, using free, open-source software.  From downloading and installing, to providing reference materials and basic templates, this article should get you going quickly and provide a decent toolkit from which to build.</p>
<p>Note: All the steps in this article have been tested on Windows XP and Windows 7.</p>
<p>
<span id="more-1207"></span></p>
<p>
<hr />
This is Part 2 in a series of three articles intended to give you all that you&#8217;ll need to begin working with LaTeX / TeX on Windows, using free, open-source software.  If you&#8217;re not sure what LaTeX / TeX are, you may want to start with <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMS1pbnRybw==">Part 1</a>.  If you have a preferred TeX platform already set-up and if you regularly use LaTeX, you may want to skip to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">Part 3</a>.</p>
<hr />
<h3>Setting up LaTeX / TeX on Windows</h3>
<p>LaTeX / TeX on Windows has had the rather unfortunate reputation of being difficult to install and use.  But with the quality of today&#8217;s open source tools and references, this is no longer the case, and should not be a reason to deter you from trying it out.  </p>
<p><strong>Here&#8217;s a preview of the process.</strong></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1N0ZXAx">Step 1: You&#8217;ll obtain and install the various software tools</a> that comprise a LaTeX / TeX platform.  For this you&#8217;ll need a reasonable swift download connection to the internet.  Unfortunately, a dial-up connection probably won&#8217;t cut the mustard.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1N0ZXAy">Step 2: There will be a minimal bit of configuration</a> you&#8217;ll make, after which you&#8217;ll be ready for a test run!
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1N0ZXAz">Step 3: Exercise your platform by producing your first PDF document using a basic template file</a>.  I&#8217;ve included a test file / basic template file that you can use to immediately get started, and to check that everything is working properly.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1N0ZXA0">Step 4: Collect the ready references materials you&#8217;ll need</a>.  I&#8217;ll point you to a collection of ready reference materials &#8212; the kind you can call up in a pinch to remind yourself of a particular command: short and sweet.  <em>Keep in mind:</em> You&#8217;ll be using the very pleasant TeXnic Center for your document composition, so you&#8217;ll have before you most of the reminders that you&#8217;ll need, as well as their good reference material.</a>  I&#8217;ll also point you to the more full bodied references, the kind that are meant for a nice sit down read.
</ul>
<p>That&#8217;s it!  So let&#8217;s get you started.</p>
<p>
<hr />
<p><a name="Step1"></a></p>
<h4>Step 1: Downloading and Installing the Components</h4>
<p><strong>1a. Download <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5taWt0ZXgub3JnL2Fib3V0">MiKTeX</a>.</strong>  This is the distribution of LaTeX / TeX that you&#8217;ll be using.  The MiKTeX distribution has built into it the most common packages you&#8217;ll need, including AMS-TeX, BibTeX, as well as facilities for producing PDF, PostScript, or DVI document outputs.  You won&#8217;t actually interact with MiKTeK &#8212; but it will provide all the required back-end facilities.</p>
<ul>
<li> Click the latest version under the Download sidebar on the left: <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5taWt0ZXgub3JnLzIuOC9zZXR1cA==">MiKTeX 2.8</a> as of this writing.
<li> Scroll down and click the Download button next to &#8220;Basic MiKTeK 2.8&#8243; Installer (or whatever is that latest version at the time you&#8217;re reading this.)
</ul>
<p><em>Be warned</em>: MiKTeX is a LARGE download: 110 MB for the basic installation.  You will need to have a fast internet connection: broadband or cable.  On a reasonable internet connection with a nominal download speed of 750KB/sec, this takes about 3 minutes to download.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEyMDctMQ==" id='fnref-1207-1'>1</a></sup></p>
<ul>
<li>  <strong>Run the MiKTeX Installer,</strong>  noting the following recommended settings as you proceed:
<li> Accept the copying condition (nothing alarming here)
<li> Install for anyone&#8230; (less hassle if you have multiple user accounts on your machine)
<li> NOTE WHERE the software is being installed (you&#8217;ll need to know this to configure TeXnicCenter)
<li> Choose your preferred paper (e.g. A4 in UK, Letter in US)
<li> Install missing packages on the fly: Yes (easier if you&#8217;re new to MiKTeX)
<li> Start the install.  It may take several minutes.
</ul>
<p><strong>1b. Download <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NvdXJjZWZvcmdlLm5ldC9wcm9qZWN0cy9naG9zdHNjcmlwdC8=">GhostScript from here</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3BhZ2VzLmNzLndpc2MuZWR1L35naG9zdC9nc3ZpZXcvaW5kZXguaHRt">GhostView</a> as a 32-bit X86 Windows executable <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21pcnJvci5jcy53aXNjLmVkdS9wdWIvbWlycm9ycy9naG9zdC9naG9zdGd1bS9nc3Y0OXczMi5leGU=">from here</a>.</strong><br />
Ghostscript is an interpreter for the PostScript page description language used by laser printers.  GSview is a graphical interface for Ghostscript that allows PostScript pages to be viewed or printed.</p>
<ul>
<li> <strong>Install both programs using their default settings.</strong>
<li> In particular, NOTE DOWN the path where the programs are being installed.  You&#8217;ll need to know this to configure TeXnicCenter in Step 1d.  If you keep the default settings (recommended), GhostScript and GhostView will be installed, respectively, to paths that look something like this:
<ul>
<li><tt>c:\Program Files\gs</tt>
<li><tt>c:\Program Files\Ghostgum\gsview</tt>
</ul>
</ul>
<p><a name="pdfxchange"></a><br />
<strong>1c. Downloading a free PDF Viewer that is better than Adobe Acrobat (Optional but Highly Recommended)</strong>  You will need a PDF Viewer.  Most computers have Adobe Acrobat Reader pre-installed.  However, consider trying <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kb2N1LXRyYWNrLmNvbS9wcm9kdWN0L3BkZi14Y2hhbmdlLXZpZXdlcg==">PDF Xchange Viewer</a>.  It is free, is <em>much</em> faster than Adobe&#8217;s Reader, and has a host of annotating, editing, and other features that you have to pay quite heavily for in Adobe&#8217;s non-free software.</p>
<ul>
<li> You can <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kb2N1LXRyYWNrLmNvbS9wcm9kdWN0L3BkZi14Y2hhbmdlLXZpZXdlcg==">download PDF Xchange Viewer from here</a>.  Look on the right-hand side-bar, and choose the EXE installer option.
</ul>
<ul>
<li><strong>Install PDF Xchange Viewer</strong> using the default installation settings <strong>EXCEPT</strong> on the LAST page of the installer:
<li> <strong>Important Note</strong>: on the last page of the installer you are asked whether you wish to install the Ask Search toolbar.  Suggestion: Decline this.  It is a &#8220;partner product&#8221; that is not in any way related to the PDF Viewer you want.
</ul>
<p><strong>1d. <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NvdXJjZWZvcmdlLm5ldC9wcm9qZWN0cy90ZXhuaWNjZW50ZXIvZmlsZXMvVGVYbmljQ2VudGVyLzEuMCUyMFN0YWJsZSUyMFJDMS8=">Download TeXnicCenter from here</a></strong>.  TeXnicCenter is a pleasant visually oriented environment, also called an IDE &#8212; Integrated Development Environment.  You&#8217;ll almost certainly want to be composing your documents here, unless you are seasoned with the LaTeX toolchain and have strong reasons why the convenience of an integrated development environment is not preferable. </p>
<ul>
<li> <strong>Run the TeXnicCenter Installer</strong>, noting the following recommended settings as you proceed:
<li> Keep the default selections, including &#8220;Custom&#8221; package, which contains everything
<li> Under &#8220;Additional Tasks&#8221;, select the checkbox &#8220;Add TeXnicCenter to the Send menu&#8221;
</ul>
<p><strong>Summary / Check</strong><br />
This completes the installation step.  You should now have installed on your computer four (or optionally five) applications: </p>
<ol>
<li> MiKTeX (TeX/LaTeX distribution),
<li> GhostScript (PostScript and PDF engine),
<li> GhostView (Postscript viewer),
<li> (optionally), PDF Xchange Viewer (free, fast, feature rich PDF Viewer), and, finally,
<li> TeXnicCenter (LaTeX Document preparation environment).
</ol>
<p>
<hr />
<p><a name="Step2"></a></p>
<h4>Step Two: Configuring TeXnic Center</h4>
<p>To give your new TeX editor setup a whirl:</p>
<ul>
<li> Fire up TeXnic Center (use the Desktop shortcut, or the Start menu).
<li> After a Startup Tip is shown, the Configuration Wizard will be brought up automatically.  Go through the configuration step as follows:
<li>	When prompted with:  &#8220;Enter the full path of the directory where the executables (latex, tex, etc.) of your TeX distribution are located&#8221;, you should: Browse for the MiKTeX binaries folder.  This will typically be at:<br />
		<tt>c:\Program Files\MiKTeX 2.8\miktex\bin\</tt></p>
<li>	If you installed PDF Xchange Viewer in Step 1c. above, you may be prompted to enter additional optional settings for PDF viewing.  You can ignore this and simply click Next.
<li> Armed with this information, TeXnicCenter will automatically create the main output profiles for you to create DVI, PS, and PDF documents.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEyMDctMg==" id='fnref-1207-2'>2</a></sup>
</ul>
<p>If everything has gone ok up to this point, great!  You&#8217;re ready for Step 3.</p>
<p>
<hr />
<p><a name="Step3"></a></p>
<h4>Step Three: Typesetting and producing your first document</h4>
<ul>
<li> In TeXnic Center, start a new document: File > New.
<p>Copy and paste the following &#8220;Hello World!&#8221; code into your new LaTeX document and save it somewhere.  (Or can <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9taW5pbWFsLnRleA==">download it from here</a>.)</p>
<blockquote><p><code><br />
% A minimal test template for the LaTeX / Tex platform<br />
\documentclass{article}<br />
\begin{document}<br />
Hello World!  This is a test.</p>
<p>A tribute to Leonhard Euler:<br />
$$-e^{i \pi} = 1$$<br />
\end{document}<br />
</code></p></blockquote>
<li>Choose the LaTeX => PDF output profile (Figure 1).
<li>You&#8217;re ready to build the document and to view the result.  There are several ways to go about this.  For now, let&#8217;s use the quickest way (assuming there are no problems<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEyMDctMw==" id='fnref-1207-3'>3</a></sup>): Ctrl+Shift+F5 is the keyboard shortcut for Build and View.  There is also a toolbar icon (Figure 2) and a menu command: Build > Build and View Output.
<li> You should see <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9taW5pbWFsLnBkZg==">a PDF that looks something like this</a>.
<p>If everything&#8217;s gone right, you&#8217;re ready to strike out on your own.  The test code above was minimal.  You&#8217;ll need a template.</p>
<li> Here&#8217;s the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9iYXNpYy0xLnRleA==">source code for the basic template</a> (listed below), which is adequate for getting started with.  When you compile it, you should get <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9iYXNpYy0xLnBkZg==">a PDF that looks like this</a>.
</ul>
<p>The basic template code listing is below, for reference.</p>
<blockquote><p><code><br />
% Basic Template for using LaTeX<br />
% Assad Ebrahim<br />
% Aug 4, 2008<br />
% ------------------------------</p>
<p>\documentclass{article}<br />
\title{Basic Template: Your Title Here}<br />
\author{Your Name Here}<br />
\date{\today}</p>
<p>% For more advanced usage, you'll list packages and other document formatting commands here<br />
\begin{document}<br />
\maketitle<br />
\tableofcontents<br />
%\newpage   % if you want the title page on its own</p>
<p>% vvvvvvvvvvvvvvvvvvvvvvv   Your Text starts below here  vvvvvvvvvvvvvv</p>
<p>\section{A Basic Template}<br />
Hello Mathematical World!</p>
<p>Let's take a look at some simple \TeX.</p>
<p>\paragraph{A tribute to L. Euler}<br />
The following displayed equation expresses a profound insight that unifies geometry, trigonometry, analysis, and complex variables.<br />
$$-e^{i \pi} = 1.$$</p>
<p>\paragraph{A question of class}<br />
Let's illustrate the use of mathematical symbols and footnotes.</p>
<p>Is $\pi^{\sqrt{2}}$ algebraic\footnote{A number is algebraic if it is the root of a polynomial with rational coefficients.  Algebraic numbers include the rationals but also selected irrationals such as $\sqrt{2}, \sqrt[3]{2}$, and in general $\sqrt[n]{p}$ for any prime number $p$ and any positive integer $n$.} or transcendental\footnote{A number is transcendental if it is not algebraic, i.e. if it is irrational and is not the solution to any polynomial with rational coefficients.  Examples are $\pi$ and $e$.}?  (See the footnotes for an explanation.)</p>
<p>% ^^^^^^^^^^^^^^^^^^ Your Text ends above here ^^^^^^^^^^^^^^^^^^^^^^^^^^^<br />
\end{document}<br />
</code></p></blockquote>
<p>
<hr />
<p><a name="Step4"></a></p>
<h4>Step Four: Get your LaTeX reference sheets and resource links.</h4>
<p><a name="References"></a><br />
<strong>Rapid References</strong></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jdGFuLm9yZy90ZXgtYXJjaGl2ZS9pbmZvL2xhdGV4Y2hlYXQvbGF0ZXhjaGVhdC9sYXRleHNoZWV0LnBkZg==">2 page LaTeX Reference Card / Cheat Sheet (PDF)</a>  (Thanks to Winston Chang)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcnRvZnByb2JsZW1zb2x2aW5nLmNvbS9XaWtpL2luZGV4LnBocC9MYVRlWDpTeW1ib2xz">Symbols List (on the web)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYW5pY2FpLm5ldC9jb21wL2xhdGV4L2luZGV4X2Fzc2V0cy9tYXRoc19ndWlkZS5wZGY=">Listing of Mathematical Symbols (PDF)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZnRwOi8vZnRwLmFtcy5vcmcvcHViL3RleC9kb2MvYW1zbWF0aC9zaG9ydC1tYXRoLWd1aWRlLnBkZg==">Short Guide to Math in LaTeX (using AMS-TeX)</a>  (PDF document)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9CaWJUZVgjQmlibGlvZ3JhcGhpY19pbmZvcm1hdGlvbl9maWxl">BibTeX entries reference sheet</a>
</ul>
<p><strong>Comprehensive References</strong></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy50dWcub3JnL2ludGVyZXN0Lmh0bWwjbGF0ZXh0dXRvcmlhbHM=">Master list of useful LaTeX / TeX Resources on the Web</a>
</ul>
<p><strong>Advanced Tippery</strong><br />
Here are a few places that offer valuable advanced tips, tricks, and exceedingly useful little routines, organized by category:</p>
<ul>
<li>Preserving Your Sanity and Your Time: <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">Good Practises in Modular Document Development with LaTeX</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYW5pY2FpLm5ldC9jb21wL2xhdGV4L2xhdGV4X3RyaWNrcy5odG1s">A number of advanced tips and tricks</a>, including:
<ul>
<li> Keeping your code inclusions OUT of LaTeX documents (Dynamically Including Program Listings)
<li> Rotating Tables and Figures to fit without cutting off the edge
<li> Typesetting Mathematics Easily with AMS-LATEX
<li> Text inside Mathematics Displays with AMS-LATEX and <tt>\text{ }</tt>
	</ul>
</ul>
<p><strong>Getting Help</strong></p>
<p>There are many things that one may want to do in LaTeX that are not obvious.  Perhaps the quickest route to finding out is to run a Google Search.  </p>
<p>If all else fails, there are communities where you can ask questions and have good hope of a swift and correct answer:</p>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3N0YWNrb3ZlcmZsb3cuY29tL3F1ZXN0aW9ucy90YWdnZWQvbGF0ZXg=">Stack Overflow &#8212; LaTeX Topic</a>  This is a site where intelligent questions can get answers in less than a minute.  There are hundreds of thousands of smart eyeballs trolling through the lists on Stack Overflow.  You can ask a question without registering or becoming a member, so it&#8217;s easy to participate.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEyMDctNA==" id='fnref-1207-4'>4</a></sup>
</ul>
<h4>Happy TeX-ing!</h4>
<p>With this introduction, you are hopefully on your way to using LaTeX / TeX for your technical document preparations needs.  </p>
<p>When you&#8217;re ready for more, I&#8217;d suggest reading the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">final article in this series</a> and recommend using some sort of modular scheme for organizing the components of your LaTeX documents.  The final article explains the modular approach to document development that may help to make your TeX-ing easier to manage and more efficient.  Perhaps more importantly, you&#8217;ll find there <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5I3RlbXBsYXRlcw==">a collection of modular templates</a> to get you started.</p>
<p>Happy TeX-ing!</p>
<p>
<hr />
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMS1pbnRybw==">Part 1: LaTeX / TeX: Professional Grade Typesetting for Scientific Writing</a></p>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMy1tb2R1bGFyaXR5">Part 3: Thinking Modular in TeX</a></p>
<p>
<hr />
<h4>Footnotes</h4>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1207-1'>A dial-up connection will probably not cut it.  You can expect 2 hours or more, assuming an actual and uninterrupted download rate of 20KBps, a reasonable assumption for a typical modem. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEyMDctMQ==">&#8617;</a></span></li>
<li id='fn-1207-2'>For your reference:
<ul>
<li>  	the DVI viewer is YAP.  It is located in the MiKTeX folder, typically:<br />
		<tt>c:\Program Files\MiKTeX 2.8\miktex\bin\yap.exe</tt></p>
<li>	the PostScript viewer is GS View.  It is located, typically:<br />
		<tt>c:\Program Files\Ghostgum\gsview\gsview32.exe</tt></p>
<li>	the PDF viewer should automatically be your currently installed PDF Viewer.  (If you don&#8217;t have one, download Adobe&#8217;s Acrobat Reader from their website.  Better yet, consider <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3BkZnhjaGFuZ2U=">PDF Xchange Viewer</a>, also free, much faster, and much more capable than Acrobat Reader.)
</ul>
<p> <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEyMDctMg==">&#8617;</a></span></li>
<li id='fn-1207-3'>If there are problems, then go through the Build and View steps separately:
<ul>
<li> To build: Use either the menu command Build > Build Output, or the toolbar icon (Figure 2), or the keyboard shortcut Ctrl+F7.
<li>In the Output Window, you should see the last line as shown &#8212; 0 Errors, 0 Bad Boxes, 1 Page.<br />
If you see this, it means that there are no problems with the document, and 1 page of PDF output has been created.</p>
<li> Click the View toolbar icon (Figure 3), or the keyboard shortcut F5 to bring up the PDF output in your default PDF viewer.
</ul>
<p> <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEyMDctMw==">&#8617;</a></span></li>
<li id='fn-1207-4'>Although Stack Overflow is a site for questions on Programming, LaTeX is as much &#8220;programming&#8221; as HTML (both are mark-up languages).  Certainly it shares much more in common with programming (and the programming community) than with <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMS1pbnRybyNXWVNJV1lH">&#8220;WYSIWYG&#8221; applications</a> such as Microsoft Word or Sun&#8217;s Office Writer and their user communities. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEyMDctNA==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1207" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/latex-2-platform/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing Modular TeX Documents</title>
		<link>http://mathscitech.org/articles/latex-3-modularity</link>
		<comments>http://mathscitech.org/articles/latex-3-modularity#comments</comments>
		<pubDate>Thu, 20 May 2010 17:14:55 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematics-General]]></category>
		<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[BibTeX]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Modularity]]></category>
		<category><![CDATA[Systems Design]]></category>
		<category><![CDATA[Systems Development]]></category>
		<category><![CDATA[TeX]]></category>
		<category><![CDATA[toolset]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1191</guid>
		<description><![CDATA[<p>
(Mathematical Toolset Series: TeX &#038; LaTeX, Part 3 of 3)</p>
<p>If you write frequently, it is likely that you have certain stock or administrative material that is included in each of your documents.  You also likely spend a substantial portion of your overall effort re-writing, editing, or re-arranging material.  In this situation, one of [...]]]></description>
			<content:encoded><![CDATA[<p><!-- WP Article<br />
	Assad Ebrahim<br />
	May 18, 2010<br />
	Title: Thinking Modular in TeX --><br />
<strong>(Mathematical Toolset Series: TeX &#038; LaTeX, Part 3 of 3)</strong></p>
<p>If you write frequently, it is likely that you have certain stock or administrative material that is included in each of your documents.  You also likely spend a substantial portion of your overall effort re-writing, editing, or re-arranging material.  In this situation, one of the best ways of preserving your time and your sanity is to adopt a <em>modular approach</em> to document development.    </p>
<p>In this final article of the three part series on LaTeX / TeX, I will discuss a modular approach to document preparation using TeX.  I&#8217;ll also provide modular templates that should make your use of TeX more efficient.</p>
<p><span id="more-1191"></span></p>
<p>
<hr />
This is Part 3 in a series of three articles (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMS1pbnRybw==">Part 1</a>, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">Part 2</a>) intended to give you all that you&#8217;ll need to begin working with LaTeX / TeX on Windows, using free, open-source software.</p>
<hr />
<h4>Why Modular Documents?</h4>
<p>A modular approach to document design can be more efficient if you have common elements in your documents, especially when you begin to make changes to these common elements.  By using decoupled text modules, you can readily re-arrange or re-order them, creating documents for different purposes, from the same stock of core content, modularly organized.</p>
<h4>Thinking Modular in TeX</h4>
<p>    In TeX, taking a modular approach means partitioning your typical document into more or less independent pieces, many of which you will <em>want</em> to re-use from document to document.  Provided that you have kept the re-usable parts of your document separate from the main content, they can be brought into the main document using various <tt>\include</tt> directives.</p>
<p>	The advantages of the modular approach to organizing the components of your document are that it allows you:</p>
<ul class=NoBullet>
<li>  (i)  to avoid copy / paste whenever possible,
<li> (ii)  to re-use specific parts of your document wherever possible, and
<li>(iii)  to be able to make corrections in only one place and have these corrections propagate easily into all documents that use the module, without having to make the same change over and over again in each document.
</ul>
<p>  I&#8217;ve found it advantageous to compose and maintain, at a minimum, the following as separate modules:</p>
<ol>
<li> <strong>a separate Title Page</strong>.  The key here is not so much the fact that you may wish to change your title or content.  The key is that you may, down the road, wish to combine content from various different articles into a coherent larger unit.  For example, you may wish to combine multiple short articles into a longer article, or take a collection of articles and organize them as separate chapters of a book.  By keeping the titles of your articles separate from their content, you give yourself the flexibility, <em>without changing either title or content</em>, to generate a short article or to incorporate the same content in another vehicle, be it larger article, report, or book.<br />
</p>
<li> <strong>separate Author Attributions</strong>.  This allows you to designate your authors and craft their details once, and include the same composition in all your documents.  The savings comes when author information changes &#8212; contact information, position, and so on.  Instead of having to manually go through each document and make the same changes over and over again, you make the required change in <em>one</em> place, and all documents compiled thence forward will pick up the corrected attribution.
<li> <strong>separate Document Settings (Preamble section)</strong>.  The settings section of a LaTeX should most definitely be organized for re-use.  As you evolve your style, you will begin to collect settings and macros.  If these are in one place and pulled into each document, you will find it much easier to produce consistently good documents.  The advantage is that when you recompile a document created with an older template, you will automatically get all of the improvements you have added to your separate Document Settings file.  The alternative: keeping track of dozens of settings and making sure that changes find their way into all of your documents, is fraught with headaches and mistakes.
<li> <strong>a separate Bibliography</strong>.  Establishing a separate repository for all of your bibliographic information is a strongly recommended practice.  Doing so means that you are building a reference list that is comprehensive and uniform.  The key is that TeX (specifically BibTeX) automatically pulls only those citations that are used in a particular article when creating that article&#8217;s list of references.  So comprehensiveness without the hassles of having to manually copying and pasting and then maintain specific, often overlapping subsets of references for related articles &#8212; this is a big win!  You should make the effort and invest in using BibTeK.
<li> <strong>separate Code Listings</strong>.  If you include algorithms, program listings, or other similar external material in your papers, you should <em>not</em> copy and paste the content directly into your article.  With every copy and paste comes the serious and taxing burden of making a correction in the original source code and forgetting to update the article text.  By <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYW5pY2FpLm5ldC9jb21wL2xhdGV4L2xhdGV4X3RyaWNrcy5odG1s">dynamically including program listings</a> directly from wherever the source code resides (in version control, a separate folder, and so on), you set yourself up for success.  Any changes made to the original source code will be reflected automatically in every recompilation of the document &#8212; i.e. one button click.  The key: keep your code listings OUT of TeX.
</ul>
<p><a name="templates"></a></p>
<h4>Modular Templates for LaTeX</h4>
<p>To give modular document organization a try, it is helpful to have ready-to-use templates that you can use as boilerplates to experiment with for your own work.  So, attached is a collection of modular templates similar to ones that I use in my own LaTeX work.  They are available as ZIP archive from the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI0NvZGU=">Downloads</a> section or can be downloaded individually by following the links for each template below.</p>
<ol>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9fVGVYZGVmcy50ZXg=">_TeXdefs.tex</a>, containing the preamble definitions, macros, style settings, and other layout details
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9wYXBlci10aXRsZS50ZXg=">paper-title.tex</a>, containing the title and optionally the abstract.  This is the main vehicle that pulls together the pieces of the document.  You will be compiling this to create the paper.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9wYXBlci1jb250ZW50LnRleA==">paper-content.tex</a>, consisting of one or many content specific modules, perhaps separate chapters, sections, or other organization of material that is naturally decoupled.  A good litmus test here is that it should make sense to be able to interchange the order of your content modules without affecting the logical flow.  The specific order in which they appear in the paper will be fixed in the paper_title
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9hdXRob3JzLnRleA==">authors.tex</a>, containing the simple, crafted attributions of authors with contact information and the obligatory acknowledgements.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9iaWJsaW9nLmJpYg==">bibliog.bib</a>, consisting of a collection of <em>all</em> your references, not just the ones cited in a particular paper.  This is a much more efficient way of maintaining comprehensive reference lists and avoiding the duplication that is otherwise required for commonly used citations.
</ol>
<p><strong>Instructions:</strong><br />
To test these templates, put them all into the same folder and point your LaTeX compiler to <tt>paper-content.tex</tt>.  <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9wYXBlci10aXRsZS5wZGY=">This PDF</a> is what should result.  </p>
<p><strong>Notes</strong></p>
<ul>
<li> <em>Don&#8217;t forget!  You have to compile a fresh batch of files three times in succession before all warnings are resolved</em> &#8212; the first compilation builds pulls references to citations, footnotes, headings, etc., the second fills in these references into the table of contents and other automatically numbered objects, which means the third compilation can produce your final document.
<li> If you&#8217;re using the platform I&#8217;ve described in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">Part 2</a>, you will be loading <tt>paper-content.tex</tt> into TeXnicCenter.
<li> If the words &#8220;compiling&#8221; and &#8220;building&#8221; are  a mystery to you, you probably haven&#8217;t yet gotten a LaTeX / TeX platform working in Windows.  No worries!  Just <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">follow the steps in Part 2</a> to get yourself set up and comfortable.  Then come back and test these files.
</ul>
<h4>Happy TeX-ing!</h4>
<p>This closes the series of three articles intended to get you started working with LaTeX / TeX on Windows, using free, open-source software.  </p>
<p>If you have adopted LaTeX / TeX, I hope you&#8217;ll find its practicality freeing and the beauty of its output inspirational.  Happy TeX&#8217;ing!</p>
<p>
<hr />
<p>If you&#8217;ve started with this article, please note that Parts One and Two provide the background to &#8220;the TeX Way&#8221; and help you set up your a LaTeX / TeX platform on Windows.  You&#8217;ll need a LaTeX / TeX platform to try out the example templates provided above.</p>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMS1pbnRybw==">Part 1: LaTeX / TeX: Professional Grade Typesetting for Scientific Writing</a></p>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bGF0ZXgtMi1wbGF0Zm9ybQ==">Part 2: Setting up a TeX / LaTeX Platform on Windows with Open Source Tools</a></p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1191" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/latex-3-modularity/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Assembly Language and Embedded Systems Development</title>
		<link>http://mathscitech.org/articles/assembly-value</link>
		<comments>http://mathscitech.org/articles/assembly-value#comments</comments>
		<pubDate>Sun, 02 May 2010 08:37:53 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Software-Programming]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[digital logic]]></category>
		<category><![CDATA[Embedded Systems]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1149</guid>
		<description><![CDATA[<p></p>
<p>On the Value of Assembly Language, and Resources to get you started in Digital Logic, Computer Architecture, and Assembly Language programming.</p>
<p>Despite advances in programming technologies since the 1970s, there are still reasons to understand and learn assembly language programming.  Contrary to what one may imagine, Assembly Language is not a relic of the past, [...]]]></description>
			<content:encoded><![CDATA[<p><!--The Value of Assembly Language Today<br />
Assad Ebrahim<br />
WordPress article<br />
ARTICLE 3 in the Assembly Language Series<br />
4/24/2010<br />
--></p>
<p><strong>On the Value of Assembly Language, and Resources to get you started in Digital Logic, Computer Architecture, and Assembly Language programming.</strong></p>
<p>Despite advances in programming technologies since the 1970s, there are still reasons to understand and learn assembly language programming.  Contrary to what one may imagine, Assembly Language is not a relic of the past, even though a typical applications programmer will almost never need to drop into assembly.</p>
<p>In this article, we&#8217;ll look at practical situations in embedded systems development in which assembly language programming is still used, pedagogical reasons to learn assembly language, and provide resources and projects for gaining a working knowledge of digital logic, computer architecture, and assembly language programming.</p>
<p><span id="more-1149"></span></p>
<p>
<hr />
<h3>Learning for Embedded Systems Development</h3>
<p>Despite advances in programming technologies since the 1970s, there are still reasons to understand and learn assembly language programming.  Contrary to what one may imagine, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHVybGluZy1ib3VsZGVycy1hc3NlbWJseQ==">Assembly Language</a> is not a relic of the past, even though a typical applications programmer will almost never need to drop into assembly.  Certainly assembly language is NOT recommended for writing general applications software or graphical user interfaces.  Yet a decent understanding of assembly language is important both practically in embedded systems development, as well as for developing a solid general understanding of computer engineering, the underpinnings of the software development toolchain (compilers, assemblers, linkers, loaders, debuggers, and so on), and in the analysis and implementation of algorithms.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTExNDktMQ==" id='fnref-1149-1'>1</a></sup></p>
<p>The transition to embedded systems development is difficult without a reasonable understanding of assembly language and computer architecture.  As embedded computing enters almost every aspect of the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">modern technology landscape</a>, from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLW5ldHdvcmtlZC1jb21tcy0x">intelligent gadgets</a> of all kinds to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">remote and autonomous systems</a>, not having this knowledge becomes a fundamental impediment to seeing and being able to seize the many opportunities for participating in this interesting and rapidly expanding area.</p>
<p><strong>(I.)  Practical reasons for understanding Assembly Language programming</strong><br />
There are at least four practical situations in embedded systems development, in which assembly language programming cannot always be entirely avoided:</p>
<ol>
<li> when developing for platforms that do not have C compilers &#8212; and these do exist &#8212; assembly language becomes, in most cases, the programming interface.  The popular Microchip PIC microcontrollers used to be without a targeting C compiler for many years, in part because of the idiosyncratic PIC architecture and the absence of facilities (like a deeply nestable parameter stack) that general compilers require.  With their low cost (many under $3.00) and extensive array of built-in peripherals, incorporating these powerful microcontrollers was often done using assembly language programming.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTExNDktMg==" id='fnref-1149-2'>2</a></sup>
<li> when systems require hard real-time performance in the absence of a real-time operating system (RTOS), assembly language on a RISC platform allows interacting directly with the silicon and being able to obtain accurate timing characteristics by counting instructions.  This is one of the advantages of the RISC (reduced instruction set computing) architecture &#8212; it is a simplified architecture in which each instruction takes a fixed and uniform time for the CPU to execute.
<li> when writing device drivers or obtaining peripheral access in the absence of an operating system that provides this functionality, or when writing drivers for an operating system.
<li> when it is required to directly supervise the storage of values to specific registers or the use of specific elements of an underlying CPU architecture, C is often unable to help.  Being able to drop into assembly, either inline or through functions, is then the most direct method of access.
</ol>
<p>This is not to say that the disadvantages of assembly language programming are any the less &#8212; assembly language is not portable and almost always has higher overhead when coding, debugging, and maintaining.  But in these few areas of embedded systems development, the benefits occasionally outweigh the trade-offs.</p>
<p>It should also be clear that none of these four conditions is ordinarily encountered by a typical applications software engineer.  Indeed, these conditions do not always arise in embedded systems development either, especially if the embedded development is done atop an OS or RTOS sitting on a computing platform for which there is a quality C compiler.</p>
<p>So the question remains: for the large number of programmers and engineers for whom the practical reasons are unlikely to materialize, is it useful to learn an assembly language?  </p>
<p><strong>(II.)  Pedagogical advantages of learning assembly language</strong></p>
<p>Programming in Assembly Language requires a non-trivial understanding of the innards of digital systems and software toolsets.  It provides a fruitful hands-on context within which to acquire and exercise this understanding.  Compared to higher level languages, assembly language programming requires greater understanding of the following:</p>
<ul>
<li> digital logic and digital circuit concepts
<li> computer architecture: register, bus, memory, the instruction cycle
<li> microprocessor organization: opcodes, characteristics (timing, organization, peripherals)
<li> hexadecimal, binary, and decimal numbers and how to use them
<li> stack
<li> memory access and pointers
<li> assembler syntax: pseudo ops, directives, syntax, number formats
<li> calling conventions
<li> operating system facilities
<li> the parts of a software toolchain
<li> linkers and their idiosyncrasies
<li> loaders, when loading the binary program into memory on a target platform that isn&#8217;t the source platform
<li> using a low-level debugger
</ul>
<p>Grappling with assembly language programming gives a much better understanding of computing architectures.  Once you understand digital circuits and computer architectures, assembly language programming and its toolchain, you will have the working knowledge needed to embark on the road to microcontroller programming and the development of small and medium scale embedded systems applications: reading in sensors (A/D, filters, signal processing), digital I/O, and real-time numerical methods.  <sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTExNDktMw==" id='fnref-1149-3'>3</a></sup>  In addition, the patterns of thought involved in thinking in assembly, and the discipline involved in writing readable code in assembly, are both invaluable in understanding the details that a higher-level optimizing compiler handles &#8220;under the hood&#8221;.</p>
<p>
<hr />
<h4>Recommendations and Learning Resources</h4>
<p>The best way to gain a working understanding in the areas discussed above is to do some digital logic design and assembly language coding yourself.  The tools are not difficult to acquire and the materials to begin are available for free.  </p>
<p>For digital logic and computer architecture, the Digital Works simulator is a simple, freely available, and user-friendly way to get started in digital logic and computer architecture.  [Download from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1Jlc291cmNlcw==">Resources</a>]</p>
<p>It is helpful when embarking on learning ventures to identify a defining project that is grand enough to whet your ambitions but is also chosen to guide your learning efficiently through the essential areas you&#8217;ll need in order to have a strong working knowledge.  </p>
<blockquote><p>Project (Digital Logic and Computer Architecture)</p>
<p>Design an ALU in hardware to form the heart of a simple calculator.  Build up the necessary logic elements using your own ICs that you package up in Digital Logic to be pin-compatible with ICs that you might buy off the shelf.  </p>
<p>Excellent IC lists with pinouts are available from GIICM.  Datasheets and practical issues like availability and alternatives are available through the DigiKey parameterized product selection index. [See <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1Jlc291cmNlcw==">Resources</a> for links].
</p></blockquote>
<p>For assembly language programming, the x86 is an adequate platform for learning the basic techniques, including how to extend assembly language with higher level calls, how to embed assembly language directly into higher level languages, and using all the elements of the software development toolchain: compile, assembler, linker, loader, debugger.  </p>
<p>A companion project to the digital logic project above is given below:</p>
<blockquote><p>Project (Assembly Language)</p>
<p>Develop, in assembly language, computational routines for a simple calculator, including fixed and floating point routines and some basic vector operations (sum, difference, and scalar product).  </p>
<p>After getting your feet wet in pure assembly, the way to go here is to migrate into C or Basic (gcc or FreeBasic are two recommended open source packages) and learn how to embed assembly language into higher level languages.</p>
<p>MicroASM is a simple, freely available, and user-friendly way to get started with assembly language programming, after which migrating to NASM, gas, gcc, and the other elements of an open source toolchain is next. [Download from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I1Jlc291cmNlcw==">Resources</a>]
</p></blockquote>
<p><strong>Next steps</strong> </p>
<p>Once this understanding has been obtained, assembly should be viewed as a tool to use when it is practically needed.  <strong><em>In all other cases when a C compiler exists that targets your intended platform, you should be writing in C.</em></strong>  Optimized compiler technology has become so good that it is better to let a computer do what it is better at: detailed automatic attention to the placement and organization of assembly code, while your creativity directs the implementation via a higher level language (C or higher).</p>
<p>Two directions then open themselves, one taking the road into computer science: assemblers, compilers, parsers, and higher level languages, and the other taking the road into microcontrollers, sensors, and embedded development.</p>
<p>Stay tuned!</p>
<p>
<hr />
<h4>Related Reading and Resources</h4>
<p><strong>Related Reading</strong></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hbmRyZXdraWxwYXRyaWNrLm9yZy9ibG9nLz9wYWdlX2lkPTI0MQ==">Introduction to PIC Microcontrollers</a>  Andrew Kilpatrick provides an excellent practical introduction that will take you down the road into microcontrollers, sensors, and embedded development.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy52dHRvdGguY29tL3ZpY3Byb2MuaHRt">A Home-Built 4-bit Computer</a> Viktor Toth describes his journey in designing and building, a simple but functional 4-bit computer from low-level electronic components (TTL logic gates.)
<li> <a href="">hurling-boulders-assembly</a>Hurling Boulders: Assembly Language Programming</a>
<li> <a href="">x86-assembly-toolset</a>An Open Source Assembly Language Toolset</a>
</ul>
<p><a name="Resources"><br />
<strong>Downloads &#038; Resources</strong></p>
<p><em>Digital Logic &#038; Computer Architecture</em></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoc2NpdGVjaC5vcmcvZG93bmxvYWRzL0RpZ2l0YWxXb3Jrc192MjAwX2ZyZWV3YXJlLmV4ZQ==">Download Digital Works 2.0 (freeware)</a><br />
written by D. J. Barker at the University of Teesside.</p>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5lbGVjdHJvbmljcy1sYWIuY29tL2Rvd25sb2Fkcy9jbnQvZmNsaWNrLnBocD9maWQ9NTI=">Download Digital Works 3.0 (shareware)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zcHN1LmVkdS9jcy9mYWN1bHR5L2Jicm93bi9jaXJjdWl0cy9ob3d0by5odG1s">Quick tutorial for Digital Works</a> by Bob Brown of Southern Polytechnic State University
<li> A license for DW 3.0 can be <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21pY3JvY29udHJvbGxlcnNob3AuY29tL3Byb2R1Y3RfaW5mby5waHA/cHJvZHVjdHNfaWQ9NjYz">purchased here</a> &#8212; worth it once you start building more intricate bus-based designs.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hbWF6b24uY29tL1ByaW5jaXBsZXMtQ29tcHV0ZXItSGFyZHdhcmUtQ0QtUk9NLUNsZW1lbnRzL2RwLzAxOTg1NjQ1NDY="><em>Principles of Computer Hardware</em></a> by Alan Clements, 3rd Ed., 2000, Oxford University Press: an excellent introduction to Digital Logic and Computer Architecture.  Incorporates Digital Works in its pedagogy.
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5raW5nc3dvb2QtY29uc3VsdGluZy5jby51ay9naWljbS8=">The GIICM: a online, easily browse-able compendium of IC pinouts</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlYXJjaC5kaWdpa2V5LmNvbS9zY3JpcHRzL0RrU2VhcmNoL2Rrc3VzLmRsbA==">DigiKey&#8217;s Parameterized Search Index with PDF Datasheets on all Parts</a>
</ul>
<p><em>Assembly Language for x86</em></p>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoc2NpdGVjaC5vcmcvZG93bmxvYWRzL01pY3JvQVNNX3YxMDBfZnJlZXdhcmUuZXhl">Download MicroASM v1.00 (freeware)</a> an 8086 assembly language platform and 8086 visual emulator for beginners to learn assembly language concepts and programming.  Note: requires VB6 runtimes, which can be obtained from Microsoft <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Rvd25sb2FkLm1pY3Jvc29mdC5jb20vZG93bmxvYWQvdmI2MHByby9SZWRpc3Qvc3A1L1dJTjk4TWUvRU4tVVMvdmJydW42MHNwNS5leGU=">here<a>.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5lbXU4MDg2LmNvbS8=">Download MicroASM v4.08 (shareware)</a>
<li> <a href="">x86-assembly-toolset</a>An Open Source Assembly Language Toolset</a> contains a discussion of an intermediate level Open Sources assembly language toolset for the x86
</ul>
<p>
<hr />
<h4>Footnotes</h4>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1149-1'><strong>Using Assembly Language for Algorithm Analysis</strong></p>
<p>This is what Knuth does in <em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy1jcy1mYWN1bHR5LnN0YW5mb3JkLmVkdS9+a251dGgvdGFvY3AuaHRtbA==">The Art of Computer Programming</a></em>, a Tour de Force in the detailed analysis of fundamental problems and methods in computer science, their techniques and complexity analysis.  For these analyses, Knuth assumes an ideal machine, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9NSVg=">MIX</a> (for the 1960s) and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy1jcy1mYWN1bHR5LnN0YW5mb3JkLmVkdS9+a251dGgvbW1peC5odG1s">MMIX</a> (for the 2000&#8242;s) &#8211; a RISC style computer.  He abstracts away specific details that aren&#8217;t relevant to the essence of algorithm complexity &#8212; i.e. the number of registers etc.</p>
<p>It is often useful and helpful to taste implementing an algorithm in assembly language.  For this to be practical, you need the facilities of disk access, data loading and saving, and display.  These are most practically handled by the OS on a modern CPU, so it is easiest to use the OS functionality.  It is also easiest to do all of this within a higher level language in which this interaction is usually quite easy.  So the best way to proceed is by embedding (inlining) your assembly language implementations within a higher level language such as C/C++ or Basic. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTExNDktMQ==">&#8617;</a></span></li>
<li id='fn-1149-2'>Microchip PIC18 and dsPIC, Atmel AVR, and Intel 8051 are all families of microcontrollers that have reasonable optimizing compilers available today, a large and helpful user community, and easy pathways to entry level embedded systems projects. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTExNDktMg==">&#8617;</a></span></li>
<li id='fn-1149-3'>When you are ready, an inexpensive, RISC based, non-x86 platform for experimentation becomes handy.  Microchip PIC, Atmel AVR, and Intel 8051 are all widely used microcontroller platforms worth considering. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTExNDktMw==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1149" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/assembly-value/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meta-Questions and Educational Success</title>
		<link>http://mathscitech.org/articles/meta-questions-impact</link>
		<comments>http://mathscitech.org/articles/meta-questions-impact#comments</comments>
		<pubDate>Thu, 15 Apr 2010 16:53:29 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Mathematics-General]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Phenomenology]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1101</guid>
		<description><![CDATA[<p></p>
<p>Abstract</p>
<p>&#8220;It seems that students who are hard-working and otherwise successful, but whose milieu (peers, mentors, and home environment) are at once non-technical and disengaged from the ideas behind science and technology, are at a higher risk of disorientation, dissatisfaction, or disillusionment with mathematics and science.&#8221;</p>
<p>In this article, I will explore this conjecture, and suggest a [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Meta-Questions and Their Impact on Successful Mathematics, Science &#038; Technology Education<br />
      Assad Ebrahim, M.Sc.<br />
      WordPress Article<br />
      meta-questions-impact<br />
      (c) April 2010, Assad Ebrahim, M.Sc.<br />
      All Rights Reserved<br />
Formerly: Meta-Questions in Mathematics and their Impact on Educational Success<br />
--></p>
<p><strong>Abstract</strong></p>
<blockquote><p>&#8220;It seems that students who are hard-working and otherwise successful, but whose milieu (peers, mentors, and home environment) are at once non-technical <em>and</em> disengaged from the <strong>ideas</strong> behind science and technology, are at a higher risk of disorientation, dissatisfaction, or disillusionment with mathematics and science.&#8221;</p></blockquote>
<p>In this article, I will explore this conjecture, and suggest a potential course of action, rooted in the methods of inquiry of philosophy and the humanities, that may help reverse an otherwise tough pedagogical situation.</p>
<p>
<span id="more-1101"></span></p>
<hr />
<em><font color="red">Updated May 21, 2010</font></em></p>
<hr />
<h4>Some Observations</h4>
<p>In students who are otherwise quite successful, difficulties with mathematics and science often seem to boil down to what are essentially <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjbWF0aC1waGlsby10b3A=">meta-questions</a> &#8212; of more philosophical or human interest than technical problems.  In these otherwise good students, unaddressed meta-questions seem to cause greater lasting damage than one might expect.  In the mildest cases, we have good students well able to perform computations but who have missed the essential ideas underpinning the material at hand; in the severest cases, otherwise good students dismiss mathematics as inaccessible, irrelevant, or both.  Though I have less evidence for the situation in the hard sciences, I suspect the same to be true, especially in physics and chemistry.  The unfortunate departure from mathematics and science subjects by students who are otherwise capable, engaged and hard-working, seems particularly tragic.</p>
<h4>The Origins of a Conjecture</h4>
<p>The ideas behind this conjecture have taken shape over some time now as I have mentored an increasing number of secondary and post-secondary students.  The ideas were strengthened the more I encountered good students who were turned off to mathematics, but who, after being satisfied on what were essentially meta questions about mathematics, seemed to feel less alienated from the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=d2hhdC1pcy1tYXRoZW1hdGljcw==">goals</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y2hhcmFjdGVyaXN0aWNzLW1hdGhlbWF0aWNz">methods</a> of mathematics.  The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGg=">questions</a> themselves were often more of a philosophical or humanistic nature.  Nonetheless, it was these questions that seemed to have created a hurdle that was hampering the students&#8217; ability to freely absorb new mathematical ideas.  For some, there was renewed energy and effort in mathematics, often accompanied, in these cases, by a step change in attitude, engagement, and performance.</p>
<p>Encounters such as these prompted me to reflect on my own pathway through secondary and higher education.  Certainly, I can trace my continuation in mathematics and science to positive encounters with key mentors and structured experiences allowing the active pursuit of engaging mathematics.  Curious to see how others who stayed in the field came to be there, I followed up these informal investigations with industry and academic colleagues.  The results of the conversations suggest that there is perhaps a common thread that runs through a specific class of difficult educational experiences.</p>
<h4>The Conjecture</h4>
<p>Here&#8217;s what I currently believe:</p>
<blockquote><p>It seems that students who are hard-working and otherwise successful, but whose milieu (peers, mentors, and home environment) are at once non-technical <em>and</em> disengaged from the <strong>ideas</strong> behind science and technology, are at a higher risk of disorientation, dissatisfaction, or disillusionment with mathematics and science.  This disadvantage can be partially addressed by providing an opportunity to philosophically examine the meta aspects of mathematical activity.  Addressing this &#8220;cultural omission&#8221; in a structured fashion, and guiding the student toward greater personal intellectual engagement with the subject can turn potential unhappy departures into continuing and successful science and technology students.
</p></blockquote>
<h4>The Why&#8217;s and Wherefore&#8217;s</h4>
<p>The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y2hhcmFjdGVyaXN0aWNzLW1hdGhlbWF0aWNz">rather sophisticated perspectives</a> that are required in order for students to satisfactorily resolve for themselves <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjbWF0aC1waGlsby10b3BpY3M=">the most common meta questions in mathematics</a> are frequently absorbed, almost by osmosis, when the student&#8217;s milieu has within it mentors with this so-called &#8220;cultural knowledge&#8221;.  The important exchanges typically happen informally in general conversation with mathematically or technologically literate parents, uncles, aunts, or mentors within the student&#8217;s community.  Or they happen silently if the student has had the good fortune to observe or participate first-hand in how mathematics or mathematically related concepts are used in areas that they find interesting, be it physics, technology, computer games, artificial intelligence, robotics, digital graphics, social research, monetary policy, or business.</p>
<p>For students whose environments lack the opportunity for such interactions, the typical school or even university curriculum is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=dGVhY2hpbmctbWF0aGVtYXRpY3MtaW4tdHVuaWM=">not well suited to compensate for the lack</a>.  For such students, there is little further opportunity for meta questions to be addressed, putting them disproportionately at risk, with the expected disengagement and lack of success in science and technology education.  Though reversing this situation is difficult, there are initiatives underway<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTExMDEtMQ==" id='fnref-1101-1'>1</a></sup> to improve the situation, recognizing as they do that improvement in this area is crucial both for individual student success and for the success of science and technology education.</p>
<h4>Suggestion Action</h4>
<p>The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjbWF0aC1waGlsby1zeWxsYWJ1cw==">Course Reading Materials</a> provided here as part of a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjbWF0aC1waGlsby1ib2R5">Course on the Philosophy and Foundations of Mathematics</a>, are intended to address that portion of students who are attracted to Science, Technology, Engineering, and Mathematics (STEM) subjects, but whose background may not have included the cultural pre-requisites required to resolve common meta questions without supplementary sources.  Making these cultural assumptions and perspectives explicit for these students will hopefully lead them to be able to study further and with greater urgency in both theoretical mathematics and its applications than they might otherwise do, and by doing so, enable them to continue more confidently and comfortably with their science and technology education.</p>
<p>In each of these contexts, the primary intent is to head-off the otherwise inefficient blind search for this <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjcGhpbG8tbWF0aC10b3A=">cultural perspective</a> early enough in the students&#8217; technical education so that they better understand the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF0aGVtYXRpY3MtcHJlaGlzdG9yeQ==">origins</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=d2hhdC1pcy1tYXRoZW1hdGljcw==">meaning</a> of what they are doing, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZGV2ZWxvcG1lbnQtb2YtbWF0aGVtYXRpY3M=">why mathematics has evolved in the way it has</a>, and have a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Z29vZC1tYXRoLXRlY2huaXF1ZQ==">useful sense of perspective</a> to ensure that the forest is not missed for the many, many trees they will encounter.  The secondary intent is to help catalyze the development of that <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=dGVhY2hpbmctbWF0aGVtYXRpY3MtaW4tdHVuaWM=">elusive &#8220;mathematical maturity&#8221;</a>, a characteristic often desired by instructors but unfortunately less frequently found.</p>
<p>It is my opinion that a course such as this would be fruitfully offered initially as an elective, but then possibly required for undergraduate mathematics majors as well as beginning graduate students in mathematics, preferably during the first year of graduate school.  With <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGgjbWF0aC1waGlsby1mdXJ0aGVyd29yaw==">appropriate modifications</a>, an approach such as this may be useful for talented secondary students in an abbreviated, colloquium setting run in tandem with faculty from a university mathematics department interested in school partnership and outreach.</p>
<p>
<hr />
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Y291cnNlLXBoaWxvLW1hdGg=">A Course in the Philosophy and Foundations of Mathematics</a></p>
<p>
<hr />
<h3>Footnotes:</h3>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1101-1'>The recent <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hY21lLXVrLm9yZy9ldmVudC5hc3A/aWQ9MTMxJiMwMzg7YXJjaGl2ZT10cnVl">Mathematical Needs Conference</a> held by the Royal Society&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hY21lLXVrLm9yZy9kZWZhdWx0LmFzcA==">Advisory Committee on Mathematics Education (ACME)</a> led to some fruitful discussion.  In particular, the working group on &#8220;The mathematical needs of higher education&#8221; explored obstacles to student engagement with mathematics in the UK and how these could be reduced.  The results from this working group and the findings from an extensive research project sponsored by the Mathematical Needs committee of ACME and led by Huw Kyffin will be contained in a forthcoming report, to be available from the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hY21lLXVrLm9yZy9kZWZhdWx0LmFzcA==">ACME website</a>. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTExMDEtMQ==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1101" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/meta-questions-impact/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Course in the Philosophy and Foundations of Mathematics</title>
		<link>http://mathscitech.org/articles/course-philo-math</link>
		<comments>http://mathscitech.org/articles/course-philo-math#comments</comments>
		<pubDate>Thu, 15 Apr 2010 16:36:30 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Mathematics-Phenomenology]]></category>
		<category><![CDATA[course]]></category>
		<category><![CDATA[foundations of mathematics]]></category>
		<category><![CDATA[History of Science]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Phenomenology]]></category>
		<category><![CDATA[philosophy of science]]></category>
		<category><![CDATA[proof]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[syllabus]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1095</guid>
		<description><![CDATA[<p></p>
<p>An examination of mathematical methods and the search for mathematical meaning.</p>
<p>During your studies of mathematics, physics and engineering, you may find yourself distracted or troubled by meta questions about mathematics &#8212; questions that fall outside the syllabi of most of the coursework that you&#8217;ll take.  </p>
<p>For those for whom this itch is persistent, what [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Philosophy and Foundations of Mathematics<br />
      Assad Ebrahim, M.Sc.<br />
      WordPress Article<br />
      course-philo-math<br />
      (c) 2005-2010, Assad Ebrahim, M.Sc.<br />
      All Rights Reserved --></p>
<p><a name="math-philo-top"></a><strong>An examination of mathematical methods and the search for mathematical meaning.</strong></p>
<p>During your studies of mathematics, physics and engineering, you may find yourself distracted or troubled by <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWV0YS1xdWVzdGlvbnM=">meta questions about mathematics</a> &#8212; questions that fall outside the syllabi of most of the coursework that you&#8217;ll take.  </p>
<p>For those for whom this itch is persistent, what follows is an outline and reading list for a <em>Course in the Philosophy and Foundations of Mathematics</em>.  Among the topics included are the relation of mathematics to science, the examination of mathematical method, and the search for mathematical meaning.</p>
<p>
<span id="more-1095"></span></p>
<p>
<hr />
<p><a name="math-philo-body"></a></p>
<h2>A Course in the Philosophy and Foundations of Mathematics</h2>
<p><strong>An examination of mathematical methods and the search for mathematical meaning.</strong></p>
<h4>Overview</h4>
<p>This course weaves together two lines of inquiry:</p>
<ol>
<li> The first track looks at subjects: Mathematics, Science, and Logic.  <!-- Mathematical Modeling -->
<li> The second track considers characteristics: Certainty and Doubt, Empiricism vs. Theory, Abstraction, Proof, Truth and Knowledge.
</ol>
<p>Within each track, the following questions are considered: what are these concepts?  what are their relations and differences with each other?  Are any two of them the same?  And can they lead us to a better understanding of the enterprise of mathematics?  Our investigations along these tracks are facilitated by studying seven topics:</p>
<p><a name="math-philo-topics"></a></p>
<ul class="NoBullet">
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtbmF0dXJl">Topic 1. What is Mathematics?  (Its Nature and Characteristics)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtc2NpZW5jZQ==">Topic 2. Mathematics and Science</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtaGlzdG9yeQ==">Topic 3. Some Readings in the History of Mathematics and the Evolution of Its Ideas</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtdHJ1dGg=">Topic 4. Reality, Truth, and the Nature of Mathematical Knowledge</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtZm91bmRhdGlvbnM=">Topic 5. The Search for Foundations in Mathematics</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtcHJvb2Y=">Topic 6. What is Proof? and the Problem of Certainty</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdGgtc3R5bGU=">Topic 7. Thoughts on Mathematical Practice and Mathematical Style</a>
</ul>
<p>The mathematical material of this course moves fluidly from ancient history to modern times, with much in between, and brings in ideas from different branches of mathematical development.  But remember, it is not the mastery of the technical material that is the goal of this course.  Rather, the important thing is observing the evolution of the ideas, getting to the essence of their motivation, and understanding the characteristics of their development and the fruits of these efforts.</p>
<h4>Risks and Rewards</h4>
<p>A meta-mathematics itch, once awoken, can take a lot of scratching to satisfy.  You should be aware that the ideas you encounter here may pose distractions for you as you proceed along the regular course of your mathematical or technical studies.  However, my hope is that an itch such as this, and the ideas you will encounter through this course will inspire you to study further, more broadly, and with greater urgency in both theoretical mathematics and its applications than you might otherwise do.  With persistent inquiry and hard work, you will find at some point that you have a much more intimate understanding of your chosen subject, an understanding that should give you a sense of well-being, of historical and philosophical connectedness to the mathematics of the past, and pleasure at the prospect of continuing to participate in mathematical discovery, whether for yourself as an amateur or as a professional mathematician, engineer, or applied scientist.</p>
<h4>Course Materials</h4>
<p>To keep the course-materials inexpensive and readily accessible for the interested reader to pursue, I have adapted the original readings list for this course to favor materials that are now available freely online.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwOTUtMQ==" id='fnref-1095-1'>1</a></sup>  </p>
<p>
<hr />
<p><a name="math-philo-syllabus"></a></p>
<h3>Syllabus and Reading List</h3>
<p><a name = "math-nature"></a></p>
<h4>Topic 1. What is Mathematics?  (Its Nature and Characteristics.)</h4>
<ol>
<li> Article: <em>What is Mathematics?</em> (Davis/Hersh) [<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0RhdmlzL0hlcnNo">DH81</a>], pp. 6-8
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jvb2tzLmdvb2dsZS5jb20vYm9va3M/aWQ9bE1kejg0ZFdObkFDJiMwMzg7cGc9UEE2JiMwMzg7bHBnPVBBNiYjMDM4O2RxPVdoYXQraXMrTWF0aGVtYXRpY3MrRGF2aXMrSGVyc2gmIzAzODtzb3VyY2U9YmwmIzAzODtvdHM9QnE3V09wSjRzNCYjMDM4O3NpZz1UQ0dSQUVNMDItWFptUS1hUVUxU0ZWalRvVmsmIzAzODtobD1lbiYjMDM4O2VpPV9EckdTNWJFTkpQaXN3UHJ4UEcyRFEmIzAzODtzYT1YJiMwMzg7b2k9Ym9va19yZXN1bHQmIzAzODtjdD1yZXN1bHQmIzAzODtyZXNudW09NSYjMDM4O3ZlZD0wQ0I4UTZBRXdCQSN2PW9uZXBhZ2UmIzAzODtxPVdoYXQlMjBpcyUyME1hdGhlbWF0aWNzJTIwRGF2aXMlMjBIZXJzaCYjMDM4O2Y9ZmFsc2U=">[Read article online (Google Books)]</a>
</ul>
<li> Article: <em>A General View of Mathematics</em> (Aleksandrov) <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Q0lURUFsZWtzYW5kcm92">[Ale56]</a>, in <em>Mathematics: Its Content, Methods, and Meaning</em> (Aleksandrov/Kolmogorov/Lavrentev) <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=TUNNTQ==">[AKL63]</a>, pp.1-64
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy1oaXN0b3J5Lm1jcy5zdC1hbmQuYWMudWsvRXh0cmFzL0FsZWtzYW5kcm92X21hdGhlbWF0aWNzLmh0bWw=">[Read Sections 1 &#038; 2 online (History of Mathematics, St. Andrews)]</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jvb2tzLmdvb2dsZS5jb20vYm9va3M/aWQ9aWtNQXpGWHBGT3NDJiMwMzg7cGc9UEExJiMwMzg7bHBnPVBBMSYjMDM4O2RxPUErR2VuZXJhbCtWaWV3K29mK01hdGhlbWF0aWNzK0FsZWtzYW5kcm92JiMwMzg7c291cmNlPWJsJiMwMzg7b3RzPXI4UTBTUHJMcjcmIzAzODtzaWc9RW5ScFY5dUtBTHR1amRmcXVSdzJ2VU9rTHNNJiMwMzg7aGw9ZW4mIzAzODtlaT16alRHUzZ2eURwRHVzUVA4ZzRpNURRJiMwMzg7c2E9WCYjMDM4O29pPWJvb2tfcmVzdWx0JiMwMzg7Y3Q9cmVzdWx0JiMwMzg7cmVzbnVtPTImIzAzODt2ZWQ9MENBZ1E2QUV3QVEjdj1vbmVwYWdlJiMwMzg7cT1BJTIwR2VuZXJhbCUyMFZpZXclMjBvZiUyME1hdGhlbWF0aWNzJTIwQWxla3NhbmRyb3YmIzAzODtmPWZhbHNl">[Read entire article online (Google Books)]</a>
</ul>
<li> Book: <em>Proofs and Refutations: The Logic of Mathematical Discovery</em> (Lakatos), <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0xha2F0b3MvUHJvb2Zz">[Lak63]</a> pp.6.ff (entire book)
<ul>
<li>This book is worth <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hbWF6b24uY29tL1Byb29mcy1SZWZ1dGF0aW9ucy1Mb2dpYy1NYXRoZW1hdGljYWwtRGlzY292ZXJ5L2RwLzA1MjEyOTAzODQ=">buying</a> for your library.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jvb2tzLmdvb2dsZS5jb20vYm9va3M/aWQ9MW42U0ZkWENPQlFDJiMwMzg7bHBnPVBQMSYjMDM4O290cz15SW94S3NXSzBsJiMwMzg7ZHE9UHJvb2ZzJTIwYW5kJTIwUmVmdXRhdGlvbnMlMjBMYWthdG9zJiMwMzg7cGc9UFAxI3Y9b25lcGFnZSYjMDM4O3EmIzAzODtmPWZhbHNl">[Read online - Partial Preview only (Google Books), pp.6-18]</a>
</ul>
</ol>
<p><a name="math-science"></a></p>
<h4>Topic 2. Mathematics and Science</h4>
<ol>
<li> Article: <em>The Unreasonable Effectiveness of Mathematics in the Natural Sciences</em>  (Wigner)
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kYXJ0bW91dGguZWR1L35tYXRjL01hdGhEcmFtYS9yZWFkaW5nL1dpZ25lci5odG1s">[Read online]</a> (Dartmouth)
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC93aWduZXItdW5yZWFzb25hYmxlLWVmZmVjdGl2ZW5lc3MtbWF0aC5wZGY=">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5waHlzaWsudW5pLXd1ZXJ6YnVyZy5kZS9maWxlYWRtaW4vdHAzL1FNL3dpZ25lci5wZGY=">Univ. Wuerzburg</a>)
</ul>
<li> Article: <em>The Unreasonable Effectiveness of Mathematics</em>  (Hamming)
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kYXJ0bW91dGguZWR1L35tYXRjL01hdGhEcmFtYS9yZWFkaW5nL0hhbW1pbmcuaHRtbA==">[Read online]</a> (Dartmouth)
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9oYW1taW5nLXVucmVhc29uYWJsZS1lZmZlY3RpdmVuZXNzLW1hdGgucGRm">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoLnVjZGF2aXMuZWR1L35tZHVjaGluLzExMS9yZWFkaW5ncy9oYW1taW5nLnBkZg==">UC Davis</a>)
</ul>
<li> Article: <em>Science and Hypothesis: Author&#8217;s Preface</em> (Poincare) <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVQb2luY2FyZQ==">[Poi05]</a>, pp.xxi to xxvii
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9wb2luY2FyZS1zY2llbmNlLWh5cG90aGVzaXMtcHJlZmFjZS5wZGY=">[Download Article]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcmNoaXZlLm9yZy9kZXRhaWxzL3NjaWVuY2VoeXBvdGhlc2kwMHBvaW4=">Internet Archive (Entire Book)</a>)
</ul>
<li>Article: <em> Mathematics as an Objective Science</em> (Goodman) <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVHb29kbWFu">[Goo79]</a>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5qc3Rvci5vcmcvcHNzLzIzMjA1ODE=">[Preview Article -- first page only]</a> (from JSTOR)
</ul>
<li> Article: <em>Why a little bit goes a long way: Logical foundations of scientifically applicable mathematics</em> (Feferman)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9mZWZlcm1hbi1zY2llbnRpZmljYWxseS1hcHBsaWNhYmxlLW1hdGgtZm91bmRhdGlvbnMucGRm">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguc3RhbmZvcmQuZWR1L35mZWZlcm1hbi9wYXBlcnMvcHNhMTk5Mi5wZGY=">Author&#8217;s webpage</a>)
</ul>
</ol>
<p><a name="math-history"></a></p>
<h4>Topic 3. Some Readings in the History of Mathematics and the Evolution of Its Ideas</h4>
<ol>
<li> Article: <em>Pre-modern algebra: A concise survey of that which was shaped into the technique and discipline we know</em> (Hoyrup)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9ob3lydXAtcHJlbW9kZXJuLWFsZ2VicmEucGRm">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5ha2lyYS5ydWMuZGsvfmplbnNoL1B1YmxpY2F0aW9ucy8yMDA2JTdCYyU3RF9QcmUtTW9kZXJuQWxnZWJyYS5wZGY=">Author&#8217;s webpage</a>)
</ul>
<li> Article: <em>Evolution of the Function Concept: A Brief Survey</em> (Kleiner)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9rbGVpbmVyLWV2b2x1dGlvbi1mdW5jdGlvbi1jb25jZXB0LnBkZg==">[Download PDF]</a>   (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYWEub3JnL3B1YnMvQ2FsY19hcnRpY2xlcy9tYTAwMS5wZGY=">Mathematical Association of America</a>)
</ul>
<li> Article: <em>The Evolution of Group Theory: A Brief Survey</em> (Kleiner)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9rbGVpbmVyLWV2b2x1dGlvbi1ncm91cC10aGVvcnkucGRm">[Download PDF]</a>   (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguYm9pc2VzdGF0ZS5lZHUvfnRjb25rbGluL01BVEgxMjQvTWFpbi9Ob3Rlcy8zJTIwTnVtYmVyJTIwVGhlb3J5L1BERnMvSlNUT1IvVGhlJTIwRXZvbHV0aW9uJTIwb2YlMjBHcm91cCUyMFRoZW9yeSUyMC0lMjBBJTIwQnJpZWYlMjBTdXJ2ZXkucGRm">Tom Conklin&#8217;s collection</a>)
</ul>
<li> Article: <em>Excursus into the History of Calculus</em> (Kutateladze)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9rdXRhdGVsYWR6ZS1oaXN0b3J5LW9mLWFuYWx5c2lzLnBkZg==">[Download PDF]</a>   (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyeGl2Lm9yZy9wZGYvbWF0aC8wNzAxMDY4">arXiv</a>)
</ul>
<li> Article: <em>History of the Formulas and Algorithms for <img src='http://s.wordpress.com/latex.php?latex=pi&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='pi' title='pi' class='latex' /></em> (Goyanes)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9nb3lhbmVzLWhpc3RvcnktZm9ybXVsYXMtcGkucGRm">[Download PDF]</a>   (Originating server is <a href="">arXiv</a>)
</ul>
<li> Book: <em>A History of Astronomy</em> Ch.1&#8211;5, pp.1-62 (Pannenoek)<br />
Astronomy as a catalyst driving the increasing sophistication of arithmetic, algebra, geometry and calculational methods in Ancient Mathematics (Babylonia, Assyria, Egypt, Vedic India, Greece, and Alexandria), Muslim  mathematics (Arabia, Persia, Central Asia), and in Renaissance Europe.</p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Jvb2tzLmdvb2dsZS5jb20vYm9va3M/aWQ9TzdEOUF5VS1uTFlDJiMwMzg7cHJpbnRzZWM9ZnJvbnRjb3ZlciYjMDM4O2RxPUhpc3Rvcnkrb2YrQXN0cm9ub215K1Bhbm5la29layYjMDM4O3NvdXJjZT1ibCYjMDM4O290cz04Wi02VV9pT3BMJiMwMzg7c2lnPUFSSDg2Z2drZTUxTjQyNTh4dU9udy1CVkhTMCYjMDM4O2hsPWVuJiMwMzg7ZWk9djRiR1M0ZW5HWkdHc3dPcDZzQzJEUSYjMDM4O3NhPVgmIzAzODtvaT1ib29rX3Jlc3VsdCYjMDM4O2N0PXJlc3VsdCYjMDM4O3Jlc251bT0zJiMwMzg7dmVkPTBDQThRNkFFd0FnI3Y9b25lcGFnZSYjMDM4O3EmIzAzODtmPWZhbHNl">[Read Ch.1--5 online (Ancient Mathematics)]</a> (Google Books)
</ul>
<li> Book: <em>A History of &#8220;Modern&#8221; Mathematics (from the start of the 1700s to the end of the 1800s)</em> (Smith)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9zbWl0aC1oaXN0b3J5LW1vZGVybi1tYXRoLnBkZg==">[Download entire eBook as PDF]</a>   (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5ndXRlbmJlcmcub3JnL2V0ZXh0Lzg3NDY=">Project Gutenberg</a>)
</ul>
</ol>
<p><a name="math-truth"></a></p>
<h4>Topic 4. Reality, Truth, and the Nature of Mathematical Knowledge</h4>
<p>The problem of determinism and error.  Is nature continuous of discrete?  What is Reality?  What is Truth?  Are the real numbers useful?  Empirics and description vs. axiomatics and deduction?</p>
<ol>
<li> Article: <em>The Nature of Truth</em> (Schatz)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9zY2hhdHotbWF0aGVtYXRpY2FsLXRydXRoLnBkZg==">[Download PDF]</a>  (Originating server is: <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jc2MubmNzdS5lZHUvZmFjdWx0eS9kb3lsZS9qYXMvdHJ1dGgucGRm">(Author&#8217;s PhD student&#8217;s page)</a>
</ul>
<li> Article: <em>Inevitable Experimental Errors, Determinism, and Information Theory</em> (Brillouin)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zY2llbmNlZGlyZWN0LmNvbS9zY2llbmNlP19vYj1BcnRpY2xlVVJMJiMwMzg7X3VkaT1CN01GTS00RFg0OTNKLTROJiMwMzg7X3VzZXI9MTAmIzAzODtfY292ZXJEYXRlPTA0JTJGMzAlMkYxOTU5JiMwMzg7X3Jkb2M9MSYjMDM4O19mbXQ9aGlnaCYjMDM4O19vcmlnPXNlYXJjaCYjMDM4O19zb3J0PWQmIzAzODtfZG9jYW5jaG9yPSYjMDM4O3ZpZXc9YyYjMDM4O19zZWFyY2hTdHJJZD0xMjk2Mzg0Njk5JiMwMzg7X3JlcnVuT3JpZ2luPXNjaG9sYXIuZ29vZ2xlJiMwMzg7X2FjY3Q9QzAwMDA1MDIyMSYjMDM4O192ZXJzaW9uPTEmIzAzODtfdXJsVmVyc2lvbj0wJiMwMzg7X3VzZXJpZD0xMCYjMDM4O21kNT1kNGRmMjJhNTRhYmMxZjlhZTQxMjUxMjI2YjRhYjJhYg==">[Abstract free online]</a> (Elsevier &#8211; Information and Control)
</ul>
<li> Article: <em>Poincare&#8217;s Theorem and Uncertainty in Classical Mechanics</em> (Brillouin)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zY2llbmNlZGlyZWN0LmNvbS9zY2llbmNlP19vYj1BcnRpY2xlVVJMJiMwMzg7X3VkaT1CN01GTS00RFg0OTRHLTRZJiMwMzg7X3VzZXI9MTAmIzAzODtfY292ZXJEYXRlPTA5JTJGMzAlMkYxOTYyJiMwMzg7X3Jkb2M9MSYjMDM4O19mbXQ9aGlnaCYjMDM4O19vcmlnPXNlYXJjaCYjMDM4O19zb3J0PWQmIzAzODtfZG9jYW5jaG9yPSYjMDM4O3ZpZXc9YyYjMDM4O19zZWFyY2hTdHJJZD0xMjk2MzgwNjQyJiMwMzg7X3JlcnVuT3JpZ2luPXNjaG9sYXIuZ29vZ2xlJiMwMzg7X2FjY3Q9QzAwMDA1MDIyMSYjMDM4O192ZXJzaW9uPTEmIzAzODtfdXJsVmVyc2lvbj0wJiMwMzg7X3VzZXJpZD0xMCYjMDM4O21kNT1kZDAxNjE4MTU1NmExMzgxMDI4NDE2YTg0MGMyNWQxYg==">[Abstract free online]</a> (Elsevier &#8211; Information and Control)
</ul>
<li> Article: <em>Mathematical Intuition vs. Mathematical Monsters</em> (Feferman)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9mZWZlcm1hbi1tYXRoLWludHVpdGlvbi12cy1tb25zdGVycy5wZGY="><br />
[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguc3RhbmZvcmQuZWR1L35mZWZlcm1hbi9wYXBlcnMvaW50dWl0aW9uLnBkZg==">Author&#8217;s webpage</a>)
</ul>
</ol>
<p><a name="math-foundations"></a></p>
<h4>Topic 5. The Search for Foundations in Mathematics</h4>
<ol>
<li> Article: <em>The development of programs for the foundations of mathematics in the first third of the 20th century</em> (Feferman)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9mZWZlcm1hbi1wcm9ncmFtbWVzLWZvdW5kYXRpb25zLW1hdGgucGRm">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguc3RhbmZvcmQuZWR1L35mZWZlcm1hbi9wYXBlcnMvZm91bmRhdGlvbnMucGRm">Author&#8217;s webpage</a>)
</ul>
<li> Article: <em>Does Mathematics Need New Axioms?</em> (Feferman)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9mZWZlcm1hbi1kb2VzLW1hdGgtbmVlZC1uZXctYXhpb21zLnBkZg==">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguc3RhbmZvcmQuZWR1L35mZWZlcm1hbi9wYXBlcnMvbmV3YXhpb21zLnBkZg==">Author&#8217;s webpage</a>)
</ul>
</ol>
<p><a name="math-proof"></a></p>
<h4>Topic 6. What is Proof? and the Problem of Certainty</h4>
<blockquote><p>&#8220;You can be certain and be wrong.&#8221;<br />
- John Kerry, 2004 Presidential Election against George W. Bush</p></blockquote>
<ol>
<li> Article: <em>Rigor and Proof in Mathematics: A Historical Perspective</em> (Kleiner)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9rbGVpbmVyLWV2b2x1dGlvbi1yaWdvci1wcm9vZi1tYXRoLnBkZg==">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGguYm9pc2VzdGF0ZS5lZHUvfnRjb25rbGluL01BVEgxMjQvTWFpbi9Ob3Rlcy8zJTIwTnVtYmVyJTIwVGhlb3J5L1BERnMvSlNUT1IvUmlnb3IlMjBhbmQlMjBQcm9vZiUyMGluJTIwTWF0aGVtYXRpY3MlMjAtJTIwQSUyMEhpc3RvcmljYWwlMjBQZXJzcGVjdGl2ZS5wZGY=">Tom Conklin&#8217;s collection</a>)
</ul>
<li> Article: <em>There&#8217;s More to Mathematics than Rigour and Proofs</em> (Tao)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3RlcnJ5dGFvLndvcmRwcmVzcy5jb20vY2FyZWVyLSE8YnIgLz4KXHZlcmIhYWR2aWNlL3RoZXJlJUUyJTgwJTk5cy1tb3JlLXRvLW1hdGhlbWF0aWNzLXRoYW4tcmlnb3VyLWFuZC1wcm9vZnMv">[Read article online]</a>.  Also, his <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3RlcnJ5dGFvLndvcmRwcmVzcy5jb20vY2FyZWVyLWFkdmljZS90aGVyZSVFMiU4MCU5OXMtbW9yZS10by1tYXRoZW1hdGljcy10aGFuLXJpZ291ci1hbmQtcHJvb2ZzLyNjb21tZW50LTQzMzE3"further elaboration</a> on a &#8220;heuristic stage&#8221; and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3RlcnJ5dGFvLndvcmRwcmVzcy5jb20vY2FyZWVyLWFkdmljZS90aGVyZSVFMiU4MCU5OXMtbW9yZS10by1tYXRoZW1hdGljcy10aGFuLXJpZ291ci1hbmQtcHJvb2ZzLyNjb21tZW50LTQzMzMz">a language metaphor for why order matters</a> in one&#8217;s formal training]
</ul>
<li> Article: <em>How to Write a Proof</em> (Lamport)<br />
An argument for heirarchically structured proof instead of the commonly used prose-proof style.</p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9sYW1wb3J0LWhvdy10by13cml0ZS1hLXByb29mLnBkZg==">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3Jlc2VhcmNoLm1pY3Jvc29mdC5jb20vZW4tdXMvdW0vcGVvcGxlL2xhbXBvcnQvcHVicy9wdWJzLmh0bWwjbGFtcG9ydC1ob3ctdG8td3JpdGU=">Author&#8217;s webpage, along with commentary</a> on the context in which he wrote the paper
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xhYnVydS5vcmcvfmFsZXgvbm90ZXMvbGVzbGllLWxhbXBvcnQtb24taG93LXRvLXdyaXRlLWEtcHJvb2Yv">An undergraduate&#8217;s impression</a> of Lamport&#8217;s talk and paper.
</ul>
<li> Article: <em>A Collection of Beautiful Proofs</em> (Dijkstra)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9kamlrc3RyYS1iZWF1dGlmdWwtcHJvb2ZzLWV3ZDUzOC5QREY=">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvZXdkMDV4eC9FV0Q1MzguUERG">Author&#8217;s collected works page</a>)
</ul>
<li> Article: <em>The Mathematical Divide</em> (Dijkstra)<br />
An argument for why computational proof methods should be encouraged.</p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9kaWprc3RyYS1tYXRoZW1hdGljYWwtZGl2aWRlLWV3ZDEyNjgucGRm">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvZXdkMTJ4eC9FV0QxMjY4LlBERg==">Author&#8217;s collected works page</a>)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvdHJhbnNjcmlwdGlvbnMvRVdEMTJ4eC9FV0QxMjY4Lmh0bWw=">[Read online]</a>
</ul>
</ol>
<p><a name="math-style"></a></p>
<h4>Topic 7. Thoughts on Mathematical Practice and Mathematical Style</h4>
<ol>
<li> <em>Essays on the Nature and Role of Mathematical Elegance</em> (Dijkstra)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9kaWprc3RyYS1tYXRoZW1hdGljYWwtZWxlZ2FuY2UtZXdkNjE5LnBkZg==">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvZXdkMDZ4eC9FV0Q2MTkuUERG">Author&#8217;s collected works page</a>)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvdHJhbnNjcmlwdGlvbnMvRVdEMDZ4eC9FV0Q2MTkuaHRtbA==">[Read online]</a>
</ul>
<li> <em>On the Quality Criteria for Mathematical Writing</em> (Dijkstra)
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC9kaWprc3RyYS1xdWFsaXR5LW1hdGhlbWF0aWNhbC13cml0aW5nLWV3ZDEwNjgucGRm">[Download PDF]</a> (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvZXdkMTB4eC9FV0QxMDY4LlBERg==">Author&#8217;s collected works page</a>)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3VzZXJ3ZWIuY3MudXRleGFzLmVkdS91c2Vycy9FV0QvdHJhbnNjcmlwdGlvbnMvRVdEMTB4eC9FV0QxMDY4Lmh0bWw=">[Read online]</a>
</ul>
<li><em>What is Good Mathematics?</em> (Tao)  [<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVUYW8vR29vZE1hdGg=">Tao07</a>]
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tY291cnNlLW1hdGgtcGhpbC90YW8td2hhdC1pcy1nb29kLW1hdGhlbWF0aWNzLnBkZg==">[Download PDF]</a>  (Originating server is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyeGl2Lm9yZy9hYnMvbWF0aC5ITy8wNzAyMzk2">arXiv:math</a>)
</ul>
</ol>
<p>
<hr />
<h4>Related Articles:</h4>
<p><em>>> Continue reading: </em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWV0YS1xdWVzdGlvbnMtaW1wYWN0">Meta-Questions and their Impact on Successful Mathematics, Science &#038; Technology Education</a></p>
<h4><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWFpbHRvOmFzc2FkLmVicmFoaW1AbWF0aHNjaXRlY2gub3Jn">Share Your Experiences. . .</a></h4>
<ol>
<li>. . . if you have enjoyed the materials or have suggestions,
<li>. . . if you&#8217;re a student and have taken a course such as this, or
<li>. . . if you have taught a similar course
</ol>
<p><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWFpbHRvOmFzc2FkLmVicmFoaW1AbWF0aHNjaXRlY2gub3Jn">drop me a line.</a>  I would welcome hearing from you.</p>
<p><a name="math-philo-furtherwork"></a></p>
<h4>Further Work (Collaborators welcomed!)</h4>
<p>A course such as that outlined in the preceding would, I believe, be useful in all three areas of education: secondary, post-secondary (undergraduate), and graduate, appropriately restructured:</p>
<ul>
<li>as a secondary school elective to encourage bright students in mathematics, science and technology to enter the university with a broader perspective on the mathematics they will be rapidly learning there.
<li>as a university elective course, offered as a writing-intensive seminar, intended primarily for students in the sciences and engineer: mathematics, physics, engineering.
<li>as a graduate level course, offered in the first year of graduate school in mathematics or applied mathematics as a supplementary seminar.
</ul>
<p>There is much that can be done.</p>
<p>If collaborating on future work in this direction sounds interesting, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWFpbHRvOmFzc2FkLmVicmFoaW1AbWF0aHNjaXRlY2gub3Jn">your efforts would be welcomed!</a>  </p>
<p>
<hr />
<h3>Footnotes:</h3>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1095-1'>To ensure that the materials are always available for download, I am serving them from copies held on this site.  If you are the author of any of these articles and would prefer to have the primary download originate from your site, please <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWFpbHRvOmFzc2FkLmVicmFoaW1AbWF0aHNjaXRlY2gub3Jn">send me an email</a>, and I will make the change. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwOTUtMQ==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1095" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/course-philo-math/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finite Summation of Integer Powers (Part 3)</title>
		<link>http://mathscitech.org/articles/finite-summations-3</link>
		<comments>http://mathscitech.org/articles/finite-summations-3#comments</comments>
		<pubDate>Fri, 02 Apr 2010 10:41:39 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematics-Technical]]></category>
		<category><![CDATA[Discrete Mathematics]]></category>
		<category><![CDATA[Finite Summation]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[Maxima]]></category>
		<category><![CDATA[Octave]]></category>
		<category><![CDATA[Problem-Solving]]></category>
		<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=1030</guid>
		<description><![CDATA[<p>(Discrete Mathematics Techniques III)</p>
<p>Abstract
We find a direct closed-form solution, i.e. one that does not require iteration, for the general case of the finite-summation-of-integer-powers problem .  Having established in Part 2 that the closed-form solution is a polynomial, the summation is here rewritten as the sum of the  independent monomials  (), where the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>(Discrete Mathematics Techniques III)</strong></p>
<p><strong>Abstract</strong><br />
We find a <strong>direct</strong> closed-form solution, i.e. one that does <strong>not</strong> require iteration, for the general case of the finite-summation-of-integer-powers problem <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%20k%5Ep%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N) = \sum_{k=1}^{N} k^p}' title='{S_p(N) = \sum_{k=1}^{N} k^p}' class='latex' />.  Having established in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Part 2</a> that the closed-form solution is a polynomial, the summation is here rewritten as the sum of the <img src='http://s.wordpress.com/latex.php?latex=p%2B1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p+1' title='p+1' class='latex' /> independent monomials <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%20N%5Ej%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j N^j}' title='{a_j N^j}' class='latex' /> (<img src='http://s.wordpress.com/latex.php?latex=%7B1%20%5Cleq%20j%20%5Cleq%20p%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{1 \leq j \leq p+1}' title='{1 \leq j \leq p+1}' class='latex' />), where the <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' /> are unknown coefficients.  Using the recurrence relation <img src='http://s.wordpress.com/latex.php?latex=S_p%28N%2B1%29%20%3D%20S_p%28N%29%20%2B%20%28N%2B1%29%5Ep&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S_p(N+1) = S_p(N) + (N+1)^p' title='S_p(N+1) = S_p(N) + (N+1)^p' class='latex' />, we obtain a linear combination of the monomials, which reduces to an easily solvable <img src='http://s.wordpress.com/latex.php?latex=%7B%28p%2B1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(p+1)}' title='{(p+1)}' class='latex' />-by-<img src='http://s.wordpress.com/latex.php?latex=%7B%28p%2B1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(p+1)}' title='{(p+1)}' class='latex' /> triangular linear system in the unknown coefficients <img src='http://s.wordpress.com/latex.php?latex=a_j&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='a_j' title='a_j' class='latex' /> of the closed-form polynomial solution.  <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF4aW1h">Maxima</a> and Octave/Matlab codes for <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMyNBcHBlbmRpeEI=">directly computing</a> the closed-form solutions are included in the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMyNBcHBlbmRpeEI=">Appendices</a>.</p>
<p>
 <span id="more-1030"></span></p>
<p>
<hr />
<p><strong><em>NOTE: This paper contains many formulas.  As such, you may prefer reading the paper as a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGhzY2l0ZWNoLm9yZy9wYXBlcnMvZWJyYWhpbS1zdW0tcG93ZXJzLTMucGRm">typeset PDF</a></em></strong>.</p>
<hr />
<p><h3>Finding a Closed-Form solution for <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5EN%20k%5Ep%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N) = \sum_{k=1}^N k^p}' title='{S_p(N) = \sum_{k=1}^N k^p}' class='latex' /> using a Direct Method</h3>
<p><h4>Motivation</h4>
<p>
 Our goal is to obtain, without using iteration, a closed form solution for the general case of the finite-summation-of-integer-powers problem:<br />
 <a name="spn">
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_p%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5EN%20k%5Ep%2C%20%5Cmbox%7B%20%28where%20%7D%20p%20%5Cin%20%5Cmathbb%7BN%7D%20%3D%20%5C%7B0%2C1%2C2%2C%5Cldots%5C%7D%3B%20N%5Cgeq0%29%20%5C%20%5C%20%5C%20%5C%20%5C%20%281%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_p(N) = \sum_{k=1}^N k^p, \mbox{ (where } p \in \mathbb{N} = \{0,1,2,\ldots\}; N\geq0) \ \ \ \ \ (1)' title='\displaystyle S_p(N) = \sum_{k=1}^N k^p, \mbox{ (where } p \in \mathbb{N} = \{0,1,2,\ldots\}; N\geq0) \ \ \ \ \ (1)' class='latex' /></p>
<p></a> Recall that in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Part 2 of this paper</a> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0VicmFoaW0vU3Vta3Ay" name=\"CITEEbrahim/Sumkp2\"></a>, we used a method of recurrence relations to obtain the following results about <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' />: </p>
<ol>
<li> <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> may be expressed as a linear recurrence relation that uses the <img src='http://s.wordpress.com/latex.php?latex=%7Bp-1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p-1}' title='{p-1}' class='latex' /> lower order formulas <img src='http://s.wordpress.com/latex.php?latex=%7BS_j%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_j(N)}' title='{S_j(N)}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%7BS_j%28N-1%29%2C%20%5C%20%5C%20%28j%20%3D%201%2C%5Cldots%2Cp-1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_j(N-1), \ \ (j = 1,\ldots,p-1)}' title='{S_j(N-1), \ \ (j = 1,\ldots,p-1)}' class='latex' /> as follows:<br />
<a name="spnsol">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_p%28N%29%20%3D%20%5Cfrac%7B1%7D%7B1%2B%5Calpha_p%7D%5Cleft%5C%7BN%5E2%20%2B%20N%5Ep%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp-1%7D%20C_j%28N%29%20S_j%28N-1%29%20-%20%5Csum_%7Bj%3D1%7D%5E%7Bp-1%7D%20%5Calpha_j%20S_j%28N%29%20%5Cright%5C%7D%2C%20%5C%20%5C%20%5C%20%5C%20%5C%20%282%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_p(N) = \frac{1}{1+\alpha_p}\left\{N^2 + N^p + \sum_{j=1}^{p-1} C_j(N) S_j(N-1) - \sum_{j=1}^{p-1} \alpha_j S_j(N) \right\}, \ \ \ \ \ (2)' title='\displaystyle S_p(N) = \frac{1}{1+\alpha_p}\left\{N^2 + N^p + \sum_{j=1}^{p-1} C_j(N) S_j(N-1) - \sum_{j=1}^{p-1} \alpha_j S_j(N) \right\}, \ \ \ \ \ (2)' class='latex' />.</p>
<p></a><br />
The <img src='http://s.wordpress.com/latex.php?latex=%7B%5Calpha_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\alpha_j}' title='{\alpha_j}' class='latex' /> in (2) are the coefficients from the <img src='http://s.wordpress.com/latex.php?latex=%28p-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(p-1)' title='(p-1)' class='latex' />-st polynomial solution <img src='http://s.wordpress.com/latex.php?latex=%7BS_%7Bp-1%7D%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_{p-1}(N)}' title='{S_{p-1}(N)}' class='latex' />, while the terms <img src='http://s.wordpress.com/latex.php?latex=C_j%28N%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='C_j(N)' title='C_j(N)' class='latex' /> are defined in terms of binomial coefficients<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwMzAtMQ==" id='fnref-1030-1'>1</a></sup> as:</p>
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20C_j%28N%29%20%3D%20%5Cleft%5B%5Cbinom%7Bp-1%7D%7Bj%7DN%20-%20%5Cbinom%7Bp-1%7D%7Bj-1%7D%5Cright%5D.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle C_j(N) = \left[\binom{p-1}{j}N - \binom{p-1}{j-1}\right].' title='\displaystyle C_j(N) = \left[\binom{p-1}{j}N - \binom{p-1}{j-1}\right].' class='latex' /></p>
<p><li> The closed form solution of <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> is a polynomial in <img src='http://s.wordpress.com/latex.php?latex=%7BN%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N}' title='{N}' class='latex' /> of degree <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> with rational coefficients and a constant term equal to zero.
</ol>
<p>
 While the expression for <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbA==">(2)</a> is indeed accurate, it requires repeated iteration to obtain the closed form expression for any particular <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />. Such an approach without the assistance of a computer algebra system such as <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF4aW1h">Maxima</a><sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwMzAtMg==" id='fnref-1030-2'>2</a></sup> would be prohibitively time-consuming and prone to error. </p>
<p>We are hence left with the following question:  </p>
<blockquote><p>Can we find a closed-form solution for the coefficients of the general solution polynomial that can be obtained <em>directly</em>, i.e. that does not require iteration?</p></blockquote>
<p>This paper uses linear algebra and matrices to achieve precisely this goal.</p>
<p>
<h3>The Direct Approach</h3>
<p><h4> Polynomial with Undetermined Coefficients </h4>
<p> Since we have established in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbA==">(2)</a> that <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> is a polynomial of order <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> with no constant term, we may write down the closed form solution of <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> in the form:<br />
 <a name="spn_poly">
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_p%28N%29%20%3A%3D%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20a_j%20N%5Ej%5C%20%5C%20%5C%20%5C%20%5C%20%283%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_p(N) := \sum_{j=1}^{p+1} a_j N^j\ \ \ \ \ (3)' title='\displaystyle S_p(N) := \sum_{j=1}^{p+1} a_j N^j\ \ \ \ \ (3)' class='latex' /></p>
<p></a> where <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%2C%20%5C%20%28j%20%3D%201%2C%5C%202%2C%5C%20%5Cldots%2C%5C%20p%2B1%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j, \ (j = 1,\ 2,\ \ldots,\ p+1)}' title='{a_j, \ (j = 1,\ 2,\ \ldots,\ p+1)}' class='latex' />, are coefficients that have yet to be determined. As a first step towards determining these coefficients, observe that every finite summation can be written as a first order recurrence in <img src='http://s.wordpress.com/latex.php?latex=%7BN%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N}' title='{N}' class='latex' /> by peeling off the last summand:<br />
<a name="spn_rec">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_p%28N%2B1%29%20%3D%20S_p%28N%29%20%2B%20%28N%2B1%29%5Ep.%5C%20%5C%20%5C%20%5C%20%5C%20%284%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_p(N+1) = S_p(N) + (N+1)^p.\ \ \ \ \ (4)' title='\displaystyle S_p(N+1) = S_p(N) + (N+1)^p.\ \ \ \ \ (4)' class='latex' /></p>
<p></a> Substituting <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9wb2x5">(3)</a> into <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9yZWM=">(4)</a> gives:<br />
<a name="spn_sysraw">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%28N%2B1%29%5Ej%20%3D%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20a_j%20N%5Ej%20%2B%20%28N%2B1%29%5Ep.%5C%20%5C%20%5C%20%5C%20%5C%20%285%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle \sum_{j=1}^{p+1}a_j (N+1)^j = \sum_{j=1}^{p+1} a_j N^j + (N+1)^p.\ \ \ \ \ (5)' title='\displaystyle \sum_{j=1}^{p+1}a_j (N+1)^j = \sum_{j=1}^{p+1} a_j N^j + (N+1)^p.\ \ \ \ \ (5)' class='latex' /></p>
<p></a></p>
<p>
<h4> Summation Manipulations </h4>
<p>
 What follows is a sequence of summation manipulations<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwMzAtMw==" id='fnref-1030-3'>3</a></sup> and simplifications of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9zeXNyYXc=">(5)</a> aimed at obtaining an expression from which a closed-form solution for the coefficicents <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bj%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{j}}' title='{a_{j}}' class='latex' /> becomes transparent:</p>
<ul>
<li> Expand the binomial powers using the binomial formula on both the left-hand side (LHS) and right-hand side (RHS) of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9zeXNyYXc=">(5)</a>:<br />
<a name="spn_manip1">
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%5Csum_%7Bi%3D0%7D%5Ej%20%5Cbinom%7Bj%7D%7Bi%7DN%5Ei%20%3D%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20a_j%20N%5Ej%20%2B%20%5Csum_%7Bj%3D0%7D%5Ep%20%5Cbinom%7Bp%7D%7Bj%7DN%5Ej.%20%5C%20%5C%20%5C%20%5C%20%5C%20%286%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  \sum_{j=1}^{p+1}a_j \sum_{i=0}^j \binom{j}{i}N^i = \sum_{j=1}^{p+1} a_j N^j + \sum_{j=0}^p \binom{p}{j}N^j. \ \ \ \ \ (6)' title='\displaystyle  \sum_{j=1}^{p+1}a_j \sum_{i=0}^j \binom{j}{i}N^i = \sum_{j=1}^{p+1} a_j N^j + \sum_{j=0}^p \binom{p}{j}N^j. \ \ \ \ \ (6)' class='latex' /></p>
<p></a> </p>
<li> Modify the LHS and RHS of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9tYW5pcDE=">(6)</a> as follows, exploiting the fact that <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cbinom%7Bn%7D%7Bk%7D%20%3D%200%20%5Cmbox%7B%20when%20%7D%20k%3En%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\binom{n}{k} = 0 \mbox{ when } k&gt;n}' title='{\binom{n}{k} = 0 \mbox{ when } k&gt;n}' class='latex' />:<br/>
<ul>
<li>LHS: Extend upper range of inner sum to match upper range of outer sum.
<li>RHS: Peel off 0-index term and add a vacuous <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' />-index term to last sum.
<li>Result:
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%5Csum_%7Bi%3D0%7D%5E%7Bp%2B1%7D%20%5Cbinom%7Bj%7D%7Bi%7DN%5Ei%20%3D%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20a_j%20N%5Ej%20%2B%201%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20%5Cbinom%7Bp%7D%7Bj%7DN%5Ej&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle \sum_{j=1}^{p+1}a_j \sum_{i=0}^{p+1} \binom{j}{i}N^i = \sum_{j=1}^{p+1} a_j N^j + 1 + \sum_{j=1}^{p+1} \binom{p}{j}N^j' title='\displaystyle \sum_{j=1}^{p+1}a_j \sum_{i=0}^{p+1} \binom{j}{i}N^i = \sum_{j=1}^{p+1} a_j N^j + 1 + \sum_{j=1}^{p+1} \binom{p}{j}N^j' class='latex' /></p>
</ul>
<li>
<ul>
<li>LHS: Interchange order of summations.
<li>RHS: Combine terms.
<li>Result:
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%5Csum_%7Bi%3D0%7D%5E%7Bp%2B1%7D%20N%5Ei%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%5Cbinom%7Bj%7D%7Bi%7D%20%3D%201%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20%5Cleft%5Ba_j%20%2B%20%5Cbinom%7Bp%7D%7Bj%7DN%5Ej%5Cright%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle \sum_{i=0}^{p+1} N^i \sum_{j=1}^{p+1}a_j \binom{j}{i} = 1 + \sum_{j=1}^{p+1} \left[a_j + \binom{p}{j}N^j\right]' title='\displaystyle \sum_{i=0}^{p+1} N^i \sum_{j=1}^{p+1}a_j \binom{j}{i} = 1 + \sum_{j=1}^{p+1} \left[a_j + \binom{p}{j}N^j\right]' class='latex' /></p>
</ul>
<li>
<ul>
<li>LHS: Peel off 0-index term from the (now outside) summation on <img src='http://s.wordpress.com/latex.php?latex=%7Bi%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i}' title='{i}' class='latex' />.
<li>RHS: Change dummy index variable.
<li>Result:
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%2B%20%5Csum_%7Bi%3D1%7D%5E%7Bp%2B1%7D%20N%5Ei%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%5Cbinom%7Bj%7D%7Bi%7D%20%3D%201%20%2B%20%5Csum_%7Bi%3D1%7D%5E%7Bp%2B1%7D%20%5Cleft%5Ba_i%20%2B%20%5Cbinom%7Bp%7D%7Bi%7DN%5Ei%5Cright%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle \sum_{j=1}^{p+1}a_j + \sum_{i=1}^{p+1} N^i \sum_{j=1}^{p+1}a_j \binom{j}{i} = 1 + \sum_{i=1}^{p+1} \left[a_i + \binom{p}{i}N^i\right]' title='\displaystyle \sum_{j=1}^{p+1}a_j + \sum_{i=1}^{p+1} N^i \sum_{j=1}^{p+1}a_j \binom{j}{i} = 1 + \sum_{i=1}^{p+1} \left[a_i + \binom{p}{i}N^i\right]' class='latex' /></p>
</ul>
<li> Bring everything over to the left-hand side to obtain a homogeneous linear combination of the monomials <img src='http://s.wordpress.com/latex.php?latex=%7B%5C%7BN%5Ei%5C%7D_%7Bi%3D0%7D%5E%7Bp%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\{N^i\}_{i=0}^{p+1}}' title='{\{N^i\}_{i=0}^{p+1}}' class='latex' />:<br />
 <a name="spn_homo">
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20-1%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%2B%20%5Csum_%7Bi%3D1%7D%5E%7Bp%2B1%7D%20%5Cleft%5B%5Cleft%28%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7Da_j%20%5Cbinom%7Bj%7D%7Bi%7D%20%5Cright%29%20-%20a_i%20-%20%5Cbinom%7Bp%7D%7Bi%7D%5Cright%5D%20N%5Ei%20%3D%200%20%5C%20%5C%20%5C%20%5C%20%5C%20%287%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  -1 + \sum_{j=1}^{p+1}a_j + \sum_{i=1}^{p+1} \left[\left(\sum_{j=1}^{p+1}a_j \binom{j}{i} \right) - a_i - \binom{p}{i}\right] N^i = 0 \ \ \ \ \ (7)' title='\displaystyle  -1 + \sum_{j=1}^{p+1}a_j + \sum_{i=1}^{p+1} \left[\left(\sum_{j=1}^{p+1}a_j \binom{j}{i} \right) - a_i - \binom{p}{i}\right] N^i = 0 \ \ \ \ \ (7)' class='latex' /></p>
<p></a>
</ul>
<p><h4> Linear Independence Reveals Equations for Unknown Coefficients </h4>
<p> Since the monomials <img src='http://s.wordpress.com/latex.php?latex=%7B%5C%7BN%5Ei%5C%7D_%7Bi%3D0%7D%5E%7Bp%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\{N^i\}_{i=0}^{p+1}}' title='{\{N^i\}_{i=0}^{p+1}}' class='latex' /> are a basis for the vector space <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cmathbb%7BP%7D_%7BN%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\mathbb{P}_{N+1}}' title='{\mathbb{P}_{N+1}}' class='latex' /> of polynomials of degree less than or equal to <img src='http://s.wordpress.com/latex.php?latex=%7BN%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N+1}' title='{N+1}' class='latex' />, <em>any linear combination of the <img src='http://s.wordpress.com/latex.php?latex=%7B%5C%7BN%5Ei%5C%7D_%7Bi%3D0%7D%5E%7Bp%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\{N^i\}_{i=0}^{p+1}}' title='{\{N^i\}_{i=0}^{p+1}}' class='latex' /> will equal zero if and only if each coefficient equals zero</em>. </p>
<p>
Therefore, setting the coefficients from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9ob21v">(7)</a> equal to zero gives us a system of <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+2}' title='{p+2}' class='latex' /> simultaneous linear equations in the <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> unknown coefficients <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' />, one equation for each of the coefficients of <img src='http://s.wordpress.com/latex.php?latex=%7B%7BN%5Ei%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{{N^i}}' title='{{N^i}}' class='latex' />:<br />
 <a name="sys_lin1"></a>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%28i%3D0%29%5C%20%5C%20%5C%20%5C%20%20%5Csum_%7Bj%3D1%7D%5E%7Bp%2B1%7D%20a_j%20%3D1%5C%20%5C%20%5C%20%5C%20%5C%20%288%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle (i=0)\ \ \ \  \sum_{j=1}^{p+1} a_j =1\ \ \ \ \ (8)' title='\displaystyle (i=0)\ \ \ \  \sum_{j=1}^{p+1} a_j =1\ \ \ \ \ (8)' class='latex' /><br />
 <a name="sys_lin2"></a>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%28i%3D1%2C%5Cldots%2Cp%29%5C%20%5C%20%5C%20%5C%20%5Csum_%7Bj%3D1%2C%20j%5Cneq%20i%7D%5E%7Bp%2B1%7D%5Cbinom%7Bj%7D%7Bi%7Da_j%20%3D%20%5Cbinom%7Bp%7D%7Bi%7D%20%5C%20%5C%20%5C%20%5C%20%5C%20%289%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle (i=1,\ldots,p)\ \ \ \ \sum_{j=1, j\neq i}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (9)' title='\displaystyle (i=1,\ldots,p)\ \ \ \ \sum_{j=1, j\neq i}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (9)' class='latex' /><br />
 <a name="sys_lin3"></a>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%28i%3Dp%2B1%29%5C%20%5C%20%5C%20%5C%20%20%5Csum_%7Bj%3D1%2C%20j%5Cneq%20p%2B1%7D%5E%7Bp%2B1%7D%5Cbinom%7Bj%7D%7Bi%7Da_j%20%3D%20%5Cbinom%7Bp%7D%7Bi%7D%5C%20%5C%20%5C%20%5C%20%5C%20%28%2A%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle (i=p+1)\ \ \ \  \sum_{j=1, j\neq p+1}^{p+1}\binom{j}{i}a_j = \binom{p}{i}\ \ \ \ \ (*)' title='\displaystyle (i=p+1)\ \ \ \  \sum_{j=1, j\neq p+1}^{p+1}\binom{j}{i}a_j = \binom{p}{i}\ \ \ \ \ (*)' class='latex' /><br />
Observe that <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3N5c19saW4z">(*)</a> reduces to <img src='http://s.wordpress.com/latex.php?latex=%7B0%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0=0}' title='{0=0}' class='latex' />, since <img src='http://s.wordpress.com/latex.php?latex=%7Bj%3Cp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j&lt;p+1}' title='{j&lt;p+1}' class='latex' /> for all <img src='http://s.wordpress.com/latex.php?latex=%7Bj%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j}' title='{j}' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cbinom%7Bn%7D%7Bk%7D%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\binom{n}{k}=0}' title='{\binom{n}{k}=0}' class='latex' /> when <img src='http://s.wordpress.com/latex.php?latex=%7Bn%3Ck%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n&lt;k}' title='{n&lt;k}' class='latex' />. Thus we are left with a square system of <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> equations (<img src='http://s.wordpress.com/latex.php?latex=%7Bi%3D0%2C%5Cldots%2Cp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i=0,\ldots,p}' title='{i=0,\ldots,p}' class='latex' />) in <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> unknowns <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' />, (<img src='http://s.wordpress.com/latex.php?latex=%7Bj%20%3D%201%2C%5Cldots%2Cp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j = 1,\ldots,p+1}' title='{j = 1,\ldots,p+1}' class='latex' />). </p>
<p>
By observing that <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cbinom%7Bj%7D%7Bi%7D%3D1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\binom{j}{i}=1}' title='{\binom{j}{i}=1}' class='latex' /> for <img src='http://s.wordpress.com/latex.php?latex=%7Bi%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i=0}' title='{i=0}' class='latex' />, we can combine <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3N5c19saW4x">(8)</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3N5c19saW4y">(9)</a> into the single set of linear equations:<br />
<a name="linsys01mix">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%28i%3D0%2C%20%5Cldots%2C%20p%29%5C%20%5C%20%5C%20%5C%20%5Csum_%7Bj%3D1%2C%20j%5Cneq%20i%7D%5E%7Bp%2B1%7D%5Cbinom%7Bj%7D%7Bi%7Da_j%20%3D%20%5Cbinom%7Bp%7D%7Bi%7D%20%5C%20%5C%20%5C%20%5C%20%5C%20%2810%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  (i=0, \ldots, p)\ \ \ \ \sum_{j=1, j\neq i}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (10)' title='\displaystyle  (i=0, \ldots, p)\ \ \ \ \sum_{j=1, j\neq i}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (10)' class='latex' /></p>
<p></a> Taking into account the inequality <img src='http://s.wordpress.com/latex.php?latex=%7Bj%5Cneq%20i%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j\neq i}' title='{j\neq i}' class='latex' />, and noting once again that <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cbinom%7Bn%7D%7Bk%7D%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\binom{n}{k}=0}' title='{\binom{n}{k}=0}' class='latex' /> when <img src='http://s.wordpress.com/latex.php?latex=%7Bn%3Ck%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n&lt;k}' title='{n&lt;k}' class='latex' />, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czAxbWl4">(10)</a> simplifies to a triangular linear system:<br />
<a name="linsys2">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%28i%3D0%2C%20%5Cldots%2C%20p%29%5C%20%5C%20%5C%20%5C%20%5Csum_%7Bj%3Di%2B1%7D%5E%7Bp%2B1%7D%5Cbinom%7Bj%7D%7Bi%7Da_j%20%3D%20%5Cbinom%7Bp%7D%7Bi%7D%20%5C%20%5C%20%5C%20%5C%20%5C%20%2811%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  (i=0, \ldots, p)\ \ \ \ \sum_{j=i+1}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (11)' title='\displaystyle  (i=0, \ldots, p)\ \ \ \ \sum_{j=i+1}^{p+1}\binom{j}{i}a_j = \binom{p}{i} \ \ \ \ \ (11)' class='latex' /></p>
<p></a> and hence all <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> equations in the system are linearly independent.</p>
<p>
<h4> From Linear System to Matrix Equation </h4>
<p> The triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czI=">(11)</a> may be readily solved by combining the <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> summations into a single matrix equation and using any one of a number of matrix solver packages. But this requires that the system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czI=">(11)</a> be re-indexed<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwMzAtNA==" id='fnref-1030-4'>4</a></sup> so that the start value of index <img src='http://s.wordpress.com/latex.php?latex=%7Bi%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i}' title='{i}' class='latex' /> matches that of index <img src='http://s.wordpress.com/latex.php?latex=%7Bj%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j}' title='{j}' class='latex' />. Following the usual matrix convention, referred to as 1-indexing, we choose the start indices to be <img src='http://s.wordpress.com/latex.php?latex=%7Bi%3Dj%3D1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i=j=1}' title='{i=j=1}' class='latex' />. </p>
<p>
The 1-indexed system is:<br />
<a name="linsys1">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%28i%3D1%2C%20%5Cldots%2C%20p%2B1%29%20%5C%20%5C%20%5C%20%5C%20%5Csum_%7Bj%3Di%7D%5E%7Bp%2B1%7D%5Cbinom%7Bj%7D%7Bi-1%7Da_j%20%3D%20%5Cbinom%7Bp%7D%7Bi-1%7D%20%5C%20%5C%20%5C%20%5C%20%5C%20%2812%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  (i=1, \ldots, p+1) \ \ \ \ \sum_{j=i}^{p+1}\binom{j}{i-1}a_j = \binom{p}{i-1} \ \ \ \ \ (12)' title='\displaystyle  (i=1, \ldots, p+1) \ \ \ \ \sum_{j=i}^{p+1}\binom{j}{i-1}a_j = \binom{p}{i-1} \ \ \ \ \ (12)' class='latex' /></p>
<p></a> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI0NvZGU=">Maxima code</a> for solving the 0-indexed<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTEwMzAtNQ==" id='fnref-1030-5'>5</a></sup> triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czA=">(13)</a> is given in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0FwcGVuZGl4Qg==">Appendix B</a>.  Octave/Matlab code for solving the 1-indexed triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czE=">(12)</a> is given in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0FwcGVuZGl4Qw==">Appendix C</a>.</p>
<p>
 The matrix equation equivalent to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czE=">(12)</a> is: <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cmathbf%7BM%7D%20%5Ccdot%20%5Cmathbf%7Ba%7D%20%3D%20%5Cmathbf%7Bb%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\mathbf{M} \cdot \mathbf{a} = \mathbf{b}}' title='{\mathbf{M} \cdot \mathbf{a} = \mathbf{b}}' class='latex' />, where<br />
 <a name="matsys">
<p align=center>
 <img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%5Cmathbf%7BM%7D%20%3A%3D%20%5Cbegin%7Bbmatrix%7D%20%5Cbinom%7B1%7D%7B0%7D%26%5Cbinom%7B2%7D%7B0%7D%26%5Cldots%26%5Cbinom%7Bp%2B1%7D%7B0%7D%5Crule%5B-.1cm%5D%7B0cm%7D%7B.1cm%7D%5C%5C%20%26%5Cbinom%7B2%7D%7B1%7D%26%5Cldots%26%5Cbinom%7Bp%2B1%7D%7B1%7D%5C%5C%20%26%5Cldots%26%5Cbinom%7Bj%7D%7Bi-1%7D%5Cldots%5C%5C%20%26%20%26%20%26%5Cbinom%7Bp%2B1%7D%7Bp%7D%20%5Cend%7Bbmatrix%7D%2C%5C%20%5C%20%5C%20%5Cmathbf%7Ba%7D%20%3A%3D%20%5Cbegin%7Bbmatrix%7Da_1%5C%5Ca_2%5C%5C%20%5Cldots%5C%5C%20a_%7Bp%2B1%7D%5Cend%7Bbmatrix%7D%2C%5C%20%5C%20%5Cmbox%7Band%7D%20%5C%20%5C%20%5Cmathbf%7Bb%7D%20%3A%3D%20%5Cbegin%7Bbmatrix%7D%5Cbinom%7Bp%7D%7B0%7D%5C%5C%5Cbinom%7Bp%7D%7B1%7D%5C%5C%5Cldots%5C%5C%5Cbinom%7Bp%7D%7Bp%7D%5Cend%7Bbmatrix%7D.%20%5C%20%5C%20%5C%20%5C%20%5C%20%2814%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  \mathbf{M} := \begin{bmatrix} \binom{1}{0}&amp;\binom{2}{0}&amp;\ldots&amp;\binom{p+1}{0}\rule[-.1cm]{0cm}{.1cm}\\ &amp;\binom{2}{1}&amp;\ldots&amp;\binom{p+1}{1}\\ &amp;\ldots&amp;\binom{j}{i-1}\ldots\\ &amp; &amp; &amp;\binom{p+1}{p} \end{bmatrix},\ \ \ \mathbf{a} := \begin{bmatrix}a_1\\a_2\\ \ldots\\ a_{p+1}\end{bmatrix},\ \ \mbox{and} \ \ \mathbf{b} := \begin{bmatrix}\binom{p}{0}\\\binom{p}{1}\\\ldots\\\binom{p}{p}\end{bmatrix}. \ \ \ \ \ (14)' title='\displaystyle  \mathbf{M} := \begin{bmatrix} \binom{1}{0}&amp;\binom{2}{0}&amp;\ldots&amp;\binom{p+1}{0}\rule[-.1cm]{0cm}{.1cm}\\ &amp;\binom{2}{1}&amp;\ldots&amp;\binom{p+1}{1}\\ &amp;\ldots&amp;\binom{j}{i-1}\ldots\\ &amp; &amp; &amp;\binom{p+1}{p} \end{bmatrix},\ \ \ \mathbf{a} := \begin{bmatrix}a_1\\a_2\\ \ldots\\ a_{p+1}\end{bmatrix},\ \ \mbox{and} \ \ \mathbf{b} := \begin{bmatrix}\binom{p}{0}\\\binom{p}{1}\\\ldots\\\binom{p}{p}\end{bmatrix}. \ \ \ \ \ (14)' class='latex' /></p>
<p></a> Since <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cmathbf%7BM%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\mathbf{M}}' title='{\mathbf{M}}' class='latex' /> is an upper triangular matrix with all non-zero upper triangular entries, we know we can readily solve this for any given values of <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%7BN%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N}' title='{N}' class='latex' /> using a matrix solver system such as <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF4aW1h">Maxima</a>/Mathematica, Octave/Matlab, or Maple, among others. <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI0NvZGU=">Source code</a> for solutions in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF4aW1h">Maxima</a> and Octave/Matlab are given in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0FwcGVuZGl4Qg==">Appendix B</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0FwcGVuZGl4Qw==">Appendix C</a>, respectively.</p>
<p><h4> Computing the General, Closed-Form Solution </h4>
<p> We know from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbA==">(2)</a> that the general, closed-form solution to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbg==">(1)</a> is a <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' />-degree polynomial <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9wb2x5">(3)</a> in <img src='http://s.wordpress.com/latex.php?latex=%7BN%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N}' title='{N}' class='latex' /> with rational coefficients <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' /> given by solving the triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czE=">(12)</a>, or equivalently <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdHN5cw==">(14)</a>.</p>
<p>
The highest few coefficients <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' /> can be readily computed by hand. For all <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />, we have: </p>
<ol>
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp%2B1%7D%20%3D%20%5Cfrac%7B1%7D%7Bp%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p+1} = \frac{1}{p+1}}' title='{a_{p+1} = \frac{1}{p+1}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_p%20%3D%20%5Cfrac%7B1%7D%7B2%7D%5Cbinom%7Bp%7D%7B0%7D%20%3D%20%5Cfrac%7B1%7D%7B2%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_p = \frac{1}{2}\binom{p}{0} = \frac{1}{2}}' title='{a_p = \frac{1}{2}\binom{p}{0} = \frac{1}{2}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp-1%7D%20%3D%20%5Cfrac%7B1%7D%7B12%7D%5Cbinom%7Bp%7D%7B1%7D%20%3D%20%5Cfrac%7Bp%7D%7B12%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p-1} = \frac{1}{12}\binom{p}{1} = \frac{p}{12}}' title='{a_{p-1} = \frac{1}{12}\binom{p}{1} = \frac{p}{12}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp-3%7D%20%3D%20-%5Cfrac%7B1%7D%7B120%7D%5Cbinom%7Bp%7D%7B3%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p-3} = -\frac{1}{120}\binom{p}{3}}' title='{a_{p-3} = -\frac{1}{120}\binom{p}{3}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp-5%7D%20%3D%20%5Cfrac%7B1%7D%7B252%7D%5Cbinom%7Bp%7D%7B5%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p-5} = \frac{1}{252}\binom{p}{5}}' title='{a_{p-5} = \frac{1}{252}\binom{p}{5}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp-7%7D%20%3D%20-%5Cfrac%7B1%7D%7B240%7D%5Cbinom%7Bp%7D%7B7%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p-7} = -\frac{1}{240}\binom{p}{7}}' title='{a_{p-7} = -\frac{1}{240}\binom{p}{7}}' class='latex' />
<li> <img src='http://s.wordpress.com/latex.php?latex=%7Ba_%7Bp-9%7D%20%3D%20%5Cfrac%7B1%7D%7B132%7D%5Cbinom%7Bp%7D%7B9%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_{p-9} = \frac{1}{132}\binom{p}{9}}' title='{a_{p-9} = \frac{1}{132}\binom{p}{9}}' class='latex' />.
<li> In particular, we claim (without proof) that<br />
<a name="ci">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20a_%7Bp-i%7D%3Dc_%7Bi%7D%5Cbinom%7Bp%7D%7Bi%7D%2C%20%5C%20%5C%20%5C%20%5C%20%5C%20%2815%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  a_{p-i}=c_{i}\binom{p}{i}, \ \ \ \ \ (15)' title='\displaystyle  a_{p-i}=c_{i}\binom{p}{i}, \ \ \ \ \ (15)' class='latex' /></p>
<p></a> where the <img src='http://s.wordpress.com/latex.php?latex=%7Bc_%7Bi%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{c_{i}}' title='{c_{i}}' class='latex' /> are rational coefficients independent of <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=%7Bc_%7Bi%7D%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{c_{i}=0}' title='{c_{i}=0}' class='latex' /> for all even positive <img src='http://s.wordpress.com/latex.php?latex=%7Bi%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{i}' title='{i}' class='latex' />. Hence we have:
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20a_%7Bp-2%7D%20%3D%20a_%7Bp-4%7D%20%3D%20%5Cldots%20%3D%200.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle a_{p-2} = a_{p-4} = \ldots = 0.' title='\displaystyle a_{p-2} = a_{p-4} = \ldots = 0.' class='latex' /></p>
</ol>
<p> Substituting the above coefficients into the general closed-form polynomial solution gives us:<br />
 <a name="spnsol_closed"></a> </p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_p%28N%29%20%3D%20%5Cfrac%7B1%7D%7Bp%2B1%7D%20N%5E%7Bp%2B1%7D%20%2B%20%5Cfrac%7B1%7D%7B2%7D%20N%5Ep%20%2B%20%5Cfrac%7Bp%7D%7B12%7DN%5E%7Bp-1%7D%20-%5Cfrac%7B1%7D%7B120%7D%5Cbinom%7Bp%7D%7B3%7DN%5E%7Bp-3%7D%20%2B%20%5Cfrac%7B1%7D%7B252%7D%5Cbinom%7Bp%7D%7B5%7DN%5E%7Bp-5%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_p(N) = \frac{1}{p+1} N^{p+1} + \frac{1}{2} N^p + \frac{p}{12}N^{p-1} -\frac{1}{120}\binom{p}{3}N^{p-3} + \frac{1}{252}\binom{p}{5}N^{p-5}' title='\displaystyle S_p(N) = \frac{1}{p+1} N^{p+1} + \frac{1}{2} N^p + \frac{p}{12}N^{p-1} -\frac{1}{120}\binom{p}{3}N^{p-3} + \frac{1}{252}\binom{p}{5}N^{p-5}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%5C%20%5C%20%5C%20%5C%20%5C%20%5C%20%5C%20%5C%20%5C%20%5C%20%20-%20%5Cfrac%7B1%7D%7B240%7D%5Cbinom%7Bp%7D%7B7%7DN%5E%7Bp-7%7D%20%2B%20%5Cfrac%7B1%7D%7B132%7D%5Cbinom%7Bp%7D%7B9%7DN%5E%7Bp-9%7D%20-%20%5Cldots%20%2B%20p%20c_%7Bp-1%7D%20N.%20%5C%20%5C%20%5C%20%5C%20%5C%20%2816%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle \ \ \ \ \ \ \ \ \ \  - \frac{1}{240}\binom{p}{7}N^{p-7} + \frac{1}{132}\binom{p}{9}N^{p-9} - \ldots + p c_{p-1} N. \ \ \ \ \ (16)' title='\displaystyle \ \ \ \ \ \ \ \ \ \  - \frac{1}{240}\binom{p}{7}N^{p-7} + \frac{1}{132}\binom{p}{9}N^{p-9} - \ldots + p c_{p-1} N. \ \ \ \ \ (16)' class='latex' /></p>
<p>
A listing of the solution formulas for the first ten <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' /> values is given in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0FwcGVuZGl4QQ==">Appendix A</a>.</p>
<p>
<h4> Conclusion </h4>
<p> Reviewing the path we have taken in this 3-part paper: <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMQ==">Part 1</a> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0VicmFoaW0vU3Vta3Ax" name=\"CITEEbrahim/Sumkp1\"></a> motivated the problem and illustrated a recurrence relation method for obtaining the solution for small <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />. <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Part 2</a> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0VicmFoaW0vU3Vta3Ay" name=\"CITEEbrahim/Sumkp2\"></a> generalized this method and found a <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />-th order recurrence relation for the solution. Part 2 also illustrated, by an induction argument, that the closed form solutions for all <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' /> are polynomials of degree <img src='http://s.wordpress.com/latex.php?latex=%7Bp%2B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p+1}' title='{p+1}' class='latex' /> with rational coefficients and no constant term. </p>
<p>
This paper used the closed-form polynomial expression motivated in Part 2 to obtain a direct solution. By writing out the polynomial form with undetermined coefficients, the recurrence relation <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9yZWM=">(4)</a> was manipulated into a linear combination of polynomials <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9ob21v">(7)</a>. Using a linear independence argument, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbl9ob21v">(7)</a> was reduced to a triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czE=">(12)</a> and associated matrix equation <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdHN5cw==">(14)</a>.The general closed-form solution is <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbF9jbG9zZWQ=">(16)</a>.</p>
<p>
 Solving the finite-summation-of-integer-powers problem <img src='http://s.wordpress.com/latex.php?latex=%7B%5Csum_%7Bk%3D1%7D%5EN%20k%5Ep%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\sum_{k=1}^N k^p}' title='{\sum_{k=1}^N k^p}' class='latex' />, for arbitrary positive integers <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%7BN%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N}' title='{N}' class='latex' /> has provided a natural setting to use a variety of techniques from discrete mathematics and linear algebra, and poses additional interesting questions (characterization of the denominators in the coefficients of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbF9jbG9zZWQ=">(16)</a> (the <img src='http://s.wordpress.com/latex.php?latex=%7Bc_i%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{c_i}' title='{c_i}' class='latex' /> in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2Np">(15)</a>) and divisibility properties of <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p}' title='{S_p}' class='latex' /> for various <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />). In particular, we have obtained a direct method for solving the finite-summation-of-integer-powers problem that invokes a matrix solution and does not require iteration.</p>
<p><hr />
<p><a name="AppendixA"></a></p>
<h4> Appendix A: Listing of Solutions to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbg==">(1)</a></h4>
<p>A listing of the solution formulas for the first ten <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' /> values is as follows: </p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_1%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7Dk%20%3D%5Cfrac%7B%7BN%7D%5E%7B2%7D%7D%7B2%7D%2B%5Cfrac%7BN%7D%7B2%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_1(N) = \sum_{k=1}^{N}k =\frac{{N}^{2}}{2}+\frac{N}{2}' title='\displaystyle S_1(N) = \sum_{k=1}^{N}k =\frac{{N}^{2}}{2}+\frac{N}{2}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_2%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B2%7D%3D%5Cfrac%7B%7BN%7D%5E%7B3%7D%7D%7B3%7D%2B%5Cfrac%7B%7BN%7D%5E%7B2%7D%7D%7B2%7D%2B%5Cfrac%7BN%7D%7B6%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_2(N) = \sum_{k=1}^{N}{k}^{2}=\frac{{N}^{3}}{3}+\frac{{N}^{2}}{2}+\frac{N}{6}' title='\displaystyle S_2(N) = \sum_{k=1}^{N}{k}^{2}=\frac{{N}^{3}}{3}+\frac{{N}^{2}}{2}+\frac{N}{6}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_3%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B3%7D%3D%5Cfrac%7B%7BN%7D%5E%7B4%7D%7D%7B4%7D%2B%5Cfrac%7B%7BN%7D%5E%7B3%7D%7D%7B2%7D%2B%5Cfrac%7B%7BN%7D%5E%7B2%7D%7D%7B4%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_3(N) = \sum_{k=1}^{N}{k}^{3}=\frac{{N}^{4}}{4}+\frac{{N}^{3}}{2}+\frac{{N}^{2}}{4}' title='\displaystyle S_3(N) = \sum_{k=1}^{N}{k}^{3}=\frac{{N}^{4}}{4}+\frac{{N}^{3}}{2}+\frac{{N}^{2}}{4}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_4%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B4%7D%3D%5Cfrac%7B%7BN%7D%5E%7B5%7D%7D%7B5%7D%2B%5Cfrac%7B%7BN%7D%5E%7B4%7D%7D%7B2%7D%2B%5Cfrac%7B%7BN%7D%5E%7B3%7D%7D%7B3%7D-%5Cfrac%7BN%7D%7B30%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_4(N) = \sum_{k=1}^{N}{k}^{4}=\frac{{N}^{5}}{5}+\frac{{N}^{4}}{2}+\frac{{N}^{3}}{3}-\frac{N}{30}' title='\displaystyle S_4(N) = \sum_{k=1}^{N}{k}^{4}=\frac{{N}^{5}}{5}+\frac{{N}^{4}}{2}+\frac{{N}^{3}}{3}-\frac{N}{30}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_5%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B5%7D%3D%5Cfrac%7B%7BN%7D%5E%7B6%7D%7D%7B6%7D%2B%5Cfrac%7B%7BN%7D%5E%7B5%7D%7D%7B2%7D%2B%5Cfrac%7B5%5C%2C%7BN%7D%5E%7B4%7D%7D%7B12%7D-%5Cfrac%7B%7BN%7D%5E%7B2%7D%7D%7B12%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_5(N) = \sum_{k=1}^{N}{k}^{5}=\frac{{N}^{6}}{6}+\frac{{N}^{5}}{2}+\frac{5\,{N}^{4}}{12}-\frac{{N}^{2}}{12}' title='\displaystyle S_5(N) = \sum_{k=1}^{N}{k}^{5}=\frac{{N}^{6}}{6}+\frac{{N}^{5}}{2}+\frac{5\,{N}^{4}}{12}-\frac{{N}^{2}}{12}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_6%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B6%7D%3D%5Cfrac%7B%7BN%7D%5E%7B7%7D%7D%7B7%7D%2B%5Cfrac%7B%7BN%7D%5E%7B6%7D%7D%7B2%7D%2B%5Cfrac%7B%7BN%7D%5E%7B5%7D%7D%7B2%7D-%5Cfrac%7B%7BN%7D%5E%7B3%7D%7D%7B6%7D%2B%5Cfrac%7BN%7D%7B42%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_6(N) = \sum_{k=1}^{N}{k}^{6}=\frac{{N}^{7}}{7}+\frac{{N}^{6}}{2}+\frac{{N}^{5}}{2}-\frac{{N}^{3}}{6}+\frac{N}{42}' title='\displaystyle S_6(N) = \sum_{k=1}^{N}{k}^{6}=\frac{{N}^{7}}{7}+\frac{{N}^{6}}{2}+\frac{{N}^{5}}{2}-\frac{{N}^{3}}{6}+\frac{N}{42}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_7%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B7%7D%3D%5Cfrac%7B%7BN%7D%5E%7B8%7D%7D%7B8%7D%2B%5Cfrac%7B%7BN%7D%5E%7B7%7D%7D%7B2%7D%2B%5Cfrac%7B7%5C%2C%7BN%7D%5E%7B6%7D%7D%7B12%7D-%5Cfrac%7B7%5C%2C%7BN%7D%5E%7B4%7D%7D%7B24%7D%2B%5Cfrac%7B%7BN%7D%5E%7B2%7D%7D%7B12%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_7(N) = \sum_{k=1}^{N}{k}^{7}=\frac{{N}^{8}}{8}+\frac{{N}^{7}}{2}+\frac{7\,{N}^{6}}{12}-\frac{7\,{N}^{4}}{24}+\frac{{N}^{2}}{12}' title='\displaystyle S_7(N) = \sum_{k=1}^{N}{k}^{7}=\frac{{N}^{8}}{8}+\frac{{N}^{7}}{2}+\frac{7\,{N}^{6}}{12}-\frac{7\,{N}^{4}}{24}+\frac{{N}^{2}}{12}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_8%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B8%7D%3D%5Cfrac%7B%7BN%7D%5E%7B9%7D%7D%7B9%7D%2B%5Cfrac%7B%7BN%7D%5E%7B8%7D%7D%7B2%7D%2B%5Cfrac%7B2%5C%2C%7BN%7D%5E%7B7%7D%7D%7B3%7D-%5Cfrac%7B7%5C%2C%7BN%7D%5E%7B5%7D%7D%7B15%7D%2B%5Cfrac%7B2%5C%2C%7BN%7D%5E%7B3%7D%7D%7B9%7D-%5Cfrac%7BN%7D%7B30%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_8(N) = \sum_{k=1}^{N}{k}^{8}=\frac{{N}^{9}}{9}+\frac{{N}^{8}}{2}+\frac{2\,{N}^{7}}{3}-\frac{7\,{N}^{5}}{15}+\frac{2\,{N}^{3}}{9}-\frac{N}{30}' title='\displaystyle S_8(N) = \sum_{k=1}^{N}{k}^{8}=\frac{{N}^{9}}{9}+\frac{{N}^{8}}{2}+\frac{2\,{N}^{7}}{3}-\frac{7\,{N}^{5}}{15}+\frac{2\,{N}^{3}}{9}-\frac{N}{30}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_9%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B9%7D%3D%5Cfrac%7B%7BN%7D%5E%7B10%7D%7D%7B10%7D%2B%5Cfrac%7B%7BN%7D%5E%7B9%7D%7D%7B2%7D%2B%5Cfrac%7B3%5C%2C%7BN%7D%5E%7B8%7D%7D%7B4%7D-%5Cfrac%7B7%5C%2C%7BN%7D%5E%7B6%7D%7D%7B10%7D%2B%5Cfrac%7B%7BN%7D%5E%7B4%7D%7D%7B2%7D-%5Cfrac%7B3%5C%2C%7BN%7D%5E%7B2%7D%7D%7B20%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_9(N) = \sum_{k=1}^{N}{k}^{9}=\frac{{N}^{10}}{10}+\frac{{N}^{9}}{2}+\frac{3\,{N}^{8}}{4}-\frac{7\,{N}^{6}}{10}+\frac{{N}^{4}}{2}-\frac{3\,{N}^{2}}{20}' title='\displaystyle S_9(N) = \sum_{k=1}^{N}{k}^{9}=\frac{{N}^{10}}{10}+\frac{{N}^{9}}{2}+\frac{3\,{N}^{8}}{4}-\frac{7\,{N}^{6}}{10}+\frac{{N}^{4}}{2}-\frac{3\,{N}^{2}}{20}' class='latex' /></p>
<p align=center><img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20S_%7B10%7D%28N%29%20%3D%20%5Csum_%7Bk%3D1%7D%5E%7BN%7D%7Bk%7D%5E%7B10%7D%3D%5Cfrac%7B%7BN%7D%5E%7B11%7D%7D%7B11%7D%2B%5Cfrac%7B%7BN%7D%5E%7B10%7D%7D%7B2%7D%2B%5Cfrac%7B5%5C%2C%7BN%7D%5E%7B9%7D%7D%7B6%7D-%7BN%7D%5E%7B7%7D%2B%7BN%7D%5E%7B5%7D-%5Cfrac%7B%7BN%7D%5E%7B3%7D%7D%7B2%7D%2B%5Cfrac%7B5%5C%2CN%7D%7B66%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle S_{10}(N) = \sum_{k=1}^{N}{k}^{10}=\frac{{N}^{11}}{11}+\frac{{N}^{10}}{2}+\frac{5\,{N}^{9}}{6}-{N}^{7}+{N}^{5}-\frac{{N}^{3}}{2}+\frac{5\,N}{66}' title='\displaystyle S_{10}(N) = \sum_{k=1}^{N}{k}^{10}=\frac{{N}^{11}}{11}+\frac{{N}^{10}}{2}+\frac{5\,{N}^{9}}{6}-{N}^{7}+{N}^{5}-\frac{{N}^{3}}{2}+\frac{5\,N}{66}' class='latex' /></p>
<p>
<p><a name="AppendixB"></a></p>
<h4> Appendix B: Maxima Source Code for Solving <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdHN5cw==">(14)</a></h4>
<p>
For particular <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />, the coefficients <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' /> for the closed form solutions <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> are immediate. Maxima code, is given below, for determining this solution using the 0-indexed triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czA=">(13)</a>:</p>
<blockquote><p><code>
<pre>
     solution(p):= block([a, eq],	/* give subroutine variables local scope */
     v : makelist(a[i], i, 0, p),	/* create list of unknowns (0-indexed) */
					/* create list of equations (0-indexed) */
     eq : makelist(sum(binom(j+1,i)*a[j],j,i,p) = binom(p,i), i, 0, p),
     linsolve(eq, v)
  )$
</pre>
<p></code></p></blockquote>
<p>
A more elaborate function that computes the series form and factored forms of the solution is given below. This was used to generate the first ten solution listings.</p>
<blockquote><p><code>
<pre>
	SpN_mat(p):= block([a, eq],	/* give subroutine variables local scope */
	v : makelist(a[i], i, 0, p),	/* create list of unknowns (0-indexed)   */
					/* create list of equations (0-indexed)  */
	eq : makelist(sum(binom(j+1,i)*a[j],j,i,p) = binom(p,i), i, 0, p),  

	/* find coefficients of solution polynomial by solving linear system */
	sol : linsolve(eq, v),

	/* create polynomial: inner product of {N^i} with coefficients */
	pol : makelist(N^(i+1),i,0,p),	/* monomials {N^i} */

	/* closed form formula */
	cff : rhs(sol.pol), 	/* inner product of {N^i} with coefficients */
	cff 				/* return closed form formula in series */
  )$
</pre>
<p></code></p></blockquote>
<p><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9zdW1rcF9tYXRyaXgubWFj">Download the complete Maxima source code listing here.</a></p>
<p><a name="AppendixC"></a></p>
<h4> Appendix C: Octave/Matlab Source Code for Solving <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I21hdHN5cw==">(14)</a></h4>
<p>For particular <img src='http://s.wordpress.com/latex.php?latex=%7Bp%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}' title='{p}' class='latex' />, the coefficients <img src='http://s.wordpress.com/latex.php?latex=%7Ba_j%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{a_j}' title='{a_j}' class='latex' /> for the closed form solutions <img src='http://s.wordpress.com/latex.php?latex=%7BS_p%28N%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{S_p(N)}' title='{S_p(N)}' class='latex' /> are immediate. Octave/Matlab code, is given below, for determining this solution using the 1-indexed triangular linear system <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2xpbnN5czE=">(12)</a>:</p>
<blockquote><p><code>
<pre>
% Functions listing coefficients from a_p+1 to a_1 as fractions

function c = sumkp_matrix(p)
    M=zeros(p+1); 		% initialize matrix M
    for i=1:p+1
        for j=i:p+1		% set upper triangular elements
            M(i,j)=nchoosek(j,i-1);  %  Equation (12)
        end;
    end;

    b=zeros(p+1,1); % initialize column matrix b
    for i=1:p+1
        b(i)=nchoosek(p,i-1);  %  Equation (12)
    end

    c=inv(M)*b;  % Solve to obtain coefficients

    c=fliplr(c');		% List from highest index to lowest
    sml=abs(c)<1e-8;	% Numerical correction: set tiny coeffients to exactly zero
    c(find(sml==1))=0;

    disp("Solution Coefficients (High to Low order):")
    c=rats(c);  		% return coefficients as fractions

end;
</pre>
<p></code></p></blockquote>
<p><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9zdW1rcF9tYXRyaXgubQ==">Download the complete Octave source code listing here.</a></p>
<p>
<hr />
<p>
This article is available for download as a PDF <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI1BhcGVycw==">here</a>.</p>
<p>The Maxima and Octave complete source code listings implementing the direct matrix solution are available for download <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI0NvZGU=">here</a>.</p>
<p>
<hr />
<h4>References</h4>
<dl compact="compact">
<dt><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVFYnJhaGltL1N1bWtwMQ==" name=\"Ebrahim/Sumkp1\">[Ebr10a]</a></dt>
<dd>
Assad Ebrahim.<br />
 <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMQ==">Finite summation of integer powers x<sup>p</sup>, part 1.</a><br />
 January 2010.</p>
<p><dt><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVFYnJhaGltL1N1bWtwMg==" name=\"Ebrahim/Sumkp2\">[EO10b]</a></dt>
<dd>
Assad Ebrahim.<br />
 <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Finite summation of integer powers x<sup>p</sup>, part 2.</a><br />
 February 2010.</p>
<p><dt><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVHS1AvQ29uY3JldGU=" name=\"GKP/Concrete\">[GKP]</a></dt>
<dd>
Ron Graham, Donald Knuth, and Oren Patashnik.<br />
 <em>Concrete Mathematics: A Foundation for Computer Science</em>.<br />
 Addison Wesley.</p>
<p><dt><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0NJVEVLbnV0aC9UQU9DUA==" name=\"Knuth/TAOCP\">[Knu]</a></dt>
<dd>
Donald Knuth.<br />
 <em>The Art of Computer Programming (3 Volumes)</em>.</dl>
<p><hr />
<h4>Footnotes</h4>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-1030-1'>The notation <img src='http://s.wordpress.com/latex.php?latex=%7B%5Cbinom%7Bn%7D%7Bk%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\binom{n}{k}}' title='{\binom{n}{k}}' class='latex' /> used above denotes binomial coefficients, often expressed verbally as "n choose k". Other representations of these coefficients include <img src='http://s.wordpress.com/latex.php?latex=%7BC%28n%2Ck%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{C(n,k)}' title='{C(n,k)}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=%7BC_%7Bk%7D%5E%7Bn%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{C_{k}^{n}}' title='{C_{k}^{n}}' class='latex' />. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwMzAtMQ==">&#8617;</a></span></li>
<li id='fn-1030-2'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZG93bmxvYWRzI0NvZGU=">Maxima code</a> for automatically computing solutions to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3Nwbg==">(1)</a> using solution formula <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3NwbnNvbA==">(2)</a> is given in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Part 2 of this paper</a> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0VicmFoaW0vU3Vta3Ay" name=\"CITEEbrahim/Sumkp2\"></a>. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwMzAtMg==">&#8617;</a></span></li>
<li id='fn-1030-3'>Such manipulations are taught in material such as <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0dLUC9Db25jcmV0ZQ==" name=\"CITEGKP/Concrete\">(GKP)</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0tudXRoL1RBT0NQ" name=\"CITEKnuth/TAOCP\">(Knu)</a>. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwMzAtMw==">&#8617;</a></span></li>
<li id='fn-1030-4'>Index manipulation is covered in <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0dLUC9Db25jcmV0ZQ==" name=\"CITEGKP/Concrete\">(GKP)</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I0tudXRoL1RBT0NQ" name=\"CITEKnuth/TAOCP\">(Knu)</a>. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwMzAtNA==">&#8617;</a></span></li>
<li id='fn-1030-5'>0-indexing is more convenient for various computational software packages and programming langauges, including <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=bWF4aW1h">Maxima</a>. The 0-indexed system is:<br />
<a name="linsys0">
<p align=center>
<img src='http://s.wordpress.com/latex.php?latex=%5Cdisplaystyle%20%20%28i%3D0%2C%5Cldots%2Cp%29%5C%20%5C%20%5C%20%5C%20%5Csum_%7Bj%3Di%7D%5E%7Bp%7D%5Cbinom%7Bj%2B1%7D%7Bi%7Da_j%20%3D%5Cbinom%7Bp%7D%7Bi%7D%20%5C%20%5C%20%5C%20%5C%20%5C%20%2813%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  (i=0,\ldots,p)\ \ \ \ \sum_{j=i}^{p}\binom{j+1}{i}a_j =\binom{p}{i} \ \ \ \ \ (13)' title='\displaystyle  (i=0,\ldots,p)\ \ \ \ \sum_{j=i}^{p}\binom{j+1}{i}a_j =\binom{p}{i} \ \ \ \ \ (13)' class='latex' /></p>
<p></a>  <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTEwMzAtNQ==">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=1030" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/finite-summations-3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Advance of Sensor Networks and Autonomous Systems</title>
		<link>http://mathscitech.org/articles/sensor-networked-comms-1</link>
		<comments>http://mathscitech.org/articles/sensor-networked-comms-1#comments</comments>
		<pubDate>Fri, 19 Mar 2010 16:18:00 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Technology-Advanced]]></category>
		<category><![CDATA[Aerospace]]></category>
		<category><![CDATA[Autonomous Vehicles]]></category>
		<category><![CDATA[AUVs]]></category>
		<category><![CDATA[Comms]]></category>
		<category><![CDATA[DARPA]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Future]]></category>
		<category><![CDATA[Gliders]]></category>
		<category><![CDATA[Ground Vehicles]]></category>
		<category><![CDATA[Intelligent Systems]]></category>
		<category><![CDATA[iRobot]]></category>
		<category><![CDATA[Marine]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[Space Vehicles]]></category>
		<category><![CDATA[Surveillance]]></category>
		<category><![CDATA[UAVs]]></category>
		<category><![CDATA[Unmanned Systems]]></category>
		<category><![CDATA[Urban Grand Challenge]]></category>
		<category><![CDATA[UUVs]]></category>
		<category><![CDATA[Warfare]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=930</guid>
		<description><![CDATA[<p></p>
<p>The past five years have seen the emergence of a growing array of autonomous swimming, flying, and rolling vehicles, each highly sensored and capable of real-time communication with processors external to themselves.  Practical designs are now commercially available for each of the four primary areas of our environment: terrestrial, marine (subsea, surface, and amphibian), [...]]]></description>
			<content:encoded><![CDATA[<p><!-- sencom1<br />
     wordpress article<br />
     Assad Ebrahim<br />
     3/16/2010<br />
--></p>
<p>The past five years have seen the emergence of a growing array of autonomous swimming, flying, and rolling vehicles, each highly sensored and capable of real-time communication with processors external to themselves.  Practical designs are now commercially available for each of the four primary areas of our environment: terrestrial, marine (subsea, surface, and amphibian), atmospheric (gravity constrained), and space (orbital and planetary).</p>
<p>A look at a selection of these achievements in networked sensor systems will set the stage to discuss the communications layer of the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">ubiquitous computing stack</a>.</p>
<p>
<span id="more-930"></span></p>
<hr />
<h3>The Advance of Sensor Networks and Autonomous Systems</h3>
<p>Both sensors and embedded processors are becoming increasingly more capable and less costly, requiring lower power and occupying smaller footprints.  More significantly, the means and bandwidth available for information exchange <em>between</em> sensors and processors continues to grow, and costs are decreasing here also.  </p>
<p>Together, these advances are the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">technological foundation</a> for a reality in which high-quality, quantitive responses to an ever-changing environment can be made in real-time by a networked collection of autonomous, decision-making nodes (hardware and software).  And these nodes are not only for fixed position sensing.</p>
<h4>Autonomous Mobile Platforms: Swimming, Flying, and Rolling</h4>
<p>The past five years have seen the emergence of a growing array of autonomous swimming, flying, and rolling vehicles, each highly sensored and capable of real-time communication with processors external to themselves.  Practical designs are now commercially available for each of the four primary areas of our environment: terrestrial, marine (subsea, surface, and amphibian), atmospheric (gravity constrained), and space (orbital and planetary).</p>
<p>These designs come in a wide variety of configurations and sizes, from ultra-portable to those capable of carrying large payloads.  But regardless of size, all are <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">fully loaded with sensors</a>, on-board imaging or vision systems, ranging and navigation systems, and networked communications.  There are autonomous sea surface craft, autonomous subsea gliders, autonomous aerial drones, and autonomous tracked and wheeled vehicles.</p>
<p>The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">technological future that is unfolding</a> is one of networked sensors, embedded processing (ubiquitous computing), and sophisticated, adaptive systems that are able to monitor their environment using a fusion of sensors and, when the conditions are deemed right by their on-board software programs, to adapt or intervene.  Networked, self-powered subsea and surface craft are capable of performing unmanned precision missions. &#8220;Drive-by-wire&#8221; land vehicles with sophisticated decision processing software can safely navigate a recreated urban environment, obeying all traffic laws.   Hand-launched aerial drones are capable of autonomous surveillance missions.  These and similar systems have been engineered, seemingly out of the pages of science fiction, and are presently deployed in field sites of the offshore oil and gas, military defense, space, and automotive sectors.</p>
<p>These and similar systems have been engineered, seemingly out of the pages of science fiction, and are presently deployed in field sites of the offshore oil and gas, military defense, space, and automotive sectors.</p>
<p><h4>A Selection of Achievements</h4>
<p>A look at a selection of these achievements in networked sensor systems will set the stage to discuss the communications layer of the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">ubiquitous computing stack</a>.</p>
<ol>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kYXJwYS5taWwvZ3JhbmRjaGFsbGVuZ2UvaW5kZXguYXNw">DARPA&#8217;s Urban Grand Challenge of 2007</a> saw the successful completion of the six-hour built-city challenge by six, fully autonomous &#8220;drive-by-wire&#8221; unmanned vehicles from Carnegie-Mellon, Stanford, and others.  Almost all of the designs incorporated high-definition terrestrial LiDAR communicating via UDP/IP, among a host of their other networked sensors.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3VrL2Fib3V0X2lyb2JvdC5jZm0=">iRobot Corporation</a>, the maker of the famous <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3VrL2hvbWVfcm9ib3RzLmNmbQ==">floor-cleaning Roomba autonomous robot</a>, has, over the past decade, been developing and deploying <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zdWd2MzAwc2VyaWVzLmNvbS8=">autonomous military robots</a> on track-and-belt platforms for hazardous mission critical operations in Afghanistan and Iraq such as cave exploration, mine-sweeping, IED de-activation.  These have in-built orientation sensors, on-board vision systems, ultrasonic proximity sensors, amongst others, all streaming data for on-board processing, mechnical control and adaptive response.
<li>For use in the deep ocean, the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcGwud2FzaGluZ3Rvbi5lZHUvcHJvamVjdHMvc2VhZ2xpZGVyL3N1bW1hcnkuaHRtbA==">Applied Physics Lab of the University of Washington</a> developed the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3NwLmNmbT9wYWdlaWQ9Mzkz">SeaGlider</a>, an autonomous, long-range, ultra-low powered UUV that dives deep and then surfaces, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcGwud2FzaGluZ3Rvbi5lZHUvcHJvamVjdHMvc2VhZ2xpZGVyL3N1bW1hcnkuaHRtbA==">communicating its data via Iridium satellite link</a>, before diving again.  (The SeaGlider is now part of the iRobot stable of technologies, as part of a technology transfer agreement in 2009.)
<li>On the surface of the ocean, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5saXF1aWRyLmNvbS9wcm9kdWN0cy5hc3B4">Liquid Robotics</a> has developed energy-efficient unmanned surface vehicles that are being used to undertake the kind of long-range, leisurely oceanographic observing research that would previously have required an ocean vessel or an anchored ocean buoy.  Complete with on-board navigation, telemetry, solar panels, and a wave energy harvesting plaform, the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5saXF1aWRyLmNvbS9wcm9kdWN0cy5hc3B4">WaveGlider</a> is capable of accurately traveling a pre-defined transect of a thousand miles or more, or staying in place as a &#8220;un-anchored&#8221; buoy, all the while carrying a payload of oceanographic sensors.
<li>And for the interface between land and sea, in the near-shore surf zone, iRobot has developed the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3NwLmNmbT9wYWdlaWQ9NDI4">Transphibian</a>, a shallow water mine sweeping autonomous robot.
<li>In the air, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hdmluYy5jb20vdWFzL3NtYWxsX3Vhcy93YXNwLw==">Aerovironment</a> has developed back-pack portable, hand-deployable unmanned aerial surveillance drones that have been used to tactical advantage by fighting forces at the front-lines of counter-guerilla combat operations.  These ultra-portable micro-UAVs are equipped with low power, high resolution cameras that wirelessly transmit images to the solder&#8217;s in-field console for the kind of &#8220;over the horizon&#8221; look-ahead capability that is pressing back the fog of war.
<li>Finally, in space, the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9ob21lL2luZGV4Lmh0bWw=">Mars Rover Program of NASA&#8217;s Jet Propulsion Laboratory</a> developed the much celebrated twin autonomous rovers <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9uZXdzcm9vbS9wcmVzc3JlbGVhc2VzLzIwMTAwMTI2YS5odG1s">Spirit</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9zcG90bGlnaHQvMjAxMDAyMDFhLmh0bWw=">Opportunity</a> that, after six years since their arrival onto the Red Planet, are still exploring the martian surface and telemetering their data back to earth.   These rovers are not only kitted out with a king&#8217;s ransom of sensors, but they have on board processing and mission control software modules that allow for adaptive response and on-the-fly adjustment of tactics to suit the particular situation.
</ol>
<h3>Communication Technologies in the Four Primary Environments</h3>
<p>What is common to all of these systems, and to the many more applications not mentioned (some listed at the end of this article), is that they require a host of sensors to be integrated into a local-area network on board the system <em>but also</em> the ability to communicate wirelessly with other devices across a wider geographical area.</p>
<p>The examples have been chosen specifically to show that sensored and networking technologies are not limited to particular environments.  They can be developed for each of the four principal environments: subsea marine, rugged or urban terrestrial, gravity-constrained atmosphere, and gravity-free and/or atmosphere-free space.</p>
<p>Given the widely varying physics in each of the four disparate environments mentioned above, and given the fact that no single communication technology can operate across all of these different environments, it is worth discussing the background to digital communication in general and wireless telemetry in particular, before turning to the details of particular communications protocols and how to use them.</p>
<hr />
<p>
<em>Stay tuned for the next article on Communications in Sensor Networks.</em></p>
<p>
<em>If you enjoyed this article, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoc2NpdGVjaC5vcmcvYXJ0aWNsZXMvZmVlZA==">subscribe to our RSS feed</a> &#8212; don&#8217;t miss the next article.</em> </p>
<hr />
<p><h4>References and Related Reading</h4>
<p><strong><em>Cited in the article</em></strong></p>
<ul>
<li> DARPA&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kYXJwYS5taWwvZ3JhbmRjaGFsbGVuZ2UvaW5kZXguYXNw">Third (Urban) Grand Challenge (2007)</a> for a completely unmanned autonomous ground vehicle capable of negotiating an active urban environment.
<li> iRobot&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zdWd2MzAwc2VyaWVzLmNvbS8=">Unmanned Military Robotic Vehicle SUGV</a> for hazardous military operations
<li> iRobot&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3NwLmNmbT9wYWdlaWQ9Mzkz">SeaGlider Long Range Unmanned Underwater Vehicle</a> for long range oceanographic research or military surveillance missions, with <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcGwud2FzaGluZ3Rvbi5lZHUvcHJvamVjdHMvc2VhZ2xpZGVyL3N1bW1hcnkuaHRtbA==">technology from the Applied Physics Lab</a> of the University of Washington
<li> iRobot&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29tL3NwLmNmbT9wYWdlaWQ9NDI4">Autonomous Transphibian Bottom Crawler</a> for mine-sweeping operations near-shore and in the land-water interface
<li> Liquid Robotics&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5saXF1aWRyLmNvbS9wcm9kdWN0cy5hc3B4">Wave Glider Unmanned Surface Vehicle</a> for long range oceanographic research or coastal security applications
<li> Aerovironment&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hdmluYy5jb20vdWFzL3NtYWxsX3Vhcy93YXNwLw==">Unmanned Micro-Air Vehicle WASP III</a> <em>Click on the <strong>Aqua WASP &#8211; Open Water</strong> and <strong>Aqua WASP &#8211; Jungle</strong> videos.  Impressive.</em>  (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5kZXNpZ25hdGlvbi1zeXN0ZW1zLm5ldC9kdXNybS9hcHA0L3dhc3AuaHRtbA==">More detail here</a>)
<li> NASA&#8217;s Jet Propulsion Laboratory <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9ob21lL2luZGV4Lmh0bWw=">Mars Rover Program</a>: the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9uZXdzcm9vbS9wcmVzc3JlbGVhc2VzLzIwMTAwMTI2YS5odG1s">Spirit</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hcnNyb3Zlci5uYXNhLmdvdi9zcG90bGlnaHQvMjAxMDAyMDFhLmh0bWw=">Opportunity</a> rovers have been exploring for six years since their landing on Mars in January 2004.
</ul>
<p>
<p><strong><em>Related reading</em></strong></p>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VvMS5nc2ZjLm5hc2EuZ292L25ldy9leHRlbmRlZC9zZW5zb3JXZWIvYXNlLmh0bWw=">Autonomous Satellite Surveillance</a>: NASA&#8217;s Earth Observing satellites now run autonomous software to allow them to adaptively respond to targets of opportunity and change their mission priorities on the fly
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">Knowledge Engineering and the Emerging Technologies of the Next Decade</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">Sensors and Systems: Integrating Sensors into the Ubiquitous Computing Stack</a>
</ul>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=930" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/sensor-networked-comms-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Advance of Marine Micro-ROVs</title>
		<link>http://mathscitech.org/articles/micro-rovs</link>
		<comments>http://mathscitech.org/articles/micro-rovs#comments</comments>
		<pubDate>Fri, 19 Mar 2010 10:19:05 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Technology-Advanced]]></category>
		<category><![CDATA[AC-ROV]]></category>
		<category><![CDATA[Marine Operations]]></category>
		<category><![CDATA[Micro-ROV]]></category>
		<category><![CDATA[Mini-ROV]]></category>
		<category><![CDATA[ROVs]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=957</guid>
		<description><![CDATA[<p></p>
<p>A Versatile Tool for Marine Operations, and a Portable Undersea Platform for Small Sensors</p>
<p>Micro-ROVs (Remotely Operated Vehicles) are becoming increasingly capable even as their size and cost drop, opening up new possibilities for the application of undersea inspection, imaging, and measurement.</p>
<p>In this article, I&#8217;ll discuss four reasons why Micro-ROVs should be a routinely used part [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Micro-ROVs<br />
Micro-ROVs: A Versatile Tool for Marine Operations<br />
      Assad Ebrahim<br />
      wordpress article<br />
      3/17/2010<br />
 --></p>
<p><strong>A Versatile Tool for Marine Operations, and a Portable Undersea Platform for Small Sensors</strong></p>
<p>Micro-ROVs (Remotely Operated Vehicles) are becoming increasingly capable even as their size and cost drop, opening up new possibilities for the application of undersea inspection, imaging, and measurement.</p>
<p>In this article, I&#8217;ll discuss four reasons why Micro-ROVs should be a routinely used part of a marine and water-side operations toolkit, and review some stand-out choices in the Micro-ROV category.</p>
<p>
<span id="more-957"></span></p>
<p>
<hr />
<h3>Micro-ROVs: A Versatile Tool for Marine Operations</h3>
<p>Micro-ROVs (Remotely Operated Vehicles) are becoming increasingly capable even as their size and cost drop, opening up new possibilities for the application of undersea inspection, imaging, and measurement.</p>
<p>Members of this relatively new class of ROVs are distinguished by their ultra-small size (typically 3-10kg / 7-20lbs) and comparatively low cost (from $6000 to $15,000 to buy and from $600/day to lease).  But of course, as compared to their larger, more pricey cousins, they offer less thrust, are typically rated for shallower depths, have correspondingly shorter tether lengths, and can accomodate fewer add-ons and accessories.</p>
<p>As in most technology applications, cost and capability are the common trade-off variables.  The goal for each application is to find the right mix of the two.</p>
<h4>Reasons to Consider Adding a Micro-ROV to your Marine Technology Toolkit</h4>
<p>In my experience, the following are four reasons why Micro-ROVs should be a routinely used part of a marine and water-side operations toolkit:</p>
<ul class="NoBullet">
<strong>Reason 1.</strong>  In certain situations it can be quicker and safer to use an ROV than a dive team.  With a dive team, you have to observe strict safety procedures, current conditions, daylight hours, water temperature, the possibility of debris strikes, hazardous materials, and time in the water.  In faster flowing waters, operational problems can mean overrunning a tide window of opportunity and delays of 6 to 8 hours.  With crews on standby and big rigs in the water, the loss of a working day can hit the budget hard.  If the required work involves multiple up and down trips, this can be exhausting on divers and require diver rotations or rest time.  Where visibility is limited, temperatures are low, or otherwise hazardous, an inspection Micro-ROV is a useful tool to consider.  In all of these situations, being able to go in with a Micro-ROV either in addition to, or instead of, a diver, can save valuable project time.</p>
<p><strong>Reason 2.</strong>  Even when a dive team is necessary, and it often is, Micro-ROVs can be a useful  supplement to the dive team, providing initial first-review of a situation and allowing the diver response mission to be adjusted after reviewing footage from the Micro-ROV.  The additional advantage is that the customer&#8217;s technical staff can be viewing the footage alongside project staff and dive staff.  This reduces the chance of misunderstanding or errors in judgment that can occur when all sub-surface information is being relayed back to the customer based solely on the visual observation and memory of a single diver.  </p>
<p><strong>Reason 3.</strong>  Where routine inspection would be advisable but is neglected due to the cost or availability of dive teams, having a rapidly deployable, pier-side Micro-ROV can substantially improve a waterside operation.  There is no longer a reason not to start off with an inspection while the rest of the operation is gearing up.  Frequently, problems can be caught early, before they become worse, or before testing or installation operations begin.</p>
<p><strong>Reason 4.</strong>  Getting live footage while an expensive equipment trial is underway is often considered as an after-thought.  For important trials or prototype evaluations, footage is very helpful.  If the test run goes well or an installation goes as planned, then comes the celebration and preparation for presentations &#8212; but where&#8217;s the compelling footage?  Or, in the opposite case, if there were problems with the test, the equipment, or the operational procedures, and if a costly failure occurred, a detailed post-mortem would be helpful &#8212; but no one actually <em>witnessed</em> the underwater failure, and there&#8217;s no footage.  In both of these cases, having a Micro-ROV unobtrusively taking underwater high-definition color video footage of the action can be a boon, be it for customer presentation, business development, engineering analysis of problems, or project documentation.
</ul>
<h4>Costs, Benefits, and Ease of Use</h4>
<p>Micro-ROVs are coming down in cost.  Capable systems can now be obtained from $6,000 &#8211; $15,000, depending on options and accesories.  Systems can be leased from $600/day, $1500/week to $5000/month (USD).</p>
<p>In the right situation, this cost is small compared to the total cost of recovering from mistakes, delays, or testing failures.  </p>
<p>How often have expensive crews waited while technical staff wrestled with equipment and deployment challenges and discussed alternatives in the absence of a way to see the problem underwater?  Throw in a Micro-ROV, take a careful look, and then decide what exactly needs to be done.  </p>
<p>The ability to setup and deploy within minutes &#8212; in many cases literally &#8220;drop it in&#8221; &#8212; is one of the most appealing aspects of the Micro-ROV platform.  </p>
<p>Traditional work ROVs have a steep learning curve, are expensive, require lifting equipment to deploy, and are typically driven by a trained ROV operator.  The Micro-ROVs now available have simpler control interfaces, can be deployed off the side of a pier or rubber boat simply by lowering the Micro-ROV into the water from its cable, and a first-time operator can be trained up comparatively quickly.  </p>
<p>The ease of use is due to the high degree of manoeuvrability of many of these Micro-ROVs.  As an example, the AC-ROV (reviewed below) has full 5 degrees of freedom and 6 thrusters: 4 vectored horizontal thrusters and 2 vertical thrusters.  This simplifies flying the Micro-ROV.  Lateral movements can be made keeping the surface in view, and if the target is passed, the operator does not have to fly difficult manoeuvers to get back into position.</p>
<h4>Recommendations</h4>
<p>Given the foregoing discussion, I would recommend the following: </p>
<ul>
<li> If you are a dive team, you may want to invest in a Micro-ROV as part of your infrastructure.
<li> If you are involved in frequent waterside operations or equipment testing that involves coordinating groups of contractors or other &#8220;on-the-clock&#8221; resources, you should consider leasing a Micro-ROV as a contingency plan for when (not if!) things begin to go wrong.  (And they always do).  Think of it as an investment in giving your technical staff eyes below the surface to ensure that the operation goes smoothly.
<li> If you are a marine consultant or ocean engineering company on a fixed-bid contract, you may wish to include the cost of such leases in your bids/proposals.  It is part of your contigency planning to help reduce the likelihood of costly over-runs or re-work.
</ul>
<p><a name="MicroROVreview"></a></p>
<h3>Micro-ROV Product Choices</h3>
<p>There are now a number of choices for quality Micro-ROVs on the market.  From among the half-dozen candidates that I have considered, the AC-ROV is particular impressive.  Granted, there are always tradeoffs, and every application needs to consider the right mix of performance requirements and vehicle capabilities.  But for an ultra-portable, rapidly deployable, shallow learning curve Micro-ROV that packs an impressive range of capabilities in a low price point, the AC-ROV is a head-turner.  I&#8217;ll be scheduling a test drive soon.</p>
<p>Below, then, is a quick overview of the AC-ROV.  More information is at the manufacturer&#8217;s site.  Information on the best of the other half-dozen candidates that I considered is also below.</p>
<p>Useful white-papers and additional reference material is also given below.</p>
<p><a name = "#ACROV"></a></p>
<h4><strong><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvbS9kZXNjcmlwdGlvbi5odG1s">AC-ROV</a></strong> (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvLnVr">AC-CESS</a>, UK)</h4>
<p><em><small>Mar-17-2010 by Assad Ebrahim</small></em></p>
<p>The <strong><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvbS9kZXNjcmlwdGlvbi5odG1s">AC-ROV</a></strong> is an impressive 3kg (6.6lbs), ultra compact (LWH: 203mm x 152mm x 146mm / 8&#8243; x 6&#8243; x 5.75&#8243;), highly portable tethered micro-ROV outfitted with a digital CCD camera and optional additional sensors.  The small size, portability, and rapid deployability make this piece of kit an attractive option for underwater inspection and flying-through large diameter pipes (8&#8243; or more) or for work in tight spaces.<br />
(<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvbS90ZWNoc3BlY3MuaHRtbA==">Spec<a/> | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvbS9jb21wLmh0bWw=">Comparison</a> | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hYy1jZXNzLmNvbS9nYWxsZXJ5Lmh0bWw=">Images</a>)</p>
<p><strong>AC-ROV Appeal</strong>: the AC-ROV has full manoeuvrability (5 degrees of freedom), has automatically tracking camera lights, and can be flown with one hand, leaving the other free.  It is depth-rated to 75msw (meters sea water), can fly out 120m from the operating unit (with tether deployment system), and can carry 0.5 lb (200g) payload.<br />
    It has 4 vectored horizontal thrusters and 2 vertical thrusters.  The thrusters are designed to prevent catching and fouling &#8212; and in the event that one of the vertical thrusters gets jammed with kelp, you still have the redundancy to manoeuvre vertically.</p>
<ul class="NoBullet">
<li>Input: Power (300W &#8211; AC)
<li>Basic Output: Composite Video from the on-board digital CCD camera
<li>Additional Sensors: the AC-ROV can be outfitted with a USBL (ultra-short baseline) transponder for tracking or precise positioning, an optional rear-view camera and light, depth and pressure sensors, a laser scaling head for measurement of surface features, a thickness gauge for measurement of metal thickness
<li>Operating Information: The six independent thrusters allow full range of motion and manoeuvrability.  This, coupled with the ability to attach the cable at the rear, top or bottom, allow the AC-ROV to be used for forward-fly-through, drop-down, or up-rise inspection missions in close quarters (mininum opening 8&#8243; diameter is required in forward flying mode, 9&#8243; diameter in drop-down mode).
<li>Clean Profile: The AC-ROV has a clean profile and is free of protrusions that are likely to snag the tether
<li>Portability: The AC-ROV, together with all required parts and pieces, fits into a single storm case that weighs in under 20kg (40lbs) &#8212; light enough for checked baggage on most airlines.
</ul>
<h4>Other Vendors with MicroROVs and some MiniROVs</h4>
<p><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy52aWRlb3JheS5jb20vY2F0ZWdvcmllcy9vdmVydmlldw==">VideoRay</a> (US)  | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zZWFib3RpeC5jb20=">Seabotix</a> (US) | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jZXRyYXhzeXN0ZW1zLmNvbS9zdWJjYXRfZGlzcGxheS5waHA/Y2F0PTM=">Cetrax</a> (UK) | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5zdWJzZWEtdGVjaC5jb20vaW5kZXgucGhwP3A9cHJvZCYjMDM4O2M9MSYjMDM4O2w9dWs=">Subsea Tech</a> (France) | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FsYmF0cm9zbXQuY29tL2luZGV4LnBocD9vcHRpb249Y29tX2NvbnRlbnQmIzAzODt0YXNrPXZpZXcmIzAzODtpZD0yNSYjMDM4O0l0ZW1pZD01NSYjMDM4O2xhbmc9ZW4=">Albatros</a> (Spain) | <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5nbm9tLXJvdi5jb20vcHJvZHVjdHMv">Gnom</a> (Russia)</p>
<p>
<hr />
<h3>Related Reading, Further Interest</h3>
<ol>
<li> Each of the vendor sites has useful information on applications, case studies, and success stories.
<li> (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tb2xjaGFubWFyaW5lLmNvbS9IMjBPcHMucGRm">PDF</a>)<em>The Role of MicroROVs in Maritime Safety and Security</em>, M. Molchan, <img src='http://s.wordpress.com/latex.php?latex=H_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='H_2' title='H_2' class='latex' />Ops, April/May 2006.
<li> (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2Nyb3NiaS56bmFuc3R2ZW5pY2kuaHIvZGF0b3Rla2EvMzA1NzIwLk1pY3JvX1JPVl9TaW11bGF0b3IucGRm">PDF</a>) <em>A Micro-ROV Simulator</em>, Z. Fabekovic, Z. Eskinja, Z. Vukic; IEEE Proceedings Electronics in Marine; 2007; pp.97-101;<br />
Keywords: Mathematical Modeling, VRML platform, 3-D visualization</p>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=c2Vuc29yLXN5c3RlbXM=">Sensors and Systems: Integrating Sensors into the Ubiquitous Computing Stack</a>
</ol>
<hr />
<p>
<em>Stay tuned for the next article on Marine Technologies.</em></p>
<p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=957" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/micro-rovs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sensors and Systems</title>
		<link>http://mathscitech.org/articles/sensor-systems</link>
		<comments>http://mathscitech.org/articles/sensor-systems#comments</comments>
		<pubDate>Fri, 05 Mar 2010 06:55:19 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Technology-Advanced]]></category>
		<category><![CDATA[Embedded Systems]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[History of Science]]></category>
		<category><![CDATA[intelligence]]></category>
		<category><![CDATA[sensors]]></category>
		<category><![CDATA[systems]]></category>
		<category><![CDATA[Systems Development]]></category>
		<category><![CDATA[ubiquitous computing]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=782</guid>
		<description><![CDATA[<p>
&#8230; Integrating Sensors into the Ubiquitous Computing Stack</p>
<p>&#8220;Smart dust&#8221;, tiny leaf sensors, wearable computing &#8212; these and a host of other sensors that make measurements and communicate without requiring human intervention can now be readily integrated into dispersed systems to provide ambient intelligence, situational awareness, and the capability for adaptive behaviors or intelligent process automation. [...]]]></description>
			<content:encoded><![CDATA[<p><!-- sensors-leaf.html<br />
      AKE<br />
      WordPress article<br />
      3/4/2010<br />
 --><br />
<strong>&#8230; Integrating Sensors into the Ubiquitous Computing Stack</strong></p>
<p>&#8220;Smart dust&#8221;, tiny leaf sensors, wearable computing &#8212; these and a host of other sensors that make measurements and communicate without requiring human intervention can now be readily integrated into dispersed systems to provide ambient intelligence, situational awareness, and the capability for adaptive behaviors or intelligent process automation.  </p>
<p>Whether the sensor&#8217;s output is used to control the opening and closing of relays or thermostats, or to automatically raise alerts &#8212; the integration of sensors into systems is at the heart of the promise of ubiquitous computing.  And with the ability to place hundreds of embedded sensors within a given coverage area, each wirelessly streaming information, the possibility of self-organizing sensor networks is increasingly becoming a reality.</p>
<p>This article takes a look at the sensor layer of a basic ubiquitous computing stack.</p>
<p><span id="more-782"></span></p>
<p>
<hr />
<h3>Integrating Sensors into Systems</h3>
<p>In <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">Knowledge Engineering</a>, I broadly outlined where I believe the emerging technologies of the next decade are going and the disciplines that are fueling these developments.  Whether this area is called Knowledge Engineering, Ubiquitous Computing, or Ambient Intelligence &#8212; the fundamentals are the same: sensors, tiny processors and controllers, situational awareness, wireless communication, and robust networking capabilities.</p>
<p>Here, I&#8217;ll take a look at the sensors layer of a basic ubiquitous computing stack (Figure 1).<br />
<div id="attachment_788" class="wp-caption aligncenter" style="width: 385px"><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGhzY2l0ZWNoLm9yZy9hcnRpY2xlcy9zZW5zb3Itc3lzdGVtcy9zZW5zb3JzdGFjaw==" rel=\"attachment wp-att-788\"><img src="http://mathscitech.org/articles/wp-content/uploads/2010/03/SensorStack.png" alt="Figure 1.  The Basic Computing Stack (Sensor to Communications) in Ubiquitous Computing Designs.  The top layer is optional and is typically an application layer geared for end-user interaction." title="SensorStack" width="375" height="218" class="size-full wp-image-788" /></a><p class="wp-caption-text">Figure 1.  The Basic Computing Stack (Sensor to Communications) in Ubiquitous Computing Designs.  The top layer is optional and is typically an application layer geared for end-user interaction.</p></div></p>
<p>The interest is with devices that are capable of making physical measurements (&#8221;sensing&#8221;), filtering or computing in real-time using these measurements (&#8221;processing&#8221;), and reporting the results (&#8221;communications&#8221;) in a form that allows a machine, <em>unassisted by a human</em>, to read and potentially take action on the data.  Communications can be via a visual display, logged to a file, or via packets of information transmitted wirelessly using one of a variety of communication protocols.</p>
<h4>Theory vs. Practice: Direct and Surrogate Measurement</h4>
<p>In principle, sensors can be designed to measure any physical property that is of interest.  But direct measurement is often difficult, costly, or otherwise infeasible for a variety of technical reasons.  So, in practice, it is often the case that a sensor is measuring a <em>surrogate</em> quantity whose correlation with the quantity of interest is known to vary linearly over a useful range of the quantity of interest.</p>
<p><strong>Examples</strong><br />
For example, to measure temperature by directly measuring the heat energy present, i.e. the rate of molecular collisions, is difficult, but measuring the volume expansion of a fluid is comparatively easy.  Thus, the discovery by Galileo, at the end of the 1500s, that water volume varied stably with apparent change in temperature, led directly to his invention of the water thermometer (sensor).  Similarly, the discovery by Gabriel Fahrenheit, almost a century later in the early 1700s, that mercury has a more stable relationship between volume and temperature change, and maintains this relationship across a wider temperature range, led directly to his invention of the mercury thermometer and the Fahrenheit scale.</p>
<p>Time is another example: hard to measure directly, but with steadily improving precision as new surrogates are used for indirect measurement &#8212; shadow clocks, sand clocks, water clocks, pendula, mechanical clocks, crystal oscillators, and now atomic clocks.  Similarly, devices that measure position and direction typically exploit surrogate quantities in their computation of position, range, distance, or direction: the magnetic compass, the sextant, the astrolabe, the surveyor&#8217;s level, laser range finding, the total station (optical-mechanical), radar (RF waves), sonar (pressure waves), and satellite navigation (GPS).   Most electric measurements are also made indirectly, exploiting changes induced in an associated magnetic field to exert a force that leads, for example, to a mechanical deflection that can then be read off a scale or sensed by a strain gauge or displacement meter.</p>
<p>Thus, it is the investigation, discovery and calibration of surrogate measurements that makes sensor design and development a blend of applied science and creative engineering.</p>
<h4>Active Elements, Scales and Calibration</h4>
<p>Sensors can be usefully organized into two groups according to their primary function:</p>
<ol>
<li> sensors that indicate the presence or absence of the phenomenon of interest, e.g. detectors and alarms, and
<li> sensors that can quantify variation in a measured quantity, e.g. gauges or meters.
</ol>
<p>Four components are typically at the heart of a sensor&#8217;s design: an indicator element, a transducing element, a calibration standard, and a measurement scale.</p>
<p>An indicator element is something that reacts in a known manner to the phenomenon of interest.  Understanding the nature and behavior of the indicator element typically emerges from pure science, be it chemistry (for material indicators), physics (for electromagnetic or optical indicators), or mechanics (for deflection strengths).  Integration of the indicator element into a sensor design requires familiarity with both the science underlying the sensor&#8217;s mechanism as well as the engineering technologies involved in allowing the sensor to function appropriately.</p>
<p>A transducer element is something that transforms energy of one kind into another.  Some transducers are one-way, other are two-way.  For example, piezo-electric ceramic elements are well known two-way transducers that transform pressure into voltage and vice versa.  One can view the human eye as a one-way electro-optical transducer, transforming radiated energy (the energy from photons, or light) into electrical impulses traveling along the nervous system into the brain.  Similarly, the human skin can be viewed as a one-way electro-mechanical transducer: transforming the pressure from contact into electrical impulses.</p>
<p>But without a scale and calibration standard, you have at most a correspondence indicator and possibly coarse detector or alarm.  For example, a windmill&#8217;s motion corresponds to wind speed, but until the windmill&#8217;s motion is calibrated and a scale presented, one cannot determine wind speed with any more precision than the relative fuzzy sense of &#8220;slower&#8221; or &#8220;faster&#8221;.  This level of imprecision might be acceptable if the goal is simply to detect the presence (or absence) of wind, or to trigger an alarm when wind speed passes the threshold needed to begin turning the blades.  But more would be needed if the desire is the ability to compare wind speeds at different times, or to quantitatively characterize variations in wind speed with time.</p>
<p>Having a sensor that can be used for reliable (precise and accurate) quantification will typically require active elements (indicator or transducer), knowledge of how the chosen surrogate quantity behaves across the desired variation range of the phenomenon of interest, and, most importantly, a scale and a standardized method of calibration.</p>
<h4>A Cornucopia of Off-the-shelf (COTS) Sensors</h4>
<p>There are an <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MaXN0X29mX3NlbnNvcnM=">enormous variety of sensor types</a> and costs: mechanical sensors, electro-magnetic, optical, chemical, biological, environmental, proximity, position, kinematic, acoustic/pressure, and various combinations of these.  </p>
<p>Perhaps the most common categories of sensors are as follows:</p>
<ul>
<li> <strong>sound, vibration, pressure sensors</strong>: these convert forced displacement (force, pressure) into voltage.  E.g. geophone for measuring earth tremors, hydrophone for measuring pressure (sound) in the water, microphone for measuring pressure (sound) in air.
<li> <strong>kinematic sensors</strong>: these convert the sensor&#8217;s motion characteristics into voltage.  E.g. accelerometer, speedometer (pit log, airspeed indicator)
<li> <strong>position and proximity sensors</strong>: these measure position, deviation from position, or closeness.  E.g. crank sensor, GPS, optical or ranging sensors, parking sensors, ultrasonic sensors, Hall effect sensor, variable reluctance sensor, water level sensor
<li> <strong>motion detecting sensors</strong>: these measure the presence or characteristics of movement in the field of view of the sensor. E.g. burglar alarms, radar guns (that indicate the velocity of the motion), tachometer (detecting rotation speed)
<li> <strong>chemical sensors</strong>: these measure chemical composition.  E.g. oxygen sensor, water sensor, breathalyzers, CO, <img src='http://s.wordpress.com/latex.php?latex=CO_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='CO_2' title='CO_2' class='latex' />, catalytic bead sensor (measuring gas levels), various chemical transistors, gas sensors, electronic nose, <img src='http://s.wordpress.com/latex.php?latex=H_2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='H_2' title='H_2' class='latex' />, optrodes (for optically detecting the presence of various chemical substances), ion/acid sensor, smoke detector
<li> <strong>optical and radiation sensors</strong>: these use a variety of radiation techniques.  E.g. radar, LIDAR, infra-red sensors, laser range finders, pyranometer for detecting solar radiation levels.
<li> <strong>electro-magnetic sensors</strong>: these exploit the relationship between electricity and magnetism, typically using conductor coils and magnets.  E.g. current sensors, hall effect sensors, charge detect sensors, magnetic anomaly detectors, metal detectors, radio detection finder, Wheatstone bridge.
<li> <strong>environmental sensors</strong>: these use a variety of techniques to measure environmental conditions.  (E.g. rain gauge, snow gauge, dewcheck, moisture sensor for soil (soil moisture probe) or rain (rain sensor) or condensation/relative humidity (dewcheck), temperature sensor (mercury or conductivity, etc.), tide gauge.)
</ul>
<h4>Evaluating and Comparing Competing Sensors</h4>
<p>For just about anything that one wishes to measure, there will be a variety of off-the-shelf sensor technologies providing that capability, each employing different methods for measuring the quantity of interest, and each exploiting different physical relationships to make and condition these measurements.  </p>
<p>The obvious considerations when choosing a sensor are, of course, cost, size, weight, and performance range.  But there are a host of deeper issues that should be considered carefully, since the engineering time and cost of integrating a sensor into a system is not small.  Selecting between two otherwise similar sensors often boils down to evaluating the differences between them in calibration, accuracy, precision, reliability, vulnerability to disruptions, and communication protocol.</p>
<p>What follows, then, is a selection of important issues not to overlook in your sensor selection:</p>
<p><strong>Issues related to all sensors</strong></p>
<ol>
<li> <strong>output type (analog or digital)</strong>: sensors with analog outputs are typically less costly, but the analog signals may require conditioning or filtering, cannot travel as far without loss, are more susceptible to noise, and require post conversion to digital in order to record and/or transmit data; digital outputs typically comes at a higher cost, but is easier to integrate since the engineering involved in getting the signal path from raw analog output to conditioned digital output has been done for you.
<li> <strong>calibration</strong>: is the sensor calibrated (providing an absolute measurement) or uncalibrated (providing a relative measurement)?
<li> <strong>type of calibration</strong>: manual or automatic?
<li> <strong>sensitivity</strong>: how fine is the ability to discriminate between similar strength inputs?
<li> <strong>accuracy</strong>: how closely does the measurement of a known quantity match its known value?
<li> <strong>precision</strong>: how repeatable are its measurements of the <em>same</em> quantity?
<li> <strong>linearity range</strong>: what is the variation range over which the sensor performs linearly?
<li> <strong>sources of bias</strong>: these can be materials, known interference sources, internal noise in the instrument (self-noise), among others.
<li> <strong>smoothing / volatility</strong>: the presence and type of averaging algorithms that are used to reduce measurement volatility and the susceptibility to noise.
<li> <strong>performance degradation</strong>: this can be due to aging, shock/vibration, and environmental change (temperature, humidity).
<li> <strong>drift rate</strong>: the rate at which a sensor&#8217;s performance changes.
<li> <strong>longevity</strong>: the expected life of the sensor.
<li> <strong>reliability</strong>: the extent to which the sensor continues to perform within its stated characteristics throughout its expected life.
<li> <strong>robustness</strong>: the continued and proper functioning of the sensor in the face of environmental or performance stresses.
<li> <strong>vulnerability to disruption</strong>: causes of failure, malfunction, or worse &#8212; the unannounced introduction of bias.
<li> <strong>mean time between failure</strong>: statistically determined estimate on lifetime.
<li> <strong>communication protocol</strong>: the means by which the sensor communicates or logs its data.
</ol>
<h4>The Promise of Sensored Systems</h4>
<p>Sensors that can make measurements and communicate without requiring human intervention can be readily integrated into systems, providing ambient intelligence, situational awareness, and the capability for adaptive behaviors or intelligent process automation.  </p>
<p>So a mercury thermometer with only a visual scale etched on the glass housing is an example of a sensor that would require a second sensor in order to take a reading automatically, whereas a digital thermometer that transmits digital information or logs the measured data is one that we can use as part of an integrated automated system.  </p>
<p>Whether the sensor&#8217;s output is used to control the opening and closing of relays or thermostats, or to automatically raise alerts &#8212; the integration of sensors into systems is at the heart of the promise of ubiquitous computing.  </p>
<p>Indeed, continually streaming information from deployed sensors is creating a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">knowledge engineering</a> industry built around providing real-time analysis, interpretation, and automated decision-making capabilities to applications as varied environmental monitoring, marine renewables, high-tech agriculture and aquaculture, industrial automation, high frequency trading (financial systems), oil &#038; gas infrastructure, and homeland defense.</p>
<p><strong>Miniaturized Sensors</strong><br />
The constituent elements of sensors (power, integrated circuits, antennae, etc.) can now be so small that the potential for widely dispersed deployment is a rapidly becoming a reality.  There is sensing dust, used by the military, leaf sensors used in agriculture, wearable computing, and sensors in everything from car steering wheels, elevators, cameras, washing machines, indoor lights, and even shoes.</p>
<p>In each of the various applications where sensored systems have become a key part of the landscape, there is a similar pattern: miniaturized sensors provide real-time signals.  These are digitized and fed into a computer.  Whose software produces reports.  That can be analyzed as time-series.  Which guides decisions.  And  influences outcomes.  That leads to the optimization of scarce resources.  Which saves money, increases productivity and effectiveness, and at least in theory, boosts profits.</p>
<p>This pattern is touching every industry, from automated check-out stations in supermarkets, to RFID applications in warehousing (think Amazon), to large scale sensored ocean observing systems, missile guidance systems, marine renewables, aquaculture, smart cars, and everything imaginable in between.</p>
<h4>Successful Commercialization and the Challenging Economics of Sensor Integration and Deployment</h4>
<p>But sensors are not free.  In most cases they are highly engineered devices, and the integrated systems and software of which they are a part represent further engineering development &#8212; all of which comes at a cost that can be a significant deterrent to their uptake.</p>
<p>Thus, although prototype systems technology and COTS chip and sensor sub-components are increasingly available, and although the upsides to adoption are often impressive, there are three crucial challenges that must be overcome for a sensored product, system or service to enjoy commercial success:</p>
<ol>
<li> having a compelling economic model rooted in an accurate cost-benefit analysis for the intended customer,
<li> having a practical deployment strategy that reduces risk to early adopters, and
<li> being able to demonstrate that the sensored system can deliver the hoped for results reliably, repeatedly, and throughout its expected life.
</ol>
<p>These three challenges should therefore be kept closely in mind through-out the system design, sensor selection and sensor integration phase, and should guide the strategy for developing new sensor applications.  For those that can deliver the goods (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5hcHBsZS5jb20vaXBob25lL2lwaG9uZS0zZ3MvaGlnaC10ZWNobm9sb2d5Lmh0bWw=">Apple&#8217;s iPhone</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5pcm9ib3QuY29t">iRobot&#8217;s Roomba</a>, for example) successful commercialization and widespread adoption are a sweet reward!</p>
<p>
<hr />
<h4>Related Applications: Sensored Systems, Ambient Intelligence, Automated Monitoring &#038; Control</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5iZXJrZWxleS5lZHUvbmV3cy9tZWRpYS9yZWxlYXNlcy8yMDAzLzA2LzA0X3NlbnNvci5zaHRtbA==">Smart Dust &#8212; Millimeter Scaled Self-Organizing Wireless Sensor Networks (DUST NETWORKS)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5uZXB0dW5lY2FuYWRhLmNhL2Fib3V0LW5lcHR1bmUtY2FuYWRhLw==">Networked Ocean Observing System off the West Coast of Canada (NEPTUNE CANADA)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYmFyaS5vcmcvbWFycy8=">Cabled Ocean Observatories: MBARI&#8217;s MARS (MBARI)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy51c2FzeXN0ZW1zaW5jLmNvbS90ZWNobm9sb2d5Lmh0bQ==">An Underwater Acoustic Sentinel System for Homeland Defense (BIOSONICS)</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5wYXRlbnRzdG9ybS51cy9wYXRlbnRzLzc0NTcxOTYvZnVsbHRleHQuaHRtbA==">Networked Sonar Observation of Selected Seabed Environments, U.S. Patent #7457196</a>, T. Acker, A. Ebrahim, J. Dawson, July 17, 2006 (Priority Date), November 25, 2008 (Issue Date)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vcGFwZXJzL2VicmFoaW0tc2Nhbm5pbmctc29uYXItRkZNLWFxdWFjdWx0dXJlLnBkZg==">(PDF) Digital Scanning Sonar for Fish Feeding Monitoring in Aquaculture</a>, T. Acker, J. Burczynski, J. Hedgepeth, A. Ebrahim, Proceedings of the 6th European Conference on Underwater Acoustics, Gdansk, Poland. pp. 671-675, June 2002, (BIOSONICS)
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53YXRlcnBvd2VybWFnYXppbmUuY29tL3N0b3J5LmFzcD9zdG9yeUNvZGU9MjA1MzkwMw==">Extracting Energy from the Oceans: Wave and Tidal Power Developments</a>, International Water Power, August 2009
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3ZlcmRhbnRwb3dlci5jb20vd2hhdC1lbnZpcm9ubW9uaXRvci8=">Semi-Automated Sonar Monitoring</a> of the World&#8217;s First Grid-Connected Array of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3ZlcmRhbnRwb3dlci5jb20vd2hhdC1pbml0aWF0aXZlLw==">Tidal Energy Turbines (VERDANT POWER)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5iaW9zb25pY3NpbmMuY29tL3Jlc291cmNlcy9tb25pdG9yaW5nX3RpZGFsX3Bvd2VyLmh0bWw=">The Technology Behind Unmanned Sonar Monitoring (BIOSONICS)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5oeWRyb3dvcmxkLmNvbS9pbmRleC9kaXNwbGF5L2FydGljbGUtZGlzcGxheS81MDA2MzA4NzU4L2FydGljbGVzL2h5ZHJvLXJldmlldy92b2x1bWUtMjgvaXNzdWUtNi8tZGVwYXJ0bWVudHMvdGVjaC1icmllZnMuaHRtbA==">Biologically Triggered Automatic Control of Fish Bypass Gates (BORALEX DAM / NEW YORK STATE)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2xlYWZzZW5zb3Iud29yZHByZXNzLmNvbS8yMDA5LzExLzAyL3Jldmlldy1vZi10aGUtbGVhZi1zZW5zb3ItYmlvLWZlZWRiYWNrLXN5c3RlbS8=">Tiny Leaf Sensor for Sensoring Orchards, Aeroponic (Soil-less) Farming, and Space Flight Agriculture (AGRIHOUSE)</a>
</ul>
<h4>Related Articles</h4>
<ul>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=a25vd2xlZGdlLWVuZ2luZWVyaW5n">Knowledge Engineering: The Emerging Technologies of the Next Decade</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Yy1mb3Itc3lzdGVtcw==">Bare Metal Programming: The C Language for Embedded and Low-Level Systems Development</a>
<li> <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHVybGluZy1ib3VsZGVycy1hc3NlbWJseQ==">Hurling Boulders: Assembly Language Programming</a>
</ul>
<p>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=782" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/sensor-systems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Zero Raised to the Zero Power IS One</title>
		<link>http://mathscitech.org/articles/zero-to-zero-power</link>
		<comments>http://mathscitech.org/articles/zero-to-zero-power#comments</comments>
		<pubDate>Thu, 25 Feb 2010 13:56:16 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Mathematics-Phenomenology]]></category>
		<category><![CDATA[Mathematics-Technical]]></category>
		<category><![CDATA[Discrete Mathematics]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Maxima]]></category>
		<category><![CDATA[Octave]]></category>
		<category><![CDATA[Phenomenology]]></category>
		<category><![CDATA[R]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=672</guid>
		<description><![CDATA[<p>The question of what value 0^0  should evaluate to has been discussed since the time of Euler (1700s). There are three candidate choices: 1,0, or &#8220;indeterminate&#8221; (i.e., throw an error).  </p>
<p>In this article, I argue that the only reasonable choice (for discrete mathematics) is 0^0=1 (), and I&#8217;ll give a tangible, feel-the-grit-in-your-palms reason [...]]]></description>
			<content:encoded><![CDATA[<p>The question of what value 0^0 <img src='http://s.wordpress.com/latex.php?latex=%7B%280%5E0%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(0^0)}' title='{(0^0)}' class='latex' /> should evaluate to has been discussed since the time of Euler (1700s). There are three candidate choices: 1,0, or &#8220;indeterminate&#8221; (i.e., throw an error).  </p>
<p>In this article, I argue that the <strong>only reasonable choice (for discrete mathematics) is 0^0=1</strong> (<img src='http://s.wordpress.com/latex.php?latex=0%5E0%20%3D%201&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0 = 1' title='0^0 = 1' class='latex' />), and I&#8217;ll give a tangible, feel-the-grit-in-your-palms reason why it can&#8217;t be any other way.</p>
<p>There are <strong>important implications for software developers</strong>, in particular, the developers of various popular mathematical computing platforms have adopted differing conventions: R, Octave, Maxima, Ruby, Google, Excel, and various software calculators.</p>
<p><span id="more-672"></span></p>
<p>
<hr />
<h3> Why Zero Raised to the Zero Power Ought to Be One (<img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%20%3D1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0 =1}' title='{0^0 =1}' class='latex' />) </h3>
<p>The question of what value 0^0 <img src='http://s.wordpress.com/latex.php?latex=%7B%280%5E0%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(0^0)}' title='{(0^0)}' class='latex' /> should evaluate to has been discussed since the time of Euler (1700s). There are three candidate choices: 1,0, or &#8220;indeterminate&#8221; (i.e., throw an error).<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTY3Mi0x" id='fnref-672-1'>1</a></sup></p>
<p><h4>Context of the Debate: Discrete and Continuous Mathematics</h4>
<p>The reason for having three choices becomes clear when considering <img src='http://s.wordpress.com/latex.php?latex=%7Bx%5Ey%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x^y}' title='{x^y}' class='latex' /> as a function of two continuous variables. If we take <img src='http://s.wordpress.com/latex.php?latex=%7Bx%2Cy%20%5Cneq%200%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x,y \neq 0}' title='{x,y \neq 0}' class='latex' />, and then consider <img src='http://s.wordpress.com/latex.php?latex=%7By%20%5Crightarrow%200%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{y \rightarrow 0}' title='{y \rightarrow 0}' class='latex' />, we have <img src='http://s.wordpress.com/latex.php?latex=%7Bx%5Ey%20%5Crightarrow%201%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x^y \rightarrow 1}' title='{x^y \rightarrow 1}' class='latex' />. But if we consider <img src='http://s.wordpress.com/latex.php?latex=%7Bx%20%5Crightarrow%200%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x \rightarrow 0}' title='{x \rightarrow 0}' class='latex' />, then we have <img src='http://s.wordpress.com/latex.php?latex=%7Bx%5Ey%20%5Crightarrow%200%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x^y \rightarrow 0}' title='{x^y \rightarrow 0}' class='latex' />. Clearly, <img src='http://s.wordpress.com/latex.php?latex=%7Bx%5Ey%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x^y}' title='{x^y}' class='latex' />, as a function of two variables, is discontinuous at <img src='http://s.wordpress.com/latex.php?latex=%7B%280%2C0%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(0,0)}' title='{(0,0)}' class='latex' />. This is the reason for <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9MJTI3SCVDMyVCNHBpdGFsJTI3c19ydWxl">L&#8217;Hopital&#8217;s rule</a> in Calculus that requires treating limits of ratios of quantities that each tend to 0 by considering the relative rates of their approach (i.e. the limit of the ratio of the derivatives).</p>
<p>But in discrete mathematics, the situation is somewhat different.  There is no &#8220;approaching&#8221; &#8212; you are either <em>at</em> <img src='http://s.wordpress.com/latex.php?latex=0%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0' title='0^0' class='latex' /> or you are away from it: at <img src='http://s.wordpress.com/latex.php?latex=1%5E0%20%3D%201&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1^0 = 1' title='1^0 = 1' class='latex' />, or at <img src='http://s.wordpress.com/latex.php?latex=0%5E1%20%3D%200&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^1 = 0' title='0^1 = 0' class='latex' />.<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTY3Mi0y" id='fnref-672-2'>2</a></sup>  </p>
<p>Now, Euler in the 1700s and, in more recent times, Knuth (of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9UaGVfQXJ0X29mX0NvbXB1dGVyX1Byb2dyYW1taW5n">The Art of Computer Programming</a>, and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9UZVg=">TeX</a> fame) each argued strongly that <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%20%3D%201%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0 = 1}' title='{0^0 = 1}' class='latex' />, Knuth based upon consistency with the binomial theorem and its frequent appearance in discrete mathematical computations:</p>
<blockquote><p>&#8220;Some textbooks leave the quantity <img src='http://s.wordpress.com/latex.php?latex=0%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0' title='0^0' class='latex' /> undefined, because the functions <img src='http://s.wordpress.com/latex.php?latex=0%5Ex&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^x' title='0^x' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=x%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^0' title='x^0' class='latex' /> have different limiting values when <img src='http://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> decreases to 0. But this is a mistake. We must define <img src='http://s.wordpress.com/latex.php?latex=x%5E0%3D1&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x^0=1' title='x^0=1' class='latex' /> for all <img src='http://s.wordpress.com/latex.php?latex=x&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x' title='x' class='latex' /> , if the binomial theorem is to be valid when <img src='http://s.wordpress.com/latex.php?latex=x%3D0%2C%20y%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=0, y=0' title='x=0, y=0' class='latex' /> , and/or <img src='http://s.wordpress.com/latex.php?latex=x%3D-y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x=-y' title='x=-y' class='latex' />. The theorem is too important to be arbitrarily restricted!  By contrast, the function <img src='http://s.wordpress.com/latex.php?latex=0%5Ex&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^x' title='0^x' class='latex' /> is quite unimportant.&#8221;<br />
    &#8211; from Concrete Mathematics, p.162, R. Graham, D. Knuth, O. Patashnik, Addison-Wesley, 1988  (<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGhmb3J1bS5vcmcvZHIubWF0aC9mYXEvZmFxLjAudG8uMC5wb3dlci5odG1s">Citation</a>)
</p></blockquote>
<p><h4>Different Conventions Among Mathematical Computing Platforms</h4>
<p>Though &#8220;majority opinion&#8221; is never an acceptable reason in mathematics, it is interesting to consider how implementations of <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0}' title='{0^0}' class='latex' /> differ even among various modern common computing platforms:</p>
<ul>
<font color="green"></p>
<li> Google: 0^0 is 1.
<li> Ruby: 0^0 is 1.
<li> R: 0^0 is 1.
<li> Octave: 0^0 is 1.
<li> Microsoft&#8217;s Calculator: 0^0 is 1.<br />
</font><br />
<font color="blue"></p>
<li> Maxima: 0^0 is indeterminate &#8212; throws an error.
<li> Microsoft Excel (2000): 0^0 is indeterminate &#8212; throw an error<br />
</font><br />
<font color="red"></p>
<li> Hexalon Max (software calculator): 0^0 is 0.
<li> TI-36 Hand calculator: 0^0 is 0.<br />
</font>
</ul>
<p><h4>Principles for a Decision in Mathematics: Extension and Consistency</h4>
<p>Often in mathematics, where there is more than one choice, or where a definitional decision is required, the decision is made by arguing the desirability of an extension into what is otherwise undefined, and then the decision is made to maintain consistency with the evidence that is already accumulated and accepted.  It is precisely in this way that ordinary multiplication of positive numbers is extended, first to multiplication by a single negative number, then to multiplication by two negative numbers, i.e. <img src='http://s.wordpress.com/latex.php?latex=%7B%28-1%29%28-1%29%20%3D%201%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(-1)(-1) = 1}' title='{(-1)(-1) = 1}' class='latex' />.</p>
<p>To see that we must have <img src='http://s.wordpress.com/latex.php?latex=%28-1%29%28-1%29%20%3D%201&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(-1)(-1) = 1' title='(-1)(-1) = 1' class='latex' />, take the view of elementary mathematics as an <em>empirical</em> science and <em>not</em> as an axiomatic science, since it is as an empirical science that mathematics is taught to young children, and where this arithmetic rule is first encountered, typically along with some sort of reference to authority:<br />
<blockquote> &#8220;Minus times minus is plus.<br />The reason for this we need not discuss!&#8221;<br /> &#8212; W.H. Auden</p></blockquote>
<p>From the point of view of an empirical science, the multiplication of two positive numbers has a well-defined, tangible meaning as repeated addition, and this meaning remains valid even with the extension of one of the products to a negative number.  But both products negative is ill-defined from this point of view.  </p>
<p>It is at this point that the mathematician sees an opportunity.  The consequences of declaring something to be undefined (throwing an error) is an enormous loss of efficiency.  Any product now has to be checked for the case that both factors are negative, and this case has to be treated separately.  If a definition could be found that remains consistent with all other empirically obtained rules, and if that definition means that multiplication can proceed indifferent to the sign of the factors, well, then that is a big win.  The consistency in this particular case is the distributivity of multiplication over addition, a law which, for positive numbers, can be accepted on entirely empirical grounds.  (The full argument is given in the footnote: <sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTY3Mi0z" id='fnref-672-3'>3</a></sup>)</p>
<p><h4>Forced to a Decision: A Tangible Computation That Requires an Answer</h4>
<p>I claim that the case of <img src='http://s.wordpress.com/latex.php?latex=0%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0' title='0^0' class='latex' /> is similar.  Not only would it be a significant loss of efficiency to treat this case separately, but indeed, in the finite summation of integer powers, we have a problem with a real, tangible result (a finite sum), whose value (an empirically determinable fact) depends unavoidably on the chosen value of <img src='http://s.wordpress.com/latex.php?latex=0%5E0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0' title='0^0' class='latex' />.  The crucial step in this argument occurs in the derivation of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3N0YXIxYg==">(*1b)</a> from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I3N0YXIxYQ==">(*1a)</a> in <em><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoc2NpdGVjaC5vcmcvYXJ0aWNsZXMvZmluaXRlLXN1bW1hdGlvbnMtMg==">Finite Summation of Integer Powers, Part 2</a></em>.</p>
<p>Extracting the relevant part of that derivation, we have: </p>
<p align=center><a name="star1a"></a><img src='http://s.wordpress.com/latex.php?latex=%5Csum_%7Bk%3D1%7D%5E%7BN-1%7D%20%28N-K%29%28K%2B1%29%5E%7Bp-1%7D%5C%20%5C%20%5C%20%5C%20%5C%20%28%2A1a%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\sum_{k=1}^{N-1} (N-K)(K+1)^{p-1}\ \ \ \ \ (*1a)' title='\sum_{k=1}^{N-1} (N-K)(K+1)^{p-1}\ \ \ \ \ (*1a)' class='latex' /></p>
<p>After expanding the binomial power using the binomial formula and further manipulation, we arrive at:</p>
<p align=center><a name="starstarstar"></a><br />
 <img src='http://s.wordpress.com/latex.php?latex=%3D%20%5Csum_%7Bj%3D0%7D%5E%7Bp-1%7D%20%5Cbinom%7Bp-1%7D%7Bj%7D%20%5Csum_%7Bk%3D0%7D%5E%7BN-1%7D%20%5Cleft%5BNK%5Ej%20-K%5E%7Bj%2B1%7D%5Cright%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='= \sum_{j=0}^{p-1} \binom{p-1}{j} \sum_{k=0}^{N-1} \left[NK^j -K^{j+1}\right]' title='= \sum_{j=0}^{p-1} \binom{p-1}{j} \sum_{k=0}^{N-1} \left[NK^j -K^{j+1}\right]' class='latex' /><br/><br />
 (Pull the <img src='http://s.wordpress.com/latex.php?latex=%7BK%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{K=0}' title='{K=0}' class='latex' /> term out of both summations. Note: <img src='http://s.wordpress.com/latex.php?latex=0%5E0%20%3D%201%5C%20%5C%20%5C%20%5C%20%5C%20%5Cmbox%7B%28%2A%2A%2A%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0 = 1\ \ \ \ \ \mbox{(***)}' title='0^0 = 1\ \ \ \ \ \mbox{(***)}' class='latex' />)<br/><br />
 <img src='http://s.wordpress.com/latex.php?latex=%3D%20N%20%2B%20%5Csum_%7Bj%3D0%7D%5E%7Bp-1%7D%20%5Cbinom%7Bp-1%7D%7Bj%7D%20%5Csum_%7Bk%3D1%7D%5E%7BN-1%7D%20%5Cleft%5BNK%5Ej%20-K%5E%7Bj%2B1%7D%5Cright%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='= N + \sum_{j=0}^{p-1} \binom{p-1}{j} \sum_{k=1}^{N-1} \left[NK^j -K^{j+1}\right]' title='= N + \sum_{j=0}^{p-1} \binom{p-1}{j} \sum_{k=1}^{N-1} \left[NK^j -K^{j+1}\right]' class='latex' /><br/><br />
 (which, after additional manipulation, yields)<br />
 <img src='http://s.wordpress.com/latex.php?latex=%3D%20N%20%2B%20N%28N-1%29%20-%20S_p%28N-1%29%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp-1%7D%20S_j%28N-1%29%5Cleft%5BN%5Cbinom%7Bp-1%7D%7Bj%7D%20-%20%5Cbinom%7Bp-1%7D%7Bj-1%7D%5Cright%5D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='= N + N(N-1) - S_p(N-1) + \sum_{j=1}^{p-1} S_j(N-1)\left[N\binom{p-1}{j} - \binom{p-1}{j-1}\right]' title='= N + N(N-1) - S_p(N-1) + \sum_{j=1}^{p-1} S_j(N-1)\left[N\binom{p-1}{j} - \binom{p-1}{j-1}\right]' class='latex' /><br/><br />
 <a name="star1b"></a><img src='http://s.wordpress.com/latex.php?latex=%3D%20N%5E2%20-%20S_p%28N-1%29%20%2B%20%5Csum_%7Bj%3D1%7D%5E%7Bp-1%7D%20S_j%28N-1%29%5Cleft%5BN%5Cbinom%7Bp-1%7D%7Bj%7D%20-%20%5Cbinom%7Bp-1%7D%7Bj-1%7D%5Cright%5D%5C%20%5C%20%5C%20%5C%20%5C%20%5Cmbox%7B%28%2A1b%29%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='= N^2 - S_p(N-1) + \sum_{j=1}^{p-1} S_j(N-1)\left[N\binom{p-1}{j} - \binom{p-1}{j-1}\right]\ \ \ \ \ \mbox{(*1b)}' title='= N^2 - S_p(N-1) + \sum_{j=1}^{p-1} S_j(N-1)\left[N\binom{p-1}{j} - \binom{p-1}{j-1}\right]\ \ \ \ \ \mbox{(*1b)}' class='latex' /></p>
<p>The key step happens in (***) above: we peel off the <img src='http://s.wordpress.com/latex.php?latex=%7BK%3D0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{K=0}' title='{K=0}' class='latex' /> term of the inner summation to get: <img src='http://s.wordpress.com/latex.php?latex=%7BN0%5Ej%20-%200%5E%7Bj%2B1%7D%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{N0^j - 0^{j+1}}' title='{N0^j - 0^{j+1}}' class='latex' />. Peeling this out of the outer summation requires considering the expression for <em>all</em> <img src='http://s.wordpress.com/latex.php?latex=%7Bj%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j}' title='{j}' class='latex' />. Now, 0 raised to any <em>positive</em> power is 0, so we can dispel the case of <img src='http://s.wordpress.com/latex.php?latex=%7Bj%3E0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{j&gt;0}' title='{j&gt;0}' class='latex' />. </p>
<p><strong>But what is <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0}' title='{0^0}' class='latex' />?</strong> A decision must be made: it is either <img src='http://s.wordpress.com/latex.php?latex=%7B0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0}' title='{0}' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=%7B1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{1}' title='{1}' class='latex' />. Indeterminacy is not an option, since the situation is real and is required to continue the simplification. </p>
<p><h4>The Argument for <img src='http://s.wordpress.com/latex.php?latex=0%5E0%20%3D%201&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0 = 1' title='0^0 = 1' class='latex' /></h4>
<p>What are the consequences of choosing the other definition, i.e. <img src='http://s.wordpress.com/latex.php?latex=0%5E0%20%3D%200&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0 = 0' title='0^0 = 0' class='latex' />?  In this case, the final formula for <img src='http://s.wordpress.com/latex.php?latex=S_p%28N%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S_p(N)' title='S_p(N)' class='latex' /> is off by a linear constant <img src='http://s.wordpress.com/latex.php?latex=-N&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-N' title='-N' class='latex' />, while the choice <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%20%3D%201%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0 = 1}' title='{0^0 = 1}' class='latex' /> leads to the exact formula and a computed value that matches a brute force summation.  For <img src='http://s.wordpress.com/latex.php?latex=S_5%2810%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='S_5(10)' title='S_5(10)' class='latex' />, the difference is between 220,825 (the correct, verifiable answer), and 220,815 (verifiably NOT correct).  In the face of counting pebbles, trees, integer powers, the correct choice seems clear.</p>
<p>Compelling?  For discrete mathematics, I think so.  Certainly, the possibility of <img src='http://s.wordpress.com/latex.php?latex=0%5E0%3D0&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^0=0' title='0^0=0' class='latex' /> being open for continued consideration seems to shut, and the choice of abstention by throwing an error is weakened as well.  The evidence, I claim, provides strong support for adopting the convention <em>by definition</em> at least in discrete mathematics<sup class='footnote'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZuLTY3Mi00" id='fnref-672-4'>4</a></sup>:</p>
<blockquote><p><b>Definition (Empirical)</b> <em> <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%20%3D%201%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0 = 1}' title='{0^0 = 1}' class='latex' /> for <img src='http://s.wordpress.com/latex.php?latex=%7Bk%5Ej%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{k^j}' title='{k^j}' class='latex' />, where <img src='http://s.wordpress.com/latex.php?latex=%7Bk%2Cj%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{k,j}' title='{k,j}' class='latex' /> are discrete variables.</em></p></blockquote>
<p>
<hr />
(<em>If you&#8217;re a software developer of a mathematical package, I&#8217;d be interested in how you arrived at your decision.  You can send me an email using the Comments link below.</em>)</p>
<p>
<em>If you enjoyed this article, feel free to <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGhzY2l0ZWNoLm9yZy9hcnRpY2xlcy9mZWVk">click here to subscribe to my RSS Feed.</a></em></p>
<p>
<hr />
<pr>
<h4>Footnotess</h4>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-672-1'>Further discussion of <img src='http://s.wordpress.com/latex.php?latex=%7B0%5E0%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{0^0}' title='{0^0}' class='latex' /> is at: <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGhmb3J1bS5vcmcvZHIubWF0aC9mYXEvZmFxLjAudG8uMC5wb3dlci5odG1s">The Math Forum</a> <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTY3Mi0x">&#8617;</a></span></li>
<li id='fn-672-2'>You might also be at <img src='http://s.wordpress.com/latex.php?latex=0%5E%7B-1%7D&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0^{-1}' title='0^{-1}' class='latex' />, but that, I believe we would all agree, is division by zero, and so appropriately remains undefined (unless working in the extended reals, in which case it is <img src='http://s.wordpress.com/latex.php?latex=%2B%5Cinfty&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='+\infty' title='+\infty' class='latex' />.) <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTY3Mi0y">&#8617;</a></span></li>
<li id='fn-672-3'>Considering that any quantity times zero is zero, and that one times any quantity is the quantity, we have no hesitation in granting <img src='http://s.wordpress.com/latex.php?latex=-1%20%5Ctimes%200%20%3D%200&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-1 \times 0 = 0' title='-1 \times 0 = 0' class='latex' />.  But then observe that we way write <img src='http://s.wordpress.com/latex.php?latex=0%20%3D%20%28-1%20%2B%201%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0 = (-1 + 1)' title='0 = (-1 + 1)' class='latex' />, which means, combining the two expressions, we have <img src='http://s.wordpress.com/latex.php?latex=-1%20%281%20%2B%20%28-1%29%29%20%3D%200&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='-1 (1 + (-1)) = 0' title='-1 (1 + (-1)) = 0' class='latex' />.  If we accept the law of distribution of multiplication over addition for positive whole numbers, purely on empirical grounds, and if we wish negative numbers to behave in the same manner as our <em>empirically accepted</em> positive whole numbers, then we want the distributive law to hold as well.  And therefore we have <img src='http://s.wordpress.com/latex.php?latex=0%20%3D%20%28-1%29%281%29%20%2B%20%28-1%29%28-1%29%20%3D%20-1%20%2B%20%28-1%29%28-1%29.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='0 = (-1)(1) + (-1)(-1) = -1 + (-1)(-1).' title='0 = (-1)(1) + (-1)(-1) = -1 + (-1)(-1).' class='latex' />  Which means that <img src='http://s.wordpress.com/latex.php?latex=%28-1%29%28-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(-1)(-1)' title='(-1)(-1)' class='latex' /> must be the oppositive (additive inverse) of <img src='http://s.wordpress.com/latex.php?latex=%28-1%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(-1)' title='(-1)' class='latex' />, and hence <img src='http://s.wordpress.com/latex.php?latex=%28-1%29%28-1%29%20%3D%20%2B1.&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(-1)(-1) = +1.' title='(-1)(-1) = +1.' class='latex' /> <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTY3Mi0z">&#8617;</a></span></li>
<li id='fn-672-4'>The implications for continuous mathematics are a consideration for another discussion.  The statement that a discontinuity exists at the origin <img src='http://s.wordpress.com/latex.php?latex=%28x%2Cy%29%20%3D%20%280%2C0%29&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='(x,y) = (0,0)' title='(x,y) = (0,0)' class='latex' /> isn&#8217;t quite enough. <span class='footnotereverse'><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2ZucmVmLTY3Mi00">&#8617;</a></span></li>
</ol>
</div>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=672" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/zero-to-zero-power/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maxima for Symbolic Computation</title>
		<link>http://mathscitech.org/articles/maxima</link>
		<comments>http://mathscitech.org/articles/maxima#comments</comments>
		<pubDate>Mon, 22 Feb 2010 06:33:13 +0000</pubDate>
		<dc:creator>Assad Ebrahim</dc:creator>
				<category><![CDATA[Mathematics-General]]></category>
		<category><![CDATA[Software-Tools]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maxima]]></category>
		<category><![CDATA[Technology-Advanced]]></category>
		<category><![CDATA[toolset]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://mathscitech.org/articles/?p=710</guid>
		<description><![CDATA[<p></p>
<p>&#8230;By virtue of its unbeatable low cost (free), ready availability for all three major operating systems, and its raw power in all areas of mathematics and analytic engineering, Maxima is a mathematical computing package that ought to be in the toolbelt of every programmer, engineering, scientist, and mathematician.  </p>
<p>From garden-variety algebraic simplification, polynomials, calculus, [...]]]></description>
			<content:encoded><![CDATA[<p><!--Using Maxima: wordpress article<br />
AKE<br />
11:43 PM 2/21/2010--></p>
<p>&#8230;By virtue of its unbeatable low cost (free), ready availability for all three major operating systems, and its raw power in all areas of mathematics and analytic engineering, <strong>Maxima</strong> is a mathematical computing package that ought to be in the toolbelt of every programmer, engineering, scientist, and mathematician.  </p>
<p>From garden-variety algebraic simplification, polynomials, calculus, matrix equations, differential equations; to exotic areas of number theory, combinatorics, hypergeometric functions; to state-of-the-art areas in tensor and gravitational physics, PDEs, and nonlinear systems, <strong>Maxima is a firehose of mathematical capability</strong>, able to blow through hairy computations with symbolic accuracy, leaving more time for the advancement of application development or research.</p>
<p>
<span id="more-710"></span></p>
<p>
<hr />
<h3>Maxima for Symbolic Computation</h3>
<h4>What is Maxima?</h4>
<p>Maxima is an impressive symbolical computation package that is free, open source, and has an active, responsive developer base and community that ensures both the future lifecycle of this software package and plenty of help when dealing with problems.  It falls in the category of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9Db21wdXRlcl9hbGdlYnJhX3N5c3RlbQ==">Computer Algebra Systems (CAS).</a></p>
<p>Now, there are certainly a number of well-known and less known computer algebra systems available to choose from: Mathematica, Maple, Macsyma, MuPAD, Sage, etc.  Many are commercial packages.  But by virtue of its unbeatable low cost (free), ready availability for all three major operating systems, and its raw power in all areas of mathematics and analytic engineering, Maxima is a computing package that ought to be in the toolbelt of every programmer, engineering, scientist, and mathematician.  </p>
<p>From garden variety algebra, polynomials, calculus, matrix equations, and differential equations, to exotic areas of number theory, combinatorics, hypergeometric functions, to state of the art areas in tensor and gravitational physics, PDEs, nonlinear systems, Maxima is a mathematician&#8217;s garden.</p>
<p>This page should get you started with downloading and installing, and then provide a few examples and resources to help you on your way.</p>
<h4>Obtaining Maxima</h4>
<p>You can <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NvdXJjZWZvcmdlLm5ldC9wcm9qZWN0cy9tYXhpbWEvZmlsZXMv">download Maxima from here (Windows, Linux)</a>.  (If you&#8217;re confused, there are instructions <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG93bmxvYWQuaHRtbA==">here</a>.)</p>
<h4>Installing Maxima</h4>
<p>Paul Lutus has written a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2luc3RhbGxpbmdfdGVzdGluZy5odG1s">step-by-step installation walkthrough here</a>.  Specifically, take note about the Windows firewall when first running wxMaxima:</p>
<blockquote><p>&#8220;When you first run wxMaxima (an icon is placed on your desktop by default), your firewall software may complain that a socket is being opened. This is a local socket that wxMaxima (the user-friendly graphical front end) uses to communicate with Maxima (the computation engine), it is not an attempt to take over your computer or communicate your personal secrets to ruthless Russian mobsters. Suspend your paranoia and allow the socket to be created.&#8221;  (from <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2luc3RhbGxpbmdfdGVzdGluZy5odG1s">Arachnoid&#8217;s Installation Guide</a>)
</p></blockquote>
<h4>Getting Started</h4>
<p>Depending on your level of experience with computers, you may find the following starting points useful:</p>
<p><strong>For a Quick Start</strong></p>
<ul>
<li>Here&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5oaXBwYXN1cy5jb20vcmVzb3VyY2VzL3N5bW1hdGgvbWF4aW1hc3ltLmh0bWw=">a succinct Maxima command reference sheet (cheat sheet)</a>.
<li> If you are familiar with Mathematica, this <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoLmhhcnZhcmQuZWR1L2NvbXB1dGluZy9tYXhpbWEv">Mathematica / Maxima Syntax Conversion Chart</a> will get you going quickly.
</ul>
<p>Then all you need are some good examples, which you can find here:</p>
<ul>
<li> Antonio Cangiano&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGgtYmxvZy5jb20vMjAwNy8wNi8wNC9hLTEwLW1pbnV0ZS10dXRvcmlhbC1mb3Itc29sdmluZy1tYXRoLXByb2JsZW1zLXdpdGgtbWF4aW1hLw==">10-minute Tutorial for Solving Math Problems with Maxima</a> is a good start.
<li> Follow this with Richard Rand&#8217;s more advanced whirlwind tour: Introduction to Maxima, including a discussion of writing <strong>subroutines/scripts/programs</strong> for Maxima.  You&#8217;ll like it better as a <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9pbnRyb21heC9pbnRyb21heC5wZGY=">well formatted PDF</a> instead of <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9pbnRyb21heC9pbnRyb21heC5odG1s">ill-formatted HTML</a>.
<li> To see how Maxima can be used in verification and validation of a result in <strong>discrete mathematics</strong>, see <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMQ==">Finite Summation by Recurrence Relations</a>, <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMQ==">Part 1 (Motivation and Low Order Examples)</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMg==">Part 2 (General Recurrence Solution)</a>.
<li> To see how Maxima can be used to <strong>solve linear systems (matrix equations)</strong>, see <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=ZmluaXRlLXN1bW1hdGlvbnMtMw==">Finite Summation by Recurrence Relations, Part 3 (Closed Form Direct Matrix Solution)</a>.
<li> For an <strong>example Maxima script</strong> (iteratively solving the finite sums p-th order recurrence relation), see <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=Li4vY29kZS9zdW1rcF9yZWN1cnJlbmNlLm1hYw==">sumkp_recurrence.mac</a>
<li> If you&#8217;re looking for using Maxima for <strong>solving real Engineering problems</strong>, consider Javed Alam&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5lbmcueXN1LmVkdS9+amFsYW0vZW5ncjY5MjRzMDcv">22 sessions of Maxima</a>, Paul Lutus&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2RpZmZlcmVudGlhbF9lcXVhdGlvbnMuaHRtbA==">differential equations and circuit theory</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2ZvdXJpZXJfYW5hbHlzaXMuaHRtbA==">Fourier (Spectral) Analysis</a>.
</ul>
<p>More advanced references are <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2FkdmFuY2Vk">here</a>.</p>
<p>A full list of the mathematical packages and capabilities built into Maxima can be found in the 900+ page (5MB) <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9tYW51YWwvZW4vbWF4aW1hLmh0bWw=">Maxima Manual</a>.  (You&#8217;ll probably want to download the <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9tYW51YWwvZW4vbWF4aW1hLnBkZg==">PDF version</a> for offline reading.</p>
<p><strong>For Basic Users</strong><br />
Paul Lutus has <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2ZpcnN0X2V4YW1wbGVzLmh0bWw=">leisurely hands-on tutorial style introduction to Maxima</a>.  In addition, there are a number of good <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=I2Jvb2s=">&#8220;book-style&#8221; tutorials</a> that develop familiarity with Maxima thoroughly.
</ul>
<p><strong>For Advanced Users</strong></p>
<p><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy90dXRvcmlhbC9lbi9taW5pbWFsLW1heGltYS5wZGY=">Robert Dodier&#8217;s Minimal Maxima (PDF)</a> breaks down the syntactical, evaluation, and data structures underlying Maxima.  A good understanding of this is essential when you are trying to go beyond using Maxima as a powerful calculator, or when writing your own functions/subroutines in Maxima.</p>
<p><strong>Getting Help</strong><br />
The <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoLnV0ZXhhcy5lZHUvbWFpbG1hbi9saXN0aW5mby9tYXhpbWE=">Maxima mailing list</a> is a responsive, expert community that can not only help you out of a jam, but also raise the level of your proficiency and your familiarity with &#8220;natural&#8221; Maxima programming style.</p>
<p>
<hr />
<h3>Links and References</h3>
<h4>Obtaining and Installing</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NvdXJjZWZvcmdlLm5ldC9wcm9qZWN0cy9tYXhpbWEvZmlsZXMv">Download Maxima from here (Windows, Linux)</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG93bmxvYWQuaHRtbA==">The Maxima Page for Windows, Linux</a>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2luc3RhbGxpbmdfdGVzdGluZy5odG1s">Installation Walk-Through</a> &#8212; take note about allowing the firewall exception for wxMaxima!.  Also, how to get Greek fonts to display properly in your Maxima session.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5oaXBwYXN1cy5jb20vcmVzb3VyY2VzL3N5bW1hdGgvbWF4aW1haW5zdGFsbC5odG1s">Installation Prerequisites for Maxima for Mac, Windows, Linux</a>
</ul>
<h4>Cheat Sheets / Ready Reference Sheets</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5oaXBwYXN1cy5jb20vcmVzb3VyY2VzL3N5bW1hdGgvbWF4aW1hc3ltLmh0bWw=">A Maxima CheatSheet / Ready Reference Sheet
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoLmhhcnZhcmQuZWR1L2NvbXB1dGluZy9tYXhpbWEv">Mathematica / Maxima Syntax Conversion Chart, and Maxima Cheat Sheet</a>: Harvard University, Department of Mathematics<br />
</a>
</ul>
<p><a name="basic"></a></p>
<h4>Basic Guides</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21hdGgtYmxvZy5jb20vMjAwNy8wNi8wNC9hLTEwLW1pbnV0ZS10dXRvcmlhbC1mb3Itc29sdmluZy1tYXRoLXByb2JsZW1zLXdpdGgtbWF4aW1hLw==">Antonio Cangiano&#8217;s 10-minute Tutorial for Solving Math Problems with Maxima</a>: Math~Blog
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9pbnRyb21heC9pbnRyb21heC5odG1s">Richard Rand&#8217;s Introduction to Maxima</a>A More Advanced Whirlwind Tour of Maxima, including a discussion of writing subroutines/scripts/programs for Maxima &#8212; You&#8217;ll like it <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9pbnRyb21heC9pbnRyb21heC5wZGY=">much better as a formatted PDF</a>.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hLw==">Paul Lutus&#8217; Symbolic Mathematics Using Maxima</a>A Leisurely Tutorial in 9 parts.
</ul>
<p><a name="topics"></a></p>
<h4>Topics by Example</h4>
<ul>
<li>Javed Alam&#8217;s<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5lbmcueXN1LmVkdS9+amFsYW0vZW5ncjY5MjRzMDcv">22 sessions of Maxima for solving real-world Engineering problems</a>
<li>Paul Lutus&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2RpZmZlcmVudGlhbF9lcXVhdGlvbnMuaHRtbA==">differential equations and circuit theory</a> and <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2FyYWNobm9pZC5jb20vbWF4aW1hL2ZvdXJpZXJfYW5hbHlzaXMuaHRtbA==">Fourier (Spectral) Analysis</a>.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NwaW5vci5pbmZvL3dlYmxvZy8/cGFnZV9pZD05OQ==">Tensor Algebra in Maxima</a>
<li>Leon Brin&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NvdXRoZXJuY3QuZWR1L35icmluL3BhcGVycy9tYXhpbWFfYW5kX2NhbGN1bHVzLnBkZg==">Maxima and the Calculus</a>
<li>Gregory Astley&#8217;s <a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy53YWxraW5ncmFuZG9tbHkuY29tLz9wPTIwNzk=">Using Maxima for Plotting Direction Fields of First Order ODEs</a>
</ul>
<p><a name="advanced"></a></p>
<h4>Advanced Guides</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy90dXRvcmlhbC9lbi9taW5pbWFsLW1heGltYS5wZGY=">Robert Dodier&#8217;s Minimal Maxima (PDF)</a> breaks down the syntactical, evaluation, and data structures underlying Maxima.  A good understanding of this is essential when you are trying to go beyond using Maxima as a powerful calculator, or when writing your own functions/subroutines in Maxima.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5tYXRoLnV0ZXhhcy5lZHUvbWFpbG1hbi9saXN0aW5mby9tYXhpbWE=">Maxima mailing list</a> is a responsive, expert community that can not only help you in a jam, but also raise the level of your proficiency and your familiarity with idiomatic Maxima (that intangible called Maxima style).
</ul>
<p><a name="book"></a></p>
<h4>&#8220;Book-Style&#8221; Tutorials (PDF or HTML)</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5uZW5nLnVzdS5lZHUvY2VlL2ZhY3VsdHkvZ3Vycm8vTWF4aW1hLmh0bWw=">Gilberto Urroz&#8217;s Maxima Book</a>: Comprehensive, each chapter organized by mathematical area.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9tYXhpbWFib29rL21heGltYWJvb2stMTktU2VwdC0yMDA0LnBkZg==">The Maxima Book</a>, P. de Souza, R. Fateman, J. Moses, C. Yapp: Comprehensive, well-written, well-organized.  Not the most up-to-date, but the organization, comprehensiveness, and quality of the material makes this a valuable reference.
<li>Edwin Woollet&#8217;s 11 chapter<a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d3dy5jc3VsYi5lZHUvfndvb2xsZXR0Lw==">Maxima By Example</a>: a leisurely description of Maxima&#8217;s capabilities.
</ul>
<h4>System Documentation</h4>
<ul>
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9tYW51YWwvZW4vbWF4aW1hLmh0bWw=">Maxima Manual Online</a>: 900+ page (5MB) comprehensive manual and listing of all mathematical functions and capabilities built into Maxima.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQv">Maxima Homepage</a>: Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, and sets, lists, vectors, matrices, and tensors. Maxima yields high precision numeric results by using exact fractions, arbitrary precision integers, and variable precision floating point numbers. Maxima can plot functions and data in two and three dimensions.
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3d4bWF4aW1hLnNvdXJjZWZvcmdlLm5ldC93aWtpL2luZGV4LnBocC9NYWluX1BhZ2U=">wxMaxima Homepage</a>: A Windows GUI for Maxima
<li><a href="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?url=aHR0cDovL21heGltYS5zb3VyY2Vmb3JnZS5uZXQvZG9jcy9tYW51YWwvZW4vbWF4aW1hLmh0bWw=">Maxima Manual Online</a>
</ul>
 <img src="http://mathscitech.org/articles/wp-content/plugins/feed-statistics.php?view=1&post_id=710" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://mathscitech.org/articles/maxima/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
