Is ddr3 compatible with ddr2 motherboards

Yes. Graphics memory of any type have nothing to do with the system memory. They don't have to match. Just make sure you have the right card for the right mobo (pcie, agp and pci). Also watch out for potential pcie 2.1 card compatibility problem with pcie 1.0 mobo.