If the sum of P terms of an A.P. is q and the sum of q terms is p, then the sum of p + q terms will be
Let a be the first term and d is common difference of the A.P
then sum of n terms in A.P is Sn = ()[ 2a + (n – 1) d]
Here, sp= q
Sq =p
Sp = () [2a + (p – 1) d]
q = [2a + (p – 1) d]
= [2a + (p – 1) d] --------(1)
Sq = p = ( [2a + (q – 1) d]
= [2a + (q – 1) d] …………..(2)
Subtract (1) from (2) we get
(q – p) d = / pq -----------(3)
d = -2(q + p) / pq -----------(3)
Sum of first (p + q) terms
[from (1) and (3)]