I learned that a pronoun should take an ending in accordance with its gender, case, numerus, etc. whenever it refers to some noun in particular - 'Das Auto ist meins' for example. So in the following ...
If I want to say: “He is their son”, which is correct: Er ist ihr Sohn. Er ist deren Sohn. What is the difference (if any) between ihr and deren in the meaning of their?