"Add up" is saying. For something to "add up" means something makes sense. If something does not "add up" it means it doesn't make sense. In math, addition, or to add up numbers, means to put together two or more numbers to get their total value. The joke is in the phrase "add up" and its different meanings.
His qualifications as a math teacher didn ' t add up .