1. Definition
The second-order recurrence a_n=p·a_(n−1)+q·a_(n−2) has the characteristic equation r²−pr−q=0 with roots (p±√(p²+4q))/2.
3. Properties & Laws
- Characteristic equation r²−pr−q=0;
- Distinct roots give A r₁^n+B r₂^n;
- Fibonacci has p=q=1 and the golden ratio;
- Repeated/complex roots differ.
4. Steps
- Enter a₁,a₂,p,q,n;
- Click "Find Term" for roots and a preview;
- Or click "Load Example".
5. Worked Examples
Example: Fibonacci 1,1,2,3,5 gives term 10 = 55.
6. Common Pitfalls
Needs two initial values;
The constant term is −q;
Complex roots still give real terms.