The correct option is B 10n+1−9n−109
Given, 9+99+999+.... upto n terms
we can write this series in this form
s=(10−1)+(100−1)+(1000−1)....... up to n terms.
=[(10+100+1000+......)+(−1−1−1−.......up to n terms)]
=[(10+102+103+.....up to n terms)−n] ........(i)
sum of n terms of GP. =a(rn−1)r−1, where a is first term and r is the common ratio of the GP.
We have the GP 10+102+103+....up to n terms, here first term a=10 and common ratio r=10
So,10+102+103+......n terms=10(10n−1)10−1=10n+1−109On Substitutings=10+102+103+......n terms=10n+1−109 in equation (i). we get,
=10n+1−109−n=10n+1−9n−109
⇒9+99+999+.......up to n terms=10n+1−9n−109
Option D is correct.