Ask your own question, for FREE!
Mathematics 5 Online
OpenStudy (anonymous):

Solve the recurrence relation \(a_n = a_{n-1} + n\) where \(a_0 = 0\) how to do this? First few values are (1,1), (2,3), (3,6), (4,10)... Is there any kind of formula for solving this?

ganeshie8 (ganeshie8):

work it the same way as previous

ganeshie8 (ganeshie8):

or you may eyeball the pattern you're adding sum of first n natural numbers

ganeshie8 (ganeshie8):

\[\begin{align} a_n &= a_{n-1}+n\\~\\ &= (a_{n-2}+ (n-1)) + n = a_{n-2} + 2n - 1 \\~\\ & = (a_{n-3} +(n-2)) + 2n-1 = a_{n-3} + 3n -(1+2)\\~\\ &=\cdots \\~\\ &=a_0 + n\cdot n - (1+2+\cdots + (n-1)) \\~\\&= a_0 + n^2 - \frac{n(n-1)}{2} \\~\\&= a_0 + \dfrac{n(n+1)}{2} \end{align}\]

OpenStudy (anonymous):

I don't get how you're doing that substitution.

ganeshie8 (ganeshie8):

did you follow the second line : \[\begin{align} a_n &= a_{n-1}+n\\~\\ &= (a_{n-2}+ (n-1)) + n = a_{n-2} + 2n - 1 \\~\\ \end{align}\] ?

OpenStudy (anonymous):

yes... just subtract 1 from every n in \(a_{n-1}\)

ganeshie8 (ganeshie8):

yes we just replace \(a_{n-1}\) by \(a_{n-2} + (n-1)\)

ganeshie8 (ganeshie8):

then we keep going few more levels to see the pattern

ganeshie8 (ganeshie8):

\[ \begin{align} a_n &= a_{n-1}+n\\~\\ &= (a_{n-2}+ (n-1)) + n = a_{n-2} + 2n - 1 \\~\\ & = (a_{n-3} +(n-2)) + 2n-1 = a_{n-3} + 3n -(1+2)\\~\\ \end{align} \] see if 3rd line also makes sense ^

OpenStudy (anonymous):

sure just keep subtracting one in place of the a_ part but then the last lines i don't get

ganeshie8 (ganeshie8):

\[ \begin{align} a_n &= a_{n-1}+n\\~\\ &= (a_{n-2}+ (n-1)) + n = a_{n-2} + 2n - 1 \\~\\ & = (a_{n-3} +(n-2)) + 2n-1 = a_{n-\color{Red}{3}} + \color{red}{3}n -(1+\color{red}{2})\\~\\ \end{align} \]

ganeshie8 (ganeshie8):

Notice as you keep backtracking the levels, you will get \(a_0\) when : \[ \begin{align} &a_{n-\color{Red}{n}} + \color{red}{n}\cdot n -(1+2+\cdots + \color{red}{n-1})\\~\\ \end{align} \]

OpenStudy (anonymous):

like how is \(a_0 + n^2 - (1+2+...+(n-1)) = n^2 - \frac{n(n-1)}{2}\)

ganeshie8 (ganeshie8):

whats the formula for sum of first `n-1` natural numbers ?

ganeshie8 (ganeshie8):

\[1+2+\cdots + (n-1) = ?\]

OpenStudy (anonymous):

yeah?

ganeshie8 (ganeshie8):

thats supposed to be a question to you :) do you remember the formula for finding sum of first n natural numbers ?

OpenStudy (anonymous):

no

ganeshie8 (ganeshie8):

look up in google

OpenStudy (anonymous):

ah ok then

OpenStudy (anonymous):

and \(\frac{2n^2}{2} + \frac{n^2-n}{2} = \frac{n(n+1)}{2} \) how..?

OpenStudy (anonymous):

sorry minus

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
laylasnii13: Who wanna write or make a song with me???
3 hours ago 0 Replies 0 Medals
kaelynw: art igg
2 hours ago 9 Replies 1 Medal
XShawtyX: Art
21 hours ago 6 Replies 0 Medals
Nina001: teach me how to draw or just tell me the basics
23 hours ago 2 Replies 1 Medal
XShawtyX: We doing another drawing gimme ideas to add to this
1 day ago 9 Replies 1 Medal
RAVEN69: What is x 3+y 3+z 3=k
1 day ago 20 Replies 1 Medal
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!