Given: The three elements of set A are in A.P. and their sum is 36. The three elements of set B are also in A.P. and their sum is 36. Also, D=d+3 and
p−qp+q=519
Find: The value of p−q.
Let the elements of set A be
a−d, a, a+d
and the elements of set B be
b−D, b, b+D
Since the sum of elements of set A is 36,
(a−d)+a+(a+d)=3a=36
so,
a=12
Similarly, for set B,
(b−D)+b+(b+D)=3b=36
so,
b=12Therefore,
p=(a−d)⋅a⋅(a+d)=a(a2−d2)
Hence,
p=12(144−d2)
Also,
q=(b−D)⋅b⋅(b+D)=b(b2−D2)
Hence,
q=12(144−D2)
Using D=d+3,
q=12(144−(d+3)2)Now use the given relation
p−qp+q=519
Cross-multiplying,
5(p+q)=19(p−q)
5p+5q=19p−19q
24q=14p
qp=712Substitute the expressions of p and q:
144−(d+3)2144−d2=712
Expanding,
144−(d2+6d+9)144−d2=712
135−d2−6d144−d2=712
Cross-multiplying,
7(144−d2)=12(135−d2−6d)
1008−7d2=1620−12d2−72d
5d2+72d−612=0
Solving, we get
d=6
Since d>0, this value is valid. Then
D=d+3=9Now,
p−q=12(144−d2)−12(144−D2)
p−q=12(D2−d2)
Substituting d=6 and D=9,
p−q=12(81−36)
p−q=12⋅45=540
Therefore, the value of p−q is 540, so the correct option is D.