📐 ICSE Class 12 Mathematics

Derivative of Sum and Difference

Start MCQ Practice →

Derivative of Sum and Difference

Subject: Class 12 Mathematics Chapter: Derivative of Sum and Difference Topic: 6.3 Derivative of Sum and Difference – Apply sum and difference rules

1. Introduction

In the previous chapter we memorised the derivatives of individual standard functions such as x squared, sin x and e to the power x. Real problems, however, almost never involve a single simple function. A physical quantity might be modelled by an expression such as 3x squared plus 4 sin x minus 2 e to the power x, which is a combination of several different functions joined by plus and minus signs. To differentiate such an expression, we need rules that tell us how the derivative of a sum or a difference is related to the derivatives of the individual terms.

The sum rule and the difference rule are the simplest of the differentiation rules, and they are wonderfully easy to remember: the derivative of a sum is the sum of the derivatives, and the derivative of a difference is the difference of the derivatives. In symbols, if u and v are differentiable functions of x, then d/dx [u plus v] = du/dx plus dv/dx and d/dx [u minus v] = du/dx minus dv/dx. These rules are special cases of a more general principle called linearity, which also includes the constant multiple rule d/dx [c u] = c du/dx.

The sum and difference rules are used constantly throughout calculus, not only when a function is written out as a sum but also inside every other rule. The product rule and the quotient rule, which we meet in later chapters, themselves contain sums of products. The chain rule, applied to a sum of composite functions, breaks the sum apart using exactly the rules studied here. Mastering this chapter therefore provides the algebraic foundation on which the remaining differentiation rules are built, and it is the first place where examiners test whether students can apply several standard derivatives together in one expression.

2. The Sum Rule

The sum rule states that if f(x) and g(x) are differentiable functions, then the derivative of their sum is the sum of their derivatives.

Sum Rule: d/dx [f(x) plus g(x)] = f'(x) plus g'(x).

This rule extends naturally to any finite number of terms, so the derivative of f plus g plus h is f' plus g' plus h'. The rule can be justified from first principles: the limit of a sum of two quotients is the sum of the individual limits, provided each limit exists.

Worked Example 1: Differentiate f(x) = x cubed plus x squared plus x.

Differentiate each term: derivative of x cubed is 3x squared, of x squared is 2x, and of x is 1. Therefore f'(x) = 3x squared plus 2x plus 1.

Worked Example 2: Differentiate g(x) = sin x plus e to the power x plus ln x.

The derivative of sin x is cos x, of e to the power x is e to the power x, and of ln x is 1/x. Hence g'(x) = cos x plus e to the power x plus 1/x.

Worked Example 3: Differentiate h(x) = 2 to the power x plus tan x.

The derivative of 2 to the power x is 2 to the power x ln 2 and the derivative of tan x is sec squared x. Therefore h'(x) = 2 to the power x ln 2 plus sec squared x.

3. The Difference Rule and the Constant Multiple Rule

The difference rule states that the derivative of a difference is the difference of the derivatives.

Difference Rule: d/dx [f(x) minus g(x)] = f'(x) minus g'(x).

The constant multiple rule states that a constant factor can be pulled out in front of the derivative.

Constant Multiple Rule: d/dx [c f(x)] = c f'(x), where c is any real constant.

These two rules together with the sum rule are known as the linearity properties of differentiation. They are the reason why differentiation is called a linear operation: d/dx [a u plus b v] = a du/dx plus b dv/dx for constants a and b.

Worked Example 4: Differentiate f(x) = 5x cubed minus 2x squared plus 7x minus 4.

Term by term with constants: derivative of 5x cubed is 15x squared, of minus 2x squared is minus 4x, of 7x is 7, and of the constant minus 4 is 0. So f'(x) = 15x squared minus 4x plus 7.

Worked Example 5: Differentiate g(x) = 3 sin x minus 2 cos x.

The derivative of 3 sin x is 3 cos x and the derivative of minus 2 cos x is 2 sin x (because the derivative of cos x is minus sin x). Hence g'(x) = 3 cos x plus 2 sin x.

Worked Example 6: Differentiate h(x) = 4 e to the power x minus 5 ln x plus 6/x.

The derivative of 4 e to the power x is 4 e to the power x, of minus 5 ln x is minus 5/x, and of 6/x is minus 6/x squared. Therefore h'(x) = 4 e to the power x minus 5/x minus 6/x squared.

4. Combined Applications of the Rules

In many examination problems, the function is a mixture of several types of terms, and the correct approach is to apply the sum and difference rules repeatedly, term by term, quoting the standard derivatives as needed.

Worked Example 7: Differentiate f(x) = x squared plus square root of x minus 1/x plus e to the power x.

