How to prove that a series is equal to a recursive algorithm

133 Views Asked by At

I have the following sequence: $$ y_n = \int_0^1 \frac{x^n}{x+5}\,dx, n = 0,1,\dots $$

Now I have the following recursive algorithm:

$$ y_0 = \log{6} - \log{5} $$ $$ y_n = \frac{1}{n} - 5y_{n-1}, n = 1,... $$

I tried to prove that this algorithm is equal to the sequence. I thought I would have to do complete induction:

Induction start: $$ y_n = 1 - 5\log6 + 5\log5 = \left.(x- 5\log(x+5))\right|_0^1 = \int_0^1 \frac{x}{x+5}\,dx $$

Induction step $(n \longrightarrow n+1)$: $$ \frac{1}{n+1} - 5 y_n = \frac{1}{n+1} -5\left(\frac{1}{n}-5y_{n-1}\right)= \frac{1}{n+1} - \frac{5}{n} + 25 y_{n-1} = -5\left(\frac{1}{-5(n+1)}+\frac{1}{n}-5y_{n-1}\right) = \frac{1}{n+1} -5\left(\int_0^1 \frac{x^n}{x+5}\,dx\right) = ...? $$

Can you help me? Thanks.

2

There are 2 best solutions below

7
On BEST ANSWER

$$y_n=\int_0^1\frac{x^{n-1}(x+5-5)}{x+5}dx=\int_0^1x^{n-1}\left[\frac{x+5}{x+5}-\frac{5}{x+5}\right]=$$ $$=\int_0^1x^{n-1}dx-5\int_0^1\frac{x^{n-1}}{x+5}dx=\frac{1}{n}-5y_{n-1}$$

0
On

HINT:

In the first case prove $$y_n+5y_{n-1}=\frac1n\text{ for } n>0$$ and $$y_0=\ln\frac65$$