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
ddd [48]
3 years ago
9

Solve the recursion relation an = 2an-1 +n, with a_o = 1.

Mathematics
1 answer:
ehidna [41]3 years ago
6 0

\begin{cases}a_0=1\\a_n=2a_{n-1}+n&\text{for }n>0\end{cases}

By the definition above,

a_{n-1}=2a_{n-2}+(n-1)

and by substitution we get

a_n=2(2a_{n-2}+(n-1))+n=2^2a_{n-2}+2(n-1)+n

If we keep following this procedure, we'll start to see a pattern:

a_{n-2}=2a_{n-3}+(n-2)

\implies a_n=2^2(2a_{n-3}+(n-2))+2(n-1)+n

\implies a_n=2^3a_{n-3}+2^2(n-2)+2(n-1)+n

a_{n-3}=2a_{n-4}+(n-3)

\implies a_n=2^3(2a_{n-4}+(n-3))+2^2(n-2)+2(n-1)+n

\implies a_n=2^4a_{n-4}+2^3(n-3)+2^2(n-2)+2(n-1)+n

and so on, down to

a_n=2^na_0+\displaystyle\sum_{i=0}^{n-1}2^i(n-i)

Now,

\displaystyle\sum_{i=0}^{n-1}2^i(n-i)=n\sum_{i=0}^{n-1}2^i-\sum_{i=0}^{n-1}i2^i

One of these series is geometric and has a well-known closed form:

\displaystyle\sum_{i=0}^{n-1}2^i=2^n-1

The other (see note below) is a bit less obvious, but can be derived:

\displaystyle\sum_{i=0}^{n-1}i2^i=2^n(n-2)+2

so we have

a_n=2^n+n(2^n-1)-(2^n(n-2)+2)

\implies\boxed{a_n=2^{n+1}+2^n-(n+2)}

# # #

A brief note on how to compute the sum,

\displaystyle\sum_{i=0}^{n-1}i2^i=2^n(n-2)+2

The first term of the sum is 0:

\displaystyle\sum_{i=0}^{n-1}i2^i=\sum_{i=1}^{n-1}i2^i

Add and substract 1 to the first factor in the summand and expand the sum into two sums:

\displaystyle\sum_{i=1}^{n-1}i2^i=\sum_{i=1}^{n-1}(i-1+1)2^i=\sum_{i=1}^{n-1}(i-1)2^i+\sum_{i=1}^{n-1}2^i

The latter sum we're familiar with. For the other sum, we can shift the index to make it start at i=0, and again the first term in the sum would be 0:

\displaystyle\sum_{i=1}^{n-1}(i-1)2^i=\sum_{i=0}^{n-2}i2^{i+1}=\sum_{i=1}^{n-2}i2^{i+1}

So we have

\displaystyle\sum_{i=0}^{n-1}i2^i=\sum_{i=1}^{n-2}i2^{i+1}+\sum_{i=1}^{n-2}2^i

Continuing in this way, we would end up getting

\displaystyle\sum_{i=0}^{n-1}i2^i=\sum_{i=1}^{n-1}2^i+\sum_{i=2}^{n-1}2^i+\sum_{i=3}^{n-1}2^i+\cdots+\sum_{i=n-2}^{n-1}2^i+\sum_{i=n-1}^{n-1}2^i

or as a double sum,

\displaystyle\sum_{i=0}^{n-1}i2^i=\sum_{k=1}^{n-1}\sum_{i=k}^{n-1}2^i

which is easy to reduce:

\displaystyle\sum_{i=k}^{n-1}2^i=2^n-2^k

\displaystyle\sum_{k=1}^{n-1}(2^n-2^k)=2^n(n-1)-(2^n-2)=2^n(n-2)+2

You might be interested in
Dkshabwus hecauwwjebeheiejen math
Sholpan [36]
I believe that answer would be B. One Equilateral Triangle. I hope this helped you
4 0
3 years ago
Ranger simplified this expression. 3(2.7x + 5) – 2(4x – 1.6) What was Ranger's simplified expression? 0.1x + 18.2 –16.1x + 11.8
Ymorist [56]

Answer:

Ranger's simplified expression was 0.1x + 18.2

The correct answer is the first option.

Step-by-step explanation:

To simplify the given expression

3(2.7x + 5) – 2(4x – 1.6)

First, we will open the brackets by distributing 3 and 2, that is

(3×2.7x) + (3×5) -(2×4x) -(2×-1.6)

Now, we will get

8.1x + 15 - 8x +3.2

Now, collect like terms,

8.1x - 8x + 15 + 3.2

Then, we will get

0.1x + 18.2.

Hence, Ranger's simplified expression was 0.1x + 18.2.

The correct answer is the first option.

5 0
3 years ago
Read 2 more answers
Kinda Urgent<br> if you could do then when you can please
Amiraneli [1.4K]

Answer:

2 is the one that has 2 dots

3 is the one that has 4 dots

4 is the one that has 1 dot

5 is the one that has 3 dots

You can easily just count how much inches are there on top

7 0
3 years ago
(Use the formula SA=6s2 , where SA  is the surface area and s is the edge length of the cube, to solve this problem.) Gavan must
11Alexandr11 [23.1K]
I believe the answer is 3/8, if i'm wrong then i really sorry
6 0
3 years ago
Solve each inequality and graph the solutions , ILL MARK BRAINLIST !!!!
inn [45]

Answer:

see below

Step-by-step explanation:

2d+21 ≤11

Subtract 21

2d+21-21 ≤11 -21

2d ≤-10

Divide by 2

2d/2 ≤-10/2

d≤-5

4 0
4 years ago
Other questions:
  • Martene got a small aquarium for her birthday. the aquarium is a right rectangular prism 18.5cm long by 15cm wide. martene put 3
    7·2 answers
  • How is StartRoot 11 ​classified? is it real and rational? or is it real and irrational? or its not a real number?
    13·2 answers
  • What are the solution(s) to the quadratic equation 98 - x^2 = 0?
    7·1 answer
  • Find the slope of the line passing
    8·1 answer
  • What is the mid point of (-4,-6), (3,-6)
    6·1 answer
  • Five times the difference between a number and four is greater than the quotient of four times the number and six. Find the smal
    7·2 answers
  • Find the distance between 2 and -2.<br> A) -6 <br> B) -4 <br> C) 0 <br> D) 4
    10·1 answer
  • Help me if you want to be Lady Gaga.
    11·2 answers
  • find the slope between each pair of points please help with these three questions and i’ll mark the brain thing !
    13·1 answer
  • -25 × 8 = solution step by step pls
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!