Rewrite the terms in power form: x squared plus x to the power 1/2 minus x to the power minus 1 plus e to the power x. f'(x) = 2x plus (1/2)x to the power minus 1/2 plus x to the power minus 2 plus e to the power x = 2x plus 1/(2 square root of x) plus 1/x squared plus e to the power x.

Worked Example 8: Differentiate g(x) = a x squared plus b x plus c, where a, b, c are constants.

The derivative of a x squared is 2ax, of b x is b, and of the constant c is 0. Hence g'(x) = 2ax plus b. Notice that the constant c completely disappears, which is why the slope of a straight line y = mx + c is simply m.

Worked Example 9: Find the derivative of h(x) = 2 sin x plus 3 cos x minus tan x plus cot x.

Using the standard derivatives: h'(x) = 2 cos x minus 3 sin x minus sec squared x minus cosec squared x.

Worked Example 10: Differentiate y = e to the power x plus x to the power 3 minus 4 at x = 1.

First y' = e to the power x plus 3x squared. At x = 1, y'(1) = e plus 3.

5. Quick Revision Tables

Table 1: The three linearity rules

Rule Formula Example
Sum rule d/dx (u plus v) = u' plus v' d/dx (x squared plus sin x) = 2x plus cos x
Difference rule d/dx (u minus v) = u' minus v' d/dx (x cubed minus ln x) = 3x squared minus 1/x
Constant multiple d/dx (c u) = c u' d/dx (5 e to the power x) = 5 e to the power x

Table 2: Differentiating sums of standard functions

Function Derivative Terms used
x cubed plus x squared 3x squared plus 2x power rule
sin x plus cos x cos x minus sin x trig derivatives
e to the power x plus ln x e to the power x plus 1/x exponential and log
2 to the power x plus tan x 2 to the power x ln 2 plus sec squared x exponential and trig
3x squared minus 5x plus 2 6x minus 5 linearity

6. Mind Map

flowchart TD
    A[Derivative of Sum and Difference] --> B[Sum Rule]
    B --> C[Derivative of u plus v is u' plus v']
    A --> D[Difference Rule]
    D --> E[Derivative of u minus v is u' minus v']
    A --> F[Constant Multiple Rule]
    F --> G[Derivative of c u is c u']
    A --> H[Linearity]
    H --> I[d of a u plus b v is a u' plus b v']
    A --> J[Application]
    J --> K[Differentiate term by term]
    J --> L[Combine standard derivatives]
    J --> M[Handle constants carefully]

7. Important Diagrams (SVG)

Sum Rule: Slopes of y = x squared plus x y = x squared plus x tangent slope = 2x plus 1 P(1, 2) slope at x = 1 equals 2 times 1 plus 1 = 3 Golden Rule: The derivative of a sum is the sum of the derivatives of its parts.

Difference Rule: y = x cubed minus 3x y = x cubed minus 3x slope = 3x squared minus 3 x = 1 gives slope 0 The derivative of the difference is the difference of the derivatives. Golden Rule: Subtract the derivatives term by term, keeping every constant factor in place.

8. Common Mistakes

  1. Forgetting that a constant term contributes zero to the derivative, so its absence from the answer is correct and not an error.
  2. Applying the sum rule only to the first two terms and then mixing up the signs when there are more than two terms.
  3. Dropping the constant factors while differentiating, for example writing the derivative of 5 x squared as x instead of 10x.
  4. Confusing the difference rule with the product rule; the sum and difference rules are the only rules where the derivative of the combination is just the combination of the derivatives.
  5. Writing the derivative of minus 2 cos x as minus 2 sin x, forgetting that the derivative of cos x already carries a negative sign.
  6. Failing to rewrite terms such as 1/x or square root of x in power form before applying the power rule within a sum.
  7. Mixing radian and degree assumptions when the sum contains trigonometric terms.

9. Exam Tips

  1. Split the given expression into its separate terms first, then differentiate each term using the standard derivatives.
  2. Bring constants out in front before differentiating, so that 4 x cubed becomes 4 times 3x squared.
  3. Watch the signs in differences very carefully, especially after differentiating terms containing cos x or ln x.
  4. After differentiation, combine like terms and simplify fractions such as adding 1/x squared terms.
  5. If the expression has several terms, write the derivative in the same order as the original terms to make checking easier.
  6. Always verify the final derivative by substituting a simple value such as x = 1 when the arithmetic is easy.

10. Conclusion

The sum and difference rules, together with the constant multiple rule, make differentiation a linear operation and allow us to differentiate any expression that is built from standard functions joined by plus and minus signs. These rules are the first combination rules of calculus and they appear in nearly every differentiation problem, both on their own and inside the product, quotient and chain rules. Practising the term-by-term method with constants, trigonometric functions, exponentials and logarithms builds the speed and confidence needed for examinations. This chapter is short but foundational, and its rules will be used in every remaining chapter of this course.