Solving Recurrence Equation: Understanding the Roots & Coefficients

In summary, the conversation discusses finding the sum of k numbers from 1 to n using a recurrence equation. The characteristic equation for this recurrence is r=1, and the solution is an= A, a constant. To find a single solution to the entire equation, the method of undetermined coefficients is used, resulting in the solution an= a0+ (1/2)(n)(n-1).
  • #1
S&S
12
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
  • #2
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.
 
  • #3
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).
 
  • #4
guys you rock.
 

1. What is a recurrence equation?

A recurrence equation is a mathematical equation that describes a sequence or pattern of numbers, where each term is defined in terms of one or more previous terms. It is often used to model problems that involve repeated processes or growth over time.

2. How do you solve a recurrence equation?

To solve a recurrence equation, you need to find a closed-form solution, which is an explicit formula for the nth term in the sequence. This can be done by finding the roots of the characteristic equation, which is formed by replacing the recurrence relation with a polynomial equation. Once the roots are found, the coefficients can be determined using initial conditions.

3. What are the roots of a characteristic equation?

The roots of a characteristic equation are the values of the independent variable that make the equation equal to zero. These roots represent the solutions to the recurrence equation and are used to determine the coefficients of the closed-form solution.

4. How do the roots of a recurrence equation affect the behavior of the sequence?

The roots of a recurrence equation determine the type of solution for the sequence. If the roots are distinct and real, the solution will be a linear combination of the roots. If the roots are complex, the solution will involve sinusoidal functions. Repeated roots will result in a polynomial of higher degree in the solution.

5. Can recurrence equations be used to model real-world problems?

Yes, recurrence equations can be used to model a wide range of real-world problems, such as population growth, compound interest, and chemical reactions. They are especially useful in situations where the same process is repeated over time, as they can accurately predict the behavior of the system in the long term.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
5
Views
261
  • Precalculus Mathematics Homework Help
Replies
3
Views
226
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
3
Views
625
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
996
  • Precalculus Mathematics Homework Help
Replies
12
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
Back
Top