MHB Jackin's question at Yahoo Answers regarding a linear recurrence

  • Thread starter Thread starter MarkFL
  • Start date Start date
  • Tags Tags
    Linear Recurrence
AI Thread Summary
The discussion revolves around solving a linear recurrence relation where the current year's sales are the average of the previous two years. The recurrence is expressed as c_n = (c_{n-1} + c_{n-2}) / 2, leading to the characteristic equation 2r^2 - r - 1 = 0. The roots of this equation are r = -1/2 and r = 1, allowing for the closed form solution c_n = 40(-1/2)^n + 90. Using initial values, the parameters α_1 and α_2 are determined to be 40 and 90, respectively. The final closed form solution effectively models the sales over time.
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: 79
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$$
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top