Calculate derivatives with the generalized power rule for u(x)n or u(x)v(x), then evaluate f(x), f′(x), and the tangent line at x.
Related Calculators
- Related Rate Calculator
- Error Bound Calculator (Simpson’s Rule)
- Maximum Area Calculator
- Polar Coordinates Calculator
- All Math and Numbers Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Constant exponent: u(x)^n | Differentiates a function raised to a constant power | Requires the base function u(x) and the constant exponent n |
| Variable exponent: u(x)^v(x) | Differentiates a function raised to another function | Requires the base function u(x), which must be positive, and the exponent function v(x) |
| Evaluate f(x) and its derivative | Finds the value, the slope and the tangent line of a function at one point | Requires the function f(x) and a value of x |
Functions are typed with * for multiplication and ^ for powers, such as 3*x^2. Trigonometric functions work in radians, ln is the natural logarithm, and log and log10 are base 10. In the first two functions x is optional: left blank, the result is the derivative as an expression, and with a value the result is the slope and tangent line at that point.
Generalized Power Rule Formulas
| u | A differentiable function of x |
| n | A constant exponent |
| u′ | The derivative of u with respect to x |
Constant exponent: u(x)^n
The rule is the chain rule applied to a power. The chain rule gives the derivative of f(g(x)) as f′(g(x)) × g′(x), and here the outer function is the power, whose derivative comes from the ordinary power rule [1]. For (3x²)⁴, u = 3x², n = 4 and u′ = 6x, so the derivative is 4 × (3x²)³ × 6x. At x = 1 that is 4 × 27 × 6 = 648.
Variable exponent: u(x)^v(x)
(v′ × ln u + v × u′ ÷ u) [2]
When the exponent also depends on x, the power is rewritten as e raised to v × ln u and then differentiated with the chain and product rules [2]. This needs u to be positive so that ln u exists. For xx, u = x and v = x, which gives xx × (ln x + 1) [2]. At x = 2 the derivative is 4 × (ln 2 + 1) = 6.7726.
Evaluate f(x) and its derivative
The calculator differentiates f(x) with the sum, product, quotient, chain and power rules, then evaluates the function and its derivative at x = a. The line above is the tangent at that point. For f(x) = x³ + 2x at x = 2, the value is 12, the slope is 3 × 4 + 2 = 14 and the tangent line is y = 12 + 14 × (x − 2).
Limits of This Estimate
- The calculator works with real numbers only. A negative base needs a whole-number exponent, and zero to the power of zero is undefined.
- The derivative expression is not simplified. For (3x²)⁴ it reads 4 * (3 * x^2)^3 * (3 * (2 * x)), which equals 72x × (3x²)³.
- At a corner, such as abs(x) at 0, or at the edge of a function’s domain, the calculator reports the derivative as unavailable.
- Values at a point are floating-point results rounded for display.
Sources
- Guichard, Calculus (Whitman College), Section 3.5, The Chain Rule: the chain rule and its use with the power rule on a power of a function
- Guichard, Calculus (Whitman College), Section 4.7, Example 4.7.3: differentiating a power with a variable exponent by rewriting it with e and ln, and the derivative of x to the x
