AP Calculus AB · Unit 2 · Differentiation: Definition and Fundamental Properties
2.6 Constant, sum, difference and constant multiple rules
Differentiate constant functions and use sum, difference, and constant multiple rules.
1/4A constant function has a derivative of zero
Part 1 of 4: A constant function has a derivative of zero
A constant function gives the same output for every input. Its graph is horizontal, so its slope is zero everywhere. The constant rule states that if , where is constant, then . For example, the derivative of is .
A constant can also appear as one term in a longer expression. Differentiate that term as zero, then handle the other terms separately. In , the derivative of is 1, while the derivative of 7 is 0. Therefore, .
Key terms · tap one for its definition
constant function
A constant function has the same output for every input in its domain.
constant rule
The derivative of a constant function is zero.
Part 2 of 4: The derivative of a sum is a sum
The sum rule lets you differentiate added functions separately. If , then . The rule also works for more than two terms. Keep each term's derivative in the same order, then simplify.
For example, let . The derivative of is 1, and the derivative of is 2. The constant term contributes zero. Thus, . You could simplify the original function first: . Both approaches give the same derivative.
Key term
sum rule
The derivative of a sum of functions equals the sum of their derivatives.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 3 of 4: The derivative of a difference keeps its minus sign
The difference rule lets you differentiate subtracted functions separately. If , then . The minus sign stays with the second derivative. This matters when the derivative of a subtracted term is itself negative.
For example, if , then . You can also group terms before differentiating. For , the derivative of the grouped expression is . Therefore, . Keeping the parentheses until after differentiation makes the subtraction easier to track.
Key term
difference rule
The derivative of a difference of functions equals the difference of their derivatives.
Part 4 of 4: A constant factor stays outside differentiation
The constant multiple rule says a fixed factor stays in front of a derivative. If for a constant , then . For example, the derivative of is . A negative factor stays negative: the derivative of is .
Combine this rule with the sum and difference rules to handle expressions term by term. In the example below, first differentiate each part. Then multiply by its constant factor and combine the results. Parentheses help show which terms a factor applies to.
Worked example
Differentiate an expression with grouped terms
- Differentiate the separate parts: , , and .
- Keep the constant factor and minus sign: .
- Simplify: .
Answer: .
Key term
constant multiple rule
The derivative of a constant times a function equals that constant times the function's derivative.
Check your recall[12 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[1 mark]
State the derivative of .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for stating that the derivative is zero
- 2.Explain[2 marks]
Explain why a constant function has a derivative of zero.
Show mark schemeHide mark scheme
Model answer
Its graph is horizontal, so its slope is zero everywhere. The derivative gives that slope.
- 1 mark for stating that the graph of a constant function is horizontal
- 1 mark for linking its zero slope to its derivative of zero
- 3.Calculate[3 marks]
Calculate for .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for differentiating to get 3
- 1 mark for differentiating to get 5 and the constant to get 0
- 1 mark for combining the terms to get
- 4.Calculate[3 marks]
Calculate for .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for differentiating to get 9
- 1 mark for differentiating to get 4
- 1 mark for retaining the subtraction and obtaining
- 5.Calculate[3 marks]
Calculate for .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for differentiating to get 3
- 1 mark for keeping the constant factor to obtain
- 1 mark for differentiating the remaining terms and obtaining

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the quick check in the note above.
EasyState[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyDetermine[1 mark]
Show answer and explanation
Answer: B · Worked explanation
EasyIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[1 mark]
Show answer and explanation
Answer: C · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDeduce[2 marks]
Show answer and explanation
Answer: B · Worked explanation