Let the A.P. be given by
a, a+d, a+2d, a+3d,.....
q = a + (p -1)d ... ( 1 )
p = a + (q -1)d ... ( 2 )
Subtracting ( 2 ) from ( 1 ),
q - p = (p - q)d => d = -1
Putting d = -1 in ( 1 ), a = p + q - 1
nte term = a + (n - 1)d
Substituting the values of a and d,
nth term = p + q - 1 + (n -1)(-1) = p + q - n.
let a= first term, d= common difference of AP
pth term=a+(p-1)d=q............(1)
qh term=a+(q-1)d=p..............(2)
nth term =a+(n-1)d..................(3)
(1)-(2) gives;
(p-q)d=q-p
d=-1put it in (1)
a-(p-1)=q;
a-p+1=q
a=p+q-1
putting values of a and d in (3);
nth term=p+q-1-(n-1)
=p+q-n. QED