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: 83
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$$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top