The sum of n terms of an A.P. is given as:
Sn=nP+21n(n−1)Q
The standard formula for the sum of n terms of an A.P. with first term a and common difference d is:
Sn=2n[2a+(n−1)d]
Expanding the standard formula:
Sn=2n×2a+2n×(n−1)d
Sn=na+2n(n−1)d
Sn=na+21n(n−1)d
Comparing the given formula with the standard formula:
Given: Sn=nP+21n(n−1)Q
Standard: Sn=na+21n(n−1)d
Since both expressions represent Sn for all values of n, the corresponding coefficients must be equal.
The coefficient of n gives: P=a
The coefficient of 21n(n−1) gives: Q=d
Therefore, the common difference =Q