Let A be the first term and D be the common difference of the AP. Therefore,
Also, suppose A' be the first term and R be the common ratio of the GP. Therefore,
Now,
Subtracting (2) from (1), we get
Subtracting (3) from (2), we get
Subtracting (1) from (3), we get
[Using (4), (5), (6), (7), (8) and (9)]