Solving Finite Difference Equation: a_{n+1} - a_{n} = n^2
- Thread starter Pyrrhus
- Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 3K views
Physics news on Phys.org
Discussion
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
- Mr Davis 97
- · Replies 3 ·
- Calculus and Beyond Homework Help
- Replies
- 3
- Lebombo
- · Replies 2 ·
- Calculus and Beyond Homework Help
- Replies
- 2
- ricardianequiva
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
- Punkyc7
- · Replies 3 ·
- Calculus and Beyond Homework Help
- Replies
- 3
- wimma
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
- talolard
- · Replies 1 ·
- Calculus and Beyond Homework Help
- Replies
- 1
- cdotter
- · Replies 7 ·
- Calculus and Beyond Homework Help
- Replies
- 7
- Albert1
- · Replies 7 ·
- Differential Equations
- Replies
- 7
- Hummingbird25
- · Replies 2 ·
- Calculus and Beyond Homework Help
- Replies
- 2
- Mentallic
- · Replies 4 ·
- Calculus and Beyond Homework Help
- Replies
- 4