Solved Exercises on Derivative Rules for Constants, Sums, Differences in Calculus 1

Master the fundamental derivative rules: constant, sum, and difference rules through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Constant Rule Application
Exercise 1
Find the derivative of \(f(x) = 7\) using the constant rule.
Definition:

Constant rule: If \(f(x) = c\) where \(c\) is a constant, then \(f'(x) = 0\). The derivative of a constant function is zero.

Constant rule method:
  1. Identify if the function is a constant
  2. Verify that the function value does not change with \(x\)
  3. Apply the constant rule: derivative is 0
  4. Understand that a constant function has zero rate of change
Function
\(f(x) = 7\)
Type
Constant
Result
\(f'(x) = 0\)
Step 1: Identify the function type

\(f(x) = 7\) is a constant function since it returns the same value (7) for any input \(x\)

Step 2: Apply the constant rule

According to the constant rule: \(\frac{d}{dx}[c] = 0\) for any constant \(c\)

Therefore: \(\frac{d}{dx}[7] = 0\)

Step 3: Verify using the definition

Using the limit definition: \(\lim_{h \to 0} \frac{f(x+h) - f(x)}{h} = \lim_{h \to 0} \frac{7 - 7}{h} = \lim_{h \to 0} \frac{0}{h} = \lim_{h \to 0} 0 = 0\)

Step 4: Interpret geometrically

The graph of \(f(x) = 7\) is a horizontal line

A horizontal line has slope 0 everywhere

The derivative represents the slope, so \(f'(x) = 0\)

\(f'(x) = 0\)
Final answer:

The derivative of \(f(x) = 7\) is \(f'(x) = 0\).

Applied rules:

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

• Geometric interpretation: Horizontal lines have zero slope

• Rate of change: Constants have zero rate of change

2 Sum Rule Application
Exercise 2
Find the derivative of \(g(x) = x^3 + 2x^2 - 5\) using the sum rule and constant 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.

Function
\(g(x) = x^3 + 2x^2 - 5\)
Components
\(x^3, 2x^2, -5\)
Result
\(g'(x) = 3x^2 + 4x\)
Step 1: Identify all terms

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

Three terms: \(x^3\), \(2x^2\), and \(-5\)

Step 2: Apply the sum rule

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

Step 3: Apply appropriate rules to each term

First term: \(\frac{d}{dx}[x^3] = 3x^2\) (power rule)

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

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

Step 4: Combine the results

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

Step 5: Verify with a specific value

At \(x = 1\): \(g'(1) = 3(1)^2 + 4(1) = 3 + 4 = 7\)

This means the function is increasing at a rate of 7 units per unit increase in \(x\) at \(x = 1\)

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

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

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}\)

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

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

3 Difference Rule Application
Exercise 3
Find the derivative of \(h(x) = 4x^5 - x^3 + 6x - 10\) 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
\(h(x) = 4x^5 - x^3 + 6x - 10\)
Terms
\(4x^5, -x^3, 6x, -10\)
Result
\(h'(x) = 20x^4 - 3x^2 + 6\)
Step 1: Rewrite as a sum of terms

\(h(x) = 4x^5 + (-x^3) + 6x + (-10)\)

This allows us to apply the sum rule to all terms

Step 2: Apply the sum rule

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

Step 3: Apply appropriate rules to each term

First term: \(\frac{d}{dx}[4x^5] = 4 \cdot 5x^4 = 20x^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}[6x] = 6 \cdot 1 = 6\) (constant multiple + power rule)

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

Step 4: Combine all terms

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

Step 5: Verify by checking the pattern

Each term was reduced by one degree in the derivative

Constant terms disappeared as expected

Coefficients were adjusted according to the power rule

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

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

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)\)

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

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

Rules and methods, laws,...
\(\frac{d}{dx}[c] = 0, \frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)\)
Fundamental Rules
Rule
Constant Rule
Derivative of constant
Rule
Sum Rule
Derivative of sum
Rule
Difference Rule
Derivative of difference
Key definitions:

Constant rule: The derivative of any constant function is zero. This reflects that constants have no rate of change.

Sum rule: The derivative of a sum of functions is the sum of their derivatives. This is a manifestation of the linearity of the derivative operator.

Difference rule: The derivative of a difference of functions is the difference of their derivatives. This follows from the sum rule since subtraction is addition of a negative.

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

Complete methodology:
  1. Identify the function type: Determine if it's constant, sum, or difference
  2. Apply the appropriate rule: Use constant, sum, or difference rule accordingly
  3. Differentiate each term: Apply other rules as needed for each component
  4. Combine results: Add or subtract the individual derivatives
  5. Simplify: Express in the required form
Tip 1: The sum rule extends to any finite number of terms.
Tip 2: Treat subtraction as addition of a negative term.
Tip 3: Constants always differentiate to zero.
Tip 4: These rules can be combined with other differentiation rules.
Common errors: Forgetting that constants differentiate to zero, not preserving signs correctly, misapplying to products or quotients instead of sums/differences, not applying to each term individually.
Exam preparation: Practice with polynomials of varying degrees, combine with other rules, understand the linearity property.
Formulas to know by heart:

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

• 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 Combined Rule Application
Exercise 4
Find the derivative of \(p(x) = \frac{2}{3}x^4 - \sqrt{5}x^2 + \pi - e^x\) using the sum and difference rules along with other rules.
Definition:

Combined rule application: When a function combines constants, sums, differences, and other functions, apply the appropriate rule to each component based on its structure.

Function
\(p(x) = \frac{2}{3}x^4 - \sqrt{5}x^2 + \pi - e^x\)
Apply rules
Term by term
Result
\(p'(x) = \frac{8}{3}x^3 - 2\sqrt{5}x - e^x\)
Step 1: Identify all terms and their types

\(p(x) = \frac{2}{3}x^4 + (-\sqrt{5}x^2) + \pi + (-e^x)\)

Four terms: \(\frac{2}{3}x^4\) (constant multiple of power), \(-\sqrt{5}x^2\) (constant multiple of power), \(\pi\) (constant), \(-e^x\) (negative exponential)

Step 2: Apply the sum rule

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

Step 3: Apply appropriate rules to each term

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

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

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

Fourth term: \(\frac{d}{dx}[-e^x] = -e^x\) (constant multiple + exponential rule)

Step 4: Combine all terms

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

Step 5: Verify the result

Each term was differentiated correctly using the appropriate combination of rules

The constant \(\pi\) disappeared as expected

The exponential function retained its form with a negative sign

\(p'(x) = \frac{8}{3}x^3 - 2\sqrt{5}x - e^x\)
Final answer:

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

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\)

• Exponential rule: \(\frac{d}{dx}[e^x] = e^x\)

5 Linearity Property Proof
Exercise 5
Prove that the derivative operator is linear: \(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\) where \(a\) and \(b\) are constants.
Definition:

Linearity of the derivative: The derivative operator is linear, meaning it preserves addition and scalar multiplication. This property combines the sum rule and constant multiple rule.

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

Let \(h(x) = af(x) + bg(x)\) where \(a\) and \(b\) are constants

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

Step 2: Substitute the given function

\(h(x+h) = af(x+h) + bg(x+h)\)

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

Step 3: Rearrange the numerator

\(h'(x) = \lim_{h \to 0} \frac{af(x+h) + bg(x+h) - af(x) - bg(x)}{h}\)

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

Step 4: Split the fraction

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

Step 5: Factor out constants

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

Step 6: 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} \left[a \cdot \frac{f(x+h) - f(x)}{h}\right] + \lim_{h \to 0} \left[b \cdot \frac{g(x+h) - g(x)}{h}\right]\)

Step 7: Factor out constants from limits

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

Step 8: Recognize the definitions

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

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

Step 9: Complete the proof

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

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

\(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\)
Final answer:

The linearity property \(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\) is proven using the definition of the derivative and 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\)

• Constant multiple rule: Constants can be factored out of limits

• Linearity: The derivative is a linear operator

Key Derivative Rules for Constants, Sums, Differences Concepts, Theorems, and Applications
\(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\)
Linearity Property
Key definitions:

Constant rule: The fundamental rule stating that the derivative of any constant is zero. This reflects that constants have no rate of change with respect to the variable.

Sum rule: The derivative of a sum of functions is the sum of their derivatives. This is a manifestation of the linearity of the derivative operator.

Difference rule: The derivative of a difference of functions is the difference of their derivatives. This follows from the sum rule since subtraction is addition of a negative.

Linearity: The property that the derivative operator preserves addition and scalar multiplication. This is fundamental to much of calculus and mathematical analysis.

Complete methodology:
  1. Identify function components: Recognize constants, sums, differences, and other function types
  2. Apply appropriate rules: Use constant, sum, or difference rule based on structure
  3. Differentiate each term: Apply other rules as needed for each component
  4. Combine results: Add or subtract the individual derivatives
  5. Simplify: Express in the required form
Tip 1: The rules work for any finite number of terms.
Tip 2: Treat subtraction as addition of a negative term to simplify application.
Tip 3: The linearity property is fundamental to many advanced topics in mathematics.
Tip 4: Combine these rules with others like the power rule, product rule, and chain rule.
Tip 5: These rules apply to any differentiable functions, not just polynomials.
Common error patterns: Forgetting that constants differentiate to zero, not preserving signs correctly, misapplying to products or quotients instead of sums/differences, not applying to each term individually.
Advanced applications: The linearity property is fundamental to linear differential equations, Fourier analysis, and other advanced mathematical methods.
Essential theorems and properties:

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

• 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)\)

