AP Calculus AB • Differentiation: Definition and Fundamental Properties

Derivative Rules: Constant, Sum, Difference, and Constant Multiple

Master the foundational shortcuts that transform limit computations into efficient algebraic differentiation.

AP Calculus AB illustration with a smooth curve, infinity sign, and measuring ruler
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

The formal definition of the derivative — the limit of the difference quotient — is elegant but computationally demanding. Every time Isaac Newton or Gottfried Wilhelm Leibniz wanted to find a rate of change in the late seventeenth century, they had to evaluate a limit from scratch, expanding algebraic expressions, canceling common factors, and then passing to a limiting value. As the functions they studied grew more complex, this process became impractical. The search for general differentiation rules — shortcuts that bypass the limit definition for broad classes of functions — was therefore one of the earliest and most consequential projects in the history of calculus.

1665–1666 • Newton's Fluxions

During his "annus mirabilis," Isaac Newton developed the method of fluxions, noting that the derivative of a sum of terms could be computed term by term — an early form of the sum rule.

1684 • Leibniz Publishes Nova Methodus

Leibniz published his landmark paper introducing the d-notation and explicitly stated rules for differentiating sums, differences, and constant multiples, establishing the modern symbolic framework.

1748 • Euler's Introductio

Leonhard Euler systematized differentiation rules and applied them to polynomial, exponential, and trigonometric functions, transforming calculus into a practical tool for science and engineering.

1821 • Cauchy's Rigorous Foundations

Augustin-Louis Cauchy provided the first rigorous ε-δ proofs of the basic derivative rules, anchoring the operational shortcuts in the precise language of limits.

The central question these mathematicians addressed was straightforward yet profound: if you already know the derivatives of individual pieces of a function — say a constant, a polynomial term, or a trigonometric component — can you assemble the derivative of the whole function without returning to the limit definition each time? The constant, sum, difference, and constant multiple rules answer this question affirmatively and form the algebraic backbone upon which every other differentiation technique — product rule, quotient rule, chain rule — is built.

SECTION 2

Core Principles & Definitions

Before applying any shortcut, recall the foundation: the derivative of a function f at x is defined as f′(x) = lim(h→0) [f(x + h) − f(x)] / h, provided the limit exists. Each rule below is proven by substituting the appropriate function into this definition and exploiting the algebraic properties of limits — specifically, the limit of a sum equals the sum of the limits, and a constant factor can be extracted from a limit. These properties make differentiation a linear operation, a concept you will encounter repeatedly throughout AP Calculus and beyond.

1

Constant Rule

If f(x) = c where c is any real constant, then f′(x) = 0. A horizontal line has zero slope everywhere, so its instantaneous rate of change is always zero.
2

Constant Multiple Rule

If g(x) = c · f(x) for a constant c, then g′(x) = c · f′(x). Scaling a function vertically by a factor of c scales its derivative by the same factor.
3

Sum Rule

If h(x) = f(x) + g(x), then h′(x) = f′(x) + g′(x). The derivative of a sum is the sum of the derivatives — differentiation distributes over addition.
4

Difference Rule

If h(x) = f(x) − g(x), then h′(x) = f′(x) − g′(x). This follows from combining the sum rule with the constant multiple rule (using c = −1).
✦

KEY TAKEAWAY

Think of differentiation as a machine on an assembly line. The constant rule says a machine does nothing to a blank (constant) piece. The constant multiple rule says if you feed in a piece that is merely a scaled copy of another, the output is scaled in exactly the same way. The sum and difference rules say you can feed two pieces through the machine separately and then combine the outputs — you get the same result as if you had welded them together first and then fed the combined piece through. This linearity of differentiation is what makes breaking apart complicated functions into manageable terms so powerful.

SECTION 3

Visual Explanation

The following diagram illustrates the constant, sum, and constant multiple rules geometrically. On the left panel, a constant function f(x) = 3 is shown as a horizontal line with a tangent line of slope zero at every point. On the right panel, two functions f(x) = x² and g(x) = x are graphed alongside their sum h(x) = x² + x. Notice how the slope of h at any point equals the sum of the individual slopes — the tangent line to h is geometrically the vector sum of the tangent lines to f and g.

