If the sum of the first n terms of an A.P. is 4n-n^2, What is the first term? What is the sum of first two terms? What is the second term? Similarly, find the third, the tenth and the nth terms.
S(n)=4n−n2
∴S1=a1=4(1)−(1)2=3
S2=a2=4(2)−(2)2=4
S3=a3=4(3)−(3)2=3
∴a2=S2−S1=4−3=1
a3=S3−S2=3−4=−1
Common difference,
d=a2−a1=1−3=−2
∴an=a1+(n−1)d
=3+(n−1)(−2)
=5−2n
∴a10=5+(n−1)d
=5−20
=−15