{"id":14621,"date":"2016-03-04T20:53:42","date_gmt":"2016-03-04T20:53:42","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=14621"},"modified":"2016-03-04T20:53:42","modified_gmt":"2016-03-04T20:53:42","slug":"math-first-degree-recurrence-relation-aka-difference-equation","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/math-first-degree-recurrence-relation-aka-difference-equation\/","title":{"rendered":"Math:  First degree recurrence relation aka difference equation"},"content":{"rendered":"<h1>The tutor introduces a first degree non-homogeneous recurrence relation.<\/h1>\n<p>An equation that describes a list of terms by a relationship among consecutive ones is called a <em>recurrence relation<\/em>.  Some people call it a <em>difference equation<\/em>.  An example:<\/p>\n<p style=\"text-align:center\">17a<sub>n+1<\/sub> &#8211; 5a<sub>n<\/sub> = 11<\/p>\n<p>The above is a first degree, nonhomogeneous recurrence relation.  First degree means that the next term only depends on the current one.  Nonhomogeneous means that there is a value in the equation that is independent from the sequence terms; in the case above, it&#8217;s 11.  A homogeneous recurrence relation looks like<\/p>\n<p style=\"text-align:center\">10a<sub>n+1<\/sub> &#8211; 7a<sub>n<\/sub> = 0<\/p>\n<p><strong>Example:<\/p>\n<p>Find the first few terms of the recurrence relation<\/p>\n<p style=\"text-align:center\">2a<sub>n+1<\/sub> &#8211; a<sub>n<\/sub> = 3, a<sub>0<\/sub> = 12<\/p>\n<p><\/strong><br \/>\nSolution:<\/p>\n<p>Note the sequence starts at the zeroth term:  a<sub>0<\/sub> = 12.  With n=0, the relation becomes<\/p>\n<p style=\"text-align:center\">2a<sub>1<\/sub> &#8211; a<sub>0<\/sub> = 3<\/p>\n<p>which leads to<\/p>\n<p style=\"text-align:center\">2a<sub>1<\/sub> &#8211; 12 = 3<\/p>\n<p style=\"text-align:center\">2a<sub>1<\/sub> = 15<\/p>\n<p style=\"text-align:center\">a<sub>1<\/sub> = 7.5<\/p>\n<p>Setting n=1, we have<\/p>\n<p style=\"text-align:center\">2a<sub>2<\/sub> &#8211; a<sub>1<\/sub> = 3<\/p>\n<p>Then, putting in 7.5 for a<sub>1<\/sub>, we have<\/p>\n<p style=\"text-align:center\">2a<sub>2<\/sub> &#8211; 7.5 = 3<\/p>\n<p>which yields a<sub>2<\/sub> = 5.25<\/p>\n<p>Continuing the same way, we come up with<\/p>\n<p><img decoding=\"async\" src=\"\/..\/images\/recurtab_mar4_16.png\" style=\"display:block;margin:auto\" \/><\/p>\n<p>and so on.<\/p>\n<p>Arriving at, for instance, the 20th term using the method above would be laborious.  The <em>general solution<\/em> to a recurrence relation means a formula that can get the nth term, a<sub>n<\/sub>, from just inputting the specific n.  For example, if you need the 20th term, you can just substitute 20 for n in the general solution and calculate a<sub>20<\/sub>.<\/p>\n<p>Next post I&#8217;ll show how to find the general solution to the recurrence relation of today&#8217;s example.<\/p>\n<p>Source:<\/p>\n<p>Grimaldi, Ralph P.  <u>Discrete and Combinatorial Mathematics<\/u>.  Don Mills:  Addison-<br \/>&nbsp;&nbsp;Wesley, 1994.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor introduces a first degree non-homogeneous recurrence relation. An equation that describes a list of terms by a relationship among consecutive ones is called a recurrence relation. Some people call it a difference equation. An example: 17an+1 &#8211; 5an &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/math-first-degree-recurrence-relation-aka-difference-equation\/\"> <span class=\"screen-reader-text\">Math:  First degree recurrence relation aka difference equation<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1478,1476,1477,1475],"class_list":["post-14621","post","type-post","status-publish","format-standard","hentry","category-math","tag-calculating-terms-of-recurrence-relation","tag-difference-equation","tag-first-degree-nonhomogeneous-recurrence-relation","tag-recurrence-relation"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/14621","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=14621"}],"version-history":[{"count":36,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/14621\/revisions"}],"predecessor-version":[{"id":14657,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/14621\/revisions\/14657"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=14621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=14621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=14621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}