Constant Rule: f(x) = 3Sum Rule: h(x) = x² + x0xyf(x) = 3slope = 0f′(x) = 0 everywhere0xyf = x²g = xh = x² + xslope = f′+g′
Left: a constant function has a horizontal tangent (slope 0) at every point, illustrating the constant rule. Right: the green curve h(x) = x² + x has a tangent slope equal to the sum of the individual slopes of f(x) = x² (violet, dashed) and g(x) = x (amber, dashed) at each x-value.

The geometric intuition is essential: at every x-value, the slope of the combined function equals the algebraic combination of the individual slopes. When you scale a function vertically by a constant c, the tangent line steepens or flattens by the same factor. When you add two functions, their slopes add. This visual reasoning reinforces why the limit-based proofs work — the limit distributes over sums and respects constant multiples.

SECTION 4

Mathematical Framework

Each rule can be proven directly from the limit definition. The proofs rely on two fundamental properties of limits: the limit of a sum equals the sum of the limits (when both exist), and a constant factor can be extracted from a limit. These properties are collectively what make differentiation a linear operator.

CONSTANT RULE

d/dx[c]=0d/dx [c] = 0

Proof: If f(x) = c, then f(x + h) − f(x) = c − c = 0 for all h. Therefore lim(h→0) [0/h] = lim(h→0) 0 = 0.

CONSTANT MULTIPLE RULE

d/dx[c⋅f(x)]=c⋅f′(x)d/dx [c · f(x)] = c · f′(x)

Proof: lim(h→0) [c · f(x + h) − c · f(x)] / h = c · lim(h→0) [f(x + h) − f(x)] / h = c · f′(x). The constant c factors out of the limit because it does not depend on h.

SUM RULE

d/dx[f(x)+g(x)]=f′(x)+g′(x)d/dx [f(x) + g(x)] = f′(x) + g′(x)

Proof: lim(h→0) {[f(x+h) + g(x+h)] − [f(x) + g(x)]} / h = lim(h→0) {[f(x+h)−f(x)] / h + [g(x+h)−g(x)] / h} = f′(x) + g′(x), using the limit-of-a-sum property.

DIFFERENCE RULE

d/dx[f(x)−g(x)]=f′(x)−g′(x)d/dx [f(x) − g(x)] = f′(x) − g′(x)

Proof: Write f(x) − g(x) = f(x) + (−1) · g(x). Apply the sum rule and then the constant multiple rule with c = −1 to obtain f′(x) + (−1) · g′(x) = f′(x) − g′(x).

💡

Linearity of the Derivative

All four rules combine into a single powerful statement: d/dx [a · f(x) + b · g(x)] = a · f′(x) + b · g′(x) for any constants a and b. This is the linearity property of differentiation, and it extends to any finite linear combination of differentiable functions.

SECTION 5

Detailed Breakdown & Classification

In practice, you will rarely apply just one rule in isolation. Most AP Calculus problems require chaining several rules together — separating a polynomial into individual terms (sum/difference rule), pulling out leading coefficients (constant multiple rule), and applying the power rule term by term. The diagram below illustrates the decision flowchart that experienced calculus students internalize when differentiating any algebraic combination of functions.

Differentiation Decision FlowchartGiven: h(x) expressionIs h(x) a constant c?YESh′(x) = 0NOIs h(x) = c · f(x) for constant c?YESh′ = c · f′(x)NOIs h(x) = f(x) ± g(x)?YESh′ = f′ ± g′NOApply other rules (product,quotient, chain)
A decision flowchart for applying the fundamental differentiation rules. Start at the top: check for a constant, then a constant multiple, then a sum or difference. If none apply, proceed to more advanced rules like the product, quotient, or chain rule.
Function FormRule AppliedDerivative
f(x) = 7Constantf′(x) = 0
f(x) = 5x³Constant Multiple + Powerf′(x) = 5 · 3x² = 15x²
f(x) = x⁴ + 3xSum + Power + Constant Multiplef′(x) = 4x³ + 3
f(x) = 2x⁵ − 7x² + 4Sum/Diff + Const. Mult. + Power + Constantf′(x) = 10x⁴ − 14x

