1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
VikaD [51]
3 years ago
6

Identify the solution to an = 2an − 1 + an − 2 − 2an − 3 for n = 3, 4, 5, . . . , with a0 = 3, a1 = 6, and a2 = 0.

Mathematics
1 answer:
Grace [21]3 years ago
7 0
Here's one way of solving via the generating function method.

\begin{cases}a_0=3\\a_1=6\\a_2=0\\a_n=2a_{n-1}+a_{n-2}-2a_{n-3}&\text{for }n\ge3\end{cases}

For the sequence a_n, denote its generating function by G(x) with


\displaystyle G(x)=\sum_{n\ge0}a_nx^n


In the recurrence relation, multiply all terms by x^n and sum over all non-negative integers larger than 2:


\displaystyle\sum_{n\ge3}a_nx^n=2\sum_{n\ge3}a_{n-1}x^n+\sum_{n\ge3}a_{n-2}x^n-2\sum_{n\ge3}a_{n-3}x^n


The goal is to rewrite everything we can in terms of G(x) and (possibly) its derivatives. For example, the term on the LHS can be rewritten by adding and subtracting the the first three terms of G(x):


\displaystyle\sum_{n\ge3}a_nx^n=\sum_{n\ge0}a_nx^n-(a_0+a_1x+a_2x^2)=G(x)-3-6x


For the other terms on the RHS, you need to do some re-indexing of the sum:

\displaystyle\sum_{n\ge3}a_{n-1}x^n=\sum_{n\ge2}a_nx^{n+1}=x\sum_{n\ge2}a_nx^n=x\left(\sum_{n\ge0}a_nx^n-(a_0-a_1x)\right)=x\bigg(G(x)-3-6x\bigg)

\displaystyle\sum_{n\ge3}a_{n-2}x^n=\sum_{n\ge1}a_nx^{n+2}=x^2\sum_{n\ge1}a_nx^n=x^2\left(\sum_{n\ge0}a_nx^n-a_0\right)=x^2\bigg(G(x)-3\bigg)

\displaystyle\sum_{n\ge3}a_{n-3}x^n=\sum_{n\ge0}a_nx^{n+3}=x^3\sum_{n\ge0}a_nx^n=x^3G(x)

So in terms of the generating function, the recurrence can be expressed as

G(x)-3-6x=2x\bigg(G(x)-3-6x\bigg)+x^2\bigg(G(x)-3\bigg)-2x^3G(x)
(1-2x-x^2+2x^3)G(x)=3-15x^2
G(x)=\dfrac{3-15x^2}{1-2x-x^2+2x^3}=\dfrac{3-15x^2}{(1-x)(1+x)(1-2x)}

Decomposing into partial fractions, we get

G(x)=\dfrac6{1-x}-\dfrac2{1+x}-\dfrac1{1-2x}

and we recognize that for appropriate values of x, we can write these as geometric power series:

G(x)=\displaystyle6\sum_{n\ge0}x^n-2\sum_{n\ge0}(-x)^n-\sum_{n\ge0}(2x)^n

Or, more compactly,

G(x)=\displaystyle\sum_{n\ge0}\bigg(6-2(-1)^n-2^n\bigg)x^n


which suggests that the solution to the recurrence is

a_n=6-2(-1)^n-2^n
You might be interested in
Help please 50P wrong answer gets removed!!!!
RSB [31]

Answer:

it 1172.08!:)

Step-by-step explanation:

8 0
3 years ago
Given the perimeter is 180cm what is the length and breadth of the rectangle?
tensa zangetsu [6.8K]
Check out Kathy way tbh
8 0
3 years ago
What is the centimeters?
S_A_V [24]
The answer is 11.6 centimeters.
3 0
3 years ago
PLEASEEEE HELLLLPPPPPPP ASAPPPP
Minchanka [31]

Answer:

A

Step-by-step explanation:

5 0
3 years ago
Im stuck lol, I'm doing algebra 1, the answer is supposed to be <br><img src="https://tex.z-dn.net/?f=27%20%5Cfrac%7B3%7D%7B8%7D
maxonik [38]
$27.37


...................
4 0
4 years ago
Other questions:
  • Is the work shown correct? Explain your answer.
    13·1 answer
  • What is the slope of the line passing through the points (-5,9) and (2,-12)​
    5·1 answer
  • What is the volume of the right prism?
    12·1 answer
  • How to write 229,909 <br> and 227,011
    6·1 answer
  • Harry rides his bike 25 3 over 8<br> karen rides her bike 25 3 over 8<br> Who rode further
    12·1 answer
  • Can someone please answer all parts?? Extra points for this one!
    13·2 answers
  • 7. Ravmond looked out the window of his math classroom at the teacher's parking lot and saw a total of 13
    12·1 answer
  • See the picture below!!!
    12·1 answer
  • I’m really stupid. I need help
    6·2 answers
  • Write the equation of the line that passes through the points (7, -4) and (-1,3), first in point-slope form, and then in
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!