wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The solution to the recurrence equation T(2k)=3T(2k1)+1,T(1)=1is

A
2k
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
(3k+11)2
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
3log2k
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
2log2k
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B (3k+11)2
T(2k)=3T(2k1)+1
Let, T(2k)=Xn
Xn=3Xn1+1
Xn=3Xn1=1
So for Homogenous solution
Xn3Xn1=0
n - 3 =0
n = 3
Homogenous solution is
Xn=C1(3)n
T(2k)=C1(3)n
For Particular solution
Let d be the particular solution
d - 3d = 1
2d = -1
d=12
Therefore, the complete solution is
T(2k)=C1(3)k12
Given , T(1) = 1
1=C1(3)012
1=C112
C1=32
So the complete solution is
T(2k)=32(3)k12
T(2k)=3k+112


flag
Suggest Corrections
thumbs-up
4
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon