Solving Recurrence Equation: Understanding the Roots & Coefficients

  • Thread starter Thread starter S&S
  • Start date Start date
  • Tags Tags
    Recurrence
Click For Summary

Homework Help Overview

The discussion revolves around solving a recurrence equation related to the sum of the first n natural numbers, specifically exploring the equation a_n = a_{n-1} + n. Participants are examining the characteristic equation and the complexity of finding coefficients in the solution.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants are discussing the formulation of the characteristic equation and its implications for the solution. There is a debate about the degree of the characteristic equation and the appropriate method for finding a particular solution, including the use of undetermined coefficients.

Discussion Status

Some participants have provided insights into the nature of the characteristic equation and proposed methods for finding a particular solution. There is an ongoing exploration of different approaches, with no explicit consensus reached on the best method to proceed.

Contextual Notes

Participants are navigating the complexities of the recurrence relation and the implications of the terms involved, particularly regarding the treatment of the variable n in the characteristic equation.

S&S
Messages
11
Reaction score
0
Here is the famous thing, sum of k from 1 to n is n*(n+1)/2.

I'm trying to show this by recurrence equation. Then an is the sum, I have this equation: an=a(n-1)+n. It's not a*(n-1), just like this kind equations n indicates the number of the term.

The charcteristic equation is r^2-r-n=0. I found the roots of r with n in it. Continue solve the coefficients became quite complicated.

Am I doing right? Other good ideas?
 
Physics news on Phys.org
If you mean [tex]a_n = a_{n - 1} + n[/tex] then the characteristic equation should be a first degree polynomial. The solution of which is just x(or which ever variable you are using) = 1 giving you the homogeneous solution a_n = A, where A is constant.
 
The characteristic equation to an+1= an is r= 1 (as Benny said, it is first degree because you recurence is first order). The "n" doesn't count because the characteristic equation is only true for homogeneous equations. Of course, again as Benny said, r=1 means that the solution to the homogeneous equation is an= A, a constant. Now you need to find a single solution to the entire equation, by "undetermined coefficients", to add to that. Since "n" is first degree, and your equation is first order, Normally we would try a first degree function: an= un+v where u and v are numbers. However, since a constant is alread a solution to the homogenous equation, multiply by n: try an= un2+ vn.
Then an+1= u(n+1)2+ v(n+1)= un2+ 2un+ u+ vn+ v= un2+ (2u+ v)n+ (u+v). The equation an+1= an+ n becomes un2+ (2u+ v)n+ (u+v)= un2+ (v+1)n.
We have three equations for u, v: u= u, 2u+ v= v+1 and u+v, which reduce to just 2: u= 1/2 and u+ v= 0 so v= -1/2. an= (1/2)n2- (1/2)n= (1/2)(n)(n-1).
The general solution, where a0 is any constant, is an= a0+ (1/2)(n)(n-1).
 
guys you rock.
 

Similar threads

Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
3
Views
2K
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K