Question:medium

What is the solution of the recurrence relation \[ a_n=6a_{n-1}-9a_{n-2} \] with initial conditions \[ a_0=1,\qquad a_1=6? \]

Show Hint

For a repeated root \(r\) of multiplicity 2, the solution is \[ a_n=(C_1+C_2n)r^n. \] Always remember the extra factor \(n\) for repeated roots.
Updated On: Jun 25, 2026
  • \(a_n=3^n+n\times 3^n\)
  • \(a_n=1-2^n+2\times 3^n\)
  • \(a_n=2^n+3^n\)
  • \(a_n=3^n\)
Show Solution

The Correct Option is A

Solution and Explanation

Was this answer helpful?
0