The first thing to notice when finding the derivative of this function is that it is a composition of two functions, as shown below:
| g(y) | = | ln( |
| where | |
= | ey - ye |
The Chain Rule (Derivative Rule for Compositions):
If
|
Or, if
|
|||||||||||||||||||||||||||||||||
So our example,
| g(y) | = | ln( |
| where | |
= | ey - ye |
| g(y) | = | f( |
, where | |
= | g(y) | = | ey - ye |
| g '(y) | = ( | f( |
)' | |
| = | f '( |
( |
||
| = | ( ln( |
( ey - ye )' | ||
| ( ln( |
= | ( |
(by the derivative rules for basic functions) |
| ( ey - ye )' | = | ( ey - e*ye-1 ) | (by the derivative rule for sums, derivative rules for basic functions, and the power rule) |
| g '(y) | = | ( |
( ey - e*ye-1 ) |
| = | (ey - ye)-1 | ( ey - e*ye-1 ) | |
| = | (ey - ye)-1 (ey - e*ye-1) | ||