AP Calculus AB and BC · Unit 2 · Topic 2.6

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

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    Derivatives respect addition and scaling: the derivative of a constant is 0, (kf)′=kf′(kf)' = kf', and (f±g)′=f′±g′(f \pm g)' = f' \pm g'. Combined with the power rule, these let you differentiate any polynomial term by term. Products and quotients are different: they need their own rules (topics 2.8 and 2.9), or the expression must first be expanded or split.

    What you need to know

    • Apply the constant, constant multiple, sum and difference rules.
    • Differentiate polynomials and sums of powers term by term.
    • Rewrite products and quotients as sums when possible before differentiating.
    • Find where a graph has horizontal tangents or a given slope.

    The rules

    Basic derivative rules
    RuleStatement
    Constantddxc=0\frac{d}{dx} c = 0
    Constant multipleddx[kf(x)]=kf′(x)\frac{d}{dx}[k f(x)] = k f'(x)
    Sumddx[f(x)+g(x)]=f′(x)+g′(x)\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)
    Differenceddx[f(x)−g(x)]=f′(x)−g′(x)\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)

    Each rule follows from the limit laws applied to the difference quotient. Graphically, adding a constant shifts a graph up or down without changing any slope, which is why the derivative of a constant is 0; stretching a graph vertically by kk multiplies every slope by kk.

    For a polynomial, differentiate term by term: ddx(4x3−5x2+7x−2)=12x2−10x+7\frac{d}{dx}(4x^3 - 5x^2 + 7x - 2) = 12x^2 - 10x + 7. At x=1x = 1 the slope is 12−10+7=912 - 10 + 7 = 9. Notice that the constant −2-2 vanished and the linear term 7x7x became just 7: every term's power simply dropped by one.

    Rewriting into sums

    The sum rule does not extend to products or quotients, but many expressions can be rewritten as sums first. Divide through: x2+1x=x+x−1\frac{x^2 + 1}{x} = x + x^{-1}, so its derivative is 1−x−2=1−1x21 - x^{-2} = 1 - \frac{1}{x^2}. Expand: (2x+1)2=4x2+4x+1(2x + 1)^2 = 4x^2 + 4x + 1, so its derivative is 8x+48x + 4.

    This is often faster than the product or quotient rule, and it produces simpler answers. It only works when the denominator is a single term (a monomial) or the product is easy to expand; otherwise use the rules from topics 2.8 and 2.9.

    Horizontal tangents and given slopes

    Where is the tangent to y=x3−3xy = x^3 - 3x horizontal? Set the derivative to zero: 3x2−3=03x^2 - 3 = 0, so x=±1x = \pm 1. The points are (1,−2)(1, -2) and (−1,2)(-1, 2), a local minimum and a local maximum, as Unit 5 will explain.

    Rules also combine with given values. If f(x)=3g(x)−h(x)f(x) = 3g(x) - h(x), g′(2)=4g'(2) = 4 and h′(2)=−1h'(2) = -1, then f′(2)=3(4)−(−1)=13f'(2) = 3(4) - (-1) = 13. Free-response questions often provide a table of function and derivative values and ask for the derivative of a combination.

    The same rules handle motion. If a ball's height is s(t)=−4.9t2+20t+2s(t) = -4.9t^2 + 20t + 2 metres after tt seconds, its velocity is v(t)=s′(t)=−9.8t+20v(t) = s'(t) = -9.8t + 20 metres per second. At t=1t = 1 it is rising at 10.2 m/s, and it reaches its highest point when v(t)=0v(t) = 0, at t=209.8≈2.04t = \frac{20}{9.8} \approx 2.04 seconds. Each term was differentiated separately, and the constant 2 (the starting height) dropped out.

    Key terms

    Constant rule
    The derivative of a constant function is 0.
    Constant multiple rule
    (kf)′=kf′(kf)' = kf': a constant factor stays in front.
    Sum and difference rules
    (f±g)′=f′±g′(f \pm g)' = f' \pm g': differentiate term by term.
    Linearity
    The property that derivatives respect sums and constant multiples.

    Common mistakes

    • Differentiating a constant term as 1.

      The derivative of any constant, such as −2 or π, is 0.

    • Multiplying derivatives for a product.

      Use the product rule, or expand first if that is easy.

    • Dividing derivatives for a quotient like x2+1x\frac{x^2+1}{x}.

      Split into a sum of powers or use the quotient rule.

    How this topic is tested

    • Simplify or split expressions into sums before differentiating when possible.
    • For combinations from a table, write the rule, then substitute the given values.
    • To find horizontal tangents, set f′(x) = 0 and solve, then give the points.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      For f(x)=4x3−5x2+7x−2f(x) = 4x^3 - 5x^2 + 7x - 2, what is f′(1)f'(1)?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      What is ddxx2+1x\frac{d}{dx} \frac{x^2 + 1}{x}?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      At which x-values does y=x3−3xy = x^3 - 3x have horizontal tangents?

    4. Question 4 · MP 3 · Justification

      What is ddx(2x+1)2\frac{d}{dx} (2x + 1)^2?

    5. Question 5 · MP 2 · Connecting Representations

      f(x)=3g(x)−h(x)f(x) = 3g(x) - h(x), with g′(2)=4g'(2) = 4 and h′(2)=−1h'(2) = -1. What is f′(2)f'(2)?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let f(x)=x3−6x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1.

    1. (a) Find f′(x)f'(x).
    2. (b) Find the x-coordinates of all points where the graph of ff has a horizontal tangent.
    3. (c) Find the point(s) where the tangent line is parallel to y=−3xy = -3x.

    Connected topics

    Frequently asked questions

    Why is the derivative of a constant zero?

    A constant function's graph is horizontal, so every tangent has slope 0, and the difference quotient is always 0.

    Can I always expand products instead of using the product rule?

    Only when expansion is easy, as with polynomials. For products like x² sin x, you need the product rule.

    Do these rules work with other functions, like sin x?

    Yes. Linearity works with every differentiable function, so 3 sin x − 2eˣ is differentiated term by term.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 2 cheat sheet

    Every topic in Unit 2: Differentiation: Definition and Fundamental Properties on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 2 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 2: Differentiation: Definition and Fundamental Properties

    1. 2.1 Defining Average and Instantaneous Rates of Change at a Point
    2. 2.2 Defining the Derivative of a Function and Using Derivative Notation
    3. 2.3 Estimating Derivatives of a Function at a Point
    4. 2.4 Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist
    5. 2.5 Applying the Power Rule
    6. 2.6 Derivative Rules: Constant, Sum, Difference, and Constant Multiple
    7. 2.7 Derivatives of cos x, sin x, eˣ, and ln x
    8. 2.8 The Product Rule
    9. 2.9 The Quotient Rule
    10. 2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.