Common function forms and the rules used to differentiate them

SECTION 6

Worked Example

Let us differentiate the function h(x) = 3x⁴ − 5x² + 8x − 11 step by step, explicitly naming each rule as we apply it. This is the level of justification expected on free-response questions on the AP exam.

Differentiating a Polynomial Term by Term

  1. 1

    Step 1 — Apply the Sum/Difference Rule

    Write h(x) as a sum of four terms: h(x) = 3x⁴ + (−5x²) + 8x + (−11). By the sum and difference rules, we can differentiate each term independently: h′(x) = d/dx[3x⁴] − d/dx[5x²] + d/dx[8x] − d/dx[11].
  2. 2

    Step 2 — Apply the Constant Multiple Rule

    Factor out the leading coefficients from each term: h′(x) = 3 · d/dx[x⁴] − 5 · d/dx[x²] + 8 · d/dx[x] − d/dx[11]. Each constant multiplier remains in front of the derivative of its corresponding power function.
  3. 3

    Step 3 — Apply the Power Rule and Constant Rule

    Now compute each individual derivative using the power rule (d/dx[xⁿ] = nxⁿ⁻¹) and the constant rule (d/dx[c] = 0): d/dx[x⁴] = 4x³, d/dx[x²] = 2x, d/dx[x] = 1, and d/dx[11] = 0.
  4. 4

    Step 4 — Combine and Simplify

    Substitute back: h′(x) = 3(4x³) − 5(2x) + 8(1) − 0 = 12x³ − 10x + 8.
    h′(x) = 12x³ − 10x + 8
💡

AP Exam Tip

On the AP Calculus AB exam, you are expected to differentiate polynomials quickly and accurately. While you do not need to cite each rule by name on multiple-choice questions, free-response questions may ask you to justify your work, in which case referencing the sum/difference and constant multiple rules demonstrates strong mathematical communication.

SECTION 7

Common Errors & Comparisons

Even though the constant, sum, difference, and constant multiple rules are conceptually straightforward, students routinely make errors in their application — especially under the time pressure of the AP exam. The table below catalogs the most frequent mistakes alongside the correct approach.

Common ErrorWhy It's WrongCorrect Approach
d/dx[5] = 5Treating the constant as x¹. A constant has no dependence on x, so its rate of change is zero.d/dx[5] = 0
d/dx[3f(x)] = 3f(x) · f′(x)Confusing the constant multiple rule with the chain rule. The coefficient 3 is a fixed constant, not a function of x.d/dx[3f(x)] = 3f′(x)
d/dx[f · g] = f′ · g′Applying the sum rule pattern to products. The derivative of a product is NOT the product of the derivatives.Use the product rule: d/dx[f · g] = f′g + fg′
Dropping the constant term entirelyStudents skip writing d/dx[c] = 0 and sometimes carry the constant into the derivative unchanged.Always differentiate every term, writing = 0 for constants explicitly.

Frequent differentiation mistakes on the AP Calculus AB exam

✦

KEY TAKEAWAY

The sum and difference rules work because differentiation is linear — it distributes over addition. But linearity does not extend to multiplication or division of functions. When two functions are multiplied or divided, you must use the product rule or quotient rule, respectively. This distinction is one of the most important conceptual boundaries in differential calculus.

SECTION 8

Connection to Advanced Differentiation

The rules covered in this lesson handle the simplest structural patterns — constants, scalar multiples, and additive combinations. Real-world functions, however, involve products, quotients, and compositions, which require additional rules. Understanding the scope of each rule is essential for selecting the correct technique on the AP exam and in advanced mathematics.

This Lesson's RulesAdvanced Rules (Coming Next)
Handle additive combinations: f + g, f − gHandle multiplicative combinations: f · g (product rule), f/g (quotient rule)
Handle constant scaling: c · f(x)Handle nested functions: f(g(x)) (chain rule)
Proofs use only limit-sum and constant-factor propertiesProofs require limit-of-a-product properties and careful algebraic manipulation
Sufficient for all polynomials, when combined with the power ruleNeeded for rational, trigonometric, exponential, and logarithmic functions

