Introduction to Derivatives
Derivatives are fundamental concepts in calculus that measure how a function changes as its input changes. While ordinary derivatives deal with single-variable functions, partial derivatives extend this concept to multivariable functions.
Core Concept:
- Ordinary Derivative: Rate of change of a function with respect to one variable
- Partial Derivative: Rate of change of a multivariable function with respect to one variable, holding others constant
- Both measure instantaneous rates of change and slopes of tangent lines
- Essential for optimization, physics, engineering, and economics
Understanding the distinction between these two types of derivatives is crucial for advancing from single-variable to multivariable calculus and applying calculus to real-world problems with multiple variables.
Ordinary Derivatives
Ordinary derivatives apply to functions of a single variable and represent the instantaneous rate of change at a point.
This limit definition captures the slope of the tangent line to the curve y = f(x) at point x.
Example: f(x) = x²
f'(x) = 2x
At x = 3, f'(3) = 6, meaning the slope of the tangent line is 6
Key Properties
- Linearity: (af + bg)' = af' + bg'
- Product Rule: (fg)' = f'g + fg'
- Quotient Rule: (f/g)' = (f'g - fg')/g²
- Chain Rule: (f(g(x)))' = f'(g(x))·g'(x)
The ordinary derivative f'(x) represents:
- Slope of the tangent line to the curve at point x
- Instantaneous rate of change of the function
- Velocity if the function represents position over time
Partial Derivatives
Partial derivatives extend the concept of derivatives to functions of multiple variables, measuring how the function changes as one variable changes while keeping others constant.
This measures the rate of change of f with respect to x, holding y constant.
Example: f(x, y) = x²y + sin(y)
∂f/∂x = 2xy (treat y as constant)
∂f/∂y = x² + cos(y) (treat x as constant)
Notation Variations
- Leibniz: ∂f/∂x, ∂f/∂y
- Subscript: fx, fy
- D-notation: Dxf, D1f (for first variable)
The partial derivative ∂f/∂x represents:
- Slope of the tangent line in the x-direction on the surface z = f(x,y)
- Rate of change along a slice where other variables are fixed
- Component of the gradient vector in the x-direction
Confirm your learning by applying it in realistic scenarios using the partial derivative calculator.
Key Differences
While both measure rates of change, ordinary and partial derivatives have fundamental differences in application and interpretation.
Number of Variables
Ordinary: Single variable functions f(x)
Partial: Multivariable functions f(x,y,z,...)
Treatment of Other Variables
Ordinary: No other variables to consider
Partial: Other variables held constant during differentiation
Geometric Interpretation
Ordinary: Slope of curve in 2D plane
Partial: Slope of surface slice in 3D space
Chain Rule Complexity
Ordinary: Simple chain rule: df/dt = (df/dx)(dx/dt)
Partial: Multivariable chain rule with multiple terms
| Aspect | Ordinary Derivatives | Partial Derivatives |
|---|---|---|
| Function Type | Single-variable: f(x) | Multivariable: f(x,y,z,...) |
| Notation | f'(x), df/dx | ∂f/∂x, fx |
| Interpretation | Slope of curve | Slope along coordinate direction |
| Chain Rule | Single term | Multiple terms (sum over paths) |
| Applications | Motion, growth rates | Surfaces, optimization, physics |
Applications
Both types of derivatives have wide-ranging applications across mathematics, science, and engineering.
Physics
Ordinary: Velocity as derivative of position, acceleration as derivative of velocity
Partial: Heat equation, wave equation, Maxwell's equations
Partial derivatives essential for describing physical fields and phenomena.
Engineering
Ordinary: Rate of change in control systems
Partial: Stress analysis, fluid dynamics, heat transfer
Multivariable optimization crucial for design and analysis.
Economics
Ordinary: Marginal cost, marginal revenue
Partial: Production functions with multiple inputs, utility maximization
Partial derivatives model complex economic relationships.
Machine Learning
Ordinary: Gradient descent in simple models
Partial: Backpropagation in neural networks, multivariable optimization
Partial derivatives enable training of complex models.
Real-World Example: Optimization
Consider a company's profit function P(x,y) = 100x + 150y - x² - y² - xy, where x and y are quantities of two products.
Track your progress by practicing with the partial derivative calculator.
Calculation Methods
While the fundamental concept is similar, the techniques for calculating ordinary and partial derivatives differ in important ways.
Ordinary Derivatives
Basic Rules:
- Power Rule: d/dx(xⁿ) = nxⁿ⁻¹
- Exponential: d/dx(eˣ) = eˣ
- Trigonometric: d/dx(sin x) = cos x
- Logarithmic: d/dx(ln x) = 1/x
Partial Derivatives
Calculation Approach:
- Treat the variable of interest as changing
- Treat all other variables as constants
- Apply ordinary derivative rules to the variable of interest
- Repeat for each variable
Higher Order Derivatives
Ordinary: f''(x), f'''(x) - successive differentiation
Partial: Mixed partials: fxy = ∂²f/∂x∂y
Clairaut's Theorem: fxy = fyx for continuous second partials
Chain Rule Comparison
Ordinary: df/dt = (df/dx)(dx/dt)
Partial: ∂z/∂t = (∂z/∂x)(∂x/∂t) + (∂z/∂y)(∂y/∂t)
Multivariable chain rule accounts for all paths of dependence.
Function: f(x,y) = x³y² + exy
Partial with respect to x:
Partial with respect to y:
Mixed partial:
Interactive Practice
Derivative Calculator
Practice calculating ordinary and partial derivatives with step-by-step solutions.
Enter a function and variable, then click "Calculate"
Solution:
Using the power rule for each term:
= 12x³ - 4x + 5 - 0
= 12x³ - 4x + 5
Solution:
With respect to x:
= 2xy³ + (1/(xy)) * y
= 2xy³ + 1/x
With respect to y:
= 3x²y² + (1/(xy)) * x
= 3x²y² + 1/y
If you want practical experience, try real-world cases with the partial derivative calculator.
Advanced Concepts
Building on the foundation of ordinary and partial derivatives, several advanced concepts extend their utility.
Gradient Vector
The gradient ∇f collects all first partial derivatives of a function:
Points in the direction of steepest ascent of the function.
Directional Derivatives
Measures rate of change in any direction, not just coordinate axes:
Where u is a unit vector in the desired direction.
Total Derivative
For functions f(x(t), y(t)), the total derivative accounts for all dependence paths:
Extends the chain rule to multivariable functions.
Jacobian Matrix
For vector-valued functions, the Jacobian generalizes the derivative:
Essential for transformations and systems of equations.
Summary and Key Takeaways
Understanding the relationship between ordinary and partial derivatives is essential for advancing in calculus and its applications.
Ordinary Derivatives
- Single variable functions
- Slope of curves
- Simple chain rule
- Foundation for calculus
Partial Derivatives
- Multivariable functions
- Slope of surfaces
- Multivariable chain rule
- Essential for advanced applications
Key Insight: Partial derivatives are the natural extension of ordinary derivatives to functions of multiple variables. While the calculation techniques are similar (treat other variables as constants), the interpretation and applications differ significantly.
Mastering both concepts opens the door to understanding gradient vectors, optimization in multiple dimensions, and many applications in physics, engineering, and data science.
Strengthen your understanding by practicing real examples with the partial derivative calculator.