Re: [中學] 遞迴數列解法一問

看板Math作者 (田馥甄Hebe)時間9年前 (2015/01/30 14:47), 編輯推噓2(205)
留言7則, 4人參與, 最新討論串3/3 (看更多)
※ 引述《dagood (不是姚仁傑喔~~)》之銘言: : A1=1 , An+1=(5An+3)/(An+3) ,求An : A1=1 A2=2 現在令 An = Pn/Qn 所以P1=1,Q1=1,P2=2,Q2=1 : An = Pn/Qn 代入An+1=(5An+3)/(An+3) : 得 Pn+1/Qn+1 = (5Pn+3Qn)/(Pn+3Qn) : 得 Pn+1=5Pn+3Qn : Qn+1=Pn+3Qn : => Qn+2 - 8Qn+1 + 12Qn=0 : 所以設 Qn= a*2^n + b*6*n , n=1,2 代入 得 a=5/8 , b=-1/24 : 所以Qn=5/8*2^n - 1/24*6^n 代入Qn+1=Pn+3Qn : 得 Pn=-5/8*2^n - 3/24*6^n : 進而得到 An=(-5/8*2^n - 3/24*6^n)/(-5/8*2^n - 3/24*6^n) : 答案根本不對 : 我要問的是 為什麼我這樣的方法算出來會有錯誤呢 : 應該這麼說好了 我以前算非線性遞迴 都用這各方法做 : 大部分都對,但是遇到了這題 卻怎麼做都是錯 : 還是說 我這各方法本身就有問題 有瑕疵 ? 想請板上朋友解惑 : 想知道這麼做 錯誤是發生在哪裡? thx~~ The logical mistake is that P_{n+1}=5P_n+3Q_n and Q_{n+1}=P_n+3Q_n. How do you know that? You cannot obtain the two equations even if P_n and Q_n are coprime because they may differ by + or -. Hence, I do not recommend you to solve this question by setting two variables P and Q. A direct method is that A_{n+1}+1=(6A_n+6)/(A_n+3). Set B_n=1/(A_n+1), and you will obtain B_{n+1}=B_n/3+1/6. Then you can go on to solve it. Notice that an easy proof will show that A_n>0 and hence A_n+1 is never 0, so B_n makes sense. -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.154.58.228 ※ 文章網址: https://www.ptt.cc/bbs/Math/M.1422600450.A.8B0.html

01/30 14:50, , 1F
你中打有問題嗎? 這裡是數學 不是當練作文的地方
01/30 14:50, 1F

01/30 15:01, , 2F
這方法不錯 湊出可用的形式
01/30 15:01, 2F

01/30 20:36, , 3F
或許是這位朋友在某外國網站文獻找到 幫我忙截取出
01/30 20:36, 3F

01/30 20:36, , 4F
我是說或許啦 也有可能是這位朋友是真的自己打的
01/30 20:36, 4F

01/30 20:37, , 5F
不過也非常感謝這位朋友的提供 謝謝~~
01/30 20:37, 5F

01/30 21:19, , 6F
話說正確答案是多少,我想檢驗一下我有沒有計算錯誤
01/30 21:19, 6F

01/30 22:21, , 7F
(3^n -1)/(3^{n-1}+1)
01/30 22:21, 7F
文章代碼(AID): #1Kooa2Ym (Math)
文章代碼(AID): #1Kooa2Ym (Math)