The first and last term of an A.P are 5 and 45 respectively. If the sum of all the terms is 400, find the common difference.
Given: First term of an A.P, a=5,nth term, an=45, Sum of ′n′ terms, Sn=400
nth term of an A.P is given by, an=a+(n−1)d
⇒45=5+(n−1)d
⇒45−5=(n−1)d
⇒(n−1)d=40……(i)
Sum of n terms of an A.P is given by Sn=n2(a+an)
400=n2(5+45)
⇒800=50n
⇒n=80050
⇒n=16
Putting ′n′ value in eq.(i), we get
(16−1)d=40
⇒d=4015
⇒d=83
Therefore, common difference =83