Derivatives of Composite Functions
Derivatives are an essential part of calculus. They help us in calculating the rate of change, maxima, minima for the functions. Derivatives by definition are given by using limits, which is called the first form of the derivative. We already know how to calculate the derivatives for standard functions, but sometimes we need to deal with complex mathematical functions which are composed of more than two functions. It becomes hard and cumbersome to calculate the derivative for such functions in a brute-force way. It becomes essential to learn about the rules and methods which make our calculation easier. The chain rule is one of them, which allows us to calculate the derivatives of complex functions. Let’s see this rule formally.
Composite Functions and Chain Rule
Let’s say we have a function f(x) = (x + 1)2, for which we want to calculate the derivative. These kinds of functions are called composite functions, which means they are made up of more than one function. Usually, they are of the form g(x) = h(f(x)) or it can also be written as g = hof(x). In our case, the given function f(x) = (x + 1)2 is composed of two functions,
f(x) = g(h(x)) where g(x) = x2 and h(x) = x + 1.
For example,
f(x) = (x + 1)2
⇒ f(x) = x2 + 1 + 2x
Differentiating the function with respect to x,
f'(x) = 2x + 1
This function can be differentiated through complete binomial expansion but in case the value of the binomial exponent goes higher and higher, it becomes hard to expand it every time and then differentiate it. In those cases, chain rule becomes essential.
Chain Rule
Let f be a real-valued function which is a composite of two functions, “u” and “v”, that is f = v o u. Let’s say t = u(x) and if both and
exist for both of the functions “u” and “v”.
The chain rule can be extended to any number of composite functions. For example,
f = (w o u) o v. If t = v(x) and s = u(t) then,
Let’s say we have a function f(x) = sin(x2)
This function is a composite function made up of two functions. If t = u(x) = x2 and v(t) = sin(t), then
f(x) = (v o u)(x) = v(u(x)) = v(x2) = sin x2,
Putting t = u(t) = x2. and
exist. Hence, by chain rule,
An alternative method to Chain Rule (Short trick to find derivative using chain rule)
The chain rule can also be applied with a shortcut method. This is explained with an example, let’s say we have a function f(x) = (sin(x))2. In general, we don’t really use the composition of the functions approach to differentiate the functions. We identify the “inside function” and the “outside function”. Then, differentiate the outside function leaving the inside function alone, and keep going like this in the hierarchy.
⇒
⇒
⇒
Generally, this shortcut method is used to calculate the derivatives for different functions easily.
Let’s see some problems with this rule,
Sample Problems
Problems on Derivatives of Polynomial Function and composite function using the chain rule
Question 1: Find the derivative for the function f(x) = (x + 2)2.
Solution:
This function is composite function,
⇒
⇒
Question 2: Find the derivative for the function f(x) = (x6 + x2 + 1)10
Solution:
⇒
⇒
⇒
Question 3: Find the derivative for the function f(x) = (x2 + 1)5
Solution:
⇒
⇒
⇒
⇒
Problem on Derivatives of Trigonometric function using chain rule
Question 4: Find the derivative of the function f(x) = sin(tanx + 5).
Solution:
f(x) = sin(tanx + 5)
⇒
⇒
⇒
⇒
Problem on derivatives of Power functions using chain rule
Question 5: Find the derivative of the function, f(x) = e(2x + 5).
Solution:
f(x) = e(2x + 5)
⇒
⇒
⇒
⇒
Problem on Derivatives of Modulus function using chain rule
Question 6: Find the derivative of the function, f(x) = | x + 1 |.
Solution:
Let’s say f(x) = |x + 1|.
We know that modulus functions such |x| represent √x2. So, each modulus function can be transformed like this to find the derivative.
f(x) =
⇒
⇒
⇒
⇒
⇒
When x > -1 |x + 1| = x + 1, thus
When x < -1 |x + 1| = -(x + 1), thus
When x = -1, the derivative is not defined.
Question 7: Find the derivative of the function, f(x) = | 2x – 1 |.
Solution:
Let’s say f(x) = |2x – 1|.
f(x) =
⇒
⇒
⇒
⇒
⇒
When x >
|2x – 1| = 2x – 1, thus
When x <
|2x – 1| = -(2x – 1), thus
When x =
, the derivative is not defined.
Please Login to comment...