Derivatives of Combined Functions
📈 Derivatives of Combined Functions
Understanding how to take derivatives of combined functions is crucial for modeling real-world phenomena. This involves three fundamental ways functions can be combined: addition, multiplication, and composition. Instead of memorizing formulas, the goal is to develop a clear intuition for where these rules originate.
➕ The Sum Rule: Derivatives of Added Functions
The sum rule states that the derivative of a sum of two functions is the sum of their individual derivatives. This is the most straightforward of the rules.
💡 Intuition Behind the Sum Rule
Consider a function f(x)=sin(x)+x2. This function's value at any x is the sum of the values of sin(x) and x2.
If we nudge the input x by a tiny amount dx, the change in f(x), denoted as df, is the total change in height.
This total change is simply the sum of the change in sin(x) (let's call it dsin(x)) and the change in x2 (let's call it dx2).
We know that:
dsin(x)≈cos(x)⋅dx (since the derivative of sin(x) is cos(x))
dx2≈2x⋅dx (since the derivative of x2 is 2x)
Therefore, the total change df≈cos(x)⋅dx+2x⋅dx.
Dividing by dx, we get dxdf≈cos(x)+2x.
This demonstrates that the derivative of f(x)=sin(x)+x2 is indeed cos(x)+2x, which is the sum of the derivatives of its parts.
✖️ The Product Rule: Derivatives of Multiplied Functions
The product rule is used when two functions are multiplied together. Visualizing this as an area helps build intuition.
📦 Visualizing the Product Rule with Area
Imagine a box whose side lengths are defined by two functions, say g(x)=sin(x) and h(x)=x2. The area of this box, f(x)=sin(x)⋅x2, changes as x changes.
When x is nudged by a tiny dx, both side lengths change:
The width, sin(x), changes by dsin(x).
The height, x2, changes by dx2.
The change in area, df, is composed of three parts:
A thin rectangle at the bottom: width $\sin(x)$ times height $dx^2$. Area: $\sin(x) \cdot dx^2$.
A thin rectangle on the right: height $x^2$ times width $d\sin(x)$. Area: $x^2 \cdot d\sin(x)$.
A tiny corner square: $d\sin(x) \cdot dx^2$. This term is proportional to $dx^2$ and becomes **negligible** as $dx \to 0$.
So, the change in area df≈sin(x)⋅dx2+x2⋅dsin(x).
Substituting the derivatives:
dx2≈2x⋅dx
dsin(x)≈cos(x)⋅dx
Thus, df≈sin(x)⋅(2x⋅dx)+x2⋅(cos(x)⋅dx).
Dividing by dx: dxdf≈sin(x)⋅(2x)+x2⋅(cos(x)).
🧠 The Product Rule Formula
For any two functions g(x) and h(x), the derivative of their product f(x)=g(x)⋅h(x) is:
This is often remembered by the mnemonic: "Left d Right, Right d Left".
Left d Right: The first function (g(x)) times the derivative of the second (h′(x)).
Right d Left: The second function (h(x)) times the derivative of the first (g′(x)).
💡 Constant Multiple Rule
A special case of multiplication is when a function is multiplied by a constant.
If f(x)=c⋅g(x), where c is a constant, then f′(x)=c⋅g′(x).
For example, the derivative of 2sin(x) is 2cos(x).
🔗 The Chain Rule: Derivatives of Composed Functions
The chain rule is applied when one function is "shoved inside" another, known as function composition. This is a very common and powerful rule.
🔢 Visualizing the Chain Rule with Number Lines
Consider a function f(x)=sin(x2). Here, x2 is the inner function, and sin(⋅) is the outer function. We can visualize this with three number lines:
x-line: The input x.
h-line: The intermediate value h=x2.
f-line: The final output f=sin(h)=sin(x2).
If we nudge x by a tiny dx:
This causes a nudge in h (the x2 value) by dh.
This dh then causes a nudge in f (the sin(h) value) by df.
We want to find the ratio dxdf.
From the x-line to the h-line: The change dh is caused by dx. The ratio dxdh is the derivative of h(x) with respect to x, which is dxd(x2)=2x. So, dh≈2x⋅dx.
From the h-line to the f-line: The change df is caused by dh. The ratio dhdf is the derivative of f(h)=sin(h) with respect to h, which is cos(h). So, df≈cos(h)⋅dh.
Now, substitute h=x2 back into the expression for df:
df≈cos(x2)⋅dh
Then, substitute the expression for dh:
df≈cos(x2)⋅(2x⋅dx)
Dividing by dx: dxdf≈cos(x2)⋅2x.
🧠 The Chain Rule Formula
For any two functions g(x) (outer function) and h(x) (inner function), the derivative of their composition f(x)=g(h(x)) is:
This means:
Take the derivative of the **outer function** $g$, but keep the **inner function** $h(x)$ **unaltered** inside it ($g'(h(x))$).
Multiply this by the derivative of the **inner function** $h'(x)$.
🧮 Leibniz Notation for Chain Rule
The chain rule can also be expressed elegantly using Leibniz notation:
This notation highlights the "cancellation" of dh, which is a genuine reflection of how tiny nudges propagate through the chain of functions.
dhdf represents the derivative of the outer function with respect to its immediate input (h).
dxdh represents the derivative of the inner function with respect to the original input (x).
🛠️ Mastering Derivative Rules
These three rules – sum rule, product rule, and chain rule – are the fundamental tools for differentiating complex functions. While understanding their origin provides intuition, consistent practice is essential for fluency in applying them to various challenging expressions. The ability to "peel through the layers" of any monstrous function relies on a solid grasp of these core principles.

Ask anything
We've read this whole study set, so questions about it get the best answers.