AP Chemistry · Unit 8: Acids and Bases

8.11 pH and Solubility

Essential Question

How can pH change how much a salt dissolves?

By the end of this lesson, you should be able to predict which slightly soluble salts become more soluble in acid and explain why using Le Châtelier’s principle. This lesson combines solubility equilibria and the common ion effect from Unit 7 with what you know about acids and bases.

Video not loading? Watch it on YouTube.

Solubility Equilibrium Review

  • Saturated: excess undissolved solid remains
  • The dissolving rate equals the precipitating rate
  • Le Châtelier’s principle still applies
A beaker labeled saturated Mg(OH)2. A gray layer of solid Mg(OH)2 sits on the bottom, with two Mg2+ ions and four OH- ions dissolved in the water above it.

Mg(OH)2(s) ⇌ Mg2+(aq) + 2OH−(aq)

Magnesium hydroxide is only slightly soluble, so most of it sits on the bottom of the beaker as a white solid. When undissolved solid is left over, the solution is saturated. This is a dynamic equilibrium: solid is still dissolving, and ions are still coming back together to form solid, at the same rate, so the amount of solid stays the same. Because it is an equilibrium, Le Châtelier’s principle applies. Removing a product shifts the system right so more solid dissolves, and adding a product shifts it left so less dissolves. Notice that one of the products is hydroxide, a base. That is where pH comes in.

Adding Acid to a Hydroxide

  • H3O+ + OH− → 2H2O
  • Fewer OH− ions, so the equilibrium shifts right
  • More Mg(OH)2 dissolves
Two beakers of saturated Mg(OH)2 with an arrow labeled plus H3O+ between them. Before: a thick layer of solid and a mix of Mg2+ and OH- ions. After: a thin layer of solid, more Mg2+ ions, and fewer OH- ions.

Adding an acid such as nitric acid supplies H3O+ ions, which react with OH− to make water. That is just neutralization. Adding acid therefore removes hydroxide, one of the products of the dissolving equilibrium. By Le Châtelier’s principle, when a product is removed, the equilibrium shifts right to replace it. Compare the two beakers: after the acid is added, there is less solid on the bottom and more Mg2+ in solution. So Mg(OH)2 is more soluble in acid than in pure water. On the AP exam, always name the ion that gets used up, then say which way the equilibrium shifts.

Anions from Weak Acids

  • These anions are weak bases
  • H3O+ turns them into weak acids
  • Their salts dissolve more in acid
Four blue cards: F- from HF, CO3 2- from HCO3-, PO4 3- from HPO4 2-, and CH3COO- from CH3COOH.

CaF2(s) ⇌ Ca2+(aq) + 2F−(aq)
F−(aq) + H3O+(aq) → HF(aq) + H2O(l)

Hydroxide is not the only ion that reacts with acid. Any anion that comes from a weak acid is a weak base: fluoride comes from HF, carbonate from bicarbonate, phosphate from hydrogen phosphate, and acetate from acetic acid. Since the conjugate base of a weak acid is a weak base, these anions will grab a proton from H3O+. For calcium fluoride, added H3O+ reacts with F− to make HF and water. That removes fluoride, a product of the dissolving equilibrium, so the equilibrium shifts right and more CaF2 dissolves. Salts like CaF2, CaCO3, and Ca3(PO4)2 are all more soluble in acidic solution than in pure water. The key question is always: is the anion basic?

Anions from Strong Acids

  • These anions are not bases
  • H3O+ has nothing to react with
  • pH has little effect on solubility
Four pink cards: Cl- from HCl, Br- from HBr, I- from HI, and NO3- from HNO3.

AgCl(s) ⇌ Ag+(aq) + Cl−(aq)
Cl− + H3O+: no reaction, no shift

Chloride, bromide, iodide, and nitrate come from the strong acids HCl, HBr, HI, and HNO3. Their conjugate bases are so weak that they do not act as bases in water at all. If nitric acid is added to silver chloride, the H3O+ ions have nothing to react with: Cl− will not take a proton, and Ag+ does not react with H3O+ either. Nothing gets removed, so the equilibrium does not shift, and the solubility of AgCl is basically the same in acid as in pure water. AP tip: be careful about which acid is added. Adding HCl to AgCl adds Cl−, a common ion, which lowers solubility. That is a common ion effect, not a pH effect.

Adding Base

  • Adding OH− adds a common ion
  • The equilibrium shifts left
  • Less Mg(OH)2 dissolves
Two beakers of saturated Mg(OH)2 with an arrow labeled plus OH- between them. Before: a thin layer of solid with Mg2+ and OH- ions. After: a thicker layer of solid, more OH- ions, and only one Mg2+ ion.

Now go the other way and add a base, like sodium hydroxide, to saturated Mg(OH)2. NaOH adds OH− ions, and hydroxide is already a product of the dissolving equilibrium, so it is a common ion. By Le Châtelier’s principle, adding a product pushes the equilibrium to the left: Mg2+ and OH− combine to form more solid. After adding base, there is more solid on the bottom and fewer Mg2+ ions in solution. The Na+ ions are spectators, so they are not drawn. Hydroxide salts are less soluble at high pH and more soluble at low pH, so pH works both ways for these salts.

Quick Rule

  • Ask: is the anion OH− or the conjugate base of a weak acid?
  • Yes: the salt is more soluble in acid, for example Mg(OH)2, CaF2, Ag2CO3
  • No: pH has little effect, for example AgCl, AgI, PbCl2
Flowchart. Top box asks: Is the anion OH- or the conjugate base of a weak acid? Yes leads to a green box, more soluble in acid, with examples Mg(OH)2, CaF2, Ag2CO3. No leads to a pink box, pH has little effect, with examples AgCl, AgI, PbCl2.

When a slightly soluble salt is in a solution whose pH changes, ask one question: is the anion hydroxide, or the conjugate base of a weak acid? If yes, the anion is basic. Acid reacts with it and removes it, so the equilibrium shifts right and the salt is more soluble in acid. If no, the anion comes from a strong acid and is not basic. Acid has nothing to react with, so pH has little effect. AP tip: the CED also says a salt can be pH sensitive if one of its ions is a weak acid, but for this topic the basic anion is the case you will see most.

Real World: Tooth Enamel

  • Enamel is mostly hydroxyapatite, Ca5(PO4)3OH
  • It contains the basic anions OH− and PO43−
  • Acidic drinks dissolve enamel
A tooth drawing with a light blue enamel layer on its crown, labeled enamel. Three H3O+ ions sit just above the tooth.

Ca5(PO4)3OH(s) ⇌ 5Ca2+(aq) + 3PO43−(aq) + OH−(aq)

Tooth enamel is mostly a mineral called hydroxyapatite. It is a slightly soluble salt with its own solubility equilibrium. Both of its anions are basic: hydroxide is a base, and phosphate is the conjugate base of a weak acid, so hydroxyapatite is a yes on the quick rule. Soda, juice, and sports drinks often have a pH around 3. Their H3O+ ions remove OH− and PO43− from the enamel surface, the equilibrium shifts right, and a little enamel dissolves. Repeat that many times a day and the enamel wears away. Fluoride toothpaste swaps some OH− for F−. Fluoride is a weaker base than hydroxide, so the new mineral holds up better in acid.

Real World: Limestone

  • Limestone and marble are CaCO3
  • Acid rain removes CO32−
  • The stone slowly dissolves
Blue drops labeled acid rain falling onto a gray block labeled CaCO3 statue.

CaCO3(s) ⇌ Ca2+(aq) + CO32−(aq)
CO32−(aq) + 2H3O+(aq) → CO2(g) + 3H2O(l)

Limestone and marble are both made of calcium carbonate, and many old buildings and statues are carved from them. Carbonate is the conjugate base of a weak acid, so CaCO3 is a yes on the quick rule. Normal rain has a pH of about 5.6. Rain polluted with sulfur and nitrogen oxides, called acid rain, is more acidic than that. H3O+ reacts with carbonate to make carbon dioxide gas and water. The gas escapes, so carbonate keeps getting removed and the equilibrium keeps shifting right. Over many years, statue faces get worn smooth and carved details disappear. It is the same idea as tooth enamel, just on a bigger scale.

↑ Back to top


Worked Examples

Try each problem on your own first, then open the solution to check your work.

Example 1: AgBr vs. Ag3PO4

Solid AgBr and solid Ag3PO4 are each added to water, and then HNO3 is added. Which salt’s solubility increases? Justify your answer.

Show the solution
  1. Equation: Write each dissolving equilibrium to see the anions: AgBr(s) ⇌ Ag+(aq) + Br−(aq) and Ag3PO4(s) ⇌ 3Ag+(aq) + PO43−(aq).
  2. Known: Br− comes from HBr, a strong acid, so it is not a base. PO43− comes from HPO42−, a weak acid, so it is a base.
  3. Equation: PO43− + H3O+ → HPO42− + H2O, so [PO43−] decreases and the Ag3PO4 equilibrium shifts right. NO3− is a spectator, so HNO3 adds no common ion.
  4. Claim: The solubility of Ag3PO4 increases; AgBr is essentially unchanged.
  5. Evidence: PO43− is the conjugate base of a weak acid, while Br− is the conjugate base of the strong acid HBr.
  6. Reasoning: H3O+ from HNO3 reacts with PO43−, lowering its concentration, so the dissolution equilibrium shifts right. Br− does not react with H3O+, so the AgBr equilibrium does not shift.
  7. Answer: Ag3PO4 becomes more soluble; AgBr is essentially unchanged.

Common trap: do not compare Ksp values here. The question is about how pH changes solubility, not which salt is more soluble in water.

Example 2: Acid and Zn(OH)2

A few drops of HNO3 are added to a saturated solution of Zn(OH)2 with excess solid. Predict the effect on the amount of solid and on [Zn2+]. Justify.

Show the solution
  1. Equation: Zn(OH)2(s) ⇌ Zn2+(aq) + 2OH−(aq). The anion is hydroxide, a base, so this salt is pH sensitive.
  2. Known: HNO3 is a strong acid that supplies H3O+: H3O+ + OH− → 2H2O, so [OH−] decreases.
  3. Check: With less OH−, Q < Ksp, so the equilibrium shifts right to make more products.
  4. Claim: The amount of solid Zn(OH)2 decreases and [Zn2+] increases.
  5. Evidence: H3O+ from HNO3 reacts with OH− to form water, decreasing [OH−].
  6. Reasoning: Removing OH−, a product, shifts the equilibrium Zn(OH)2(s) ⇌ Zn2+ + 2OH− to the right, so some solid dissolves and [Zn2+] increases.
  7. Answer: Solid Zn(OH)2 decreases; [Zn2+] increases.

Common trap: saying the solid decreases without explaining why. Always name the ion that is removed.

Example 3: Base and Fe(OH)3

Solid NaOH is added to a saturated solution of Fe(OH)3 with excess solid. Predict the effect on the solubility of Fe(OH)3. Justify.

Show the solution
  1. Equation: Fe(OH)3(s) ⇌ Fe3+(aq) + 3OH−(aq)
  2. Known: NaOH is a soluble strong base: NaOH(s) → Na+(aq) + OH−(aq), so [OH−] increases. OH− is a common ion, and Na+ is a spectator.
  3. Check: More OH− makes Q > Ksp, so the equilibrium shifts left and Fe3+ combines with OH− to form more solid.
  4. Claim: The solubility of Fe(OH)3 decreases.
  5. Evidence: NaOH adds OH−, a common ion, which increases [OH−].
  6. Reasoning: Adding a product shifts the equilibrium Fe(OH)3(s) ⇌ Fe3+ + 3OH− to the left, so less Fe(OH)3 dissolves.
  7. Answer: The solubility of Fe(OH)3 decreases.

Common trap: Ksp does not change. Only temperature changes Ksp. The solubility changes because the position of the equilibrium changes.

Example 4: Two Test Tubes

Tube A holds excess solid BaCO3 in water. Tube B holds excess solid PbI2 in water. Dilute HNO3 is added to each tube. Predict what you observe in each tube. Justify.

Show the solution
  1. Equation: A: BaCO3(s) ⇌ Ba2+(aq) + CO32−(aq). B: PbI2(s) ⇌ Pb2+(aq) + 2I−(aq).
  2. Known: CO32− is the conjugate base of a weak acid, so it is basic. I− is the conjugate base of the strong acid HI, so it is not basic.
  3. Equation: Tube A: CO32− + 2H3O+ → CO2(g) + 3H2O, so the equilibrium shifts right. Ba(NO3)2 is soluble, so nothing new precipitates, and the CO2 escapes as bubbles.
  4. Claim: Tube A: bubbles form and the white solid dissolves. Tube B: little or no change, and the yellow solid remains.
  5. Evidence: In tube A, H3O+ reacts with CO32− to form CO2 gas (fizzing). In tube B, I− does not react with H3O+.
  6. Reasoning: Removing CO32− shifts the BaCO3 equilibrium right, so the solid dissolves. Nothing is removed in tube B, so the PbI2 equilibrium does not shift.
  7. Answer: A: bubbles form and the white solid dissolves. B: little or no change, yellow PbI2 remains.

Common trap: an observation question wants what you would see, like bubbles and a disappearing solid, not just “it shifts right.”

↑ Back to top


Practice

Practice with instant feedback

Answer original AP-style questions for Unit 8 and see an explanation right after each one. Choose Topic 8.11 or mix topics. No login needed.

↑ Back to top


Lesson Slides

↑ Back to top


Big Ideas

  • Acid removes basic anions (OH−, F−, CO32−, PO43−), so those salts are more soluble in acid. Examples: Mg(OH)2, CaF2, Ag2CO3.
  • Anions from strong acids (Cl−, Br−, I−, NO3−) are not basic, so pH has little effect. Examples: AgCl, AgI, PbCl2.
  • Added OH− is a common ion for hydroxide salts, so hydroxides dissolve less in base.
  • Ksp stays the same at constant temperature; pH changes the solubility by shifting the position of the equilibrium.

Exam tip: In a justification, always name the ion that is removed or added, state the reaction that removes it, and then say which way the equilibrium shifts. Also check which acid is added: HCl added to a chloride salt is a common ion effect, not a pH effect.

Back to the essential question: Changing the pH adds or removes ions that are part of the solubility equilibrium, and Le Châtelier’s principle tells us which way it shifts. Acid dissolves salts with basic anions, while base makes hydroxide salts less soluble. That’s the end of Unit 8! Next up, Unit 9 explores what makes a reaction thermodynamically favored, using entropy and Gibbs free energy, and how chemical reactions can make electricity.

↑ Back to top


AP Alignment

This lesson covers Topic 8.11, pH and Solubility, in Unit 8 (Acids and Bases) of the College Board AP Chemistry Course and Exam Description (CED). Learning objective:

  • 8.11.A: Identify the qualitative effect of changes in pH on the solubility of a salt.

Essential knowledge: 8.11.A.1

Suggested skill: 2.D Question and Method. Make observations or collect data from representations of laboratory setups or results, while attending to precision where appropriate.

↑ Back to top