-y*log(y)
(-y)*log(y)
Apply the product rule:
; to find :
The derivative of a constant times a function is the constant times the derivative of the function.
Apply the power rule: goes to
So, the result is:
The derivative of is .
The result is:
The answer is:
-1 - log(y)
-1 --- y
1 -- 2 y