Solved Exercises on Sum and Difference Rules in Calculus 1

Master the sum and difference rules: applications, proofs, and extensions through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Sum Rule Application
Exercise 1
Find the derivative of \(f(x) = x^3 + x^2\) using the sum rule.
Definition:

Sum rule: If \(f(x) = u(x) + v(x)\), then \(f'(x) = u'(x) + v'(x)\). The derivative of a sum is the sum of the derivatives.

Sum rule method:
  1. Identify the individual functions being added together
  2. Differentiate each function separately
  3. Add the derivatives together
  4. Simplify the result if possible
Function
\(f(x) = x^3 + x^2\)
Components
\(u(x) = x^3, v(x) = x^2\)
Result
\(f'(x) = 3x^2 + 2x\)
Step 1: Identify the components

\(f(x) = x^3 + x^2\) where \(u(x) = x^3\) and \(v(x) = x^2\)

Step 2: Apply the sum rule

According to the sum rule: \(\frac{d}{dx}[u(x) + v(x)] = \frac{d}{dx}[u(x)] + \frac{d}{dx}[v(x)]\)

So: \(\frac{d}{dx}[x^3 + x^2] = \frac{d}{dx}[x^3] + \frac{d}{dx}[x^2]\)

Step 3: Apply the power rule to each component

\(\frac{d}{dx}[x^3] = 3x^2\)

\(\frac{d}{dx}[x^2] = 2x\)

Step 4: Combine the results

\(\frac{d}{dx}[x^3 + x^2] = 3x^2 + 2x\)

\(f'(x) = 3x^2 + 2x\)
Final answer:

The derivative of \(f(x) = x^3 + x^2\) is \(f'(x) = 3x^2 + 2x\).

Applied rules:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Power rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• Linearity: The derivative operator is linear

2 Difference Rule Application
Exercise 2
Find the derivative of \(g(x) = x^4 - 3x^2 + 5\) using the sum and difference rules.
Definition:

Difference rule: If \(f(x) = u(x) - v(x)\), then \(f'(x) = u'(x) - v'(x)\). The derivative of a difference is the difference of the derivatives.

Function
\(g(x) = x^4 - 3x^2 + 5\)
Components
\(x^4, -3x^2, 5\)
Result
\(g'(x) = 4x^3 - 6x\)
Step 1: Rewrite as a sum

\(g(x) = x^4 + (-3x^2) + 5\)

This allows us to apply the sum rule to all terms

Step 2: Apply the sum rule

\(\frac{d}{dx}[x^4 + (-3x^2) + 5] = \frac{d}{dx}[x^4] + \frac{d}{dx}[-3x^2] + \frac{d}{dx}[5]\)

Step 3: Apply constant multiple rule and power rule

\(\frac{d}{dx}[x^4] = 4x^3\)

\(\frac{d}{dx}[-3x^2] = -3 \cdot \frac{d}{dx}[x^2] = -3 \cdot 2x = -6x\)

\(\frac{d}{dx}[5] = 0\) (constant rule)

Step 4: Combine the results

\(g'(x) = 4x^3 + (-6x) + 0 = 4x^3 - 6x\)

Step 5: Verify with the difference rule directly

We could also think of this as: \(\frac{d}{dx}[x^4 - 3x^2] + \frac{d}{dx}[5] = (4x^3 - 6x) + 0 = 4x^3 - 6x\)

\(g'(x) = 4x^3 - 6x\)
Final answer:

The derivative of \(g(x) = x^4 - 3x^2 + 5\) is \(g'(x) = 4x^3 - 6x\).

Applied rules:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Difference rule: \(\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)\)

• Constant multiple rule: \(\frac{d}{dx}[cf(x)] = c \cdot f'(x)\)

• Constant rule: \(\frac{d}{dx}[c] = 0\)

3 Sum Rule with Multiple Terms
Exercise 3
Find the derivative of \(h(x) = 2x^5 - x^3 + 4x - 7\) using the sum rule for multiple terms.
Definition:

Extended sum rule: The sum rule can be extended to any finite number of terms: \(\frac{d}{dx}[f_1(x) + f_2(x) + \ldots + f_n(x)] = f_1'(x) + f_2'(x) + \ldots + f_n'(x)\).

Function
\(h(x) = 2x^5 - x^3 + 4x - 7\)
Terms
\(2x^5, -x^3, 4x, -7\)
Result
\(h'(x) = 10x^4 - 3x^2 + 4\)
Step 1: Identify all terms

\(h(x) = 2x^5 + (-x^3) + 4x + (-7)\)

Four terms: \(2x^5\), \(-x^3\), \(4x\), and \(-7\)

Step 2: Apply the extended sum rule

\(\frac{d}{dx}[2x^5 - x^3 + 4x - 7] = \frac{d}{dx}[2x^5] + \frac{d}{dx}[-x^3] + \frac{d}{dx}[4x] + \frac{d}{dx}[-7]\)

Step 3: Apply appropriate rules to each term

First term: \(\frac{d}{dx}[2x^5] = 2 \cdot 5x^4 = 10x^4\) (constant multiple + power rule)

Second term: \(\frac{d}{dx}[-x^3] = -1 \cdot 3x^2 = -3x^2\) (constant multiple + power rule)

Third term: \(\frac{d}{dx}[4x] = 4 \cdot 1 = 4\) (constant multiple + power rule)

Fourth term: \(\frac{d}{dx}[-7] = 0\) (constant rule)

Step 4: Combine all derivatives

\(h'(x) = 10x^4 + (-3x^2) + 4 + 0 = 10x^4 - 3x^2 + 4\)

Step 5: Verify by checking each component

Each term was differentiated correctly using the appropriate combination of rules

The sum rule allowed us to treat each term independently

\(h'(x) = 10x^4 - 3x^2 + 4\)
Final answer:

The derivative of \(h(x) = 2x^5 - x^3 + 4x - 7\) is \(h'(x) = 10x^4 - 3x^2 + 4\).

Applied rules:

• Extended sum rule: Applies to any finite number of terms

• Constant multiple rule: Used for coefficients

• Power rule: For polynomial terms

• Constant rule: For constant terms

Rules and methods, laws,...
\(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)
Sum Rule
Rule
Sum Rule
Derivative of sum
Rule
Difference Rule
Derivative of difference
Related
Linearity
Combined property
Key definitions:

Sum rule: The derivative of a sum of functions is the sum of their derivatives: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\).

Difference rule: The derivative of a difference of functions is the difference of their derivatives: \(\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)\).

Linearity: The derivative operator is linear, meaning it preserves addition and scalar multiplication.

Finite sum rule: The sum rule extends to any finite number of terms.

Complete methodology:
  1. Identify terms: Recognize all functions being added or subtracted
  2. Apply rules: Use appropriate differentiation rules for each term
  3. Combine results: Add or subtract the individual derivatives
  4. Simplify: Express in the required form
  5. Verify: Check that the result makes sense mathematically
Tip 1: The sum rule works for any finite number of terms.
Tip 2: Treat subtraction as addition of a negative term.
Tip 3: Combine with other rules like the power rule and constant multiple rule.
Tip 4: Constants differentiate to zero and can be ignored in the derivative.
Common errors: Forgetting to differentiate each term, misapplying the rules to individual terms, not preserving signs correctly, confusing with product or quotient rules.
Exam preparation: Practice with polynomials of varying degrees, combine with other differentiation rules, understand the linearity property.
Formulas to know by heart:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Difference rule: \(\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)\)

• Extended sum rule: \(\frac{d}{dx}[f_1(x) + f_2(x) + \ldots + f_n(x)] = f_1'(x) + f_2'(x) + \ldots + f_n'(x)\)

• Linearity: \(\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)\)

Solution: Exercises 4 to 5
4 Complex Applications with Multiple Rules
Exercise 4
Find the derivative of \(p(x) = \frac{1}{3}x^6 - \sqrt{2}x^4 + \frac{5}{2}x^2 - \pi\). Apply the sum rule along with other differentiation rules.
Definition:

Combination of rules: The sum rule works in conjunction with the constant multiple rule, power rule, and constant rule to differentiate complex polynomial expressions.

Original function
\(p(x) = \frac{1}{3}x^6 - \sqrt{2}x^4 + \frac{5}{2}x^2 - \pi\)
Apply rules
Term by term
Result
\(p'(x) = 2x^5 - 4\sqrt{2}x^3 + 5x\)
Step 1: Apply the sum rule to all terms

\(\frac{d}{dx}\left[\frac{1}{3}x^6 - \sqrt{2}x^4 + \frac{5}{2}x^2 - \pi\right] = \frac{d}{dx}\left[\frac{1}{3}x^6\right] + \frac{d}{dx}\left[-\sqrt{2}x^4\right] + \frac{d}{dx}\left[\frac{5}{2}x^2\right] + \frac{d}{dx}[-\pi]\)

Step 2: Apply the constant multiple rule to each term

First term: \(\frac{d}{dx}\left[\frac{1}{3}x^6\right] = \frac{1}{3} \cdot \frac{d}{dx}[x^6]\)

Second term: \(\frac{d}{dx}\left[-\sqrt{2}x^4\right] = -\sqrt{2} \cdot \frac{d}{dx}[x^4]\)

Third term: \(\frac{d}{dx}\left[\frac{5}{2}x^2\right] = \frac{5}{2} \cdot \frac{d}{dx}[x^2]\)

Fourth term: \(\frac{d}{dx}[-\pi] = 0\) (constant rule)

Step 3: Apply the power rule to each remaining function

First term: \(\frac{d}{dx}[x^6] = 6x^5\), so \(\frac{1}{3} \cdot 6x^5 = 2x^5\)

Second term: \(\frac{d}{dx}[x^4] = 4x^3\), so \(-\sqrt{2} \cdot 4x^3 = -4\sqrt{2}x^3\)

Third term: \(\frac{d}{dx}[x^2] = 2x\), so \(\frac{5}{2} \cdot 2x = 5x\)

Fourth term: \(\frac{d}{dx}[-\pi] = 0\)

Step 4: Combine all terms

\(p'(x) = 2x^5 + (-4\sqrt{2}x^3) + 5x + 0 = 2x^5 - 4\sqrt{2}x^3 + 5x\)

Step 5: Verify by checking at a point

At \(x = 1\): \(p'(1) = 2(1)^5 - 4\sqrt{2}(1)^3 + 5(1) = 2 - 4\sqrt{2} + 5 = 7 - 4\sqrt{2}\)

This represents the instantaneous rate of change of \(p(x)\) at \(x = 1\)

\(p'(x) = 2x^5 - 4\sqrt{2}x^3 + 5x\)
Final answer:

The derivative of \(p(x) = \frac{1}{3}x^6 - \sqrt{2}x^4 + \frac{5}{2}x^2 - \pi\) is \(p'(x) = 2x^5 - 4\sqrt{2}x^3 + 5x\).

Applied rules:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Constant multiple rule: \(\frac{d}{dx}[cf(x)] = c \cdot f'(x)\)

• Power rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)

• Constant rule: \(\frac{d}{dx}[c] = 0\)

5 Sum Rule Proof
Exercise 5
Prove the sum rule using the definition of the derivative: If \(h(x) = f(x) + g(x)\), then \(h'(x) = f'(x) + g'(x)\).
Definition:

Derivative definition: The derivative of \(h(x)\) is defined as \(h'(x) = \lim_{h \to 0} \frac{h(x+h) - h(x)}{h}\), provided the limit exists.

Given
\(h(x) = f(x) + g(x)\)
Definition
\(\lim_{h \to 0} \frac{[f(x+h) + g(x+h)] - [f(x) + g(x)]}{h}\)
Result
\(f'(x) + g'(x)\)
Step 1: Start with the definition of the derivative

Given \(h(x) = f(x) + g(x)\), we want to find \(h'(x)\)

By definition: \(h'(x) = \lim_{h \to 0} \frac{h(x+h) - h(x)}{h}\)

Step 2: Substitute the given function

Since \(h(x) = f(x) + g(x)\), we have:

\(h(x+h) = f(x+h) + g(x+h)\)

Therefore: \(h'(x) = \lim_{h \to 0} \frac{[f(x+h) + g(x+h)] - [f(x) + g(x)]}{h}\)

Step 3: Rearrange the numerator

\(h'(x) = \lim_{h \to 0} \frac{f(x+h) + g(x+h) - f(x) - g(x)}{h}\)

\(h'(x) = \lim_{h \to 0} \frac{[f(x+h) - f(x)] + [g(x+h) - g(x)]}{h}\)

Step 4: Split the fraction

\(h'(x) = \lim_{h \to 0} \left[\frac{f(x+h) - f(x)}{h} + \frac{g(x+h) - g(x)}{h}\right]\)

Step 5: Apply the limit property

Since both limits exist (assuming \(f\) and \(g\) are differentiable), we can split the limit:

\(h'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} + \lim_{h \to 0} \frac{g(x+h) - g(x)}{h}\)

Step 6: Recognize the definitions

The first limit is exactly the definition of \(f'(x)\)

The second limit is exactly the definition of \(g'(x)\)

Step 7: Complete the proof

Therefore: \(h'(x) = f'(x) + g'(x)\)

This proves that \(\frac{d}{dx}[f(x) + g(x)] = \frac{d}{dx}[f(x)] + \frac{d}{dx}[g(x)]\)

\(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)
Final answer:

The sum rule \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\) is proven using the definition of the derivative and the properties of limits.

Applied rules:

• Derivative definition: \(\lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\)

• Limit properties: \(\lim_{h \to 0}[A + B] = \lim_{h \to 0}A + \lim_{h \to 0}B\)

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Linearity: The derivative is a linear operator

Key Sum and Difference Rules Concepts, Theorems, and Applications
\(\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)\)
Complete Sum/Difference Rule
Key definitions:

Sum rule: The fundamental differentiation rule stating that the derivative of a sum of functions is the sum of their derivatives. This reflects the linearity of the derivative operator.

Difference rule: The derivative of a difference of functions is the difference of their derivatives. This is a special case of the sum rule with a negative coefficient.

Linearity: A property of operators where they preserve addition and scalar multiplication. The derivative operator is linear: \(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\).

Finite sums: The sum rule extends to any finite number of terms: \(\frac{d}{dx}[f_1(x) + f_2(x) + \ldots + f_n(x)] = f_1'(x) + f_2'(x) + \ldots + f_n'(x)\).

Complete methodology:
  1. Identify all terms: Look for all functions being added or subtracted
  2. Apply the rule: Differentiate each term independently
  3. Preserve signs: Maintain the original signs of each term
  4. Combine results: Add or subtract the individual derivatives
  5. Simplify: Express in the required form
Tip 1: The sum rule works for any finite number of terms.
Tip 2: Treat subtraction as addition of a negative term to simplify application.
Tip 3: The rules are consequences of the linearity of the derivative operator.
Tip 4: Combine with other rules like power rule, constant multiple rule, etc.
Tip 5: The rules apply to any differentiable functions, not just polynomials.
Common error patterns: Forgetting to differentiate all terms, not preserving signs correctly, applying to products or quotients instead of sums, forgetting that constants differentiate to zero.
Advanced applications: The rules are fundamental to linear differential equations, Fourier series, and other areas where linearity is crucial.
Essential theorems and properties:

• Sum rule: \(\frac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)\)

• Difference rule: \(\frac{d}{dx}[f(x) - g(x)] = f'(x) - g'(x)\)

• Extended sum rule: \(\frac{d}{dx}[f_1(x) + f_2(x) + \ldots + f_n(x)] = f_1'(x) + f_2'(x) + \ldots + f_n'(x)\)

• Linearity: \(\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)\)

• Finite additivity: The derivative preserves finite addition

Exercise with Visualization: Sum Rule Effects
Exercise 6: Graphing Functions and Their Derivatives
Compare the functions and their derivatives for different combinations:
- \(f_1(x) = x^2 + x\) → \(f_1'(x) = 2x + 1\)
- \(f_2(x) = x^3 - x^2\) → \(f_2'(x) = 3x^2 - 2x\)
- \(f_3(x) = 2x^2 + 3x - 1\) → \(f_3'(x) = 4x + 3\)
- \(f_4(x) = x^4 - 2x^3 + x\) → \(f_4'(x) = 4x^3 - 6x^2 + 1\)

Analysis: The chart shows how the sum rule affects functions and their derivatives:

  • Each term contributes independently to the derivative
  • The derivative of a sum is the sum of the derivatives
  • Constant terms disappear in the derivative
  • The rule works for any combination of polynomial terms

Questions & Answers

Question: Does the sum rule work for infinite series? Can I differentiate term by term?

Answer: The sum rule works for finite sums, but infinite series require special conditions:

For finite sums: Yes, \(\frac{d}{dx}[f_1(x) + f_2(x) + \ldots + f_n(x)] = f_1'(x) + f_2'(x) + \ldots + f_n'(x)\) always holds.

For infinite series: Term-by-term differentiation requires additional conditions:

  • The series \(\sum_{n=1}^{\infty} f_n(x)\) must converge uniformly on some interval
  • The series of derivatives \(\sum_{n=1}^{\infty} f_n'(x)\) must also converge uniformly on that interval
  • The functions \(f_n(x)\) must be continuously differentiable

For example, the Taylor series for \(e^x = \sum_{n=0}^{\infty} \frac{x^n}{n!}\) can be differentiated term by term because it satisfies the necessary conditions, yielding \(\frac{d}{dx}[e^x] = \sum_{n=1}^{\infty} \frac{x^{n-1}}{(n-1)!} = e^x\).

Without uniform convergence, term-by-term differentiation can lead to incorrect results.

Question: How do I handle functions that involve both addition and multiplication? Do I use the sum rule or product rule?

Answer: The choice depends on the structure of the function:

Use sum rule when:

  • Functions are added/subtracted: \(f(x) + g(x)\)
  • Terms are separated by + or - signs
  • Example: \(x^2 + 3x + 5\) → Use sum rule

Use product rule when:

  • Functions are multiplied: \(f(x) \cdot g(x)\)
  • Terms are multiplied together
  • Example: \(x^2 \cdot \sin(x)\) → Use product rule

Examples:

  • \(x^2 + \sin(x)\) → Sum rule: \(\frac{d}{dx}[x^2] + \frac{d}{dx}[\sin(x)]\)
  • \(x^2 \cdot \sin(x)\) → Product rule: \(\frac{d}{dx}[x^2] \cdot \sin(x) + x^2 \cdot \frac{d}{dx}[\sin(x)]\)
  • \(x^2 \sin(x) + 3x \cos(x)\) → Sum rule on two product terms

Look for the outermost operation: if it's addition/subtraction, use sum/difference rule; if it's multiplication, use product rule.

Question: How do the sum and difference rules apply to physics problems, particularly in mechanics?

Answer: The sum and difference rules are fundamental in physics:

Kinematics:

  • Position: \(s(t) = 5t^2 + 3t + 1\) → Velocity: \(v(t) = 10t + 3\) (sum rule)
  • When multiple forces act: \(F_{net} = F_1 + F_2 - F_3\) → Acceleration: \(a = \frac{F_1'}{m} + \frac{F_2'}{m} - \frac{F_3'}{m}\)

Energy conservation:

  • Total energy: \(E = KE + PE = \frac{1}{2}mv^2 + mgh\) → Rate of change: \(\frac{dE}{dt} = \frac{d}{dt}[KE] + \frac{d}{dt}[PE]\)
  • Power is the derivative of work with respect to time

Harmonic motion:

  • Superposition of waves: \(y(x,t) = A_1\sin(k_1x - \omega_1t) + A_2\sin(k_2x - \omega_2t)\)
  • Derivatives with respect to time or space use the sum rule

The rules allow physicists to analyze complex systems by breaking them into simpler components and treating each component independently before recombining the results.

Question: How are the sum and difference rules used in economics for marginal analysis?

Answer: The sum and difference rules are crucial in economic marginal analysis:

Cost functions:

  • Total cost: \(TC(Q) = FC + VC(Q) = 500 + 3Q^2 + 2Q\) → Marginal cost: \(MC(Q) = 6Q + 2\)
  • The fixed cost disappears in marginal analysis (constant rule)

Profit maximization:

  • Profit: \(\pi(Q) = TR(Q) - TC(Q)\) → Marginal profit: \(\frac{d\pi}{dQ} = MR - MC\)
  • Optimization occurs when \(\frac{d\pi}{dQ} = 0\), meaning \(MR = MC\)

Multi-market analysis:

  • When firms operate in multiple markets: \(TR = TR_1 + TR_2\) → \(MR_1 + MR_2 = MC\)
  • The sum rule allows separate analysis of each market's contribution

The rules enable economists to analyze the marginal impact of each component of complex economic functions while maintaining mathematical tractability.

Question: What's the relationship between the sum/difference rules and linearity of the derivative operator?

Answer: The sum and difference rules are manifestations of the linearity property:

Linearity definition:

An operator \(D\) is linear if it satisfies two properties:

  1. Additivity: \(D[f(x) + g(x)] = D[f(x)] + D[g(x)]\) (Sum rule)
  2. Homogeneity: \(D[cf(x)] = cD[f(x)]\) (Constant multiple rule)

Combined property:

Together, these properties give the full linearity property:

\(D[af(x) + bg(x)] = aD[f(x)] + bD[g(x)]\)

Significance:

The linearity of differentiation is fundamental to much of calculus and mathematical analysis. It allows us to decompose complex expressions into simpler parts, apply differentiation to each part separately, and recombine the results. This property makes the derivative operator one of the most well-behaved mathematical operations.

Linearity is also what allows us to solve linear differential equations systematically and is the foundation for techniques in Fourier analysis, Laplace transforms, and other advanced mathematical methods.