In an arithmetic progression, the pth term is x and the qth term is y, where p and q are positive integers with p=q.
(i) Write the pth and qth terms of the progression in terms of its first term a and common difference d.
(ii) Using the relations obtained in part (i), express a and d in terms of p,q,x, and y.
(iii) Hence, derive an expression for the sum of the first (p+q) terms of the progression in terms of p,q,x, and y only.
(iv) Simplify your expression as far as possible and state any special condition under which the sum becomes independent of one of the variables p or q. (No numerical substitution is required.)