This is a beta course, so its structure, chapters, and examples may continue to change.
Advanced Techniques for Computing Derivatives
Advanced Techniques for Computing Derivatives
Once the basic differentiation rules and the basic computation methods are mastered, we need to learn some advanced techniques to handle more complicated differentiation problems.
Higher-Order Derivatives
Second Derivative
Definition
A definition is a precise description of what a concept, a term, or an object means. Understanding definitions is the foundation of learning any field, and every concept has its own exact meaning.
Second Derivative
f′′(x)=(f′(x))′
Physical meaning: acceleration is the derivative of velocity, that is, the second derivative of displacement.
Examples:
f(x)=x2, f′(x)=2x, f′′(x)=2
f(x)=sinx, f′(x)=cosx, f′′(x)=−sinx
n-th Derivative
Definition
A definition is a precise description of what a concept, a term, or an object means. Understanding definitions is the foundation of learning any field, and every concept has its own exact meaning.
n-th Derivative
f(n)(x)=(f(n−1)(x))′
Higher-order derivatives of common functions:
(xn)(n)=n!
(ex)(n)=ex
(sinx)(n)=sin(x+2nπ)
(cosx)(n)=cos(x+2nπ)
Implicit Differentiation
The Basic Method
Steps:
Differentiate both sides of the equation simultaneously
Solve for dxdy, treating it as an unknown
Rearrange to get an expression for dxdy
Example:
Find the derivative of x2+y2=1.
Solution:
Differentiate both sides: 2x+2ydxdy=0
Rearrange: 2ydxdy=−2x
Obtain: dxdy=−yx
Complicated Implicit Functions
Example:
Find the derivative of x3+y3=3xy.
Solution:
Differentiate both sides: 3x2+3y2dxdy=3y+3xdxdy
Rearrange: 3y2dxdy−3xdxdy=3y−3x2
Factor out the common term: (3y2−3x)dxdy=3y−3x2
Obtain: dxdy=y2−xy−x2
Differentiation of Parametric Equations
The Basic Formula
Mathematical formula
A formula is a symbolic expression of quantitative relations and structural patterns, and an essential tool for solving mathematical problems. Key formulas should be mastered and applied flexibly.
Parametric Differentiation Formula
dxdy=dtdxdtdy
Explanation: the derivative of a parametric curve equals the derivative of y with respect to the parameter divided by the derivative of x with respect to the parameter.
Example:
Find the derivative of the parametric equations x=t2, y=t3.
Solution:
dtdx=2t
dtdy=3t2
dxdy=2t3t2=23t
Higher-Order Derivatives
Second derivative: dx2d2y=dxd(dxdy)=dtd(dxdy)⋅dxdt
Example:
Find the second derivative of the parametric equations x=cost, y=sint.
Solution:
First derivative: dxdy=−sintcost=−cott
Second derivative: dx2d2y=dtd(−cott)⋅−sint1=csc2t⋅−sint1=−csc3t
Logarithmic Differentiation
When to Use It
Logarithmic differentiation is useful in the following situations:
complicated power-exponential functions
products or quotients of several functions
expressions that contain both exponentials and logarithms
The Basic Steps
Take the logarithm of the function
Differentiate both sides of the equation
Solve for dxdy
Examples
Example 1: Find the derivative of y=xx.
Solution:
Take the logarithm: lny=xlnx
Differentiate: y1dxdy=lnx+1
Solve: dxdy=y(lnx+1)=xx(lnx+1)
Example 2: Find the derivative of y=(x+3)4(x+1)2(x−2)3.
Solution:
Take the logarithm: lny=2ln(x+1)+3ln(x−2)−4ln(x+3)
Differentiate: y1dxdy=x+12+x−23−x+34
Solve: dxdy=y(x+12+x−23−x+34)
Differentiation of Piecewise Functions
The Basic Method
Method:
Differentiate each piece separately
Check differentiability at the breakpoints
Example
Example:
f(x)={x2,−x2,x≥0x<0
Solution:
When x>0: f′(x)=2x
When x<0: f′(x)=−2x
At x=0: f′(0)=0
Advanced Computation Techniques
1. Simplification
Technique: simplify the function before differentiating it
Example:
Original function: f(x)=x−1x2−1
Simplified: f(x)=x+1 (when x=1)
Derivative: f′(x)=1
2. Exploiting Symmetry
Technique: use the symmetry of the function to simplify the computation
Example:
For an even function f(x)=f(−x):
f′(x)=−f′(−x)
At x=0, f′(0)=0
For an odd function f(x)=−f(−x):
f′(x)=f′(−x)
the derivative is an even function
3. Decomposing Composite Functions
Technique: decompose a complicated function into a composition of simple ones
Example:
f(x)=sin(ex2)
Decomposition:
u=x2
v=eu
w=sinv
f(x)=w
Differentiation:
dvdw=cosv=cos(ex2)
dudv=eu=ex2
dxdu=2x
f′(x)=cos(ex2)⋅ex2⋅2x=2xex2cos(ex2)
Common Errors and Precautions
1. Mistakes in Implicit Differentiation
Mistake: forgetting to apply the chain rule when differentiating yCorrect: when differentiating a term that contains y, multiply by dxdy
Example:
Mistake: (y2)′=2y
Correct: (y2)′=2ydxdy
2. Mistakes in Differentiation of Parametric Equations
Mistake: differentiating x and y directly
Correct: differentiate with respect to the parameter first, then use the formula
3. Mistakes in Logarithmic Differentiation
Mistake: forgetting to multiply by the original function at the end
Correct: dxdy=y⋅dxd(lny)
Exercises
Exercise 1
Find the derivative of the implicit function x2+xy+y2=1.
derivative calculationdifferentiation rules
Approach:
Use implicit differentiation.
Steps:
Differentiate both sides:
2x+y+xdxdy+2ydxdy=0
Rearrange:
(x+2y)dxdy=−(2x+y)
Solve:
dxdy=−x+2y2x+y
Answer: dxdy=−x+2y2x+y
Exercise 2
Find the derivative of the parametric equations x=t3, y=t2.
derivative calculationdifferentiation rules
Approach:
Use the parametric differentiation formula.
Steps:
Compute dtdx and dtdy:
dtdx=3t2dtdy=2t
Apply the formula:
dxdy=dtdxdtdy=3t22t=3t2
Answer: dxdy=3t2
Exercise 3
Find the derivative of y=xsinx using logarithmic differentiation.
derivative calculationdifferentiation rules
Approach:
Use logarithmic differentiation.
Steps:
Take the logarithm:
lny=sinx⋅lnx
Differentiate both sides:
y1dxdy=cosx⋅lnx+sinx⋅x1