1. Home
  2. Explore
  3. Mathematics
  4. Derivatives of Combined Functions

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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)+x2f(x) = \sin(x) + x^2f(x)=sin(x)+x2. This function's value at any xxx is the sum of the values of sin⁡(x)\sin(x)sin(x) and x2x^2x2.

  • If we nudge the input xxx by a tiny amount dxdxdx, the change in f(x)f(x)f(x), denoted as dfdfdf, is the total change in height.

  • This total change is simply the sum of the change in sin⁡(x)\sin(x)sin(x) (let's call it dsin⁡(x)d\sin(x)dsin(x)) and the change in x2x^2x2 (let's call it dx2dx^2dx2).

  • We know that:

    • dsin⁡(x)≈cos⁡(x)⋅dxd\sin(x) \approx \cos(x) \cdot dxdsin(x)≈cos(x)⋅dx (since the derivative of sin⁡(x)\sin(x)sin(x) is cos⁡(x)\cos(x)cos(x))

    • dx2≈2x⋅dxdx^2 \approx 2x \cdot dxdx2≈2x⋅dx (since the derivative of x2x^2x2 is 2x2x2x)

  • Therefore, the total change df≈cos⁡(x)⋅dx+2x⋅dxdf \approx \cos(x) \cdot dx + 2x \cdot dxdf≈cos(x)⋅dx+2x⋅dx.

  • Dividing by dxdxdx, we get dfdx≈cos⁡(x)+2x\frac{df}{dx} \approx \cos(x) + 2xdxdf​≈cos(x)+2x.

  • This demonstrates that the derivative of f(x)=sin⁡(x)+x2f(x) = \sin(x) + x^2f(x)=sin(x)+x2 is indeed cos⁡(x)+2x\cos(x) + 2xcos(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)g(x) = \sin(x)g(x)=sin(x) and h(x)=x2h(x) = x^2h(x)=x2. The area of this box, f(x)=sin⁡(x)⋅x2f(x) = \sin(x) \cdot x^2f(x)=sin(x)⋅x2, changes as xxx changes.

  • When xxx is nudged by a tiny dxdxdx, both side lengths change:

    • The width, sin⁡(x)\sin(x)sin(x), changes by dsin⁡(x)d\sin(x)dsin(x).

    • The height, x2x^2x2, changes by dx2dx^2dx2.

  • The change in area, dfdfdf, is composed of three parts:

    1. A thin rectangle at the bottom: width $\sin(x)$ times height $dx^2$. Area: $\sin(x) \cdot dx^2$.

    2. A thin rectangle on the right: height $x^2$ times width $d\sin(x)$. Area: $x^2 \cdot d\sin(x)$.

    3. 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)df \approx \sin(x) \cdot dx^2 + x^2 \cdot d\sin(x)df≈sin(x)⋅dx2+x2⋅dsin(x).

  • Substituting the derivatives:

    • dx2≈2x⋅dxdx^2 \approx 2x \cdot dxdx2≈2x⋅dx

    • dsin⁡(x)≈cos⁡(x)⋅dxd\sin(x) \approx \cos(x) \cdot dxdsin(x)≈cos(x)⋅dx

  • Thus, df≈sin⁡(x)⋅(2x⋅dx)+x2⋅(cos⁡(x)⋅dx)df \approx \sin(x) \cdot (2x \cdot dx) + x^2 \cdot (\cos(x) \cdot dx)df≈sin(x)⋅(2x⋅dx)+x2⋅(cos(x)⋅dx).

  • Dividing by dxdxdx: dfdx≈sin⁡(x)⋅(2x)+x2⋅(cos⁡(x))\frac{df}{dx} \approx \sin(x) \cdot (2x) + x^2 \cdot (\cos(x))dxdf​≈sin(x)⋅(2x)+x2⋅(cos(x)).

🧠 The Product Rule Formula

For any two functions g(x)g(x)g(x) and h(x)h(x)h(x), the derivative of their product f(x)=g(x)⋅h(x)f(x) = g(x) \cdot h(x)f(x)=g(x)⋅h(x) is:

