The first ionization potential of Na, Mg, Al & Si are in the order
Na < Mg > Al < Si
Recall how to write electronic configuration.
Na → 1s2 2s2 2p6 3s1
Mg → 1s2 2s2 2p6 3s2
Al → 1s2 2s2 2p6 3s2 3p1
Si → 1s2 2s2 2p6 3s23p2
We have to note that,
In Al and Si, we have to remove an electron from 3p, while in Na and Mg, we have to remove from 3s.
Now, because of penetration effect, the ionization potential will be more for Al than Mg.
Penetration effect of orbitals: The order of energy required to remove electron from s, p, d- and f-orbtial's of a shell is s> p> d >f because the distance of the electron from the nucleus increases. For example- the value of ionization potential of Be(Z = 4, 1s22s2) and Mg(Z = 12), 1s22s22p63s2) are more than the I.P of B(Z = 5, 1s22s22px1) and AI(Z = 12, 1s22s22p63px1) because the penetration power of 2s and 3s electrons is more than 2p and 3p orbitals respectively. More energy will be required to separate the electrons from 2s and 3s orbitals.
Now, in Na and Mg, because the atomic radius of Na > Mg, therefore ionization potential of Mg will be more than Na.
→ Same logic in Al and Si also.
IP1(Al) < IP1(Si)
Therefore, the correct order of IP, will be
Na > Mg > Al < Si