Derivative Calculator

Calculate derivatives step-by-step with symbolic differentiation

Supported: +, -, *, /, ^, sin, cos, tan, exp, ln, log, sqrt, abs

Function Syntax Reference

Basic: x^2, 2*x, x/2, sqrt(x), abs(x)
Trig: sin(x), cos(x), tan(x), sec(x), asin(x)
Exp/Log: e^x, exp(x), 2^x, ln(x), log(x,10)
Hyperbolic: sinh(x), cosh(x), tanh(x), asinh(x)

📚 Understanding Derivatives

What is a Derivative?

A derivative measures how a function changes as its input changes. Geometrically, the derivative at a point represents the slope of the tangent line to the function's graph at that point. In physics, derivatives represent rates of change: velocity is the derivative of position, and acceleration is the derivative of velocity.

Mathematical Notation

The derivative of f(x) can be written in multiple ways:

  • f'(x) - Lagrange's notation (most common)
  • df/dx - Leibniz's notation (emphasizes the ratio)
  • Df(x) - Euler's notation
  • ḟ(x) - Newton's notation (dot notation, often used in physics)

Essential Differentiation Rules

1. Power Rule:

If f(x) = xn, then f'(x) = n·xn-1

Example: d/dx[x³] = 3x²

2. Product Rule:

If f(x) = g(x)·h(x), then f'(x) = g'(x)·h(x) + g(x)·h'(x)

Example: d/dx[x²·sin(x)] = 2x·sin(x) + x²·cos(x)

3. Quotient Rule:

If f(x) = g(x)/h(x), then f'(x) = [g'(x)·h(x) - g(x)·h'(x)] / [h(x)]²

Example: d/dx[x/sin(x)] = [sin(x) - x·cos(x)] / sin²(x)

4. Chain Rule:

If f(x) = g(h(x)), then f'(x) = g'(h(x))·h'(x)

Example: d/dx[sin(x²)] = cos(x²)·2x

Common Function Derivatives

Function Derivative
sin(x) cos(x)
cos(x) -sin(x)
tan(x) sec²(x) = 1/cos²(x)
ex ex
ax ax·ln(a)
ln(x) 1/x
loga(x) 1/(x·ln(a))

Applications of Derivatives

📈 Optimization

Find maximum and minimum values of functions. Critical points occur where f'(x) = 0 or f'(x) is undefined.

🚗 Motion & Physics

Velocity is the derivative of position: v(t) = ds/dt. Acceleration is the derivative of velocity: a(t) = dv/dt.

📐 Curve Analysis

Determine where functions are increasing (f'(x) > 0) or decreasing (f'(x) < 0), and find inflection points using f''(x).

💰 Economics

Marginal cost, marginal revenue, and marginal profit are all derivatives. They show how these quantities change with production level.

Higher-Order Derivatives

The second derivative f''(x) measures how the rate of change itself is changing (concavity):

  • If f''(x) > 0, the function is concave up (curves upward like ∪)
  • If f''(x) < 0, the function is concave down (curves downward like ∩)
  • If f''(x) = 0, there may be an inflection point where concavity changes

In physics, the second derivative represents acceleration, while the third derivative (jerk) describes how acceleration changes over time.

Related Calculus Tools

Explore more calculus tools for complete mathematical analysis.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.