The first and last terms of a G.P. are a and l respectively;r being its common ratio; then the number of terms in this G.P is
(logl–loga)logr
1-(logl–loga)logr
(loga–logl)logr
1+(logl–loga)logr
The explanation for the correct answer.
The G.P. is given as,
arn-1=l
la=rn-1
Taking log both sides,
log(la)=(n-1)logr∵log(mn)=logm-logn
logl–loga+logr=nlogr
logllogr-logalogr+logrlogr=n
logllogr-logalogr+1=n
⇒1+(logl–loga)logr=n
So, n=1+(logl–loga)logr
Hence, option (D) is the answer.