🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Solving Recurrences: all 15 questions

Quiz: Solving Recurrences · Question 14 of 15

For aₙ = 2aₙ₋₁ + 3ⁿ, what should you try as the particular solution?

For aₙ = 2aₙ₋₁ + 3ⁿ, what should you try as the particular solution?

  1. A.P·n·3ⁿ
  2. B.P·3ⁿ
  3. C.P·2ⁿ
  4. D.A constant P
Answer & explanation

Correct answer: P·3ⁿ

3 is not a root of the characteristic equation (the root is 2), so no extra factor of n is needed.

Can you get the rest right without peeking?

Take the timed Quiz: Solving Recurrences quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →