Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

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

Lesson ~10 min read

In simple terms: In simple terms, this topic is about learning fast, easy rules for finding derivatives of combined functions, so you don't have to use the complicated limit definition every single time.

Why this matters

Imagine you're building a massive LEGO model of the Seattle Space Needle. You have two choices. You could mold each individual plastic brick from scratch, a slow and painful process. Or, you could use the pre-made, perfectly formed bricks that come in the box.

The limit definition of the derivative we've been using is like molding each brick by hand. It's powerful, it's the foundation of everything, but it’s not efficient for everyday building.

The derivative rules we're about to learn are your box of pre-made LEGOs. They are shortcuts that let you build faster and more reliably. Today, we'll get our first set of essential "bricks": rules for constants, sums, differences, and constant multiples. These will let us take the derivative of any polynomial in seconds, not minutes.

Concept overview

flowchart TD
    A[Start: Differentiate a term like `ax^n`] --> B{Is it a constant? `c`};
    B -->|Yes| C[Derivative is 0];
    B -->|No| D{Is it of the form `ax^n`?};
    D -->|Yes| E[Apply Constant Multiple & Power Rule];
    E --> F[Result: `a * n * x^(n-1)`];
    D -->|No| G[Rewrite to `ax^n` form, e.g., `sqrt(x)` to `x^0.5`];
    G --> E;
    C --> H[Combine results for all terms];
    F --> H;
    H --> I[End: Final Derivative];
This flowchart diagram shows the decision-making process for differentiating a single term within a polynomial. It starts by asking if the term is a constant, leading to a derivative of 0. If not, it checks if it's in power rule form, applying the rule or rewriting it first, before combining all results.

Core explanation

Alright, let's get our hands on these new tools. Up until now, every time you needed a derivative, you had to haul out the heavy machinery: the limit definition.

f'(x) = lim(h→0) [f(x+h) - f(x)] / h

While this is the bedrock of calculus, it's not what we use for day-to-day work. We're now moving from understanding the definition to fluently applying the rules.

The Building Blocks: Four Foundational Rules

Think of these rules as the grammar of derivatives. Once you know them, you can start forming complex sentences.

1. The Constant Rule

This is the simplest rule of all. The derivative of any constant function is zero.

d/dx [c] = 0

Why? Remember that the derivative measures the instantaneous rate of change, or the slope of the tangent line. A function like f(x) = 5 is a perfectly flat, horizontal line. What's its slope everywhere? Zero. It's not changing. A car driving on a perfectly flat road in Kansas has a rate of change of elevation equal to zero.

  • d/dx [12] = 0
  • d/dx [-200] = 0
  • d/dx [π] = 0 (Yes, pi is just a number!)

2. The Constant Multiple Rule

What happens if a function is being multiplied by a constant? The Constant Multiple Rule says you can essentially pull the constant out, take the derivative of the function, and then multiply the constant back in.

d/dx [c * f(x)] = c * f'(x)

The constant just "comes along for the ride."

For example, we know from the Power Rule that d/dx [x²] = 2x. So, what's the derivative of 7x²?

d/dx [7x²] = 7 * d/dx [x²] = 7 * (2x) = 14x

See? The 7 just waited patiently and then multiplied itself back in at the end.

3. The Sum Rule

The derivative of a sum of functions is the sum of their derivatives.

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

This is incredibly convenient. It means you can take the derivative of a complex expression term by term.

This is where most students have a huge sigh of relief. You don't need some complicated new formula. If you have two functions added together, you just differentiate them one at a time and add the results.

4. The Difference Rule

Just like the Sum Rule, the derivative of a difference of functions is the difference of their derivatives.

d/dx [f(x) - g(x)] = f'(x) - g'(x)

It works exactly the same way. Differentiate each piece separately and keep the subtraction sign between them.

Putting It All Together: Differentiating Polynomials

This is the moment we've been building toward. These four rules, combined with the Power Rule (d/dx [xⁿ] = nxⁿ⁻¹), unlock the ability to differentiate any polynomial function instantly.

Let's find the derivative of f(x) = 4x³ - 5x² + 2x - 9.

This looks complicated, but it's just a combination of sums and differences. The Sum/Difference rules tell us we can handle it term by term.

f'(x) = d/dx [4x³] - d/dx [5x²] + d/dx [2x] - d/dx [9]

