Introduction to Derivatives - Complete Guide
Learn the fundamentals of derivatives in calculus. Covers the definition, power rule, product rule, chain rule, and practical applications with clear examples.
What Is a Derivative?
A derivative measures how a function changes as its input changes. Geometrically, the derivative at a point gives the slope of the tangent line to the function's graph at that point. If you have a position function that tracks where an object is over time, the derivative gives you the velocity, the rate at which position is changing. The derivative of f(x) is written as f'(x) or df/dx. It is one of the two central concepts in calculus (the other being the integral) and provides a precise mathematical framework for analyzing rates of change in any context.
The Limit Definition
Formally, the derivative of f(x) is defined as the limit of [f(x + h) - f(x)] / h as h approaches zero. This expression represents the slope of a secant line between two points on the curve, and as h shrinks to zero, the secant line approaches the tangent line. For example, if f(x) = x², then [f(x + h) - f(x)] / h = [(x + h)² - x²] / h = [2xh + h²] / h = 2x + h, and as h approaches zero, this becomes 2x. So the derivative of x² is 2x. While you rarely use the limit definition for routine calculations, understanding it gives you the conceptual foundation for everything that follows.
The Power Rule
The power rule is the workhorse of differentiation. It states that the derivative of x^n is n * x^(n-1), where n is any real number. For example, the derivative of x³ is 3x², the derivative of x^(1/2) (which is the square root of x) is (1/2) * x^(-1/2), and the derivative of x^(-1) (which is 1/x) is -x^(-2). Constants can be pulled out of derivatives: the derivative of 5x⁴ is 20x³. The derivative of a constant (like 7) is zero, since constants do not change. These rules, combined with the sum rule (differentiate term by term), allow you to differentiate any polynomial almost instantly.
The Product and Quotient Rules
When two functions are multiplied, you cannot simply differentiate each factor separately. The product rule states that the derivative of f(x) * g(x) is f'(x) * g(x) + f(x) * g'(x). For example, the derivative of x² * sin(x) is 2x * sin(x) + x² * cos(x). The quotient rule handles division: the derivative of f(x) / g(x) is [f'(x) * g(x) - f(x) * g'(x)] / [g(x)]². For instance, the derivative of sin(x) / x is [cos(x) * x - sin(x)] / x². A common mnemonic for the quotient rule is "low d-high minus high d-low, over the square of what's below."
The Chain Rule
The chain rule is used when you have a function composed within another function, a "function of a function." It states that the derivative of f(g(x)) is f'(g(x)) * g'(x). In other words, differentiate the outer function (leaving the inner function unchanged) and then multiply by the derivative of the inner function. For example, the derivative of (3x + 1)⁵ is 5(3x + 1)⁴ * 3 = 15(3x + 1)⁴. The derivative of sin(x²) is cos(x²) * 2x. The chain rule is arguably the most important differentiation technique because composite functions appear constantly in applications.
Common Derivatives to Know
Several derivatives appear so frequently that they are worth memorizing. The derivative of sin(x) is cos(x), and the derivative of cos(x) is -sin(x). The derivative of e^x is e^x (the only function that is its own derivative). The derivative of ln(x) is 1/x. The derivative of tan(x) is sec²(x). The derivative of a^x (for constant a > 0) is a^x * ln(a). Having these at your fingertips dramatically speeds up your work, as most derivatives in practice are combinations of these elementary functions via the product, quotient, and chain rules.
Applications of Derivatives
Derivatives have wide-ranging applications across science, engineering, and economics. In physics, the derivative of position with respect to time gives velocity, and the derivative of velocity gives acceleration. In economics, marginal cost is the derivative of the total cost function, telling you how much the next unit costs to produce. In optimization, setting the derivative equal to zero finds local maxima and minima, which is how businesses maximize profit and engineers minimize material usage. In medicine, the rate of drug absorption and elimination is modeled using derivatives of concentration functions.
Finding Maxima and Minima
One of the most practical uses of derivatives is finding where a function reaches its highest or lowest values. Set f'(x) = 0 and solve for x to find critical points. Then use the second derivative test: if f''(x) > 0 at a critical point, it is a local minimum (the curve is concave up); if f''(x) < 0, it is a local maximum (the curve is concave down). For example, f(x) = x³ - 3x has f'(x) = 3x² - 3 = 0, giving x = 1 and x = -1. Since f''(x) = 6x, we have f''(1) = 6 > 0 (local min at x = 1) and f''(-1) = -6 < 0 (local max at x = -1). This technique is the foundation of optimization in calculus.
Try These Calculators
Put what you learned into practice with these free calculators.
Try It Yourself
Put what you learned into practice with our free graphing calculator.
Related Graphs
Related Guides
How to Solve Quadratic Equations - Complete Guide
Learn how to solve quadratic equations using factoring, the quadratic formula, and completing the square. Step-by-step methods with worked examples.
Understanding Logarithms - Complete Guide
Learn what logarithms are, how they work, and how to use them. Covers log rules, common and natural logarithms, change of base, and real-world applications.
Trigonometry Basics - Complete Guide
Learn the fundamentals of trigonometry including sine, cosine, tangent, the unit circle, identities, and the laws of sines and cosines with practical examples.