• Linearity: \(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\)

• Finite additivity: The derivative preserves finite addition

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

Analysis: The chart shows how the derivative rules affect functions and their derivatives:

  • Constant functions have zero derivatives
  • The derivative of a sum is the sum of the derivatives
  • Constant terms disappear in the derivative
  • Each term contributes independently to the derivative

Questions & Answers

Question: Why is the linearity property so important in calculus and mathematics?

Answer: The linearity property is fundamental because it allows us to break down complex problems into simpler parts:

Decomposition: We can analyze complex functions by breaking them into simpler components and treating each independently.

Superposition: The response to a sum of inputs is the sum of responses to each input individually.

Mathematical tractability: Linear operators like the derivative are much easier to work with than nonlinear ones.

Applications: Linearity is the foundation for Fourier analysis, Laplace transforms, linear differential equations, quantum mechanics, and signal processing.

The property \(\frac{d}{dx}[af(x) + bg(x)] = a\frac{d}{dx}[f(x)] + b\frac{d}{dx}[g(x)]\) makes the derivative operator one of the most well-behaved mathematical operations, enabling systematic approaches to solving complex problems.

Question: How do I know when to use the sum/difference rules versus the product or quotient rules?

Answer: The key is to identify the outermost operation:

Use sum/difference rules when:

  • Functions are added or subtracted: \(f(x) + g(x)\) or \(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

Use quotient rule when:

  • Functions are divided: \(\frac{f(x)}{g(x)}\)
  • One function is divided by another
  • Example: \(\frac{x^2}{\sin(x)}\) → Use quotient rule

Look at the structure: if the last operation in order of operations is addition/subtraction, use sum/difference rules; if it's multiplication, use product rule; if it's division, use quotient rule.

Question: How do these rules apply in physics, particularly in kinematics?

Answer: These rules are essential in physics:

Kinematics:

  • Position: \(s(t) = 3t^2 + 2t + 1\) → Velocity: \(v(t) = 6t + 2\) (sum rule)
  • Velocity: \(v(t) = 6t + 2\) → Acceleration: \(a(t) = 6\) (sum rule)
  • When multiple forces contribute: \(F_{total} = F_1 + F_2 - F_3\) → Acceleration follows sum rule

Energy conservation:

  • Total energy: \(E = KE + PE\) → Rate of change: \(\frac{dE}{dt} = \frac{d}{dt}[KE] + \frac{d}{dt}[PE]\)
  • The constant rule shows that conserved quantities have zero rate of change

Wave superposition:

  • Total wave: \(y_{total} = y_1 + y_2\) → Derivatives follow sum rule
  • This allows independent analysis of each wave component

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 these rules used in economics for marginal analysis?

Answer: The 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 happens with infinite series? Do the sum rules still apply?

Answer: For finite sums, the rules always apply. For infinite series, special conditions are required:

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

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.