If the first, second and the last terms of an A.P. are a, b, c respectively, then the sum of the A.P. is
(a+b)(a+c−2b)2(b−a)
(b+c)(a+b−2c)2(b−a)
(a+c)(b+c−2a)2(b−a)
none of these
Let there be n terms in the A.P. Then,
c=a+(n−1)(b−a) [∵d=b−a]
⇒ n=b+c−2ab−a
∴ sum of n terms =n2(a+c)=(b+c−2a)(a+c)2(b−a)