Tutorials › AP Calculus › Derivative Rules: Constant, Sum, and Difference Rules
← All AP Calculus Tutorials
AP Calculus AB & BC Beginner

Derivative Rules: Constant, Sum, and Difference Rules

Three simple derivative rules that let you break complicated expressions into manageable pieces: constants differentiate to zero, sums differentiate term-by-term, and differences work the same way.

Why These Rules Matter

Once you understand what a derivative means, the next step is learning rules that make differentiation fast. The constant rule, sum rule, and difference rule are among the simplest rules in AP Calculus, but they are also some of the most frequently used.

The key idea is that you do not have to differentiate an entire expression all at once. If a function is made from several terms added or subtracted together, you can differentiate each term separately and then combine the results.

For example, consider . Instead of treating this as one large expression, differentiate each term independently.

The Constant Rule

A constant is a number that does not change as changes. Its graph is a horizontal line, so its slope is always zero.

In other words, the derivative of any constant is zero. This includes positive numbers, negative numbers, fractions, and decimals.

Example 1: A Constant

Differentiate .

Step 1: Recognize that is a constant.
Step 2: Apply the constant rule: .
Result:

Why is the derivative zero?

Think about the graph of . It is a horizontal line. A horizontal line has slope zero everywhere, so its derivative must be zero.

The Sum Rule

The sum rule says that the derivative of a sum is the sum of the derivatives. You can differentiate each term separately and then add the results.

This is especially useful for polynomial functions, because a polynomial is simply a collection of terms added together.

Example 2: A Polynomial

Differentiate .

Step 1: Separate the terms:
Step 2: Differentiate each term:
Step 3: Combine the derivatives:
Result:

The sum rule works for any functions

The rule is not limited to polynomials. If and are differentiable functions, then their sum can be differentiated term-by-term.

Example 3: Algebraic and Trigonometric Terms

Differentiate .

Step 1: Differentiate the first term:
Step 2: Differentiate the second term:
Step 3: Differentiate the constant:
Result:

The Difference Rule

The difference rule is essentially the same idea as the sum rule. When functions are subtracted, differentiate each term separately and keep the subtraction.

The important point is that the negative sign stays attached to the term being subtracted.

Example 4: A Difference of Polynomial Terms

Differentiate .

Step 1: Differentiate the first term:
Step 2: Differentiate the second term:
Step 3: Differentiate the constant:
Result:

Combining All Three Rules

In practice, these rules usually appear together. A function may contain positive terms, negative terms, and constants all in the same expression. The strategy is simple: differentiate one term at a time.

Example 5: All Three Rules Together

Differentiate .

Step 1: Differentiate using the power rule:
Step 2: Differentiate :
Step 3: Differentiate :
Step 4: Differentiate the constant :
Result:

Constants Can Be Coefficients

A common point of confusion is the difference between a constant term and a constant coefficient. In , the number 7 is a constant coefficient multiplying ; the entire term is not a constant.

You therefore do not differentiate the 7 by itself and stop. Instead, the constant multiple stays in front while you differentiate the function it multiplies.

Example 6: Constant Coefficient

Differentiate .

Step 1: The coefficient 7 stays in front.
Step 2: Differentiate :
Step 3: Multiply by the constant coefficient:
Result:

A Useful Shortcut for Polynomials

For a polynomial, you can combine the power rule with the sum and difference rules. Differentiate every term independently, reduce each exponent by 1, multiply by the original exponent, and eliminate constant terms.

Example 7: Polynomial Differentiation

Differentiate .

Term 1:
Term 2:
Term 3:
Term 4:
Result:

Common Mistakes

Thinking the derivative of every number is part of every term

A standalone constant such as has derivative zero. But a coefficient such as the 5 in stays with the term while you differentiate .

Dropping a negative sign

The difference rule preserves subtraction. For example, when differentiating , the derivative of the second term is still subtracted: .

Differentiating only the first term

The sum and difference rules tell you to differentiate every term. Do not stop after finding the derivative of the first term in a polynomial.

Confusing a constant with a variable term

The derivative of is zero, but the derivative of is not zero. The presence of means the term changes as changes.

Practice Problems

Question 1

Differentiate .

Show answer
Question 2

Differentiate .

Show answer
Question 3

Differentiate .

Show answer
Question 4 (Constant Rule)

Differentiate .

Show answer
Question 5 (Combined Rules)

Differentiate .

Show answer

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon