The correct option is D Infinite
We have ,
a1+a2cos2x+a3sin2x=0∀x
⇒a1+a2cos2x+a3(1−cos2x2)=0∀x
⇒(a1+12a3)+(a2−12a3)cos2x=0∀x
⇒a1+12a3=0 and a2−12a3=0
⇒a1=−K2,a2=K2,a3=K where KϵR
Hence, the solutions are (−K2,K2,K) where K is any real number. Thus, the number of triplets is infinite.