Taking the derivative of e with a strange exponent

40 Views Asked by At

enter image description here

I know that the term before the e is a constant, and so the derivative of this whole thing is going to be the whole thing multiplied by the derivative of the exponent.

The trouble I am having is with the derivative of the exponent.

I think it is

$\frac{-2(x-mu)*2σ^2}{4σ^4}$

Am I right here? And then the overall derivative would just be the original function multiplied by that expression above?