Skip to content
LoveToCalc

Theorem — what does that mean?

Derivative of a constant

A constant does not change, so its derivative is 0.

In Swedish: Derivatan av en konstant

ddxc=0

c
The constant
x
The variable

The rule

d/dx c = 0

c is any number that does not depend on x: 7, −2, π², or a letter such as a that stands for a fixed number. Its graph is a horizontal line, and a horizontal line has slope 0 everywhere.

Worked examples

What it means for graphs

Adding a constant moves a graph up or down and does not change its slope. That is why y = x², y = x² + 5 and y = x² − 3 all have the derivative 2x, and why integrating needs a +C going the other way (antiderivative of a constant).

Common mistakes

Common questions

Why is the slope of a horizontal line 0? The rate of change is the change in y divided by the change in x. For a constant the change in y is 0 for every change in x, so the quotient is 0, and so is its limit.

Last reviewed October 13, 2026 ·How pages are reviewed

Calculate it in practice

CalculusAll formulas