I am stuck on a homework problem that involves using/taking partial derivatives with respect to x. [This is a sample problem][1]
$$ \frac{d}{dx}e^{-\large\frac{(x-y)^2}{2z^2}}$$
I really need help approaching this problem as I dont think im doing this correctly. Here is my approach:
- Use Quotient rule on the numerator of the e-power
- Treat the denominator as a constant and move it out of the derivation
- solving for the derivative of the result from the quotient rule
But I went to two tutors and they gave me 2 different answers.
- You can treat the denominator as 0
- You can distribute the numerator using the quotient rule and then move the denominator out.
I went with the 2nd answer
To compute the derivative you stated just treat the variables $y, z$ as constants and differentiate $f(x,y,z) = e^{-\frac{(x - y)^2}{2z^2}}$ with respect to $x$:
$$ \partial_xf(x,y,z) = -e^{-\frac{(x - y)^2}{2z^2}}\frac{(x - y)}{z^2} $$