{"id":16616,"date":"2016-07-07T06:22:19","date_gmt":"2016-07-07T06:22:19","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=16616"},"modified":"2017-12-19T19:27:01","modified_gmt":"2017-12-19T19:27:01","slug":"math-2nd-degree-recurrence-relation-final-solution","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/math-2nd-degree-recurrence-relation-final-solution\/","title":{"rendered":"Math:  2nd degree recurrence relation:  final solution"},"content":{"rendered":"<h1>The tutor completes the general solution to the 2nd degree recurrence relation.<\/h1>\n<p>In my <a href=\"?p=16573\">previous post<\/a> I began seeking the general solution to the recurrence relation tabulated below:<\/p>\n<table style=\"width:30%;margin:auto\">\n<tr>\n<td class=\"jul6_2016\">n<\/td>\n<td class=\"jul6_2016\">t<sub>n<\/sub><\/td>\n<\/tr>\n<td class=\"jul6_2016\">0<\/td>\n<td class=\"jul6_2016\">1<\/td>\n<\/tr>\n<td class=\"jul6_2016\">1<\/td>\n<td class=\"jul6_2016\">1<\/td>\n<\/tr>\n<td class=\"jul6_2016\">2<\/td>\n<td class=\"jul6_2016\">2<\/td>\n<\/tr>\n<td class=\"jul6_2016\">3<\/td>\n<td class=\"jul6_2016\">3<\/td>\n<\/tr>\n<td class=\"jul6_2016\">4<\/td>\n<td class=\"jul6_2016\">5<\/td>\n<\/tr>\n<\/table>\n<p>Specifically, I claimed its solution to be of the form<\/p>\n<p>t<sub>n<\/sub> = a((1+5^0.5)\/2)^n + b((1-5^0.5)\/2)^n<\/p>\n<p>We need to find a and b such that the tabulated values for t<sub>n<\/sub> come true.  First of all, for n=0, we have<\/p>\n<p>t<sub>0<\/sub> = a((1+5^0.5)\/2)^0 + b((1-5^0.5)\/2)^0<\/p>\n<p>which simplifies to <\/p>\n<p>1=a+b<\/p>\n<p>Next, for n=1, we have<\/p>\n<p>t<sub>1<\/sub>=1=a((1+5^0.5)\/2)^1 + b((1-5^0.5)\/2)^1<\/p>\n<p>which becomes, with b=1-a,<\/p>\n<p>1=a((1+5^0.5)\/2)^1+(1-a) + b((1-5^0.5)\/2)^1<\/p>\n<p>Multiplying both sides by 2, we get<\/p>\n<p>2=a(1+5^0.5)+(1-a)(1-5^0.5)<\/p>\n<p>which leads to<\/p>\n<p>2=a+a5^0.5+1-5^0.5-a+a5^0.5<\/p>\n<p>and then<\/p>\n<p>2=2a5^0.5+1-5^0.5<\/p>\n<p>Subtracting 1 then adding 5^0.5 to both sides gives<\/p>\n<p>5^0.5+1=2a5^0.5<\/p>\n<p>Next, dividing both sides by 2(5^0.5), we get<\/p>\n<p>(5^0.5 +1)\/(2(5^0.5))=a<\/p>\n<p>Recalling that b=1-a, we have<\/p>\n<p>b=(5^0.5 -1)\/(2(5^0.5))<\/p>\n<p>Believe it or not, the solution to the tabulated recurrence relation is<\/p>\n<p>t<sub>n<\/sub> = (5^0.5 +1)\/(2(5^0.5))((1+5^0.5)\/2)^n + (5^0.5 -1)\/(2(5^0.5))((1-5^0.5)\/2)^n<br \/>\nSource:<\/p>\n<p>Grimaldi, Ralph P.  <u>Discrete and Combinatorial Mathematics<\/u>.  Don Mills:<br \/>&nbsp;&nbsp;&nbsp;Addison-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 completes the general solution to the 2nd degree recurrence relation. In my previous post I began seeking the general solution to the recurrence relation tabulated below: n tn 0 1 1 1 2 2 3 3 4 5 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/math-2nd-degree-recurrence-relation-final-solution\/\"> <span class=\"screen-reader-text\">Math:  2nd degree recurrence relation:  final solution<\/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":[105,3],"tags":[1698],"class_list":["post-16616","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-math","tag-solution-to-2nd-degree-recurrence-relation"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/16616","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=16616"}],"version-history":[{"count":37,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/16616\/revisions"}],"predecessor-version":[{"id":27304,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/16616\/revisions\/27304"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=16616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=16616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=16616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}