Now we can use our other rules on each piece:

  1. d/dx [4x³]: Use the Constant Multiple Rule and the Power Rule. 4 * d/dx [x³] = 4 * (3x²) = 12x²

  2. d/dx [5x²]: Use the Constant Multiple Rule and the Power Rule. 5 * d/dx [x²] = 5 * (2x) = 10x

  3. d/dx [2x]: Remember x is . 2 * d/dx [x¹] = 2 * (1x⁰) = 2 * (1) = 2

  4. d/dx [9]: Use the Constant Rule. 0

Now, just assemble the pieces with the original plus and minus signs:

f'(x) = 12x² - 10x + 2 - 0

So, f'(x) = 12x² - 10x + 2.

What took a long, tedious limit calculation before is now a 30-second process. This is the power of derivative rules. You've just learned how to take the derivative of any polynomial that exists. That's a huge step forward.

Worked examples

Let's walk through a couple of problems together, step-by-step. The key is to be methodical and apply one rule at a time.


Example 1

A Standard Polynomial

Problem: Find the derivative of y = -2x⁴ + 8x³ - x + 15.

Solution:

The function is a polynomial, which is just a sum and difference of several terms. The Sum and Difference Rules tell us we can handle this one piece at a time.

  1. Identify the terms: We have four terms to differentiate: -2x⁴, +8x³, -x, and +15.

  2. Differentiate the first term, -2x⁴:

    • This is a constant (-2) times a function (x⁴). We use the Constant Multiple Rule and the Power Rule.
    • d/dx [-2x⁴] = -2 * d/dx [x⁴]
    • = -2 * (4x³)
    • = -8x³
  3. Differentiate the second term, +8x³:

    • Again, use the Constant Multiple Rule and Power Rule.
    • d/dx [8x³] = 8 * d/dx [x³]
    • = 8 * (3x²)
    • = 24x²
  4. Differentiate the third term, -x:

    • This is where students sometimes pause. Remember that -x is the same as -1 * x¹.
    • d/dx [-x] = -1 * d/dx [x¹]
    • = -1 * (1x⁰)
    • Since x⁰ = 1, this is = -1 * (1) = -1.
    • Pro-tip: The derivative of x is 1, so the derivative of kx is just k.
  5. Differentiate the fourth term, +15:

    • This is a constant. The Constant Rule tells us its derivative is zero.
    • d/dx [15] = 0
  6. Assemble the final answer: Now, we just combine our results. dy/dx = -8x³ + 24x² - 1 + 0

Final Answer: dy/dx = -8x³ + 24x² - 1


Example 2

Handling Roots and Fractions

Problem: Find g'(t) if g(t) = 6√t - 10/t³.

Solution:

This doesn't look like a polynomial, but we can rewrite it to use the Power Rule. This is a critical skill in calculus.

  1. 1
    Rewrite the function
    Before you can differentiate, you must express every term in the form c * tⁿ.
    • √t is the same as t^(1/2).
    • 1/t³ is the same as t⁻³.
    • So, our function becomes: g(t) = 6t^(1/2) - 10t⁻³.
  2. 2
    Differentiate term by term
    Now it looks just like the last problem.
    • First term, 6t^(1/2): Use the Constant Multiple and Power Rule. d/dt [6t^(1/2)] = 6 * d/dt [t^(1/2)] = 6 * (1/2 * t^(1/2 - 1)) = 6 * (1/2 * t⁻¹/²) = 3t⁻¹/²
    • Second term, -10t⁻³: d/dt [-10t⁻³] = -10 * d/dt [t⁻³] = -10 * (-3 * t⁻³⁻¹) = -10 * (-3t⁻⁴) = 30t⁻⁴
  3. 3
    Combine and simplify
    Put the pieces together. g'(t) = 3t⁻¹/² + 30t⁻⁴

    While this is technically correct, it's good practice to write the answer without negative exponents, unless instructed otherwise.

    g'(t) = 3/√t + 30/t⁴

Why this is important: Many students get stuck when they see roots or fractions. The key is to realize they are just the Power Rule in disguise. Your first step should always be to rewrite the expression into a form the rules can handle.

Try it yourself

Time to get your hands dirty. Don't just look at these—grab a pencil and paper and work them out. The goal is fluency.

Problem 1: Find the derivative, f'(x), for the function f(x) = x⁵ - 12x³ + 4x - π³.

  • Hint: Treat each term separately. What kind of number is π³? Is it a variable or a constant?

Problem 2: A company's profit, P, in thousands of dollars, from selling n items is modeled by P(n) = -0.1n³ + 18n² - 500n - 2000. Find the function for the marginal profit, P'(n).

  • Hint: "Marginal profit" is just the business term for the derivative of the profit function. Don't let the context scare you; it's the same math. Apply your rules term by term.