Comprehensive Calculus Notes: Differentiation Rules, Applications, and Chain Rule
Limit Definition of the Derivative and the Power Law
Limit Definition Mechanics:
- Evaluating derivatives using the limit definition involves setting up the expression \n \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h}\n
- Expanding and combining like terms leads to term cancellations in the numerator.
- Both terms remaining in the numerator typically contain an , allowing to be factored out.
- Factoring allows the in the numerator to cancel the in the denominator.
- Canceling resolves the indeterminate form of dividing by zero, which is mathematically and physically invalid.
- Example evaluation step for :
- Substituting into the definition and simplifying yields
- Applying the limit as sets , yielding the derivative
Derivation Pattern and the Power Law:
- Evaluating standard monomial functions demonstrates a clear pattern:
- \n \frac{d}{dx}[x] = 1\n
- \n \frac{d}{dx}[x^2] = 2x\n
- \n \frac{d}{dx}[x^3] = 3x^2\n
- \n \frac{d}{dx}[x^4] = 4x^3\n
- This pattern continues for higher powers such as .
- The Power Law General Rule: For any exponent , the exponent comes down in front to multiply the variable, and the original exponent is reduced by : \n \frac{d}{dx}[x^n] = n x^{n-1}\n
Basic Differentiation Rules: Constant, Constant Multiple, Sum, and Difference Rules
Constant Function Rule:
- Any base raised to the power equals ().
- A constant function (e.g., , , or ) yields the exact same output for all inputs to infinity.
- Evaluating a constant function using the limit definition:
- Difference quotient: \n \frac{6 - 6}{h} = \frac{0}{h} = 0\n
- Applying the limit is unnecessary as the expression simplifies to directly.
- Rule: The derivative of any constant function is zero: \n \frac{d}{dx}[C] = 0\n
- Adding a constant to a function (e.g., ) leaves the derivative of the primary function unchanged because the constant term differentiates to
Constant Multiple Rule:
- If a function is multiplied by a constant , the constant can be factored outside of the differentiation operation: \n \frac{d}{dx}[c \cdot f(x)] = c \cdot \frac{d}{dx}[f(x)]\n
- Applies to known numerical constants or constant parameters representing physical quantities (such as constant pressure, velocity, or volume ).
Sum and Difference Rules:
- Sum Rule: The derivative of a sum of two functions equals the sum of their individual derivatives (distributive property of differentiation): \n \frac{d}{dx}[f(x) + g(x)] = \frac{d}{dx}[f(x)] + \frac{d}{dx}[g(x)]\n
- Difference Rule: Subtraction is the addition of a negative function; differentiation distributes across subtraction identically: \n \frac{d}{dx}[f(x) - g(x)] = \frac{d}{dx}[f(x)] - \frac{d}{dx}[g(x)]\n
Real-World Application: Fluid Dynamics and Poiseuille's Law
Physical Model of Fluid Flow in a Cylindrical Tube:
- Models the flow velocity of a viscous fluid (such as blood containing white blood cells, or water in a pipe) moving through a cylindrical vessel or tube.
- Parameters and Variables:
- = Total outer radius of the cylindrical vessel (constant).
- = Distance from the central axis of the tube (, variable).
- = Pressure difference between the two ends of the tube (constant).
- = Fluid viscosity, representing internal friction and resistance as blood cells rub against vessel walls (constant).
- = Length of the vessel section (constant).
- Velocity distribution: Fluid travels fastest along the central axis () and slows down closer to the vessel walls ().
Mathematical Simplification and Differentiation:
- Velocity equation with grouped constant : \n v(r) = C(R^2 - r^2) = C R^2 - C r^2\n where .
- Differentiating velocity with respect to radial position ():
- Apply Sum/Difference and Constant Multiple Rules: \n \frac{dv}{dr} = \frac{d}{dr}[C R^2] - \frac{d}{dr}[C r^2]\n
- Since contains no variable , it is purely constant, so .
- Applying the power rule to gives: \n \frac{d}{dr}[C r^2] = C \cdot (2r) = 2 C r\n
- Substituting back the original constant parameters and simplifying fractions yields the rate of change of velocity across the radius: \n \frac{dv}{dr} = -2 C r = -\frac{P r}{2 \eta l}\n
Differentiation of Exponential Functions
Natural Exponential Function:
- The derivative of is itself: \n \frac{d}{dx}[e^x] = e^x\n
- Proof using the limit definition:
- Expression: \n \lim_{h \rightarrow 0} \frac{e^x e^h - e^x}{h} = \lim_{h \rightarrow 0} \left( e^x \cdot \frac{e^h - 1}{h} \right)\n
- Factoring outside the limit (since it does not depend on ): \n e^x \cdot \lim_{h \rightarrow 0} \frac{e^h - 1}{h}\n
- Using the exponential limit identity , the limit simplifies to: \n e^x \cdot 1 = e^x\n
General Exponential Rules:
- Exponential with constant multiplier in exponent : \n \frac{d}{dx}[e^{ax}] = a e^{ax}\n
- Example with : \n \frac{d}{dt}[e^{-t}] = -e^{-t}\n
- General constant base (where ): \n \frac{d}{dx}[a^x] = a^x \ln(a)\n
Worked Example:
- Function:
- Distribute derivative: \n \frac{d}{dx}[f(x)] = \frac{d}{dx}[e^x] - \frac{d}{dx}[x^4]\n
- Result: \n f'(x) = e^x - 4x^3\n
Differentiation of Trigonometric Functions
Basic Trigonometric Derivatives:
- Derivative of Sine: \n \frac{d}{dx}[\sin(x)] = \cos(x)\n
- Derivative of Cosine: \n \frac{d}{dx}[\cos(x)] = -\sin(x)\n
Graphical Interpretation of Derivatives:
- Tangent lines drawn along the curve represent local slopes.
- At peak and trough points of , horizontal tangent lines have a slope of .
- Plotting these slope values across all produces the exact curve of .
- Performing the reverse process on by mapping slope values yields the curve of .
Product Rule for Differentiation
Rule Definition and Formula:
- Differentiation cannot be performed by simply multiplying the individual derivatives of two multiplied functions: \n \frac{d}{dx}[f(x) \cdot g(x)] \neq f'(x) \cdot g'(x)\n
- Gottfried Wilhelm Leibniz developed the correct product rule.
- Product Rule Formula: \n \frac{d}{dx}[f(x) \cdot g(x)] = f(x) g'(x) + g(x) f'(x)\n
- Shorthand:
Worked Example:
- Function:
- Identify sub-functions:
- Apply formula: \n h'(x) = x^2 \cdot \frac{d}{dx}[\sin(x)] + \sin(x) \cdot \frac{d}{dx}[x^2] = x^2 \cos(x) + 2x \sin(x)\n
Quotient Rule for Differentiation
Rule Definition and Formula:
- Used for differentiating one function divided by another.
- Formula: \n \frac{d}{dx}\left[\frac{u(x)}{v(x)}\right] = \frac{v(x) u'(x) - u(x) v'(x)}{[v(x)]^2}\n
- Alternative formulation using Product Rule and negative exponents: \n \frac{u(x)}{v(x)} = u(x) \cdot [v(x)]^{-1}\n
Worked Example:
- Function:
- Define numerator and denominator:
- Set up Quotient Rule: \n w'(x) = \frac{(x^3 + 6)(2x + 1) - (x^2 + x - 2)(3x^2)}{(x^3 + 6)^2}\n
- Expand numerator terms:
- Combine numerator: \n (2x^4 + x^3 + 12x + 6) - (3x^4 + 3x^3 - 6x^2) = -x^4 - 2x^3 + 6x^2 + 12x + 6\n
- Final simplified derivative: \n w'(x) = \frac{-x^4 - 2x^3 + 6x^2 + 12x + 6}{(x^3 + 6)^2}\n
Questions and Discussion on Homework and Exam Requirements
Use of Limit Definition vs. Differentiation Rules:
- Announcement made regarding Section 3.1 homework problems.
- Even if standard differentiation rules are already known from high school, assigned problems in Section 3.1 specifically require showing full work using the limit definition of the derivative.
- On exams, writing out the limit definition is not required unless explicitly specified; equation sheets will be provided.
Homework Grading Standards:
- Work Requirement: Submitting only a final answer results in zero credit. Homework requires showing logical sequences of mathematical steps to demonstrate process understanding.
- Explanations: Annotating steps (e.g., explicitly stating "used product rule here") is highly recommended.
- Formatting: Answers must be stated as proper logical equations (e.g., ) and include appropriate physical units where applicable.
The Chain Rule for Composite Functions
Composite (Compound) Functions:
- Functions nested within other functions, conceptualized as a "parent/mother function" containing a "baby function".
- Examples:
- : Outer parent function is , inner baby function is
- : Outer parent function is , inner baby function is
- Nested functions can have multiple layers (a baby function containing another baby function).
Chain Rule Definition:
- For a composite function : \n \frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)\n
- Procedure: Differentiate the outer parent function while leaving the inner baby function untouched inside, then multiply by the derivative of the inner baby function.
- Leibniz notation: \n \frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}\n
Worked Example:
- Function:
- Parent function:
- Baby function:
- Differentiate parent function while leaving baby inside:
- Differentiate baby function:
- Multiply results together: \n \frac{dy}{dx} = 2x \cos(x^2)\n