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