Suppose someone has a lake with an area of $A = 1240~m^2$ in this example). It is covered by an area of $c = 10~m^2$) of algae at the beginning ($t = 0$), which doubles each day. This gives us the exponential formula
$A(t) = c \cdot a^t$
$A(t) = 1240 \cdot 2^t$
Now, suppose the owner of the lake removes a constant area of algae at the end of each day ($b$, in this case $= 8 m^2$). The tasks are the following:
- find a formula to describe this removal.
- calculate after how many days (real number, not integer) the lake will be fully covered.
- calculate how much area the owner has to remove so that it takes exactly a) 14 days and b) one year for the lake to be fully covered.
(Note that this is a 12th-grade task we were supposed to solve during the lesson. The teacher showed me the solution but couldn't explain it.)
My initial approach to this was to use a recursive formula
$A(0) = c - b$
$A(t) = A(t - 1) \cdot a - b$
which expands to
$A(0) = 10 - 8 = 2$
$A(t) = A(t - 1) \cdot 2 - 8$
However, this couldn't be used to find the solution for task 2 and 3b.
The apparent formula my teacher gave me was the following:
$A(t) = c \cdot a^t - b\cdot\frac{a^t - 1}{a - 1}$
This expands to
$A(t) = 10 \cdot 2^t - b\cdot\frac{2^t - 1}{2 - 1}$
$A(t) = 10 \cdot 2^t - b\cdot(2^t - 1)$