Which is the origin of the "economic" approach to production?
The book from Alfred Marshall you are talking about is "Principles of Economics"

Principles of Economics PDF

As much I know the idea for Economic Surplus (Consumer Surplus and Producer Surplus) originated from Alfred Marshall, he is considered the person who "put" mathematics in the Economics theory.