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
Cory made 4,500 g of candy. He saved 1 kg to eat later. He divided the rest of the candy over 7 bowls to
Olenka [21]

Answer: 500 g of candy in each bowl

Step-by-step explanation:

1,000 g = 1Kg

4,500 g - 1,000 g =  3,500 g of candy were divided over 7 bowls:

Each bowl contains = 3,500 g➗7 bowls = 500 g candy/bowl

Answer: 500 g of candy in each bowl

<h2><em>Spymore</em></h2>
4 0
3 years ago
Keith’s Florists has 15 delivery trucks, used mainly to deliver flowers and flower arrangements
vlabodo [156]

Answer:

= 0.419

Step-by-step explanation:

in pic  

(Hope this helps can I please have brainlist (crown)☺️)

8 0
3 years ago
HELP PLEASE ILL MARK BRAINLIEST
gavmur [86]

Answer:

B. \frac{3+\sqrt{29} }{2}

Step-by-step explanation:

\frac{-(-3)\sqrt{(-3^2-4(1)(5)} }{(2)(1)}

=\frac{-(-3)+\sqrt{29} }{2}

4 0
3 years ago
Read 2 more answers
ACT scores have a mean of 21.5 and 26 percent of the scores are above 24. The scores have a distribution that is approximately n
lutik1710 [3]

Answer:

5

Step-by-step explanation:

7 0
3 years ago
Which angle or angles have measures of 50°?
charle [14.2K]

Answer:

x

Step-by-step explanation:

3 0
3 years ago
Other questions:
  • If there were 300 accidents in 1967 and 380 in 1968, what is the percent increase?
    9·2 answers
  • 3. Use the diagram to the right to name the following.
    6·2 answers
  • Convert 8.3 to a percent. A. 0.083% B. 8.3% C. 83% D. 830%
    5·2 answers
  • Please help now! Simplify -4x - x.<br> A. -5x<br> B. -4x<br> C. -3x
    5·2 answers
  • Expression math help me<br> Subtract the difference of g and 2 from f
    5·1 answer
  • Which equation represents the standard form of the equation y=(x+4)^2-3
    7·1 answer
  • Which statements about a square are always true?
    7·1 answer
  • What are the five ways we should examine characters to gain information about them?
    6·1 answer
  • The clasp on Megan's purse was broken. She decided to go downtown to have it repaired at the jewelry store. She told her mother
    6·1 answer
  • Point(s) possible
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!