因为A∩B={9},所以a²=9则a=3或-3
当a=3时,A={4,9},B={-3,4,9},不符A∩B={9},舍去
当a=-3时,A={4,9},B={-9,-2,9},符合,则A∪B={4,-9,-2,9},