Constant Rule Notes
These Constant Rule Notes explain how to differentiate a plain number, with the working shown line by line. A constant function never changes as x moves, so its rate of change is zero no matter how large the constant is. That is why the answer is always zero rather than the constant itself. Following the same pattern every time makes the reasoning behind a zero derivative explicit instead of memorised.
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Formula: Constant Rule
The derivative of a number on its own is 0, because a constant never changes.
Useful Tips to Remember
The derivative of any constant is zero, \(\frac{d}{dx}c = 0\), because a constant never changes. This includes numbers like \(\pi\) and \(e\), which are constants, not variables. A constant added to a function disappears when you differentiate, but a constant multiplying a function stays. A horizontal line has a gradient of zero everywhere.
Required knowledge
- No prerequisite knowledge is needed.
Where Is the Constant Rule Used?
The constant rule says that the derivative of a constant is zero, because a value that never changes has no rate of change. It explains why fixed costs disappear when finding marginal cost, and why the starting height of a falling object does not affect its speed. Every time a function has a constant term, such as the \(+5\) in \(x^2 + 5\), this rule removes it from the derivative. It is also the reason a constant of integration appears when working backwards, since many functions share the same derivative.
- Removing fixed costs when finding marginal cost in economics
- Ignoring a starting height when finding velocity
- Differentiating the constant terms of polynomials
- Understanding why integration needs a \(+C\)
- Checking that a flat graph has a gradient of zero
Constant Rule Practice Problems
Example 1 differentiates \(f(x) = 5\), and Example 2 differentiates the fraction \(f(x) = \frac{7}{2}\). Examples 3 and 4 give you two more of the same kind to try, \(f\left(x\right) = 9\) and \(f\left(x\right) = - \frac{5}{3}\). Try each one yourself before opening the examples.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Formula
Formula: Constant Rule
The derivative of a number on its own is 0, because a constant never changes.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(5\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(5\) is constant, its derivative is \(0\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Formula
Formula: Constant Rule
The derivative of a number on its own is 0, because a constant never changes.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(\frac{7}{2}\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(\frac{7}{2}\) is constant, its derivative is \(0\).
Final Answer
See Example 3 Hide Example 3
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Formula
Formula: Constant Rule
The derivative of a number on its own is 0, because a constant never changes.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(9\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(9\) is constant, its derivative is \(0\).
Final Answer
See Example 4 Hide Example 4
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule formula.
- Apply the constant rule.
Formula
Formula: Constant Rule
The derivative of a number on its own is 0, because a constant never changes.
Step 1
Step 1 - Set up the problem.
In this problem: We are given \(- \frac{5}{3}\). This expression does not contain \(x\), so it is a constant.
Step 2
Step 2 - Write the constant rule formula.
In this problem: The constant rule says the derivative of any constant is \(0\).
Step 3
Step 3 - Apply the constant rule.
In this problem: Since \(- \frac{5}{3}\) is constant, its derivative is \(0\).
Final Answer
Calculator and Practice Mode
Want to check your own working? The Constant Rule Calculator solves any problem you type in and shows every step, so you can compare it line by line with your answer and find exactly where a mistake crept in. When you are ready to test yourself, Constant Rule Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode is available on the Plus and Pro plans.