Computing Derivatives
Topics
Introduction to Computing Derivatives - At A Glance:
We stated the chain rule first in Lagrange notation. Since Leibniz notation lets us be a little more precise about what we're differentiating and what we're differentiating with respect to, we need to also be comfortable with the chain rule in Leibniz notation.
Suppose y is a function of x:
y = { g(x)}
and z is a function of y:
z = f(y)
Then z is a function of x:
z = f(y) = f({ g(x)})
Once again, we have an outside function and an inside function. The chain rule in Lagrange notation states that
(f(g(x))' = f'(g(x)) × g'(x).
In Leibniz notation, we would say
Since
- and (f(g(x))' both mean "the derivative of z with respect to x,"
- and f'({ g(x)}) = f'(y) both mean "the derivative of z with respect to y," and
- and g'(x) both mean "the derivative of y with respect to x,"
the two statements of the chain rule do mean the same thing:
We can remember the chain rule in Leibniz notation because it looks like a nice fraction equation where the dy terms cancel:
This may or may not be what's actually going on, but it works for our purposes and it's a great memory aid.
There are three steps to apply the chain rule in this form:
- determine what y is (this is the same step as determining the inside and outside functions)
- apply the chain rule formula
- put everything in terms of the correct variable (for example, writing y in terms of x)
The chain rule will be especially useful when we discuss related rates, where there will be problems with three different variables that all depend on each other in funny ways.
We can also use the chain rule with different letters, as long as we put the letters in the correct places. If we have
y = g(x) and z = f(y) = f({ g(x)}), the chain rule says
The { inside function} is the one that "cancels out':
The innermost variable, x, goes only in denominators:
and the outermost variable, y, goes only in numerators:
If we switch the letters, we need to make sure they go in the appropriate places.
The important thing is that the inside function needs to be the term that cancels out:
Now that we know how to write the chain rule with different letters, we can use it to find derivatives.
Example 1
Let z = (3x + 5)^{4}. Find . |
Example 2
Let z = cos(sin x). Find the derivative of z with respect to x. |
Example 3
If we have q = f(r) and r = g(i), what does the chain rule say? |
Example 4
Let u = 5z + z^{2} and let y = ln u. Find |
Example 5
Let q = sin(6s + s^{-1}). Find . |
Exercise 1
- z = ln(x^{5} + 4x^{2})
Exercise 2
- z = (sin x + cos x)^{7}
Exercise 3
Exercise 4
- z = e^{{12x + 4}}
Exercise 5
Exercise 6
For the pair of functions, determine what the chain rule says.
- Let p = f(s) and s = g(z).
Exercise 7
For the pair of functions, determine what the chain rule says.
- Let r = g(t) and q = f(r).
Exercise 8
For the pair of functions, determine what the chain rule says.
- Let x = f(y) and y = g(z).
Exercise 9
- If u = e^{s} and s = 5 - 3x^{2}, find .
Exercise 10
- If s = t^{4} and t = r^{4} + 1, find .
Exercise 11
- If m = sin n and z = ln m, find .
Exercise 12
- If z = (x^{4} + 4x) and y = z^{3} + z^{5}, find .
Exercise 13
- If and q = tan p, find .
Exercise 14
- Find given that r = sin(x^{2} + 1) + cos(x^{2} + 1).
Exercise 15
- Find given that p = e^{{r2 + 3r}}
Exercise 16
- Find given that y = ln(z^{4} + z^{3})
Exercise 17
- Find given that
Exercise 18
- Find given that q = 14^{{12sin t}}.