The sum of n terms of an A.P. is ( pn+q n 2 ).
The formula for the sum of n terms in an A.P. is given by,
S n = n 2 [ 2a+( n−1 )d ]
Substitute the value of S n as ( pn+q n 2 ) in the above expression.
pn+q n 2 = n 2 [ 2a+( n−1 )d ] pn+q n 2 = n 2 [ 2a+nd−d ] =na+ d 2 n 2 − d 2 n pn+q n 2 =( a− d 2 )n+ d 2 n 2
Compare the coefficients on both the sides.
d 2 =q d=2q
Thus, the common difference of the A.P. is 2q.