Key Concepts and Formulas
- Linear Non-homogeneous Recurrence Relations: A recurrence relation of the form Tr=aTr−1+f(r). The general solution is the sum of the homogeneous solution (Tr(h)) and a particular solution (Tr(p)).
- Sum of a Geometric Series: The sum of the first n terms of a geometric series with first term a and common ratio r is Sn=ar−1rn−1.
- Solving Recurrence Relations: For Tr=aTr−1+c⋅kr, if k=a, the particular solution is Tr(p)=B⋅kr. If k=a, the particular solution is Tr(p)=B⋅r⋅kr.
Step-by-Step Solution
Step 1: Find the closed-form expression for the rth term (Tr).
The given recurrence relation is Tr=3Tr−1+6r for r≥2, with T1=6. This is a linear non-homogeneous recurrence relation.
First, consider the homogeneous part: Tr(h)=3Tr−1(h). The characteristic equation is x−3=0, so x=3. The homogeneous solution is Tr(h)=A⋅3r, where A is a constant.
Next, find a particular solution. Since the non-homogeneous term is 6r and 6=3, we assume a particular solution of the form Tr(p)=B⋅6r. Substituting this into the recurrence relation:
B⋅6r=3(B⋅6r−1)+6r
Divide by 6r−1:
6B=3B+6
3B=6
B=2
So, the particular solution is Tr(p)=2⋅6r.
The general solution is Tr=Tr(h)+Tr(p)=A⋅3r+2⋅6r.
Now, use the initial condition T1=6 to find A:
T1=A⋅31+2⋅61=6
3A+12=6
3A=−6
A=−2
Thus, the closed-form expression for Tr is Tr=−2⋅3r+2⋅6r=2(6r−3r).
Step 2: Calculate the sum of the first n terms (Sn).
The sum of the first n terms is Sn=∑r=1nTr.
Sn=∑r=1n2(6r−3r)=2(∑r=1n6r−∑r=1n3r)
Using the formula for the sum of a geometric series:
∑r=1n6r=6+62+⋯+6n=66−16n−1=56(6n−1)
∑r=1n3r=3+32+⋯+3n=33−13n−1=23(3n−1)
Substitute these sums back into the expression for Sn:
Sn=2(56(6n−1)−23(3n−1))
Sn=2(1012(6n−1)−15(3n−1))
Sn=51(12⋅6n−12−15⋅3n+15)
Sn=51(12⋅6n−15⋅3n+3)
Sn=53(4⋅6n−5⋅3n+1)
Step 3: Equate the calculated sum with the given sum and solve for n.
We are given that the sum of the first n terms is Sn=51(n2−12n+39)(4⋅6n−5⋅3n+1).
Equating the two expressions for Sn:
53(4⋅6n−5⋅3n+1)=51(n2−12n+39)(4⋅6n−5⋅3n+1)
Since 4⋅6n−5⋅3n+1 is a common factor and is generally non-zero for positive n, we can divide both sides by 51(4⋅6n−5⋅3n+1):
3=n2−12n+39
Rearrange the equation:
n2−12n+39−3=0
n2−12n+36=0
This is a perfect square trinomial:
(n−6)2=0
n−6=0
n=6
Common Mistakes & Tips
- When solving non-homogeneous recurrence relations, ensure both the homogeneous and particular solutions are correctly identified and combined.
- Pay close attention to the initial condition to determine the constant in the general solution.
- Double-check the algebra when summing geometric series to avoid errors in the final expression for Sn.
Summary
We derived the closed-form expression for the rth term of the series by solving the given linear non-homogeneous recurrence relation. Subsequently, we calculated the sum of the first n terms using the formula for the sum of a geometric series. By equating this derived sum with the given sum expression, we formed a quadratic equation in n, which we solved to find the value of n.
The final answer is 3.