Scope of basic vs. advanced differentiation rules

In a broader mathematical context, the linearity of the derivative is not unique to single-variable calculus. When you study multivariable calculus, the total derivative (the Jacobian matrix) is also a linear operator — partial differentiation obeys the same sum, difference, and constant multiple rules. In linear algebra, the concept of a linear transformation generalizes this idea: any operation T satisfying T(αu + βv) = αT(u) + βT(v) is linear, and differentiation is one of the most important examples. Recognizing this deep structure helps unify seemingly disparate areas of mathematics.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Which of the following best explains why the derivative of a constant function f(x) = c is zero?
  • A. Because the constant c is always positive, and positive numbers have zero slope.
  • B. Because f(x + h) − f(x) = c − c = 0 for all h, so the difference quotient is 0/h = 0 for all h ≠ 0, and the limit is therefore 0.
  • C. Because differentiating means subtracting 1 from the exponent, and since c = cx⁰, we get 0 · cx⁻¹ = 0.
  • D. Because the graph of f(x) = c passes through the origin, and the slope at the origin is always zero.
  • E. Because f(x) = c has no x term, so the function is undefined and its derivative does not exist.
Show answer (B)
The correct answer is B. The derivative is defined as lim(h→0) [f(x+h) − f(x)]/h. For f(x) = c, the numerator is c − c = 0, making the quotient 0 for all h ≠ 0, and the limit is 0. Choice A is wrong because the sign of c is irrelevant — negative constants also have derivative zero. Choice C arrives at the right answer via the power rule but does not explain why the derivative is zero from the definition; moreover, the question asks for the best explanation, and the power rule is itself derived from the limit definition. Choice D is incorrect because f(x) = c does not generally pass through the origin (only when c = 0). Choice E is incorrect because f(x) = c is perfectly well-defined for all x.

Question 2: BASIC CALCULATION

Find the derivative of f(x) = 7x³ − 4x + 9.
  • A. f′(x) = 21x² − 4x
  • B. f′(x) = 21x² − 4
  • C. f′(x) = 7x² − 4
  • D. f′(x) = 21x² − 4 + 9
  • E. f′(x) = 21x³ − 4
Show answer (B)
The correct answer is B. Apply the sum/difference rule to differentiate each term separately: d/dx[7x³] = 7 · 3x² = 21x² (constant multiple and power rules), d/dx[4x] = 4 (constant multiple rule with d/dx[x] = 1), and d/dx[9] = 0 (constant rule). Therefore f′(x) = 21x² − 4. Choice A incorrectly keeps the x on the −4x term. Choice C forgets to multiply the coefficient 7 by the exponent 3. Choice D incorrectly carries the constant 9 into the derivative. Choice E fails to reduce the exponent on the x³ term.

Question 3: INTERMEDIATE

Let g(x) = (2/3)x⁶ − (5/2)x⁴ + √2 · x − π. Find g′(x).
  • A. g′(x) = 4x⁵ − 10x³ + √2
  • B. g′(x) = 4x⁵ − 10x³ + √2 − π
  • C. g′(x) = (12/3)x⁵ − (20/2)x³ + √2
  • D. g′(x) = 4x⁵ − 10x⁴ + √2
  • E. g′(x) = 4x⁶ − 10x⁴ + √2
Show answer (A)
The correct answer is A. Differentiate term by term: d/dx[(2/3)x⁶] = (2/3)(6)x⁵ = 4x⁵. d/dx[(5/2)x⁴] = (5/2)(4)x³ = 10x³. d/dx[√2 · x] = √2 · 1 = √2, since √2 is a constant coefficient. d/dx[π] = 0, since π is a constant. Therefore g′(x) = 4x⁵ − 10x³ + √2. Choice B incorrectly carries −π as a term in the derivative. Choice C is numerically equivalent to A but presents unsimplified fractions, which would be marked as not fully simplified on the AP exam; moreover, the intent is to show that 12/3 = 4 and 20/2 = 10. Choice D fails to reduce the exponent on the second term from x⁴ to x³. Choice E fails to reduce both exponents.

