Calculus Examples

Find the Derivative Using Chain Rule - d/dy J_j(theta)=-y^(j) log of sigma(x^(j)*theta)-(1-y^(j)) log of 1-sigma(x^(j)*theta)
Step 1
This derivative could not be completed using the chain rule. Mathway will use another method.
Step 2
Differentiate using the Sum Rule.
Tap for more steps...
Step 2.1
Remove parentheses.
Step 2.2
Reorder factors in .
Step 2.3
By the Sum Rule, the derivative of with respect to is .
Step 3
Evaluate .
Tap for more steps...
Step 3.1
Since is constant with respect to , the derivative of with respect to is .
Step 3.2
Differentiate using the Power Rule which states that is where .
Step 4
Evaluate .
Tap for more steps...
Step 4.1
Since is constant with respect to , the derivative of with respect to is .
Step 4.2
By the Sum Rule, the derivative of with respect to is .
Step 4.3
Since is constant with respect to , the derivative of with respect to is .
Step 4.4
Since is constant with respect to , the derivative of with respect to is .
Step 4.5
Differentiate using the Power Rule which states that is where .
Step 4.6
Subtract from .
Step 4.7
Multiply by .
Step 4.8
Multiply by .
Step 5
Simplify.
Tap for more steps...
Step 5.1
Reorder terms.
Step 5.2
Reorder factors in .