Sum and difference rules
Understanding the Sum and Difference Rules for Differentiation
The Sum and Difference Rules are fundamental properties in differential calculus that simplify the process of finding the derivative of functions composed of sums or differences of simpler functions. These rules are direct consequences of the limit definition of the derivative and are essential for differentiating most polynomial and many other complex functions.
The Sum Rule
The Sum Rule states that the derivative of a sum of two or more differentiable functions is the sum of their individual derivatives. Mathematically, if f(x) and g(x) are differentiable functions, then:
- d/dx [f(x) + g(x)] = f'(x) + g'(x)
This rule extends to any finite number of functions. For example, if you have h(x) = f(x) + g(x) + k(x), then h'(x) = f'(x) + g'(x) + k'(x). This linearity of differentiation is incredibly powerful because it allows us to break down complex functions into simpler, manageable parts.
Example of the Sum Rule
Consider the function y = x^3 + sin(x). Here, f(x) = x^3 and g(x) = sin(x). Using the Power Rule, the derivative of x^3 is 3x^2. Using the known derivative of the sine function, the derivative of sin(x) is cos(x). Therefore, applying the Sum Rule:
- dy/dx = d/dx (x^3) + d/dx (sin(x)) = 3x^2 + cos(x)
The Difference Rule
Similarly, the Difference Rule states that the derivative of a difference of two differentiable functions is the difference of their individual derivatives. If f(x) and g(x) are differentiable functions, then:
- d/dx [f(x) - g(x)] = f'(x) - g'(x)
This rule can be thought of as a special case of the Sum Rule by considering f(x) - g(x) as f(x) + (-1)g(x). When combined with the Constant Multiple Rule, which states that d/dx [c * g(x)] = c * d/dx [g(x)], the Difference Rule becomes straightforward.
Example of the Difference Rule
Let's find the derivative of y = e^x - x^2. Here, f(x) = e^x and g(x) = x^2. The derivative of e^x is e^x, and the derivative of x^2 is 2x. Applying the Difference Rule:
- dy/dx = d/dx (e^x) - d/dx (x^2) = e^x - 2x
Combining Rules
Often, you will need to apply the Sum and Difference Rules in conjunction with other differentiation rules, such as the Power Rule, Constant Multiple Rule, and derivatives of trigonometric or exponential functions. These rules make it possible to differentiate any polynomial function or linear combinations of elementary functions with ease.
Comprehensive Example
Find the derivative of h(x) = 5x^4 - 2cos(x) + 7.
- Apply the Sum/Difference Rule: h'(x) = d/dx (5x^4) - d/dx (2cos(x)) + d/dx (7)
- Apply the Constant Multiple Rule: h'(x) = 5 * d/dx (x^4) - 2 * d/dx (cos(x)) + d/dx (7)
- Apply the Power Rule and known derivatives: d/dx (x^4) = 4x^3, d/dx (cos(x)) = -sin(x), and d/dx (7) = 0 (derivative of a constant).
- Substitute back: h'(x) = 5(4x^3) - 2(-sin(x)) + 0 = 20x^3 + 2sin(x)
Practice questions
If f(x) = 3x^2 + 5x - 1, what is f'(x)?
Find the derivative of y = e^x - tan(x).
What is d/dx [sin(x) + cos(x)]?
Given h(t) = 4t^3 - 2t^2 + t, calculate h'(t).
Related topics
Free AP4U account — unlimited practice, AI grader, and progress tracking.
Canonical: https://apforu.com/ap/calculus-ab/unit-2-differentiation-definition-and-fundamental-properties/sum-and-difference-rules