The basics of chemistry
Section titled “The basics of chemistry”Significant figures
Section titled “Significant figures”Significant figures are the digits in a measurement that carry meaning—every digit we are entitled to report given how well we know the quantity. They matter whenever you round a calculated result so it does not pretend to be more precise than the data that produced it. On the AP exam they appear mainly in lab-style questions; in research they are non-negotiable.
- Nonzero digits are always significant.
- Leading zeros (as in ) are not significant; they only locate the decimal point. Captive zeros between nonzero digits are significant (e.g. has three significant figures).
- Trailing zeros require care: if a decimal point is shown, trailing zeros are significant ( has three); if there is no decimal, trailing zeros do not ocunt towards significant figures.
- Exact numbers (such as a counted dozen eggs or a defined conversion within a system) have effectively unlimited significant figures and do not limit your result.
- For addition and subtraction, round the result to the same number of decimal places as the term with the fewest. For multiplication and division, round to the same number of significant figures as the factor with the fewest.
Example. A balance reads for an empty container and after adding a sample. A student reports a sample mass of because both readings have three significant figures. What is wrong?
Subtraction is limited by decimal place, not by matching significant-figure counts. The difference is , known only to the hundredths place. The added zeros in claim precision the balance did not provide. Subtracting nearby measurements can leave far fewer significant figures than either measurement alone.
Matter and its classification
Section titled “Matter and its classification”Matter is anything that has mass and occupies volume. Chemists classify it first by composition.
- Elements are made of one kind of atom
- Compounds contain two or more elements combined in definite proportion.
- A pure substance has fixed composition, meaning only one type of substance makes it up.
- A mixture combines substances without fixed proportion. A homogeneous mixture (solution) are uniform on a macroscopic scale, meaning you cannot tell the difference between molecules jsut by looking at it, while a heterogeneous mixture does not have this property.
Example. Two clear liquids each appear uniform. One leaves crystals after evaporation; the other evaporates completely. Does this prove the second is a pure substance?
No. The first contains a nonvolatile component, consistent with a solution. The second could be a pure liquid or a mixture of volatile liquids such as ethanol and water. A single visible phase establishes apparent homogeneity, not chemical purity. Additional evidence, such as composition measurements or a distillation profile, is needed.
Reading the periodic table
Section titled “Reading the periodic table”The periodic table arranges elements by increasing atomic number . Horizontal rows are periods; vertical columns are groups (or families). Groups may be labeled – or with Roman numerals and letters in older notation. Several families have traditional names that appear frequency:
- Alkali metals (group 1, excluding hydrogen)
- Alkaline earth metals (group 2)
- Transition metals (groups 3–12)
- Pnictogens (group 15)
- Chalcogens (group 16)
- Halogens (group 17)
- Noble gases (group 18)
Below the main block, the lanthanides and actinides are the inner transition metals (often called rare-earth metals in informal usage for the lanthanides).
For any entry, the atomic number is the number of protons in the nucleus and defines the element. The mass number counts protons plus neutrons in a given isotope:
where is the neutron count. Isotopes of the same element share but differ in (and therefore in ).
Example. A periodic table lists chlorine’s atomic number as 17 and average atomic mass near 35.45. A student assigns every chlorine atom 18.45 neutrons. Explain both mistakes and identify the neutron count in chlorine-37.
Individual nuclei contain whole numbers of neutrons. The tabulated mass averages the masses of naturally occurring isotopes; it is not one atom’s mass number. Chlorine-37 has neutrons. Isotopes share their proton count and periodic-table position even though their neutron counts differ.
An ion is an atom or group of atoms with a net electric charge from gain or loss of electrons. A cation is positive (fewer electrons than protons); an anion is negative (more electrons than protons). A good way to remember this is that cats are always positive so CATions are positively charged! Metals tend to form cations and nonmetals tend to form anions. In addition, many transition metals exhibit variable charge in compounds because several oxidation states are comparably stable (mentioned later in more detail) due to the availability of their orbital (mentioned later as well).
Polyatomic ions
Section titled “Polyatomic ions”Polyatomic ions are charged covalent units that behave as a single piece in ionic compounds due to their lower eneergy state compared to their individual atomic states: for example, nitrate (), sulfate (), and ammonium () are all good exmamples of polyatomic ions. These are the polyatomic ions you need to memorize for AP Chem:
| Polyatomic ion | Formula | Charge |
|---|---|---|
| Ammonium | ||
| Acetate | ||
| Hydroxide | ||
| Nitrate / nitrite | / | |
| Chlorate / chlorite / hypochlorite | / / | |
| Perchlorate | ||
| Carbonate / bicarbonate | / | / |
| Sulfate / sulfite | / | |
| Phosphate / hydrogen phosphate | / | / |
| Chromate / dichromate | / | |
| Permanganate |
Example. How many moles of each ion form when of dissolves completely? Explain why the solution is neutral even though it contains different numbers of cations and anions.
Each formula unit supplies two aluminum ions and three sulfate ions, giving and . Their charge amounts are proportional to and , which cancel. Electrical neutrality requires equal total positive and negative charge, not equal ion counts. Sulfate remains a polyatomic ion rather than separating into sulfur and oxygen atoms.
Avogadro’s number, the mole, and molar mass
Section titled “Avogadro’s number, the mole, and molar mass”- The mole is the chemist’s unit of counting: one mole contains Avogadro’s number (sometimes denoted as ) of specified entities (atoms, molecules, ions, formula units, etc.):
If you are ever confused by moles and molar conversions, just replace “moles” with “dozens” and think about it that way.
The molar mass of an element is the mass of one mole of its atoms, numerically equal (in ) to the average atomic mass listed on the periodic table. For a compound, add the molar masses of all atoms in the formula to obtain the compound’s molar mass.
Lastly, the mass percent of an element in a compound compares the mass of that element in one mole of compound to the molar mass of the whole:
Empirical and molecular formulas
Section titled “Empirical and molecular formulas”The molecular formula gives the actual numbers of atoms of each element in one molecule of a molecular compound (or one formula unit of an ionic solid, where “molecule” is not literal). The empirical formula gives the smallest whole-number ratio of atoms in that substance. Ionic compounds are usually reported by their empirical formula anyway (e.g. , ) because the crystal is an extended lattice, not discrete molecules.
For a molecular substance, the molecular formula is a whole-number multiple of the empirical formula:
The empirical formula mass is the molar mass of the empirical formula as written. If you know the molar mass of the compound (from experiment, such as mass spectrometry, or from the problem), then
and you round to the nearest integer when the data allows it (subject to measurement uncertainty).
Example. Two compounds have empirical formula . Their molar masses are and . Can they have the same molecular formula or be identified uniquely from these data?
The empirical-formula mass is about , so the multipliers are and . Their molecular formulas are and . They cannot have the same molecular formula, but neither formula uniquely identifies a compound: different atom connectivities can give the same molecular formula.
From mass percent to the empirical formula
Section titled “From mass percent to the empirical formula”When a problem gives mass percentages (or masses of elements in a sample), treat the sample as a sample of so each element’s mass in grams equals its percent numerically.
That yields the empirical formula. Combustion analysis problems follow the same logic: measured masses of and produced fix the carbon and hydrogen in the original sample; any oxygen is often obtained by difference from the original sample mass if the compound contains only C, H, and O.
Example. A compound is phosphorus and oxygen by mass. A student rounds its mole ratio to . Find the correct empirical formula using atomic masses and .
A sample contains P and O, giving approximately . Multiplying both entries by two gives and . A ratio near a simple fraction should be scaled, not rounded to an unrelated integer. This establishes only the empirical formula; molar mass is needed to determine the molecular formula.
Mass spectrometry
Section titled “Mass spectrometry”Mass spectrometry separates ions by mass-to-charge ratio . A typical spectrum plots relative abundance (or detector intensity) on the vertical axis against on the horizontal axis. For an element, the pattern of peaks reveals isotope masses and their approximate natural abundances; for molecules, fragmentation patterns can support structure assignment in advanced work. An example of a mass spectrometer chart is shown below:
Example. An element has two isotopes of masses and and average mass . A student assigns the taller peak to the lighter isotope. Determine whether that assignment fits the data.
Let be the lighter isotope’s fraction. Then gives . The heavier isotope is abundant and should have the taller peak if detector response and charge are comparable. An unweighted midpoint of would assume equal abundances without evidence.
Measurements of error and efficiency
Section titled “Measurements of error and efficiency”In laboratory work, theoretical yield is the amount of product predicted from stoichiometry assuming complete conversion. Actual yield is what you isolate. Percent yield measures how much of the theoretical amount you obtained:
Percent error compares a measured value to an accepted or theoretical value:
Efficiency in an energy context is the fraction of input energy that appears as useful output:
Do not confuse percent yield (a mass or mole recovery for a reaction) with thermodynamic efficiency (an energy ratio). Use percent error when judging how far a measurement sits from a reference value.
Example. A dry product should weigh , but a student records . Determine the apparent yield and whether it proves that more product formed than stoichiometry permits.
The apparent yield is . This contradicts the assumed pure, dry product model, not conservation of mass. Retained solvent or contamination adds measured mass without adding the intended product; drying to constant mass helps distinguish these possibilities.
Molarity
Section titled “Molarity”Molarity () expresses concentration as moles of solute per liter of solution:
since volume changes with temperature, molarity is temperature-dependent. It depends on the amount of solute per volume of solution, not on the total mass of the solution by itself.
Example. A student dissolves of solute in of water and labels it . Explain what must be measured before that label is justified.
Molarity uses solution volume, not solvent volume. Dissolving the solute may change the volume, so the final solution volume must be measured. To prepare the intended concentration, dissolve in less than of water and dilute to a final volume of .
Oxidation numbers
Section titled “Oxidation numbers”An oxidation number (oxidation state) is a formal bookkeeping charge assigned to an atom in a compound or ion, as if electrons in every bond belonged entirely to the more electronegative partner. It tracks how electron density shifts relative to the element in its standard state.
Useful conventions include:
- Any element in its elemental form (e.g. , ) has oxidation number .
- A monatomic ion matches its charge (e.g. is ).
- Oxygen is usually except in peroxides such as ( for O) and in compounds with fluorine.
- Hydrogen is usually except in metal hydrides (e.g. ), where it is .
- Fluorine is in all compounds. Other halogens are unless bonded to a more electronegative element (such as oxygen).
The rule of thumb is that you always assign the most electronegative atom first in terms of oxidation states.
Example. Oxygen appears in and . Determine its oxidation number in each and explain why the usual shortcut fails.
In the peroxide, gives . In , fluorine takes , so gives . The sum must equal the species charge; assigning oxygen blindly would violate that constraint.
Quantum mechanics in chemistry
Section titled “Quantum mechanics in chemistry”Electron configuration and quantum numbers
Section titled “Electron configuration and quantum numbers”Each electron in an atom is described by four quantum numbers that arise from the wave-mechanical model.
The principal quantum number is a positive integer (). It sets the shell and is the main contributor to orbital energy for hydrogen-like atoms.
The azimuthal (or angular momentum) quantum number runs from to and labels subshell shape:
- → s orbital
- → p orbital
- → d orbital
- → f orbital
The magnetic quantum number takes integer values from to and distinguishes orientations of a subshell in space (e.g. and )
The spin quantum number is or for the two spin states of a single electron.
The Pauli exclusion principle states that no two electrons in the same atom may share the same set of four quantum numbers, so at most two electrons occupy any one atomic orbital, and they must have opposite spin.
The Aufbau principle directs you to fill orbitals in order of increasing energy. The familiar , , crossing is why the periodic table has its shape. Exceptions (e.g. chromium , copper , and several heavier transition metals) reflect especially stable or arrangements; those same stability patterns contribute to variable metal oxidation states in compounds.
Hund’s rule favors placing electrons singly in degenerate orbitals of a subshell before pairing, with parallel spins where possible, to reduce electron–electron repulsion.
Heisenberg’s uncertainty principle limits how sharply position and momentum can be known simultaneously for a quantum particle: a conceptual foundation for why we speak in terms of orbitals (probability distributions) rather than classical orbits. It states that:
This means that the uncertainty in position and momentum are always above some constant, implying that both cannot be known at a time. This is why we have electron clouds instead of set orbits.
Abbreviated configurations use the previous noble gas core in brackets, e.g.
Two species are isoelectronic if they have the same electron configuration (e.g. and ). Among isoelectronic ions, ionic radius decreases as nuclear charge increases because the same electron count is pulled closer by more protons (e.g. is smaller than ).
Example. A student writes for chromium and removes a electron first to form its cation. Correct both choices.
Ground-state chromium is . Subshell energies are close enough that the simple filling order does not predict this ground state correctly. Ionization removes the electron first, giving . The order used to introduce orbital filling is not a rule that the last written subshell always loses electrons first.
Energy, light, and quantization
Section titled “Energy, light, and quantization”For electromagnetic radiation (for AP Chemistry this is just light), wavelength (distance between waves) and frequency (or (how many waves appear in a second) are related by
where is the speed of light in vacuum. Frequency is measured in hertz (, or ), and wavelength is usually given in , which requires conversions to to work.
Physicist Max Planck related photon energy to frequency through Planck’s constant:
with Planck’s constant . Essentially, Max Planck discovered that energy came in packets called quanta. which explains atomic spectra and line colors in flame tests and discharge tubes: each transition corresponds to a specific and therefore a characteristic photon energy. The release of light is caused by an electron moving to a lower energy state, which the absorbance of light is caused by an electron moving to a higher energy state.
Physicist Louis de Broglie associated a wavelength with any particle of momentum :
for nonrelativistic speeds, demonstrating that any object has an intristic wavelength. However, at only quantum levels is this wavelength significant.
Example. An atom has levels at , , and . Can a ground-state atom absorb a photon? Could an excited atom emit one?
Not from the ground state in this three-level model: neither available gap is . An atom in the highest level can emit that energy by dropping to the middle level. The photon must match the difference between the actual initial and final levels, not merely an energy difference somewhere in the diagram.
Photoelectric effect and photoelectron spectroscopy
Section titled “Photoelectric effect and photoelectron spectroscopy”In the photoelectric effect, photons eject electrons from a metal surface only when the photon energy exceeds a threshold set by the material’s work function . Increasing frequency increases the maximum kinetic energy of emitted electrons according to
but for all purposes, memorizing this equation is not necessary for the AP Chemistry exam. It’s just important to know that increasing intensity at fixed frequency increases the number of ejected electrons, not their maximum kinetic energy.
Photoelectron spectroscopy (PES) measures how much energy must be supplied to remove electrons from subshells in atoms or molecules. Peaks appear at binding energies characteristic of each orbital type; relative peak areas (after accounting for ionization cross sections) reflect electron counts in those subshells. An example problem is shown below, feel free to try it out!
Read the binding-energy axis before interpreting a PES peak shift. Lower binding energy means easier electron removal; whether that is left or right depends on the axis direction. Nuclear charge, shielding, and the occupied subshell all affect binding energy.
Example. A metal ejects electrons under light of frequency . The intensity is doubled at the same frequency. Predict the changes in maximum electron kinetic energy and electron emission rate, assuming ordinary single-photon photoemission.
Each photon still has energy , so is unchanged. Higher intensity supplies more photons per second and can eject more electrons per second. It does not combine two photons into one more energetic photon in this model.
Electromagnetic spectrum
Section titled “Electromagnetic spectrum”The electromagnetic spectrum orders all electromagnetic radiation by photon energy (equivalently frequency or wavelength). Visible light spans roughly
a narrow window between ultraviolet and infrared. Moving toward shorter wavelength corresponds to higher photon energy (gamma rays and X-rays at the extreme) and longer wavelength to lower energy (microwave, radio).
// put em.jpg here (the thing in assets)
Example. Two monochromatic beams deliver the same energy per second, one at and one at . Compare their photon arrival rates.
The photons each carry twice the energy because . At equal power, the beam therefore delivers twice as many photons per second. Equal beam power does not imply equal photon energy or equal photon count.
Orbitals, nodes, shielding, and penetration
Section titled “Orbitals, nodes, shielding, and penetration”An atomic orbital is a three-dimensional region where the probability of finding an electron exceeds some threshold. The total number of nodes for an orbital is , with angular nodes (planar/conical surfaces), and the rest being spherical nodes (spherical surfaces).
A node is a surface where the orbital wavefunction is zero, so its probability density is zero there. In the hydrogen-like orbital model, nodes come in two types:
- Radial nodes are spherical surfaces centered on the nucleus. They separate inner and outer regions of the orbital and number .
- Angular nodes occur in particular directions and number . For a real orbital the angular node is the xy plane; d orbitals can have planar or conical nodal surfaces.
Thus a orbital has one radial node and no angular nodes, while a orbital has no radial nodes and one angular node. Both have one total node but different shapes. The positive and negative regions in orbital drawings indicate wavefunction sign, not positive and negative electric charge. The electron does not follow a classical path that has to cross a nodal surface. See OpenStax’s orbital discussion.
Diagram placeholder: Compare a cross-section of a orbital with its spherical radial node and a orbital with its xy nodal plane. Label wavefunction signs separately from probability density.
For a given in many-electron atoms, subshell energies usually follow
because s orbitals penetrate closer to the nucleus and experience less shielding from inner electrons than p, d, or f orbitals at comparable .
Shielding (screening) means inner and same-shell electrons reduce the full nuclear charge felt by an electron of interest. More effective shielding lowers effective nuclear charge and stabilizes outer electrons less. Penetration explains why an electron can be more tightly bound than an electron despite the larger in the label, leading to the aufbau order you use when writing configurations.
Effective nuclear charge
Section titled “Effective nuclear charge”Effective nuclear charge is the net positive charge experienced by an electron in a many-electron atom after shielding. A simple textbook form is
where is a shielding constant summarizing electron–electron repulsion. Slater’s rules and more advanced models give numerical estimates; qualitatively, grows as you add inner shells, so going down a group increases shielding even though increases. On the AP exam, this equation will not be tested in full but it is good to know that shielding decreases effective nuclear charge.
Penetration order among subshell types at comparable is often summarized as
meaning s electrons “see” more of the nucleus and are stabilized relative to p, d, and f in the same shell.
Example. Sodium and magnesium both lose a electron in their first ionization. Why does magnesium generally require more energy even though its additional electron also adds repulsion?
Magnesium has one more proton, while both atoms have the same neon-like core. The extra valence electron does not fully shield the extra nuclear charge, so magnesium’s electrons experience stronger net attraction and a more contracted distribution. Repulsion matters, but it does not cancel the nuclear-charge increase. Counting electrons without considering their shielding effectiveness misses the trend.
Periodic trends
Section titled “Periodic trends”Ionization energy is the energy required to remove an electron from a gaseous atom or ion (first, second, … ionization energies for successive removals). Electron affinity is the energy change when an electron is added; more exothermic addition corresponds to a more favorable affinity in the usual sign convention.
Atomic radius gauges the size of the electron cloud (often defined by metallic or covalent radii in different contexts). Metallic character is the tendency to lose electrons and behave as a metal (cations); nonmetallic character is the tendency to gain or share electrons with nonmetals (anions).
Broad patterns: atomic radius increases down a group (new shells, more shielding) and decreases across a period (rising ). Ionization energy and electron affinity (for representative elements) generally show opposite horizontal trends to radius. Metallic character decreases across a period and increases down a group. Exceptions, such as the ionization energy dip at boron or the electron affinity anomaly for nitrogen, appear when subshell structure or pairing changes the cost of removing or adding an electron.
// put periodictriends.png here (the thing in assets)
Example. Magnesium has a higher first ionization energy than aluminum even though aluminum is farther right. Explain this exception using their valence configurations.
Magnesium loses a electron from ; aluminum loses a electron from . The aluminum electron is higher in energy and less penetrating than a electron. That subshell change outweighs the increase in nuclear charge for this comparison.
Electrostatics and Coulomb’s law
Section titled “Electrostatics and Coulomb’s law”Electrostatics describes forces and potential energies between charges at rest. The Coulomb force between two point charges is
where is their separation, and carry signs, and . Like charges repel; opposite charges attract.
The electric potential energy of the pair is
These expressions reappear when you interpret lattice energy, bond formation, and ionic attraction in Unit 2.
Example. Two opposite point charges are moved from separation to . Compare the attraction magnitude and potential energy, taking zero potential energy at infinite separation.
The force magnitude becomes one-fourth as large, while becomes half its original negative value. Thus potential energy increases toward zero even though its magnitude decreases. Separating the charges requires positive work against the attraction.
Practice
Section titled “Practice”-
A neutral atom has successive ionization energies . Which inference best fits a main-group atom?
(A) One valence electron
(B) Two valence electrons
(C) Three valence electrons
(D) Four valence electrons
The large jump occurs after three electrons have been removed. Removing the fourth disrupts a core shell. The jump’s location, rather than the largest listed energy alone, identifies three valence electrons.
-
Two ions each contain 10 electrons. Ion X has 12 protons and ion Y has 9. Which comparison is justified?
(A) X is larger because it is more positive
(B) X is smaller because its nuclear attraction is stronger
(C) Y is smaller because it has fewer protons
(D) Their radii are equal because their electron counts match
X is magnesium(II) and Y is fluoride. With the same occupied shells and electron count, X’s larger nuclear charge contracts its electron cloud more strongly. Equal electron configurations do not guarantee equal radii.
-
Equal-energy pulses at and strike a detector. What is the ratio of photon counts ?
(A)
(B)
(C)
(D)
Photon energy is inversely proportional to wavelength. The 600 nm photons each have half the energy, so twice as many are required to carry the same total pulse energy: .
-
An element contains isotopes of masses and . Its measured average is . Which is the heavier isotope’s abundance?
(A)
(B)
(C)
(D)
Let f be the heavier fraction. Then , so and . Assigning 80% to the heavier isotope would give 25.6 u instead.
-
A compound is C, H, and O by mass, with molar mass about . Which molecular formula fits? Use atomic masses 12, 1, and 16.
(A)
(B)
(C)
(D)
A 100 g sample gives about 3.33 mol C, 6.7 mol H, and 3.33 mol O: ratio 1:2:1. The empirical mass is 30 g/mol, so the molecular formula is six times CH2O. Mass percent determines the ratio; molar mass determines the multiplier.
-
PES peaks for a neutral atom correspond to electron counts from most tightly bound to least tightly bound subshells. Which removal produces its first cation?
(A) Removal from 1s because it is closest to the nucleus
(B) Removal from 3p because it has the lowest binding energy
(C) Removal from 2p because it contains the most electrons
(D) Removal from 3s because s orbitals always ionize first
The counts give . The first electron removed is from the least tightly bound occupied subshell, 3p. Peak area tells electron count, whereas binding energy tells removal cost.
-
A sample of chlorine contains atoms and atoms.
Calculate the average atomic mass of chlorine.
Explain why the average atomic mass is closer to than to .
A PES spectrum for chlorine shows peaks from core electrons and valence electrons. Explain why core-electron peaks appear at higher binding energy than valence-electron peaks.
Original extension. A different chlorine sample has an average mass of approximately . Using isotope masses of and , determine its percent chlorine-37 and explain whether its electron configuration differs from that of the first sample.
Use a weighted average:
The percentages must be written as decimals because each isotope contributes only its fractional abundance to the average.
The average atomic mass is
The average is closer to because the isotope is much more abundant than . In a weighted average, the more abundant isotope pulls the average closer to its mass. Since about three-fourths of the atoms are , the average should sit much nearer than , which matches the calculated value.
Core electrons are closer to the nucleus and experience a larger effective nuclear attraction than valence electrons. They are also less shielded by other electrons. Because the attraction between the nucleus and a core electron is stronger, more energy is required to remove a core electron from the atom. Therefore, core-electron peaks appear at higher binding energy on a PES spectrum than valence-electron peaks.
Let be the fraction of chlorine-37. Then , so , or . The samples have different neutron distributions, not different atomic numbers. Neutral atoms of both isotopes therefore have the same ground-state electron configuration; a change in average mass does not imply a change in valence electrons.
-
Sterling silver contains silver and copper. In a released AP Chemistry question, students compared atomic radii using Coulomb’s law. (Adapted from College Board, 2024 AP Chemistry FRQ 3.)
Identify which atom has the larger atomic radius: or .
Use shell structure and Coulomb’s law to justify your answer.
Explain why comparing only nuclear charge is not enough to predict the radius in this case.
Original extension. Compare the radii of and . State their ground-state electron configurations and explain why nuclear charge alone cannot explain their difference.
has the larger atomic radius.
Silver’s valence electrons occupy a higher principal energy level than copper’s valence electrons. Copper is in period 4, while silver is in period 5, so the outer electrons in silver are farther from the nucleus. By Coulomb’s law, attraction decreases as distance increases:
Silver also has more inner electrons, which increases shielding. The greater distance and shielding make the attraction between the nucleus and valence electrons weaker, so the atomic radius is larger.
Silver has more protons than copper, which by itself would increase attraction. But the valence electrons in silver are also farther from the nucleus and more shielded. Radius depends on the balance of nuclear charge, shielding, and distance, not nuclear charge alone. On the AP exam, a complete explanation should explicitly compare both the attractive force from the nucleus and the distance/shielding effect.
The configurations are and , respectively; the electrons are removed before electrons. Both ions have protons, so nuclear charge is unchanged. Removing another electron reduces electron-electron repulsion and allows the remaining electron cloud to contract. Thus is smaller. These ions are not isoelectronic, so an isoelectronic-series argument would not apply.