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
Rob Herndon, an accountant with Southwest Airlines, wants to retire 50% of
valina [46]

To achieve his goal of paying off $430,000 in 10 years, Rob Herndon needs to make $34,186.97 at 5% compounded annually.

<h3>What is a future value?</h3>

A future value refers to a value on a future date based on an assumed growth rate of interest over time.

The future value can be determined using the FV formula or table.

We can also compute the future value using an online finance calculator as follows:

<h3>Data and Calculations:</h3>

N (# of periods) = 10 years

I/Y (Interest per year) = 5%

PV (Present Value) = $0

FV (Future Value) = $430,000

<u>Results:</u>

PMT = $34,186.97

Sum of all periodic payments = $341,869.70

Total Interest= $88,130.30

Thus, for Rob Herndon to achieve his goal of paying off $430,000 in 10 years, he needs to make $34,186.97 at 5% compounded annually.

Learn more about Calculating Future Values at brainly.com/question/24703884

#SPJ1

7 0
2 years ago
The endpoints of AB are A(2, 3) and B(8, 1). The perpendicular bisector of AB is CD, and point C lies on AB. The length of CD is
marysya [2.9K]
Comment
If C lies on AB Then it must be the midpoint of AB because CD is the Perpendicular Bisector of AB

Midpoint
A(2,3) B(8,1)
Midpoint formula = (x1 + x2)/2 + (y1 + y2)/2
Midpoint = (2 + 8)/2 + (3 + 1) / 2 
Midpoint = 10/2 + 4/2
Midpoint = (5,2) <<<<< answer


Slope AB
slope = (y2 - y1)/(x2 - x1)
slope = (3 - 1) / (2 - 8)
slope = 2/-6 = -1/3

Slope CD
CD_slope * AB_slope = - 1
CD_slope * -1/3 = -1 multiply both sides by - 3
CD_slope * 1 = - 1 * -3
CD_slope = 3   <<<<< Slope CD Answer

Equation CD
Given the midpoint of AB which is C( and the slope of CD
y = 3x + b
2 = 3*5 + b
b = - 13
Equation y = 3x - 13

Using Distance to get D
d^2 = (x1 - x2)^2 + (y2 - y1)'^2 
d^2 = (x2 - 5)^2 + (y2 - 2)^2
y2 = 3*x2 - 13
10 = x2^2 - 10x2 + 25 + (3x2 - 13 - 2)^2
10 = x2^2 - 10x2 + 25 + (3x2 - 15)^2
10 = x1^2 - 10x2 + 25 + 9x^2 - 90x2 + 225
10 = 10x2^2 - 100x2 +250
0 = 10x2^2 - 100x2 + 240 Divide through by 10
0 = x2^2 - 10x^2 + 24
0 = (x2 - 6)(x2 - 4)
 
x2 = 6 or
x2 = 4

Using y2 = 3x - 13
for x2  = 4
then y2 = 3(4) - 13
y2 = - 1

for x2 = 6
y2 = 3*6 - 13
y2 = 5

Possible Answers  for D
D = (4,-1)
D = (6,5)

I've included a graph to show a graphical solution. 

Please note in a week's time, if no one else answers, you can award a Brainly. This question took over an hour. If someone else answers, please choose one of us.

7 0
4 years ago
Plz help as soon as possible!
kvasek [131]

Answer:

not a function

Step-by-step explanation:

7 0
3 years ago
Could u help me <br><br>with this ​
AleksandrR [38]

Answer:

P = 7

Step-by-step explanation:

46+8=54

54-5=49

49÷7=P

5 0
3 years ago
Image point B'(4, -8) was transformed using the translation (x-2, y + 3). What were the coordinates of B?
DaniilM [7]

Answer:

B(6 , -11)

Step-by-step explanation:

(x-2 , y+3)  = (4 , -8)

Compare the x & y co ordinates

x - 2 = 4   ; y + 3 = -8

x = 4 +2  ; y = -8 - 3

x = 6      ; y = -11

B(6 , -11)

8 0
3 years ago
Other questions:
  • tamara knows thr perimeter of her rectangularshaped deck is 40 feet. The width is 8 feet. How long is it?
    13·2 answers
  • State the degree of each polynomial. If it is not a polynomial in one variable, explain why.
    13·1 answer
  • What is 39/35 as a mixed number?
    9·1 answer
  • plz help !! write two real world situations that you can model using the exponential function f(x)=2 to the power of x
    6·1 answer
  • jasmine plans to take a short vacation in two weeks. Before her vacation, she wants to earn more than $700 each week. The store
    10·1 answer
  • Who wants free brainlist
    14·2 answers
  • Carter is building a model sailboat. The boat will have two triangular sails. One sail will have a base of 24 inches and a heigh
    6·2 answers
  • Whos good at math? i am so upset right now just please help me out.. :(
    12·1 answer
  • Factor the expression below.
    10·1 answer
  • The coordinates of the verticles of
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!