Calculus · Eqora guide

Chain rule derivatives: follow the function layers

Recognize a composite function, differentiate from the outside inward, inspect the inner derivative, and prove the method on a fresh problem.

Adult learner studies nested pastry rings in a bright teaching kitchen as a visual analogy for composite functions

The expression y = (3x² + 1)⁴ looks like a fourth power, but its base is not simply x. One function, 3x² + 1, sits inside another function that raises its input to the fourth power. If you write 4(3x² + 1)³ and stop, you have differentiated the outer layer but ignored how quickly the inside changes. The missing factor is 6x, so the complete derivative is 24x(3x² + 1)³. Chain rule derivatives are less about memorizing a long formula than about tracking these layers without losing one.

This guide begins with the mathematics on paper, then uses Eqora for a controlled learning workflow: capture the entire expression, compare the recognized problem with the original, inspect one transition, ask one focused question, and close the explanation before solving a related example independently. Eqora publishes this article and is the only app recommended here. It is a learning aid, not a guarantee of correctness or grades, and it should not replace work you are expected to do yourself in an exam.

OpenStax defines the chain rule for a composite function as the derivative of the outer function, evaluated at the inner function, multiplied by the derivative of that inner function. The compact notation is d/dx[f(g(x))] = f′(g(x))g′(x). Every example below unpacks that statement. Keep the original notation visible, verify parentheses and exponents, and check each answer against the question rather than trusting a photograph, a remembered template, or an AI response automatically.

Use this guide actively. Keep a real problem beside you, pause after each idea, and translate the advice into one action you can test in the next ten minutes.
Eqora Math AI homework helper example for Chain rule derivatives: follow the function layers
Connect the advice to a real problem and a visible next step.
Independent math practice connected to Chain rule derivatives: follow the function layers
Finish with practice you can complete without the answer in view.

Chain rule derivatives begin with the function layers

A composite function is created when the output of one function becomes the input of another. In (3x² + 1)⁴, call the inside u = 3x² + 1 and the outside f(u) = u⁴. The outer operation is not ‘multiply by four’; it is ‘raise the current input to the fourth power.’ Naming both layers makes the derivative plan visible before any algebra begins. The nested pastry rings in the photograph are only an analogy, not a mathematical diagram or a measured model.

Look for signals such as a power around a parenthesis, a trigonometric function containing an expression, an exponential whose exponent depends on x, or a root around a nontrivial input. Examples include sin(5x), e^(x²), and √(2x + 3). By contrast, x⁴ + 3x² is a sum of terms, not one function placed inside another. You differentiate that sum term by term. Marking every pair of parentheses helps distinguish genuine composition from nearby addition or multiplication.

Adult hands arrange concentric pastry rings from an outer ring to an inner ring on a mint work mat
Name the outer operation and the complete inner input before differentiating; the rings are a visual metaphor only.

Differentiate the outside while keeping the inside

Return to y = (3x² + 1)⁴. Temporarily call the entire parenthesis u. The derivative of u⁴ with respect to u is 4u³. Replace u with the unchanged inner expression to obtain 4(3x² + 1)³. Notice what stayed intact: the 3x² + 1 was not expanded, simplified, or differentiated during this outer step. Preserving it prevents the common error of changing both layers at once and losing the structure.

Now differentiate the inside: d/dx(3x² + 1) = 6x. Multiply, rather than add, this factor: y′ = 4(3x² + 1)³ · 6x = 24x(3x² + 1)³. The multiplication records how a change in x changes the inner value and how that inner change affects the outer output. Write the two factors separately first. Combining 4 and 6x is optional; the factored form often makes your reasoning easier to audit.

Capture the complete expression before asking for help

If your difficulty comes from a worksheet or handwritten page, include the entire expression in the photo: the function name, all parentheses, the exponent, the variable of differentiation, and any instruction about simplifying or evaluating at a point. Crop out names, student numbers, faces, and unrelated personal information, but do not crop away a closing parenthesis or a small exponent. A missing superscript can turn (3x² + 1)⁴ into an entirely different problem.

Before reading a solution, compare Eqora’s recognized expression character by character with the source. Check whether x² is still squared, whether +1 lies inside the fourth power, and whether the task asks for y′ rather than a numerical value. Retake a blurred or angled image. This check is part of the mathematics because every later step depends on the input. Our photo guide offers practical framing habits, while the image here deliberately shows no real formula or app screen.

Adult learner photographs a complete notebook page beside nested pastry rings with every page edge visible
Capture every parenthesis and exponent, then compare the recognized expression with the original before using the explanation.

Inspect one transition and ask a focused question

Read the proposed work line by line. For the main example, identify three claims: the outside power falls to 3, the original inside remains inside that power, and a factor of 6x appears from differentiating 3x² + 1. If one transition is unclear, ask about that transition alone: ‘Why is the extra factor 6x required?’ or ‘Why does 3x² + 1 stay inside the cube?’ A focused question makes the explanation easier to compare with your own reasoning.

Do not ask the app merely to repeat the final derivative. Explain what you think the outer and inner functions are, then request a correction if that decomposition is wrong. After reading, restate the rule in your own words: differentiate the outside at the unchanged inside, then multiply by the derivative of the inside. The collaborative pastry scene represents examining one layer; the blank cards do not contain steps, and the photo is not evidence that a generated solution is correct.

Two adult learners point to one middle layer of an unfinished tart while discussing a specific transition
A precise question about one layer is more useful than requesting the same complete answer again.

Use the rule with trigonometric, exponential, and root functions

For y = sin(5x), the outside is sin(u), whose derivative is cos(u), and the inside is 5x, whose derivative is 5. Therefore y′ = 5cos(5x). For y = e^(x²), the outside derivative remains e^u and the inside derivative is 2x, giving y′ = 2xe^(x²). In each case, keep the original inner expression inside the outer derivative and multiply by its derivative as a separate factor.

For y = √(2x + 3) = (2x + 3)^(1/2), the outer power rule gives (1/2)(2x + 3)^(-1/2), while the inside derivative is 2. The factors cancel to y′ = (2x + 3)^(-1/2), or 1/√(2x + 3). The original function is real only where 2x + 3 ≥ 0, and its derivative formula requires 2x + 3 > 0. A simplified expression does not erase those domain conditions.

Separate the chain rule from the product rule

Parentheses do not always mean composition. The function (x² + 1)(x³ − 2) is a product of two x-dependent factors, so it needs the product rule. The function (x² + 1)³ is a power applied to one inner function, so it needs the chain rule. The earlier Eqora guide on the product rule explains why differentiating both factors and multiplying the results is not valid. First identify the top-level operation: sum, product, quotient, or composition.

Rules can occur together. For y = x²sin(3x), the top level is a product. Differentiate it as 2x·sin(3x) + x²·d/dx[sin(3x)]. The derivative inside the second term uses the chain rule and becomes 3cos(3x). Thus y′ = 2xsin(3x) + 3x²cos(3x). Work from the outside structure inward and finish one rule at a time instead of choosing a formula from the expression’s visual appearance.

Handle three layers without skipping the middle

Consider y = [1 + (2x − 1)²]³. There are three layers: cube the bracket, add 1 to a square, and form 2x − 1. Differentiate from outside inward. The outer derivative is 3[1 + (2x − 1)²]². The middle layer contributes 2(2x − 1). The innermost linear expression contributes 2. Multiplying gives y′ = 12(2x − 1)[1 + (2x − 1)²]².

A useful written format is a layer list followed by a factor list. Layer list: cube; 1 plus a square; linear expression. Factor list: 3[1 + (2x − 1)²]²; 2(2x − 1); 2. This prevents the middle factor from disappearing. You may simplify only after all layers are represented. When checking an AI explanation, trace each original layer to one derivative factor and question any layer that has no counterpart.

Close the explanation and solve a transfer problem

Now hide the worked solution and differentiate y = (2x³ − 5)⁶ on paper. The outside contributes 6(2x³ − 5)⁵. The inside contributes 6x². Multiply to obtain y′ = 36x²(2x³ − 5)⁵. Check that the exponent decreased by one, the complete inner expression remained inside, and the inner derivative appeared exactly once. If you instead got 6(2x³ − 5)⁵, your outer step is right but the chain is incomplete.

Use Eqora only after completing this transfer attempt. Compare the structure before comparing superficial formatting, and ask about the first disagreement. You can also estimate a derivative numerically near a chosen x-value or expand a small polynomial case as an independent check, though neither replaces a clear symbolic derivation. Follow your course rules about permitted tools. Eqora can misread notation or produce an error; verify the problem, assumptions, derivative factors, and final form yourself.

Adult learner works independently in a notebook at a pastry-kitchen side table with her phone face down
A fresh problem solved without the displayed example tests whether the method transfers.

Put it into practice now

Choose one problem from your current homework or review set. Attempt it before opening Eqora, then use the app only at the point where your own reasoning stops.

  • State what the problem is asking before you solve it
  • Identify the first step you cannot justify
  • Ask Eqora one focused follow-up about that step
  • Finish with a similar problem and no solution in view

The session is complete when the method is clearer, not simply when the worksheet has one more answer.

Good to know

Questions about this guide

What is the chain rule in one line?

For y = f(g(x)), the derivative is f′(g(x))g′(x): differentiate the outer function at the unchanged inner input, then multiply by the inner derivative.

How do I know which function is outer?

Ask which operation is performed last when evaluating the expression. In (3x² + 1)⁴, the fourth power is last, so it is the outer function.

Why do I multiply by the inner derivative?

The inner output changes at its own rate as x changes. Multiplication combines that rate with the sensitivity of the outer function to its input.