d/dx a constant = 0 · the constant rule

Derivative of a constant

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of a constant (any number on its own, such as 5, π or e^2) is 0, by the constant rule.

the rule

📐 The constant rule

d/dx c = 0 for any constant c.

d/dx a constant = 0.

step by step

✍️ Differentiating a constant

  1. A constant function has the same value everywhere, so its graph is a horizontal line.
  2. The slope of a horizontal line is 0, at every x.
  3. So d/dx c = 0: d/dx 5 = 0, d/dx π = 0, d/dx e2 = 0, d/dx √7 = 0.
why it is true

🔍 Where the rule comes from

From the definition: (c − c)/h = 0 for every h, so the limit is 0. The rule also covers numbers that look like functions, such as e2, ln 3, π2 and sin 1: they contain no x, so they are constants. A constant multiplied by a function is different: d/dx (c·f(x)) = c·f′(x), the constant stays.

at a point

📍 The slope of a constant at a point, and the tangent line

f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.

Pointa constant0Tangent line
x = −250y = 5
x = −150y = 5
x = −0.550y = 5
x = 050y = 5
x = 0.550y = 5
x = 150y = 5
x = 250y = 5
x = 350y = 5
the family

👪 Rules and special cases: the derivatives side by side

The same rule, or the same trap, runs through the whole family; each row has its own worked page.

FunctionDerivative
xxxx(ln x + 1)the page
|x|x/|x|, and none at 0the page
xyy + x·dy/dxthe page
an integralf(x), by the fundamental theoremthe page
an inverse function1 / f′(f−1(x))the page
a fraction(u′v − uv′)/v2the page
mistakes

⚠️ The mistakes that lose the marks

  • Differentiating e2 as 2e: e2 is a number (about 7.389), its derivative is 0.
  • Dropping a constant that multiplies x: d/dx 5x = 5, not 0.
try another number

🧮 Calculator

The answer appears here, with the working in words.

practice

✏️ Five questions, answers hidden

1. Differentiate 7.

Answer: 0

2. Differentiate e^2.

Answer: 0

3. Differentiate 3x + 7.

Answer: 3

4. Differentiate π x.

Answer: π

5. Differentiate ln 5 + x^2.

Answer: 2x

where this is taught

📚 The class this belongs to

Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.

If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of a constant

1What is the derivative of a constant?
0, by the constant rule.
2Which rule differentiates a constant?
The constant rule: d/dx c = 0 for any constant c.
3How do you differentiate a constant step by step?
A constant function has the same value everywhere, so its graph is a horizontal line. The slope of a horizontal line is 0, at every x.
4What is the slope of y = a constant at x = 3?
0 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 5.