The first thing to notice when finding the derivative of this function is that it is a composition of two functions, as shown below:
| W | = | ln( |
| where | |
= | 3*z4 - 3 |
The Chain Rule (Derivative Rule for Compositions):
If
|
Or, if
|
|||||||||||||||||||||||||||||||||
So our example,
| W | = | ln( |
| where | |
= | 3*z4 - 3 |
| W | = | f( |
, where | |
= | g(z) | = | 3*z4 - 3 |
| W ' | = ( | f( |
)' | |
| = | f '( |
( |
||
| = | ( ln( |
( 3*z4 - 3 )' | ||
| ( ln( |
= | ( |
(by the derivative rules for basic functions) |
| ( 3*z4 - 3 )' | = | ( 3*4*z3 - 0 ) | (by the derivative rule for sums, rule for constant multiples, and the derivative rule for constants) |
| W ' | = | ( |
( 3*4*z3 - 0 ) |
| = | (3*z4 - 3)-1 | ( 3*4*z3 - 0 ) | |
| = | 12*z3 (3*z4 - 3)-1 | ||