Well, I would use to check these. I looked up the first two ionization energies (by typing the atomic symbol) and got...
or...
Here, you can see that the first ionization energy of oxygen atom is lower. Consider the electron configurations.
$"N": [He]2s^2 2p^3$
$underbrace(ul(uarr color(white)(darr))" "ul(uarr color(white)(darr))" "ul(uarr color(white)(darr)))$
$" "" "" "color(white)(.)2p$
$ul(uarr darr)$
$color(white)(.)2s$
$"O": [He]2s^2 2p^4$
$underbrace(ul(uarr darr)" "ul(uarr color(white)(darr))" "ul(uarr color(white)(darr)))$
$" "" "" "color(white)(.)2p$
$ul(uarr darr)$
$color(white)(.)2s$ Since oxygen has a paired
$2p$ electron, that one will repel the others, making it easier to remove than any of the others.Easier to remove
$->$ lower ionization energy.
The second ionization energy of oxygen is higher than for nitrogen. In principle, they should be the same for two seemingly identical
It is because oxygen atom is smaller due to a higher effective nuclear charge
$Z_(eff) = Z - S$ , where$S$ is approximated to be the number of core electrons and$Z$ is the .
$Z_(eff,N) ~~ "7 protons" - "2 core e"^(-) ~~ 5$
$Z_(eff,O) ~~ "8 protons" - "2 core e"^(-) ~~ 6$ So, it is more difficult to remove the electron from the smaller atom, whose electrons are more tightly bound to the nucleus.
Harder to remove
$->$ higher ionization energy.