Sunday, May 17, 2015

Mathematica: Derivatives involving absolute values

Use ComplexExpand. e.g. D[ComplexExpand@Abs[x-1],x]

Source: http://mathematica.stackexchange.com/questions/47100/derivative-of-the-absolute-value-function-in-mathematica-looks-very-different-fr

No comments:

Post a Comment