The German philosopher Schopenhauer asked the question, "How can we determine whether a man is happy or unhappy?" He defined true happiness as the complete satisfaction of all desires.
You could say that the happiness of a person can be described mathematically as:
Number of desires fulfilledHappiness...