Question 4: APPLIED

7 pts
A particle moves along a straight line with position function s(t) = 4t³ − 6t² + 2t − 5, where s is measured in meters and t in seconds. (a) Find the velocity function v(t) = s′(t). (b) Find the acceleration function a(t) = v′(t). (c) At what time(s) is the particle momentarily at rest? (d) Is the particle speeding up or slowing down at t = 2 seconds? Justify your answer.
Show answer
Point 1 (1 pt): v(t) = s′(t) = 12t² − 12t + 2, obtained by applying the sum/difference rule, constant multiple rule, and power rule to each term of s(t), with d/dx[−5] = 0 by the constant rule. Point 2 (1 pt): a(t) = v′(t) = 24t − 12, obtained by differentiating v(t) term by term. Point 3 (2 pts): The particle is at rest when v(t) = 0. Solve 12t² − 12t + 2 = 0, or equivalently 6t² − 6t + 1 = 0. By the quadratic formula, t = [6 ± √(36 − 24)] / 12 = [6 ± √12] / 12 = [6 ± 2√3] / 12 = (3 ± √3) / 6. So t = (3 − √3)/6 ≈ 0.211 s and t = (3 + √3)/6 ≈ 0.789 s. (1 pt for setting v(t) = 0 correctly, 1 pt for correct solutions.) Point 4 (3 pts): At t = 2: v(2) = 12(4) − 12(2) + 2 = 48 − 24 + 2 = 26 m/s (positive). a(2) = 24(2) − 12 = 48 − 12 = 36 m/s² (positive). Since v(2) > 0 and a(2) > 0, velocity and acceleration have the same sign, so the particle is speeding up at t = 2. (1 pt for computing v(2), 1 pt for computing a(2), 1 pt for correct justification using same-sign reasoning.)

Question 5: CRITICAL THINKING

4 pts
Let f and g be differentiable functions with f′(3) = 7 and g′(3) = −2. Define h(x) = 4f(x) − 3g(x) + 10. (a) Use the sum/difference and constant multiple rules to express h′(x) in terms of f′(x) and g′(x). (b) Evaluate h′(3). (c) Explain in one or two sentences why the constant 10 does not appear in h′(x), using the limit definition of the derivative.
Show answer
Point 1 (1 pt): By the sum/difference rule and constant multiple rule, h′(x) = 4f′(x) − 3g′(x) + 0 = 4f′(x) − 3g′(x). The derivative of the constant 10 is 0. Point 2 (1 pt): h′(3) = 4(7) − 3(−2) = 28 + 6 = 34. Point 3 (2 pts): The constant 10 does not appear in h′(x) because in the difference quotient [h(x+h) − h(x)]/h, the +10 terms cancel: the expression (… + 10) − (… + 10) = 0. Since this contribution to the numerator is zero for all h, its limit is zero, so the constant vanishes upon differentiation. (1 pt for referencing the limit definition or difference quotient, 1 pt for a clear explanation of the cancellation.)

SUMMARY

Lesson Summary

Summary

The constant rule states that d/dx[c] = 0: a function that never changes has a derivative of zero everywhere. The constant multiple rule states that d/dx[c · f(x)] = c · f′(x): a constant scalar passes through the differentiation operator unchanged. The sum rule and difference rule state that d/dx[f ± g] = f′ ± g′: differentiation distributes over addition and subtraction. Together, these four rules express the linearity of differentiation, which allows you to differentiate any finite linear combination of functions term by term.

All four rules are proven directly from the limit definition of the derivative using the algebraic properties of limits. Combined with the power rule, they provide a complete toolkit for differentiating any polynomial function. However, linearity does not extend to products, quotients, or compositions of functions — those require the product, quotient, and chain rules, which build on the foundational concepts mastered in this lesson.

Varsity Tutors • AP Calculus AB • Derivative Rules: Constant, Sum, Difference, and Constant Multiple