← 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)?
- A.A + Bn
- B.A + B(−1)ⁿ
- C.(A + Bn)(−1)ⁿ
- 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 →