Probably very simple question. Why the solution of
$$1=n(1-a)^{t}$$
in terms of $t$ is equal to:
$$t=\frac{\ln n}{\ln \frac{1}{1-a}}$$
Probably very simple question. Why the solution of
$$1=n(1-a)^{t}$$
in terms of $t$ is equal to:
$$t=\frac{\ln n}{\ln \frac{1}{1-a}}$$
On
$$\ln 1=\ln\left(n\left(1-a\right)^t\right)$$
$$0=\ln n+t\ln(1-a)$$
$$t=-\frac{\ln n}{\ln(1-a)}$$
On
Do you know that $\ln 1=0$ and that $$\ln \left(n(1-a)^t\right)=t \ln (n(1-a))=t \left(\ln n +\ln(1-a)\right)$$ and that $$\ln(1-a)=-(-\ln(1-a))=-\ln(1-a)^{-1}=-\ln \frac{1}{1-a}$$ which are due to the properties of the logarithm
On
$$ \ln(1) = 0 = \ln\left(n(1-a)^t\right) $$ Now the later can be expanded using $$ \ln(ab) = \ln a + \ln b $$ Thus $$ \ln\left(n(1-a)^t\right) = \ln n + \ln \left[(1-a)^t\right]\tag{*} $$ Using $$ \ln a^b = b\ln a $$ We can rewrite Eq * as $$ \ln n + t\ln (1-a) = 0 $$ You can rearrange for t now. Now the final bit of the puzzle is using the fact $$ -\ln(1-a) = \ln\left(\frac{1}{1-a}\right) $$
we can write $\frac{1}{n}=(1-a)^t$ taking the logarithm of both sides we get $$-\ln(n)=t\ln(1-a)$$ and thus we get $$t=-\frac{\ln(n)}{\ln(1-a)}$$