Introduction to Derivative Rules

Derivative rules are the foundation of differential calculus, providing systematic methods for finding the rate of change of functions. These rules transform complex limit calculations into straightforward algebraic operations.

Why Derivative Rules Matter:

  • Simplify complex differentiation problems
  • Provide systematic approaches to finding rates of change
  • Essential for optimization and modeling real-world phenomena
  • Foundation for more advanced mathematical concepts
  • Used extensively in physics, engineering, economics, and data science

In this comprehensive guide, we'll explore all major derivative rules with detailed explanations, step-by-step examples, and interactive practice to help you master differentiation.

What is a Derivative?

A derivative represents the instantaneous rate of change of a function with respect to its variable. Geometrically, it gives the slope of the tangent line to the function's graph at any point.

f'(x) = limh→0 [f(x+h) - f(x)] / h

Where:

  • f'(x) is the derivative of function f at point x
  • lim represents the limit as h approaches 0
  • h is a very small change in x

Examples:

Position function: If s(t) = t², then velocity v(t) = s'(t) = 2t

Cost function: If C(x) = 3x² + 5x + 10, then marginal cost C'(x) = 6x + 5

Exponential growth: If P(t) = 100e0.05t, then growth rate P'(t) = 5e0.05t

Key Concepts
  • Instantaneous Rate: Derivative gives the rate at a specific point
  • Tangent Slope: Geometric interpretation as slope of tangent line
  • Notation: f'(x), dy/dx, Dxf all represent the derivative
  • Differentiability: A function must be continuous and smooth to have a derivative

Improve your understanding by practicing real examples with the derivative calculator.

Power Rule

The power rule is the most fundamental derivative rule, used for differentiating functions of the form x raised to a constant power.

d/dx(xn) = nxn-1

Where:

  • n is any real number constant
  • x is the variable
1️⃣

Basic Examples

f(x) = x³ → f'(x) = 3x²

f(x) = x⁵ → f'(x) = 5x⁴

f(x) = x → f'(x) = 1

f(x) = 1 → f'(x) = 0

🔢

Fractional Powers

f(x) = √x = x½ → f'(x) = ½x = 1/(2√x)

f(x) = ∛x = x → f'(x) = ⅓x-⅔ = 1/(3∛x²)

f(x) = 1/x = x-1 → f'(x) = -x-2 = -1/x²

With Constants

f(x) = 5x³ → f'(x) = 15x²

f(x) = -2x⁴ → f'(x) = -8x³

f(x) = 3/x² = 3x-2 → f'(x) = -6x-3 = -6/x³

📈

Real-World Application

Area of square: A = s²

Rate of change: dA/ds = 2s

When side length increases, area increases at twice the rate

If s=5 cm, dA/ds = 10 cm²/cm

Power Rule Calculator

Enter values and click "Calculate Derivative"

Product Rule

The product rule is used when differentiating the product of two functions. It states that the derivative of a product is the first function times the derivative of the second, plus the second function times the derivative of the first.

d/dx[f(x)g(x)] = f'(x)g(x) + f(x)g'(x)

Where:

  • f(x) and g(x) are differentiable functions
  • f'(x) and g'(x) are their derivatives
📝

Basic Example

f(x) = x² · sin(x)

f'(x) = (2x)(sin x) + (x²)(cos x)

f'(x) = 2x sin x + x² cos x

First times derivative of second, plus second times derivative of first

🔍

Step-by-Step

f(x) = (3x+1)(x²-2)

1. Identify: f(x)=3x+1, g(x)=x²-2

2. Derivatives: f'(x)=3, g'(x)=2x

3. Apply rule: f'g + fg' = 3(x²-2) + (3x+1)(2x)

4. Simplify: 3x²-6 + 6x²+2x = 9x²+2x-6

⚠️

Common Mistakes

Wrong: (fg)' = f'g'

Correct: (fg)' = f'g + fg'

Remember the sum of two terms

Don't simply multiply the derivatives

🌍

Real-World Application

Revenue = Price × Quantity

R(p) = p · q(p)

dR/dp = q(p) + p · dq/dp

Rate of revenue change with respect to price

Product Rule Mnemonic

Remember the product rule with this phrase:

"First d-second + second d-first"

Or: "Left d-right + right d-left"

This helps remember the pattern without confusing the order.

See your progress by testing yourself with the derivative calculator.

Quotient Rule

