Calculus Derivatives
Introduction to Derivatives
In calculus, a derivative measures the rate at which a function changes at a given point. Geometrically, the derivative represents the slope of the tangent line to the function's graph at that point.
The derivative of a function \(f(x)\) is denoted as:
Derivatives are fundamental to calculus and have numerous applications in physics, engineering, economics, and other fields where we need to understand how things change.
The formal definition of a derivative is given by the limit:
In this interactive app, you'll learn the key concepts, rules, and applications of derivatives, with plenty of examples and practice problems to build your understanding.
Why Derivatives Matter
Real-world Applications
- Finding maximum and minimum values
- Calculating rates of change
- Optimization problems
- Motion analysis (velocity, acceleration)
- Economic modeling (marginal cost/revenue)
Mathematical Foundation
- Basis for differential equations
- Essential for multivariable calculus
- Foundational to Taylor series
- Critical for understanding integration
- Core concept in numerical methods
Key Concepts of Derivatives
Rate of Change
A derivative measures the instantaneous rate of change of a function with respect to one of its variables.
If \(y = f(x)\), then \(f'(x)\) or \(\frac{dy}{dx}\) represents how quickly \(y\) changes as \(x\) changes.
For example:
- Velocity is the derivative of position with respect to time
- Acceleration is the derivative of velocity with respect to time
Slope of Tangent Line
Geometrically, the derivative \(f'(a)\) represents the slope of the tangent line to the graph of \(f\) at the point \((a, f(a))\).
The tangent line is a straight line that "just touches" the curve at that point, representing the best linear approximation of the function near that point.
The equation of this tangent line is: \[y - f(a) = f'(a)(x - a)\]
Limit Definition
The formal definition of the derivative is given by the limit:
This represents the limiting value of the average rate of change over an interval as that interval becomes infinitesimally small.
Differentiability
A function is differentiable at a point if its derivative exists at that point.
For a function to be differentiable at a point:
- The function must be continuous at that point
- The limit defining the derivative must exist
Functions that are not differentiable at a point may have:
- Sharp corners or cusps
- Vertical tangent lines
- Discontinuities
Higher-Order Derivatives
We can take derivatives of derivatives, resulting in higher-order derivatives:
| Order | Notation | Meaning |
|---|---|---|
| First | \(f'(x)\) or \(\frac{df}{dx}\) | Rate of change of \(f\) |
| Second | \(f''(x)\) or \(\frac{d^2f}{dx^2}\) | Rate of change of \(f'\) |
| Third | \(f'''(x)\) or \(\frac{d^3f}{dx^3}\) | Rate of change of \(f''\) |
Higher-order derivatives have physical interpretations too. For example, if \(s(t)\) represents position:
- \(s'(t) = v(t)\) is velocity (first derivative)
- \(s''(t) = v'(t) = a(t)\) is acceleration (second derivative)
- \(s'''(t) = a'(t)\) is jerk (third derivative)
Derivative Rules
Basic Rules
Constant Rule:
\[\frac{d}{dx}(c) = 0\]
The derivative of a constant is zero.
Power Rule:
\[\frac{d}{dx}(x^n) = nx^{n-1}\]
Multiply by the exponent, then reduce the exponent by 1.
Constant Multiple Rule:
\[\frac{d}{dx}(cf(x)) = c \cdot \frac{d}{dx}f(x)\]
Constants can be factored out of derivatives.
Sum/Difference Rule:
\[\frac{d}{dx}(f(x) \pm g(x)) = \frac{d}{dx}f(x) \pm \frac{d}{dx}g(x)\]
The derivative of a sum equals the sum of derivatives.
Product & Quotient Rules
Product Rule:
\[\frac{d}{dx}(f(x) \cdot g(x)) = f'(x) \cdot g(x) + f(x) \cdot g'(x)\]
First times derivative of second, plus second times derivative of first.
Quotient Rule:
\[\frac{d}{dx}\left(\frac{f(x)}{g(x)}\right) = \frac{f'(x) \cdot g(x) - f(x) \cdot g'(x)}{[g(x)]^2}\]
Bottom times derivative of top, minus top times derivative of bottom, all over bottom squared.
Chain Rule
Chain Rule:
\[\frac{d}{dx}(f(g(x))) = f'(g(x)) \cdot g'(x)\]
If \(y = f(u)\) and \(u = g(x)\), then \(\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}\)
The derivative of the outer function evaluated at the inner function, times the derivative of the inner function.
Common Functions
Exponential Functions:
\[\frac{d}{dx}(e^x) = e^x\]
\[\frac{d}{dx}(a^x) = a^x \ln(a)\]
Logarithmic Functions:
\[\frac{d}{dx}(\ln(x)) = \frac{1}{x}\]
\[\frac{d}{dx}(\log_a(x)) = \frac{1}{x \ln(a)}\]
Trigonometric Functions:
\[\frac{d}{dx}(\sin(x)) = \cos(x)\]
\[\frac{d}{dx}(\cos(x)) = -\sin(x)\]
\[\frac{d}{dx}(\tan(x)) = \sec^2(x)\]
Inverse Trigonometric Functions
\[\frac{d}{dx}(\arcsin(x)) = \frac{1}{\sqrt{1-x^2}}\]
\[\frac{d}{dx}(\arccos(x)) = -\frac{1}{\sqrt{1-x^2}}\]
\[\frac{d}{dx}(\arctan(x)) = \frac{1}{1+x^2}\]
\[\frac{d}{dx}(\text{arccot}(x)) = -\frac{1}{1+x^2}\]
Hyperbolic Functions
\[\frac{d}{dx}(\sinh(x)) = \cosh(x)\]
\[\frac{d}{dx}(\cosh(x)) = \sinh(x)\]
\[\frac{d}{dx}(\tanh(x)) = \text{sech}^2(x)\]
\[\frac{d}{dx}(\text{coth}(x)) = -\text{csch}^2(x)\]
Step-by-Step Examples
Example 1: Power Rule
Find the derivative of \(f(x) = x^3\).
Solution:
Using the power rule: \(\frac{d}{dx}(x^n) = nx^{n-1}\)
For \(f(x) = x^3\), we have \(n = 3\)
\[f'(x) = 3x^{3-1} = 3x^2\]
Explanation:
The power rule states that when differentiating \(x^n\), we multiply by the exponent and then decrease the exponent by 1. In this case, we multiply by 3 and reduce the exponent from 3 to 2, giving us \(3x^2\).
Example 2: Product Rule
Find the derivative of \(g(x) = x^2 \cdot \sin(x)\).
Solution:
Let's use the product rule: \(\frac{d}{dx}(f(x) \cdot g(x)) = f'(x) \cdot g(x) + f(x) \cdot g'(x)\)
For \(g(x) = x^2 \cdot \sin(x)\), let's set:
\(f(x) = x^2\) and \(g(x) = \sin(x)\)
We know:
\(f'(x) = 2x\) (using the power rule)
\(g'(x) = \cos(x)\) (derivative of sine is cosine)
Applying the product rule:
\[g'(x) = 2x \cdot \sin(x) + x^2 \cdot \cos(x)\]
Explanation:
The product rule allows us to find the derivative of a product of two functions. We take the derivative of the first function (\(x^2\)) and multiply it by the second function (\(\sin(x)\)), then add that to the product of the first function and the derivative of the second function (\(x^2 \cdot \cos(x)\)).
Example 3: Chain Rule
Find the derivative of \(h(x) = \sin(x^2)\).
Solution:
Let's use the chain rule: \(\frac{d}{dx}(f(g(x))) = f'(g(x)) \cdot g'(x)\)
For \(h(x) = \sin(x^2)\), we have:
\(f(u) = \sin(u)\) where \(u = g(x) = x^2\)
We know:
\(f'(u) = \cos(u)\)
\(g'(x) = 2x\)
Applying the chain rule:
\[h'(x) = \cos(x^2) \cdot 2x = 2x\cos(x^2)\]
Explanation:
The chain rule helps us differentiate composite functions. We first identify the "outside" function (\(\sin(u)\)) and the "inside" function (\(u = x^2\)). We then take the derivative of the outside function (\(\cos(u)\)) and evaluate it at the inside function (\(\cos(x^2)\)). Finally, we multiply by the derivative of the inside function (\(2x\)).
Example 4: Quotient Rule
Find the derivative of \(j(x) = \frac{x^2}{e^x}\).
Solution:
Let's use the quotient rule: \(\frac{d}{dx}\left(\frac{f(x)}{g(x)}\right) = \frac{f'(x) \cdot g(x) - f(x) \cdot g'(x)}{[g(x)]^2}\)
For \(j(x) = \frac{x^2}{e^x}\), we have:
\(f(x) = x^2\) and \(g(x) = e^x\)
We know:
\(f'(x) = 2x\)
\(g'(x) = e^x\)
Applying the quotient rule:
\[j'(x) = \frac{2x \cdot e^x - x^2 \cdot e^x}{(e^x)^2} = \frac{(2x - x^2) \cdot e^x}{e^{2x}} = \frac{2x - x^2}{e^x}\]
Explanation:
The quotient rule allows us to find the derivative of a fraction. We take the derivative of the numerator (\(2x\)) times the denominator (\(e^x\)), minus the numerator (\(x^2\)) times the derivative of the denominator (\(e^x\)), all divided by the square of the denominator (\(e^{2x}\)). We can simplify by factoring out the \(e^x\) term in the numerator.
Practice Problems
Problem :
Calculate
Derivative Calculator
Result:
Calculating derivative...
Function: \(f(x) = \)
Derivative: \(f'(x) = \)
Input Tips:
- Use
^for exponents:x^2for x² - Use standard function names:
sin(x),cos(x),tan(x) - For natural logarithm, use
ln(x) - For exponential function, use
e^x - For square root, use
sqrt(x)