Mixed Differentiation Problems and Practice
From the calculus curriculum
TL;DR
Mixed differentiation problems combine various rules like the Product, Quotient, and Chain Rules in a single function. The key is to break down complex functions into simpler parts and apply the correct rule for each part. Practice helps you quickly identify which rules are needed and how to apply them efficiently.
1. The Mental Model
Think of differentiation as peeling an onion. You start with the outermost layer (the biggest operation) and work your way inward, applying the appropriate rule at each step until you've differentiated everything.
2. The Core Material
When you encounter a function that looks complicated, it's often a combination of simpler functions multiplied, divided, or nested within each other. Your goal is to identify these structures and apply the right differentiation rule.
Recognizing the Rules

Photo by K on Pexels
Here's a quick recap of the main rules you'll be mixing:
- Power Rule: For $f(x) = x^n$, $f'(x) = nx^{n-1}$.
- Constant Multiple Rule: For $f(x) = c \cdot g(x)$, $f'(x) = c \cdot g'(x)$.
- Sum/Difference Rule: For $f(x) = g(x) \pm h(x)$, $f'(x) = g'(x) \pm h'(x)$.
- Product Rule: For $f(x) = g(x) \cdot h(x)$, $f'(x) = g'(x)h(x) + g(x)h'(x)$.
- Quotient Rule: For $f(x) = \frac{g(x)}{h(x)}$, $f'(x) = \frac{g'(x)h(x) - g(x)h'(x)}{(h(x))^2}$.
- Chain Rule: For $f(x) = g(h(x))$, $f'(x) = g'(h(x)) \cdot h'(x)$. (Differentiate the "outside" function, then multiply by the derivative of the "inside" function.)
Strategy for Mixed Problems

Photo by Ann H on Pexels
- Identify the outermost operation: Is it a product, a quotient, a sum/difference, or a function raised to a power? This tells you which rule to start with.
- Break it down: Once you apply the first rule, you'll likely find that the terms you need to differentiate are still complex. Treat each of these as a new, smaller differentiation problem.
- Work from outside-in: This is crucial, especially for the Chain Rule. Always differentiate the "wrapper" function first, then its "contents."
Let's visualize the decision process:
graph TD
A["Start: Analyze function f(x)"] --> B{Is it a sum/difference?};
B -- Yes --> C["Apply Sum/Difference Rule to each term"];
B -- No --> D{Is it a product g(x)h(x)?};
D -- Yes --> E["Apply Product Rule"];
D -- No --> F{Is it a quotient g(x)/h(x)?};
F -- Yes --> G["Apply Quotient Rule"];
F -- No --> H{Is it a composite function g(h(x))?};
H -- Yes --> I["Apply Chain Rule"];
H -- No --> J["Is it a simple power or trig function?"];
J -- Yes --> K["Apply basic derivative rule (e.g., Power Rule)"];
C --> L["Differentiate sub-expressions (recurse)"];
E --> L;
G --> L;
I --> L;
K --> L;
L --> M{"Are all parts differentiated?"};
M -- Yes --> N["Simplify (if possible)"];
M -- No --> A;
Handling Nested Functions (Chain Rule in Disguise)

Photo by William Hadley on Pexels
Many mixed problems involve the Chain Rule implicitly. For example, $(x^2 + 1)^3$ is a function of a function. The "outside" is $(\text{something})^3$, and the "inside" is $(x^2 + 1)$.
Another example: $e^{\sin(x)}$. The "outside" is $e^{\text{something}}$, the "inside" is $\sin(x)$.
When the Chain Rule is combined with Product or Quotient Rules, remember to apply the Product/Quotient Rule first, and when you need to differentiate one of the parts, that's when the Chain Rule might come in.
3. Worked Example
Let's find the derivative of $f(x) = (x^2 + 3x) \cdot \cos(4x)$.
-
Identify the outermost operation: This is a product of two functions: $g(x) = x^2 + 3x$ and $h(x) = \cos(4x)$. We'll use the Product Rule: $f'(x) = g'(x)h(x) + g(x)h'(x)$.
-
Differentiate $g(x)$:
$g(x) = x^2 + 3x$
Using the Power and Constant Multiple Rules:
$g'(x) = 2x + 3$ -
Differentiate $h(x)$:
$h(x) = \cos(4x)$
This is a composite function, so we need the Chain Rule.- Outside function: $\cos(\text{something})$. Its derivative is $-\sin(\text{something})$.
- Inside function: $4x$. Its derivative is $4$.
So, $h'(x) = -\sin(4x) \cdot 4 = -4\sin(4x)$.
-
Assemble with the Product Rule:
$f'(x) = (2x + 3) \cdot \cos(4x) + (x^2 + 3x) \cdot (-4\sin(4x))$ -
Simplify:
$f'(x) = (2x + 3)\cos(4x) - 4(x^2 + 3x)\sin(4x)$
This is the final derivative.
4. Key Takeaways
- Always start by identifying the main structure (product, quotient, sum, or composite) of the entire function.
- Break down complex functions into smaller, manageable parts and differentiate each part using the appropriate rule.
- The Chain Rule is often involved when you're differentiating a part of a larger expression, not just for the entire function.
- Differentiate from "outside-in" when applying the Chain Rule; derivative of the outer function first, then multiply by the derivative of the inner function.
- Be mindful of signs, especially with trigonometric derivatives and the Quotient Rule numerator.
- Simplifying your final answer after differentiation is often expected and helps confirm your work.
Common Mistakes:
- Forgetting to apply the Chain Rule when it's needed within a Product or Quotient Rule application.
- Misapplying the Quotient Rule formula, particularly the order of terms in the numerator.
- Incorrectly differentiating basic functions (e.g., derivative of $\sin(x)$ is $\cos(x)$, not $-\cos(x)$).
- Algebraic errors during simplification, especially distributing negative signs.
5. Now Try It
Take 15 minutes to find the derivative of the following function:
$f(x) = \frac{e^{2x}}{x^3 + \ln(x)}$
What to do:
1. Identify the main rule needed first.
2. Break down the numerator and denominator, identifying any further rules needed for each.
3. Apply all rules carefully, step by step.
4. Simplify your final expression.
Success looks like: A neatly organized solution showing the application of the Quotient Rule, Chain Rule (for $e^{2x}$), Power Rule, and the derivative of $\ln(x)$, resulting in a simplified final derivative expression.
Frequently asked about Mixed Differentiation Problems and Practice
More from calculus
Get the full calculus curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Save this course free