Basic Differentiation Rules

A logistics manager faces the challenge of optimizing delivery routes to minimize fuel consumption. Their predictive model, a complex polynomial function, estimates fuel cost based on factors like distance, traffic, and vehicle speed. The critical question is how to pinpoint the exact speed for the lowest fuel cost, or the precise moment traffic significantly impacts expenses, without relying on costly trial-and-error. This challenge demands a systematic way to understand how functions change, which is precisely what differentiation rules provide efficiently.

Differentiation and Derivative
Differentiation is the mathematical process of finding the derivative of a function. The derivative, often denoted as f′(x)f'(x) or dydx\frac{dy}{dx}, represents the instantaneous rate of change of a function with respect to its independent variable, essentially giving the slope of the tangent line at any point on the function's graph.
Example: If a function P(t)P(t) describes a company's profit over time, its derivative P′(t)P'(t) tells us the instantaneous rate at which profit is changing at any given moment, indicating growth or decline.

The Power Rule: Handling Polynomials

The Power Rule is a fundamental shortcut for differentiating functions of the form xnx^n, where nn is any real number. Instead of using the complex limit definition of a derivative, this rule provides a direct method. It allows us to quickly determine how functions like x2x^2 or x5x^5 change at any point, making calculations much more efficient.

📐 The Power Rule

ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}

To apply the Power Rule, you bring the exponent down as a coefficient and then subtract one from the original exponent. For example, if we need to find the derivative of f(x)=x3f(x) = x^3:

ddx(x3)=3x3−1=3x2\frac{d}{dx}(x^3) = 3x^{3-1} = 3x^2

This means that for any value of xx, the instantaneous rate of change of x3x^3 is 3x23x^2.

Check Your Understanding
What is the derivative of a constant function, such as f(x)=5f(x) = 5?

Building Blocks: Constant Multiples and Sums

The Constant Multiple Rule simplifies differentiating functions multiplied by a constant. This rule states that a constant factor remains unchanged during differentiation; you simply differentiate the function and then multiply the result by the constant. This prevents unnecessary complexity when a function is scaled.

📐 Constant Multiple Rule

ddx(cf(x))=cddx(f(x))\frac{d}{dx}(cf(x)) = c\frac{d}{dx}(f(x))

The Sum and Difference Rule allows us to differentiate functions that are sums or differences of multiple terms. This rule states that the derivative of a sum or difference of functions is simply the sum or difference of their individual derivatives. This means you can differentiate each term separately and then combine the results, simplifying complex expressions.

📐 Sum and Difference Rule

ddx(f(x)±g(x))=ddx(f(x))±ddx(g(x))\frac{d}{dx}(f(x) \pm g(x)) = \frac{d}{dx}(f(x)) \pm \frac{d}{dx}(g(x))

Differentiating a Polynomial Step-by-Step
1
Break into terms
Identify each term in the polynomial: 3x23x^2, 5x5x, and −7-7. The Sum/Difference Rule allows us to differentiate each term independently.
2
Differentiate 3x23x^2
Apply the Constant Multiple Rule and Power Rule. The constant 33 stays, and the derivative of x2x^2 is 2x2−1=2x2x^{2-1} = 2x. So, ddx(3x2)=3⋅(2x)=6x\frac{d}{dx}(3x^2) = 3 \cdot (2x) = 6x.
3
Differentiate 5x5x
Apply the Constant Multiple Rule and Power Rule. The constant 55 stays, and the derivative of x1x^1 is 1x1−1=1x0=11x^{1-1} = 1x^0 = 1. So, ddx(5x)=5⋅(1)=5\frac{d}{dx}(5x) = 5 \cdot (1) = 5.
4
Differentiate −7-7
Apply the rule for constants. The derivative of any constant is 00. So, ddx(−7)=0\frac{d}{dx}(-7) = 0.
5
Combine the derivatives
Add and subtract the derivatives of each term according to the original function. The derivative of 3x2+5x−73x^2 + 5x - 7 is 6x+5−0=6x+56x + 5 - 0 = 6x + 5.
Check Your Understanding
What is the derivative of the function f(x)=4x3−2x+10f(x) = 4x^3 - 2x + 10?

The Chain Rule: Functions Within Functions

When a function is composed of another function, like f(x)=(2x+1)3f(x) = (2x+1)^3, the basic Power Rule alone is insufficient. This type of structure, where one function is 'nested' inside another, is called a composite function. The Chain Rule provides a systematic way to differentiate these layered functions by considering the rate of change of both the 'outer' function and the 'inner' function. It's like unpeeling an onion, differentiating each layer as you go.

📐 The Chain Rule

ddx(f(g(x)))=f′(g(x))⋅g′(x)\frac{d}{dx}(f(g(x))) = f'(g(x)) \cdot g'(x)

To apply the Chain Rule to y=(2x+1)3y = (2x+1)^3, we first identify the outer function f(u)=u3f(u) = u^3 and the inner function g(x)=2x+1g(x) = 2x+1.

  1. Differentiate the outer function: f′(u)=3u2f'(u) = 3u^2.
  2. Substitute the inner function back in: f′(g(x))=3(2x+1)2f'(g(x)) = 3(2x+1)^2.
  3. Differentiate the inner function: g′(x)=ddx(2x+1)=2g'(x) = \frac{d}{dx}(2x+1) = 2.
  4. Multiply the results: ddx((2x+1)3)=3(2x+1)2⋅2=6(2x+1)2\frac{d}{dx}((2x+1)^3) = 3(2x+1)^2 \cdot 2 = 6(2x+1)^2.

This process ensures we account for the change in both the overall structure and its internal components.

Check Your Understanding
What is the derivative of the function f(x)=(3x−2)2f(x) = (3x-2)^2?
Key Takeaways
  • Differentiation finds the instantaneous rate of change of a function, crucial for understanding how systems evolve.

  • The Power Rule simplifies finding derivatives of xnx^n by bringing down the exponent and reducing it by one.

  • The Constant Multiple Rule allows constants to be factored out during differentiation, while the Sum and Difference Rule enables term-by-term differentiation.

  • The Chain Rule is essential for differentiating composite functions, where one function is nested inside another, by multiplying the derivatives of the outer and inner functions.

  • These rules provide the logistics manager with the tools to precisely calculate optimal speeds and analyze cost impacts, moving beyond trial-and-error to data-driven optimization.

← All lessons in Calculus: Derivatives

Ready to keep this from fading?

Bitelrn turns lessons like this into a full course — quizzes, a knowledge map, and spaced review.

Get started free