ddx[g(x)⋅h(x)]=g(x)⋅h′(x)+h(x)⋅g′(x)\frac{d}{dx}[g(x) \cdot h(x)] = g(x) \cdot h'(x) + h(x) \cdot g'(x)dxd​[g(x)⋅h(x)]=g(x)⋅h′(x)+h(x)⋅g′(x)
  • This is often remembered by the mnemonic: "Left d Right, Right d Left".

    • Left d Right: The first function (g(x)g(x)g(x)) times the derivative of the second (h′(x)h'(x)h′(x)).

    • Right d Left: The second function (h(x)h(x)h(x)) times the derivative of the first (g′(x)g'(x)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)f(x) = c \cdot g(x)f(x)=c⋅g(x), where ccc is a constant, then f′(x)=c⋅g′(x)f'(x) = c \cdot g'(x)f′(x)=c⋅g′(x).

  • For example, the derivative of 2sin⁡(x)2 \sin(x)2sin(x) is 2cos⁡(x)2 \cos(x)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)f(x) = \sin(x^2)f(x)=sin(x2). Here, x2x^2x2 is the inner function, and sin⁡(⋅)\sin(\cdot)sin(⋅) is the outer function. We can visualize this with three number lines:

  1. x-line: The input xxx.

  2. h-line: The intermediate value h=x2h = x^2h=x2.

  3. f-line: The final output f=sin⁡(h)=sin⁡(x2)f = \sin(h) = \sin(x^2)f=sin(h)=sin(x2).

  • If we nudge xxx by a tiny dxdxdx:

    • This causes a nudge in hhh (the x2x^2x2 value) by dhdhdh.

    • This dhdhdh then causes a nudge in fff (the sin⁡(h)\sin(h)sin(h) value) by dfdfdf.

  • We want to find the ratio dfdx\frac{df}{dx}dxdf​.

  • From the xxx-line to the hhh-line: The change dhdhdh is caused by dxdxdx. The ratio dhdx\frac{dh}{dx}dxdh​ is the derivative of h(x)h(x)h(x) with respect to xxx, which is ddx(x2)=2x\frac{d}{dx}(x^2) = 2xdxd​(x2)=2x. So, dh≈2x⋅dxdh \approx 2x \cdot dxdh≈2x⋅dx.

  • From the hhh-line to the fff-line: The change dfdfdf is caused by dhdhdh. The ratio dfdh\frac{df}{dh}dhdf​ is the derivative of f(h)=sin⁡(h)f(h) = \sin(h)f(h)=sin(h) with respect to hhh, which is cos⁡(h)\cos(h)cos(h). So, df≈cos⁡(h)⋅dhdf \approx \cos(h) \cdot dhdf≈cos(h)⋅dh.

  • Now, substitute h=x2h = x^2h=x2 back into the expression for dfdfdf:

    • df≈cos⁡(x2)⋅dhdf \approx \cos(x^2) \cdot dhdf≈cos(x2)⋅dh

  • Then, substitute the expression for dhdhdh:

    • df≈cos⁡(x2)⋅(2x⋅dx)df \approx \cos(x^2) \cdot (2x \cdot dx)df≈cos(x2)⋅(2x⋅dx)

  • Dividing by dxdxdx: dfdx≈cos⁡(x2)⋅2x\frac{df}{dx} \approx \cos(x^2) \cdot 2xdxdf​≈cos(x2)⋅2x.

🧠 The Chain Rule Formula

For any two functions g(x)g(x)g(x) (outer function) and h(x)h(x)h(x) (inner function), the derivative of their composition f(x)=g(h(x))f(x) = g(h(x))f(x)=g(h(x)) is:

ddx[g(h(x))]=g′(h(x))⋅h′(x)\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)dxd​[g(h(x))]=g′(h(x))⋅h′(x)
  • This means:

    1. Take the derivative of the **outer function** $g$, but keep the **inner function** $h(x)$ **unaltered** inside it ($g'(h(x))$).

    2. 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:

dfdx=dfdh⋅dhdx\frac{df}{dx} = \frac{df}{dh} \cdot \frac{dh}{dx}dxdf​=dhdf​⋅dxdh​
  • This notation highlights the "cancellation" of dhdhdh, which is a genuine reflection of how tiny nudges propagate through the chain of functions.

  • dfdh\frac{df}{dh}dhdf​ represents the derivative of the outer function with respect to its immediate input (hhh).

  • dhdx\frac{dh}{dx}dxdh​ represents the derivative of the inner function with respect to the original input (xxx).


🛠️ 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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent