Let the three terms be ar,a,ar.
It is given that the product of the terms is 216, therefore,
ar×a×ar=216⇒a3=216⇒a3=63⇒a=6.....(1)
It is also given that the sum of the terms is 21, therefore using equation 1 we have,
ar+a+ar=21⇒6r+6+6r=21⇒6r+6r=21−6⇒6(1r+r)=15⇒1+r2r=156=52⇒2r2+2=5r⇒2r2−5r+2=0⇒2r2−4r−r+2=0⇒2r(r−2)−1(r−2)=0⇒(2r−1)(r−2)=0⇒(2r−1)=0,(r−2)=0⇒r=12,r=2
With a=6 and r=12, the three terms of G.P are as follows:
ar=612=6×2=12
a=6
ar=6×12=3
Thus, the terms are 12,6 and 3.
With a=6 and r=2, the three terms are:
ar=62=3
a=6
ar=6×2=12
Thus, the terms are 3,6 and 12.