Let the three terms be ar,a,ar.
It is given that the product of the terms is 8, therefore,
ar×a×ar=8⇒a3=8⇒a3=23⇒a=2.....(1)
It is also given that the sum of the terms is 7, therefore using equation 1 we have,
ar+a+ar=7⇒2r+2+2r=7⇒2r+2r=7−2⇒2(1r+r)=5⇒1+r2r=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=2 and r=12, the three terms of G.P are as follows:
ar=212=2×2=4
a=2
ar=2×12=1
Thus, the terms are 4,2 and 1.
With a=2 and r=2, the three terms are:
ar=22=1
a=2
ar=2×2=4
Thus, the terms are 1,2 and 4.