There is a nice essay on the mathematical notebooks here: "The Dialectics of Differentiation: Marx's Mathematical Manuscripts and Their Relation to His Economics" http://ideas.repec.org/p/mdl/mdlpap/0203.html