MATH 145 – Calculus I
October 7, 2025
Recall when we talked about composition of functions: If \(f\) and \(g\) are functions such that \(g : A \to B\) and \(f : B \to C\), we define the composition of \(f\) and \(g\) to be the new function \(h : A \to C\) give by \[ h(t) = f(g(t)). \]
What if we wanted to find the derivative of \(h\)?
Is there a good way to do this, if we know \(f'\) and \(g'\) but not \(h'\)?
Example: For the following expressions, which is the “outer function”, \(f\) and which is the “inner function”, \(g\)?
If \(f\) and \(g\) are differentiable functions, then: \[ \frac{d}{dx} (f \circ g)(x) = \frac{d}{dx} f(g(x)) = f'(g(x)) \cdot g'(x). \]
\[ \begin{aligned} \frac{d}{dx} &f(g(x)) = \lim\limits_{h \to 0} \left[ \frac{f(g(x + h)) - f(g(x))}{h} \right] \\ &= \lim\limits_{h \to 0} \left[ \left( \frac{f(g(x + h)) - f(g(x))}{h} \right) \left( \frac{g(x + h) - g(x)}{g(x + h) - g(x)} \right) \right] \\ &= \lim\limits_{h \to 0} \left[ \left( \frac{f(g(x + h)) - f(g(x))}{g(x + h) - g(x)} \right) \left( \frac{g(x + h) - g(x)}{h} \right) \right] \\ &= \lim\limits_{h \to 0} \left[ \frac{f(g(x + h)) - f(g(x))}{g(x + h) - g(x)} \right] \times \lim\limits_{h \to 0} \left[ \frac{g(x + h) - g(x)}{h} \right] \\ &= f'(g(x)) \times g'(x) \end{aligned} \]
Example: Find the derivative of the following functions:
Example: If \(f(x) = (4x^3 + 5x^2)^8\), find \(f'(x)\) and \(f''(x)\).
Example: If \(f(x,y) = \sqrt{x^2 + xy + y^2}\), find \(\dfrac{\partial f}{\partial f}{x}\).