Calculus: The Chain Rule
Overview
Prof Kazeem Adepoju reviews the sum, product, and quotient rules before explaining how function composition leads to the chain rule. Worked examples include differentiating (3x+1)^50, sin(x^2), and 1/(x^2-2x+3), with practice exercises for powers 100 and 5.
Key takeaways
- The sum and difference rules allow each term to be differentiated independently while retaining its original sign.
- For a product f(x)g(x), the derivative is f'(x)g(x)+f(x)g'(x), while a quotient requires the numerator f'(x)g(x)-f(x)g'(x) over g(x)².
- The chain rule works by identifying an inner function and an outer function, differentiating both, and multiplying their derivatives.
- For (3x+1)^50, the chain rule gives 150(3x+1)^49, avoiding impractical expansion of 50 factors.
- For sin(x²), the inner derivative contributes a factor of 2x, giving 2x cos(x²).
- A reciprocal such as 1/(x²-2x+3) can be differentiated by rewriting it with exponent -1 and applying the chain rule.
Chapters
- For sums and differences of f(x) and g(x), differentiate each function separately and preserve the original plus or minus sign.
- The product rule combines the derivatives as f'(x)g(x) + f(x)g'(x).
- The quotient rule uses [f'(x)g(x) - f(x)g'(x)] / [g(x)]².
- Expanding (3x+1)² gives 9x² + 6x + 1, whose derivative is 18x + 6.
- Treating the two factors 3x+1 separately in the product rule also gives 18x + 6.
- The example shows that algebraic expansion and the product rule can produce the same derivative.
- For (3x+1)^50, the inner function is 3x+1 and the outer operation raises its input to the 50th power.
- Replacing an inner expression with z illustrates composition, as in sin(x²) becoming sin(z) with z=x².
- The same substitution method applies to a more complicated inner expression such as x²-2x+3.
- Set z=3x+1 and y=z^50 to separate the inner and outer functions.
- Differentiate the outer function to get dy/dz=50z^49, and the inner function to get dz/dx=3.
- Multiplying the derivatives and substituting z=3x+1 gives f'(x)=150(3x+1)^49.
- A practice problem asks learners to differentiate (3x+1)^100 using the same process.
- For sin(x²), set z=x², differentiate sin(z) to get cos(z), and differentiate z to get 2x.
- Multiplying the derivatives gives d/dx sin(x²)=2x cos(x²).
- A second exercise asks learners to differentiate cos(x^5), applying the same inner-and-outer method.
- Rewrite 1/(x²-2x+3) as (x²-2x+3)^-1 so the expression can be handled with the power rule and chain rule.
- Set z=x²-2x+3; differentiating z^-1 gives -z^-2, while differentiating z gives 2x-2.
- Combining the derivatives yields -(2x-2)/(x²-2x+3)².
Transcript excerpt
0:00 class. Of course, today I'm actually going to walk us through uh calculus um topic on how to use the chain rule in differentiation. I'm also going to touch what I call uh the function compositions. But, there's going to be a lot of examples that I'm going to walk us through, too. So, let's get started. So, um we're going to review uh the sum, the products, and quotient rules. Okay, not only that, um we're going to identify inner and outer functions in composition. And we're going to apply chain rule, and
0:50 so on like that. So, let's get into business. So, what I'm displaying right now is the basic uh you know, rules in differentiation. Um if I have two functions, of course, I have a I have function f of x, I have function g of x. Um if I'm adding them, uh we can differentiate them. If I'm subtracting If I'm subtracting them, we can also differentiate them. So, um >> [clears throat] >> so which means we're going to differentiate the function one at a time. So, which is uh exactly uh >> [snorts] >> what you're seeing here. So, we actually differentiating that, you know, one at a time.
1:36 So, this is uh it has to do with uh if I'm subtracting uh two different functions, I can differentiate them one at a time. Then, after differentiating them, you know, we subtract them depending on the sign that we have initially. So, whether we have a plus sign or we have a minus sign. But in a situation where we know the functions are multiplying each other and I want to perform derivative cuz what this guy is telling me is that I should differentiate the function with respect to X. So, what I'm actually
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Prof Kazeem Adepoju.