🎙 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 11 of 15

What is the general solution of aₙ = aₙ₋₂ (characteristic roots 1 and −1)?

What is the general solution of aₙ = aₙ₋₂ (characteristic roots 1 and −1)?

  1. A.A + Bn
  2. B.A + B(−1)ⁿ
  3. C.(A + Bn)(−1)ⁿ
  4. D.A·2ⁿ
Answer & explanation

Correct answer: A + B(−1)ⁿ

r² = 1 has distinct roots 1 and −1, so aₙ = A·1ⁿ + B·(−1)ⁿ.

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 →