Calculus

Derivative

A derivative measures how quickly a function changes as its input changes. Geometrically, it gives the slope of the tangent line to a curve at a point.

Meaning

What Is Derivative?

A derivative measures how quickly a function changes as its input changes. Geometrically, it gives the slope of the tangent line to a curve at a point.

Examples

Examples of Derivative

1If f(x) = x², then f′(x) = 2x.
2If f(x) = 3x + 4, then f′(x) = 3.
3If f(x) = sin x, then f′(x) = cos x.
Understand

Formula and Key Points

Formula / rule
f′(x) = lim(h→0) [f(x+h) - f(x)] / h
  • Derivatives describe rates of change.
  • The derivative of a constant is 0.
  • The power rule is d/dx(xⁿ) = nxⁿ⁻¹.
  • Derivatives are used in motion, optimisation and curve analysis.
CSE Connection

Why This Matters in Computer Science

Used in optimization, simulation, graphics, machine learning, control systems and numerical computing.

Step by Step

Worked Example

Problem

Differentiate f(x) = x³ + 2x.

  1. Differentiate x³ using the power rule: 3x².
  2. Differentiate 2x: 2.
  3. Add the derivatives together.
✓
Final Answerf′(x) = 3x² + 2
Try Your Own Problem in Math Solver →
Compare

Function vs Derivative

FeatureFunctionDerivative
MeaningGives an output valueGives the rate of change
Examplef(x) = x²f′(x) = 2x
Graph ideaOriginal curveSlope behaviour of the curve
FAQ

Derivative: Frequently Asked Questions

What does a derivative represent?

It represents an instantaneous rate of change or the slope of a tangent line.

What is the derivative of x²?

The derivative is 2x.

What is the derivative of a constant?

Zero.