The quotient rule is used when differentiating the quotient (division) of two functions. It's more complex than the product rule but follows a specific pattern.

d/dx[f(x)/g(x)] = [f'(x)g(x) - f(x)g'(x)] / [g(x)]²

Where:

  • f(x) is the numerator function
  • g(x) is the denominator function
  • g(x) ≠ 0 (division by zero undefined)
📝

Basic Example

f(x) = (x²+1)/(x-1)

f'(x) = [(2x)(x-1) - (x²+1)(1)] / (x-1)²

f'(x) = [2x²-2x - x²-1] / (x-1)²

f'(x) = (x²-2x-1) / (x-1)²

🔍

Step-by-Step

f(x) = sin(x)/x²

1. Identify: f(x)=sin x, g(x)=x²

2. Derivatives: f'(x)=cos x, g'(x)=2x

3. Apply rule: [f'g - fg']/g² = [cos x·x² - sin x·2x] / x⁴

4. Simplify: [x² cos x - 2x sin x] / x⁴ = (x cos x - 2 sin x) / x³

⚠️

Common Mistakes

Wrong: (f/g)' = f'/g'

Wrong: (f/g)' = (f'g - fg')/g (missing square)

Correct: (f/g)' = (f'g - fg')/g²

Remember the minus sign and squared denominator

🌍

Real-World Application

Average Cost = Total Cost / Quantity

AC(x) = C(x)/x

