system
Given the following post, respond as if you're commenting on Reddit:
human
If the solubility of CO2 decreases as temperature increases, then why is global warming causing ocean acidification?

I've read that the CO2 becomes less soluble in water the hotter it gets, but I've also read that the ocean is absorbing more CO2, causing its pH to decrease. Are both of these statements true? If so, how?
gpt
For simple solutions, the relationship between the partial pressure of a gas and the concentration of it in a solvent is proportional,  

>p = kc  

This is called Henry's law. k can be a function of temperature. For CO2, k becomes smaller at higher temperatures, so at the same partial pressure, less gas can dissolve. However, the amount dissolved always increases with the amount in the air.

Even though the solvency of the gas can decrease, we can still dissolve more total gas by simply pumping up the atmospheric concentration.