Jackin's question at Yahoo Answers regarding a linear recurrence

  • Context: MHB 
  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Linear Recurrence
Click For Summary
SUMMARY

The discussion focuses on solving a linear recurrence relation where the current year's sales are the average of the previous two years' sales, expressed as $$c_{n}=\frac{c_{n-1}+c_{n-2}}{2}$$. The characteristic equation derived from the recurrence is $$2r^2-r-1=0$$, leading to roots $$r=-\frac{1}{2}$$ and $$r=1$$. The closed form of the solution is $$c_{n}=40\left(-\frac{1}{2} \right)^n+90$$, determined using initial values of sales for the first two years.

PREREQUISITES
  • Understanding of linear recurrence relations
  • Familiarity with characteristic equations
  • Knowledge of solving for parameters in closed forms
  • Basic algebra for manipulating equations
NEXT STEPS
  • Study the derivation of characteristic equations in linear recurrences
  • Learn about initial conditions and their role in determining parameters
  • Explore more complex recurrence relations and their solutions
  • Investigate applications of linear recurrences in real-world scenarios
USEFUL FOR

Students and professionals in mathematics, computer science, and data analysis who are interested in solving recurrence relations and understanding their applications in modeling and forecasting.

MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

Please help solving the recurrence relation question?

View attachment 2104

I have posted a link there to this thread so the OP can view my work.
 

Attachments

  • recurrence.jpeg
    recurrence.jpeg
    18.3 KB · Views: 94
Mathematics news on Phys.org
Hello jackin,

1.) If the current year's number of sales is the average of the previous two year's sales, then we may state:

$$c_{n}=\frac{c_{n-1}+c_{n-2}}{2}=\frac{1}{2}c_{n-1}+\frac{1}{2}c_{n-2}$$

2.) To find the closed form, let's write the recurrence as:

$$2c_{n}-c_{n-1}-c_{n-2}=0$$

Thus, we find the characteristic equation is:

$$2r^2-r-1=(r-1)(2r+1)=0$$

Hence, the characteristic roots are:

$$r=-\frac{1}{2},\,1$$

And so the closed form is:

$$c_{n}=\alpha_1\left(-\frac{1}{2} \right)^n+\alpha_2(1)^n$$

We may simplify this as:

$$c_{n}=\alpha_1\left(-\frac{1}{2} \right)^n+\alpha_2$$

Now we may use the given initial values to determine the parameters.

$$c_{1}=-\frac{1}{2}\alpha_1+\alpha_2=70$$

$$c_{2}=\frac{1}{4}\alpha_1+\alpha_2=100$$

Multiplying the second equation by 2 and adding to the first, there results:

$$3\alpha_2=270\implies \alpha_2=90$$

And using this value for $\alpha_2$ in the first equation, we find:

$$\alpha_1=40$$

And so the closed form is:

$$c_{n}=40\left(-\frac{1}{2} \right)^n+90$$
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K