203k views
2 votes
Alex started a new social media account, whichhe uses to post pictures of cute animals. On thefirst day, he had only 8 followers. However, hisaccount became popular very quickly and hisnumber of followers tripled every day. Identifythe recursive function that gives the number offollowers he has after n days.

User Tenpn
by
6.9k points

1 Answer

3 votes

first day = 8 followers

f(1) = 8

second day = 3 * f(1)

f(2) = 3f(1)

third day = 3 * f(2)

f(3) = 3f(2)

fourth day = 3 * f(3)

f(4) = 3f(3)

After n days, we have the function thus:


\begin{gathered} f(n)=\left\{ \begin{aligned}f(1)\text{ = 8} \\ f(n)=3f(n-1) \\ \text{if n }>\text{ 1}\end{aligned}\right. \\ \end{gathered}

User Krzysztof
by
7.2k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.