d(AC)/dx = [xC'(x) - C(x)] / x²

Rate of change of average cost with production

Quotient Rule Mnemonic

Remember the quotient rule with this phrase:

"Low d-high minus high d-low, over low squared"

Where "high" is numerator and "low" is denominator.

This helps remember the pattern and the minus sign.

Chain Rule

The chain rule is used when differentiating composite functions - functions within functions. It's one of the most powerful and frequently used derivative rules.

d/dx[f(g(x))] = f'(g(x)) · g'(x)

Where:

  • f(g(x)) is a composite function
  • f'(g(x)) is the derivative of the outer function evaluated at the inner function
  • g'(x) is the derivative of the inner function
📝

Basic Example

f(x) = (3x²+1)⁵

Outer function: u⁵ where u=3x²+1

f'(x) = 5(3x²+1)⁴ · 6x

f'(x) = 30x(3x²+1)⁴

Derivative of outer times derivative of inner

🔍

Step-by-Step

f(x) = sin(x²)

1. Identify: Outer function = sin(u), Inner function = u=x²

2. Derivatives: d/du[sin u] = cos u, du/dx = 2x

3. Apply rule: cos(x²) · 2x

4. Final: f'(x) = 2x cos(x²)

🔄

Multiple Compositions

f(x) = sin(cos(x²))

Apply chain rule repeatedly:

f'(x) = cos(cos(x²)) · (-sin(x²)) · (2x)

f'(x) = -2x sin(x²) cos(cos(x²))

Work from outermost to innermost function

🌍

Real-World Application

Population growth with temperature

P(T) = population as function of temperature

T(t) = temperature as function of time

dP/dt = dP/dT · dT/dt (chain rule)

Rate of population change with time

Chain Rule Practice

Enter functions and click "Calculate Derivative"

Challenge your math skills with applied problems using the derivative calculator.

Special Derivative Rules

Beyond the basic rules, there are special derivatives for exponential, logarithmic, and trigonometric functions that appear frequently in calculus.

📈

Exponential Functions

d/dx(ex) = ex

d/dx(ax) = ax ln(a)

ex is unique - its derivative is itself

Example: d/dx(2x) = 2x ln(2)

📊

Logarithmic Functions

d/dx(ln x) = 1/x

d/dx(loga x) = 1/(x ln a)

Natural log has simplest derivative

Example: d/dx(log2 x) = 1/(x ln 2)

📐

Trigonometric Functions

d/dx(sin x) = cos x

d/dx(cos x) = -sin x

d/dx(tan x) = sec² x

Derivatives cycle through trigonometric functions

🔄

Inverse Trigonometric

d/dx(arcsin x) = 1/√(1-x²)

d/dx(arccos x) = -1/√(1-x²)

d/dx(arctan x) = 1/(1+x²)

Useful for integration and specific applications

Derivative Rules Summary
Function Derivative Rule Name
xn nxn-1 Power Rule
f(x)g(x) f'g + fg' Product Rule
f(x)/g(x) (f'g - fg')/g² Quotient Rule
f(g(x)) f'(g(x))g'(x) Chain Rule
ex ex Exponential Rule
ln x 1/x Logarithmic Rule
sin x cos x Trigonometric Rule

Applications of Derivatives

Derivatives have numerous practical applications across various fields. Understanding these applications helps contextualize why derivative rules are so important.

📈

Physics

Velocity: Derivative of position with respect to time

Acceleration: Derivative of velocity with respect to time

Force: Derivative of momentum with respect to time

Example: s(t)=t³-2t²+5 → v(t)=3t²-4t → a(t)=6t-4

💰

Economics

Marginal Cost: Derivative of total cost function

Marginal Revenue: Derivative of total revenue function

Elasticity: Percentage change in quantity demanded

Example: C(x)=100+5x+0.1x² → MC(x)=5+0.2x

🔬

Biology

Population Growth: Derivative of population function

Reaction Rates: Rate of chemical reactions

Drug Concentration: Change in drug levels over time

Example: P(t)=1000e0.02t → P'(t)=20e0.02t

🏗️

Engineering

Optimization: Finding maximum/minimum values

Related Rates: How changing quantities affect each other

Curve Analysis: Understanding behavior of functions

Example: Maximize area with fixed perimeter

Application Problem: Optimization

A farmer has 100 meters of fencing and wants to enclose a rectangular area along a river (so only three sides need fencing). What dimensions maximize the area?

Solution:

1. Let x = width, y = length (along river)

2. Constraint: 2x + y = 100 → y = 100 - 2x

3. Area: A = x·y = x(100-2x) = 100x - 2x²

4. Derivative: A'(x) = 100 - 4x

5. Set derivative to 0: 100 - 4x = 0 → x = 25

6. Then y = 100 - 2(25) = 50

7. Maximum area: 25 × 50 = 1250 m²

To verify your knowledge, try solving real scenarios using the derivative calculator.

Interactive Practice

Derivative Practice Problems

Test your understanding of derivative rules with these practice problems.

Problem 1: Find the derivative of f(x) = 3x⁴ - 2x³ + 5x - 7

Solution:

Apply power rule to each term:

f'(x) = 4·3x³ - 3·2x² + 5 - 0

f'(x) = 12x³ - 6x² + 5

Problem 2: Find the derivative of f(x) = (2x+1)(x²-3)

Solution:

Apply product rule: (fg)' = f'g + fg'

f(x)=2x+1, g(x)=x²-3

f'(x)=2, g'(x)=2x

f'(x) = 2(x²-3) + (2x+1)(2x)

f'(x) = 2x²-6 + 4x²+2x = 6x²+2x-6

Problem 3: Find the derivative of f(x) = (3x²+1)⁴

Solution:

Apply chain rule: d/dx[f(g(x))] = f'(g(x))g'(x)

Outer function: u⁴, derivative: 4u³

Inner function: u=3x²+1, derivative: 6x

f'(x) = 4(3x²+1)³ · 6x = 24x(3x²+1)³

Problem 4: Find the derivative of f(x) = e2x sin(x)

Solution:

Apply product rule and chain rule:

f(x) = e2x sin(x)

f'(x) = (2e2x)sin(x) + e2xcos(x)

f'(x) = e2x(2sin(x) + cos(x))

Enter a function and click "Calculate Derivative"

Advanced Topics

Once you've mastered the basic derivative rules, you can explore these advanced concepts that build upon them.

Higher Order Derivatives

Derivatives of derivatives provide information about curvature and acceleration.

f(x) = x³
f'(x) = 3x² (first derivative)
f''(x) = 6x (second derivative)
f'''(x) = 6 (third derivative)
f⁽⁴⁾(x) = 0 (fourth derivative)

Implicit Differentiation

Used when functions are defined implicitly rather than explicitly.

x² + y² = 25 (circle)
2x + 2y(dy/dx) = 0
dy/dx = -x/y
Slope depends on both x and y coordinates

Logarithmic Differentiation

Technique for differentiating complex products and quotients.

y = xx
ln y = x ln x
(1/y) dy/dx = ln x + 1
dy/dx = xx(ln x + 1)

Related Rates

Finding rates of change of related quantities using the chain rule.

Volume of sphere: V = (4/3)πr³
dV/dt = 4πr²(dr/dt)
If radius increases at 2 cm/s,
volume increases at 4πr²·2 cm³/s

Test your learning by applying concepts in real situations with the derivative calculator.