How to Differentiate Functions Step by Step
Differentiation is the process of finding the derivative of a function — a fundamental operation in calculus that reveals how a quantity changes with respect to another. Whether you're analyzing the velocity of a moving object, the slope of a curve, or the rate of growth of an investment, derivatives provide the mathematical framework. TheCalcPro's calculus solver automates the differentiation process while showing every intermediate step, so you can learn the method and verify homework solutions simultaneously.
Essential Differentiation Rules
Power Rule: d/dx [xⁿ] = n·xⁿ⁻¹
Product Rule: d/dx [u·v] = u′v + uv′
Quotient Rule: d/dx [u/v] = (u′v − uv′) / v²
Chain Rule: d/dx [f(g(x))] = f′(g(x)) · g′(x)
These four rules, combined with the derivatives of elementary functions (d/dx sin x = cos x, d/dx eˣ = eˣ, d/dx ln x = 1/x), are sufficient to differentiate virtually any expression encountered in undergraduate mathematics.
Step-by-Step Example: Differentiate f(x) = 3x⁴ − 2x² + 7
- Apply the power rule to each term individually (the derivative of a sum is the sum of derivatives).
- Term 1: d/dx [3x⁴] = 3 · 4x³ = 12x³
- Term 2: d/dx [−2x²] = −2 · 2x¹ = −4x
- Term 3: d/dx [7] = 0 (the derivative of any constant is zero)
- Combine: f′(x) = 12x³ − 4x
The derivative tells us the instantaneous rate of change of f at any point x. For instance, at x = 2: f′(2) = 12(8) − 4(2) = 96 − 8 = 88, meaning the function is increasing rapidly at that point.
Practical Applications
Derivatives are used in physics to compute velocity and acceleration from position functions, in economics to analyze marginal cost and revenue, in machine learning for gradient descent optimization, and in engineering for control systems. To graph your functions and their derivatives visually, try our Function Plotter. For algebraic equation solving, visit the Algebra Solver.