add math derivation