Derivative Calculator

Compute derivatives and visualize the slope at any point

Derivative Result

Derivative

d/dx [3x^2] = 6x

Slope at x

12.0000

at x = 2

Function & Slope Values

Function & Derivative Table

xf(x)f'(x)
-448-24
-3.536.75-21
-327-18
-2.518.75-15
-212-12
-1.56.75-9
-13-6
-0.50.75-3
000
0.50.753
136
1.56.759
21212
2.518.7515
32718
3.536.7521
44824
4.560.7527
57530
5.590.7533
610836
6.5126.7539
714742
7.5168.7545
819248

Understanding Derivatives

What Is a Derivative?

The derivative of a function measures how the output changes as the input changes. Formally, f'(x) = lim[h→0] (f(x+h) − f(x))/h. It gives the slope of the tangent line at any point on the curve.

The Power Rule

For a polynomial term axⁿ, the derivative is a·n·xⁿ⁻¹. This is the power rule — the most fundamental differentiation rule. It reduces the exponent by 1 and multiplies by the original exponent.

Geometric Interpretation

The derivative at a point is the slope of the tangent line to the curve at that point. A positive derivative means the function is increasing, negative means decreasing, and zero means it has a horizontal tangent (potential maximum or minimum).

Higher-Order Derivatives

The second derivative f''(x) measures the rate of change of the first derivative. It indicates concavity: positive means concave up (bowl-shaped), negative means concave down (dome-shaped). Inflection points occur where f''(x) = 0.

Applications

Derivatives are used in physics (velocity = derivative of position, acceleration = derivative of velocity), optimization (finding maxima and minima), economics (marginal cost, marginal revenue), biology (population growth rates), and machine learning (gradient descent).

Practical Example

Find the derivative of f(x) = 3x² and evaluate at x = 2. Using the power rule: f'(x) = 3·2·x¹ = 6x. Evaluating at x = 2: f'(2) = 6(2) = 12.

This means at x = 2, the function is increasing at a rate of 12 units per unit of x. The tangent line at (2, 12) has slope 12 and equation y − 12 = 12(x − 2).

Perguntas Frequentes

What does the derivative tell you?

The derivative tells you the instantaneous rate of change of a function at a given point. Geometrically, it is the slope of the tangent line to the curve at that point.

What is the power rule?

The power rule states that d/dx [xⁿ] = n·xⁿ⁻¹. For example, d/dx [x³] = 3x². It is the most commonly used differentiation rule.

What does a zero derivative mean?

A zero derivative at a point means the tangent line is horizontal. This often indicates a local maximum, local minimum, or saddle point. Further tests (second derivative test) can determine which.

What is the chain rule?

The chain rule is for composite functions: d/dx [f(g(x))] = f'(g(x))·g'(x). It allows differentiating nested functions by multiplying derivatives at each level.

How are derivatives used in real life?

Velocity is the derivative of position. Marginal cost is the derivative of total cost. In machine learning, gradient descent uses derivatives to minimize loss functions. In medicine, derivatives model drug concentration changes.

Disclaimer: This calculator handles polynomial functions. Verify complex differentiations independently.

References

  1. Wikipedia. "Derivative." en.wikipedia.org
  2. Khan Academy. "Differential calculus." khanacademy.org
  3. MIT OpenCourseWare. "Single Variable Calculus." ocw.mit.edu

Comentários