Solving Finite Difference Equation: a_{n+1} - a_{n} = n^2
- Thread starter Pyrrhus
- Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Discussion
Physics news on Phys.org
Cyrus
- 3,246
- 17
Never even seen that one before 

Science Advisor
- 1,229
- 0
Use the method of undetermined coefficients.
Homogeneous solution: C, a constant
Particular solution: a quadratic in n
multiply the particular by n so that it shares no terms with the homogeneous, and you get a cubic:
an = An^3 + Bn^2 + Cn + D
Then solve for A, B, C, D. You will need a base case.
Edit: alternatively you could just look up the well-known formula for the sum of the first n squares.
Homogeneous solution: C, a constant
Particular solution: a quadratic in n
multiply the particular by n so that it shares no terms with the homogeneous, and you get a cubic:
an = An^3 + Bn^2 + Cn + D
Then solve for A, B, C, D. You will need a base case.
Edit: alternatively you could just look up the well-known formula for the sum of the first n squares.
Last edited:
Homework Helper
- 2,181
- 0
0rthodontist said:Use the method of undetermined coefficients.
Homogeneous solution: C, a constant
Particular solution: a quadratic in n
multiply the particular by n so that it shares no terms with the homogeneous, and you get a cubic:
an = An^3 + Bn^2 + Cn + D
Then solve for A, B, C, D. You will need a base case.
Edit: alternatively you could just look up the well-known formula for the sum of the first n squares.
Thanks, exactly what i was looking for.
Last edited:
Similar threads
Does the sequence a_(n+1) = (1 + a_n²)/2 converge for a_1 ∈ ℕ?
- Mr Davis 97
- · Replies 3 ·
- Calculus and Beyond Homework Help
- Replies
- 3
G.P. = [itex] \sum_{n=1}^k a_{1}(\frac{a_{n+1}}{a_{n}})^{n-1} [/itex]
- Lebombo
- · Replies 2 ·
- Calculus and Beyond Homework Help
- Replies
- 2
Proving Cauchy Sequence: a_n = [a_(n-1) + a_(n-2)]/2
- ricardianequiva
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
Find OGF for Recurrence: a_n = 6a_{n-1} + a_{n-2}, a_0=2, a_1=1
- Punkyc7
- · Replies 3 ·
- Calculus and Beyond Homework Help
- Replies
- 3
Solve Recursive Function: A_{n+1}= (8/9)A_n
- wimma
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
Convergence of Sequence a_n = a_{n+1}/sin(a_n) and its Limit Calculation
- talolard
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
Finding next 5 terms of a_{n+2}=3a_{n+1}-2a_n
- cdotter
- · Replies 7 ·
- Calculus and Beyond Homework Help
- Replies
- 7
Find Sum of first 100 Terms in $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$
- Albert1
- · Replies 7 ·
- Differential Equations
- Replies
- 7
Prove that a_n ≥ a_{n+1} for integral with sin(x)/(x+nπ)
- Hummingbird25
- · Replies 2 ·
- Calculus and Beyond Homework Help
- Replies
- 2
Solving Recurrence Relation: a_n+3a_{n-1}-10a_{n-2}=2^n
- Mentallic
- · Replies 4 ·
- Calculus and Beyond Homework Help
- Replies
- 4