https://gaviki.com/blog/a-sum-or-difference-of-two-functions/