1 Foundations of differentiation
Differentiation is the process of finding how a function changes in response to changes in its input. The resulting derivative summarizes local behavior: it describes the instantaneous rate of change, the slope of a tangent line, and the best linear approximation near a given point. Because it captures local variation, differentiation is central to calculus and to many applications in the sciences.
1.1 Intuitive meaning
At an intuitive level, differentiation asks a simple question: if the input changes by a very small amount, how much does the output change? This idea appears in situations such as speed, growth, and geometric steepness. The derivative formalizes that intuition in a precise mathematical way.
1.1.1 Rate of change
A derivative measures how fast one quantity changes with respect to another. For example, if position changes over time, the derivative of position with respect to time gives velocity. In general, the derivative compares a small change in output to a small change in input and describes the local behavior of the function.
1.1.2 Slope of a tangent line
For a graph in the plane, the derivative at a point is the slope of the tangent line at that point, when such a line exists. This tangent line touches the curve and matches its direction locally. The derivative therefore provides a geometric description of how steep the graph is near that point.
1.2 Limit definition of the derivative
The derivative is defined using a limit, which captures the idea of taking a secant line and letting the second point move closer and closer to the first. This limiting process produces a single value when the function behaves regularly enough near the point of interest.
1.2.1 Difference quotient
The basic expression for differentiation is the difference quotient: \[ \frac{f(x+h)-f(x)}{h}. \] It represents the average rate of change over an interval of length \(h\). The derivative is obtained by studying what happens as \(h\) approaches zero.
1.2.2 One-sided derivatives
Sometimes a function may behave differently when approached from the left or from the right. In such cases, one-sided derivatives are considered. The left-hand derivative and right-hand derivative may each exist, but the function is differentiable at the point only if they agree.
1.2.3 Derivatives at a point
To say that a function is differentiable at a point means that the limit defining the derivative exists there. The derivative may be denoted by a number associated with that specific input value. If the limit fails to exist, the function is not differentiable at that point.
1.3 Notation
Several notations are used for derivatives, each reflecting a different historical tradition or practical style. The choice of notation often depends on the context, especially in physics, geometry, or abstract analysis.
1.3.1 Leibniz notation
Leibniz notation writes derivatives as \[ \frac{dy}{dx} \] or \[ \frac{d}{dx}f(x). \] It emphasizes the variables involved and is especially useful when working with related quantities, substitution, and chain rule calculations.
1.3.2 Lagrange notation
Lagrange notation uses a prime symbol, such as \(f'(x)\). It is compact and common in elementary calculus. Repeated differentiation is written with additional primes, such as \(f''(x)\) and \(f'''(x)\).
1.3.3 Newton notation
Newton notation often uses a dot above the variable, such as \(\dot{x}\), especially in mechanics. It is commonly applied when the variable depends on time, making it convenient for describing motion.
2 Basic differentiation rules
Differentiation becomes practical through rules that make it possible to compute derivatives without returning to the limit definition each time. These rules are derived from the definition and allow complex functions to be differentiated efficiently.
2.1 Constant and power rules
The simplest derivatives come from constant functions and powers of the variable. These formulas serve as building blocks for more complicated calculations.
2.1.1 Derivative of a constant
The derivative of a constant function is zero. A constant does not change as its input changes, so its rate of change is always zero.
2.1.2 Power rule
For a power function \(x^n\), the derivative is \[ \frac{d}{dx}x^n = nx^{n-1} \] for appropriate values of \(n\). This rule is one of the most widely used formulas in calculus and extends to many algebraic expressions.
2.2 Sum, difference, and scalar multiple rules
Differentiation is linear. The derivative of a sum is the sum of the derivatives, the derivative of a difference is the difference of the derivatives, and a constant factor can be pulled outside the derivative. These properties make it possible to differentiate expressions term by term.
2.3 Product rule
When two differentiable functions are multiplied, their derivative is found using the product rule: \[ (fg)' = f'g + fg'. \] This formula reflects the interaction between the two factors and is essential for products of algebraic, trigonometric, and exponential expressions.
2.4 Quotient rule
For a ratio of differentiable functions, the quotient rule gives the derivative: \[ \left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2} \] when \(g \neq 0\). It is closely related to the product rule and is useful for rational expressions and other quotients.
2.5 Chain rule
The chain rule handles compositions of functions. It shows how to differentiate a function nested inside another function by multiplying the derivative of the outer function by the derivative of the inner function.
2.5.1 Composite functions
If \(y=f(g(x))\), then the derivative is \[ \frac{dy}{dx} = f'(g(x))g'(x). \] This rule is fundamental because many functions in practice are compositions rather than simple formulas.
2.5.2 Higher-order chain applications
The chain rule can be applied repeatedly when several layers of composition are present. In such cases, each layer contributes a factor to the derivative, and careful bookkeeping is needed to track the nested structure.
3 Common differentiable functions
Many standard functions have well-known derivatives. These formulas are central to calculus and appear frequently in applications and more advanced theory.
3.1 Polynomial functions
Polynomial functions are differentiable everywhere on the real line. Their derivatives are again polynomials, obtained by applying the power rule term by term. Because of their simple structure, polynomials are often used as approximations to more complicated functions.
3.2 Rational functions
Rational functions are quotients of polynomials. They are differentiable wherever the denominator is nonzero. Their derivatives are computed using the quotient rule or by rewriting the expression when possible.
3.3 Exponential functions
Exponential functions such as \(e^x\) and \(a^x\) change at a rate proportional to their current value. The natural exponential function has the especially simple derivative \(e^x\), which makes it fundamental in calculus, growth models, and differential equations.
3.4 Logarithmic functions
Logarithmic functions are inverses of exponential functions. Their derivatives involve reciprocals, with the natural logarithm satisfying \[ \frac{d}{dx}\ln x = \frac{1}{x} \] for positive \(x\). Logarithms are useful in simplifying products, powers, and compositions through logarithmic differentiation.
3.5 Trigonometric functions
Trigonometric functions arise in geometry, periodic motion, and wave phenomena. Their derivatives follow a repeating pattern and are among the standard formulas learned early in calculus.
3.5.1 Sine and cosine
The derivative of sine is cosine, and the derivative of cosine is negative sine. These relationships reflect the cyclic nature of the trigonometric functions and are especially important in oscillatory models.
3.5.2 Tangent and cotangent
The tangent and cotangent functions have derivatives expressed in terms of secant and cosecant functions. These derivatives are defined where the original functions are themselves defined and are useful in trigonometric manipulation.
3.6 Inverse trigonometric functions
Inverse trigonometric functions, such as arcsine and arctangent, have derivatives involving radicals or rational expressions. They are often used when solving equations or describing angles from ratios. Their formulas are important in integration and geometry as well.
3.7 Hyperbolic functions
Hyperbolic functions resemble trigonometric functions but are based on exponential expressions. Their derivatives follow patterns similar to those of sine, cosine, and related functions. They appear in geometry, differential equations, and models involving catenary curves.
4 Advanced differentiation techniques
Some functions are best differentiated by rewriting them in special forms or by using coordinates other than a direct input-output description. These methods extend differentiation to a wider range of problems.
4.1 Implicit differentiation
Implicit differentiation is used when a relationship between \(x\) and \(y\) is given without solving for one variable explicitly. By differentiating both sides with respect to the independent variable and treating the dependent variable as a function of that variable, one can find derivatives of implicitly defined relations.
4.1.1 Derivatives of implicitly defined curves
Curves such as circles, ellipses, and other algebraic relations may be described implicitly. Differentiation reveals the slope of the curve at a point, even when the equation is not solved for \(y\). This is particularly useful for finding tangent lines and related geometric quantities.
4.2 Logarithmic differentiation
Logarithmic differentiation is useful for expressions involving products, quotients, or powers that are cumbersome to differentiate directly. Taking the logarithm first can turn multiplicative structure into additive structure, making the derivative easier to compute.
4.3 Parametric differentiation
When \(x\) and \(y\) are both expressed in terms of a third variable, often \(t\), the derivative \(\frac{dy}{dx}\) can be found by dividing \(\frac{dy}{dt}\) by \(\frac{dx}{dt}\), provided the denominator is nonzero. This method is common in geometry and physics.
4.4 Differentiation of inverse functions
If a function has a differentiable inverse, the derivative of the inverse can be found from the derivative of the original function. This relationship is especially useful for inverse trigonometric functions and for general theoretical analysis of one-to-one functions.
4.5 Higher-order derivatives
A function can be differentiated more than once if the resulting derivative is itself differentiable. Higher-order derivatives describe successive rates of change and reveal increasingly refined information about local behavior.
4.5.1 Second derivative
The second derivative measures how the first derivative changes. In geometry, it is linked to concavity and curvature. In mechanics, it often corresponds to acceleration when the original function represents position.
4.5.2 Higher derivatives
Derivatives beyond the second continue the pattern of repeated differentiation. They are important in series expansions, differential equations, and detailed local analysis of smooth functions.
5 Applications of differentiation
Differentiation is used to analyze change, optimize quantities, and understand geometric and physical behavior. Its applications are broad because many real and mathematical problems depend on local variation.
5.1 Curve sketching
Derivatives provide information that helps describe the shape of a graph. By examining slopes, turning points, and concavity, one can build an accurate sketch without plotting many individual points.
5.1.1 Critical points
Critical points occur where the derivative is zero or undefined, provided the function itself is defined there. Such points often indicate local maxima, local minima, or flat behavior, though further analysis is usually needed.
5.1.2 Concavity and inflection points
Concavity describes whether a graph bends upward or downward. The second derivative is commonly used to test concavity and locate inflection points, where the graph changes its bending behavior.
5.2 Optimization
Optimization uses derivatives to find maximum or minimum values of a function. By locating critical points and studying derivative signs, one can identify the best outcome under given conditions. This technique is widely used in mathematics and applied sciences.
5.3 Related rates
Related rates problems involve quantities that change with respect to time and are connected by an equation. Differentiation allows one to determine how the rate of one quantity affects another, such as the changing dimensions of a geometric figure.
5.4 Motion in one dimension
In one-dimensional motion, differentiation connects position, velocity, and acceleration. These relationships provide a concise mathematical description of movement along a line.
5.4.1 Velocity
Velocity is the derivative of position with respect to time. It indicates both speed and direction in one dimension, and it may vary over time as the motion changes.
5.4.2 Acceleration
Acceleration is the derivative of velocity with respect to time, or equivalently the second derivative of position. It measures how quickly velocity changes and plays a central role in kinematics.
5.5 Linear approximation and differentials
Near a point where a function is differentiable, the function can be approximated by its tangent line. This linear approximation is often useful for estimation and error analysis. Differentials provide a compact way to express small changes in variables.
5.5.1 Taylor approximation
Taylor approximation improves on linear approximation by adding higher-order derivative terms. Near a point, a function may be represented by a polynomial that matches its derivatives up to a chosen order, giving a more accurate local model.
5.6 Mean value theorems
Mean value theorems connect average behavior over an interval with instantaneous behavior at some point inside the interval. They are among the most important theoretical results in elementary calculus.
5.6.1 Rolle's theorem
Rolle's theorem states that if a differentiable function has equal values at the endpoints of an interval, then it has at least one point inside where the derivative is zero. Geometrically, this means the graph must have a horizontal tangent somewhere between the endpoints.
5.6.2 Mean value theorem
The mean value theorem generalizes Rolle's theorem. It states that for a differentiable function on a closed interval, there is a point where the instantaneous rate of change equals the average rate of change over the interval. This result underlies many comparison and estimation arguments.
6 Theoretical aspects
Beyond computation, differentiation has a strong theoretical framework. It connects local regularity, geometric structure, and global properties of functions.
6.1 Continuity and differentiability
Differentiability is a stronger condition than continuity. A function may be continuous without being differentiable, but differentiability requires a smooth enough local behavior for the derivative to exist.
6.1.1 Differentiability implies continuity
If a function is differentiable at a point, then it is continuous at that point. This follows from the limit definition of the derivative and shows that differentiability cannot occur without the function fitting together properly near the point.
6.2 Differentiable functions on intervals
When a function is differentiable on an interval, it exhibits regular local behavior throughout that region. Such functions support many classical theorems and are easier to analyze than functions with abrupt changes or corners.
6.3 Derivatives and smoothness
Derivatives measure smoothness at different levels. A function with many continuous derivatives is often called smooth, and higher smoothness gives stronger control over approximation, curvature, and local structure.
6.4 Darboux property
Derivatives have the intermediate value property known as the Darboux property. Even though a derivative may fail to be continuous, it cannot jump abruptly from one value to another without taking intermediate values. This distinguishes derivatives from arbitrary functions.
6.5 Relationship to integration
Differentiation and integration are closely linked as inverse processes in many settings. One process measures accumulation, while the other measures local change. Their connection forms one of the central ideas of calculus.
6.5.1 Fundamental theorem of calculus
The fundamental theorem of calculus states that differentiation and integration are inverse operations in a precise sense. It allows definite integrals to be evaluated using antiderivatives and explains why derivatives and integrals are deeply connected.
7 Extensions of differentiation
Differentiation extends beyond single-variable functions. In higher-dimensional and vector settings, the same basic idea of local linear change remains central, but the formulas become richer.
7.1 Partial derivatives
Partial derivatives measure change with respect to one variable while holding others fixed. They are the basic building blocks for functions of several variables and are widely used in multivariable calculus.
7.2 Directional derivatives
A directional derivative measures the rate of change of a function in a chosen direction. Unlike a partial derivative, which follows a coordinate axis, a directional derivative can be taken along any direction in space.
7.3 Total derivatives
The total derivative captures the full linear approximation of a multivariable function. It combines all partial derivatives into a single linear map and gives the best local approximation in several variables.
7.4 Vector-valued functions
Vector-valued functions assign a vector to each input and are differentiated component by component. Their derivatives describe how position, velocity, or other vector quantities vary with the independent variable.
7.5 Differentiation in higher dimensions
In higher dimensions, differentiation becomes a theory of linear approximation for mappings between spaces. Jacobian matrices, gradients, and related concepts organize this information and allow the study of complex systems in mathematics and applied fields.