Solution:
Concept: For an A.P. with first term a, common difference d and n terms, the nth term is Tn=a+(n−1)d, and the sum of the first n terms is
Sn=2n[2a+(n−1)d]
If the last term l is known, the same sum can be written as
Sn=2n(a+l)
Step 1 — Write the two sums as equations. Let a be the first term and d the common difference, with p=q. Multiplying each sum formula by p2 or q2:
2a+(p−1)d=p2m⋯(1)
2a+(q−1)d=q2m⋯(2)
Step 2 — Subtract (2) from (1) to find d. The 2a’s cancel; we then divide by p−q, which is not zero.
(p−q)d(p−q)dd=p2m−q2m=pq2m(q−p)=−pq2m
Step 3 — Write the required sum. For p+q terms the bracket is 2a+(p+q−1)d. We split it as [2a+(p−1)d]+qd so that equation (1) can be used.
Sp+q=2p+q[2a+(p−1)d+qd]=2p+q[p2m+q(−pq2m)]=2p+q[p2m−p2m]=0
Therefore, the sum of (p+q) terms is 0.