Master successive differentiation, Leibniz theorem, curve tracing, partial derivatives, Euler's theorem, and total derivatives with formulas and applications.
Unit 2 — Differential Calculus I (8 Hours)
This unit introduces advanced differentiation techniques and their applications to functions and curves, forming the mathematical backbone of engineering analysis, optimization, and modeling.
1. What Is Successive Differentiation?
Successive differentiation is the process of differentiating a function repeatedly to obtain higher-order derivatives.
If y=f(x), then:
First derivative: dxdy=f′(x)=y1
Second derivative: dx2d2y=
n-th derivative: dxndn
Why It Matters
Acceleration is the second derivative of displacement
Bending moments in beams involve fourth derivatives of deflection
Taylor series expansions require higher-order derivatives
Stability analysis in control systems uses higher derivatives
2. Standard Formulas for Successive Differentiation
2.1 Power Function
If y=xm:
yn=m(m−1)(m−
Special case when m=n:
dxndn(xn
If m is a positive integer and n>m:
yn=0
2.2 Exponential Function
If y=eax:
yn=aneax
If y=ax:
yn=ax(lna)n
2.3 Logarithmic Function
If y=ln(x):
yn=xn(−1
If y=ln(ax+b):
yn=(ax+b)
2.4 Trigonometric Functions
If y=sin(ax+b):
yn=ansin(ax+b+
If y=cos(ax+b):
yn=ancos(ax+b+
2.5 Product with Exponential
If y=eaxsin(bx+c):
yn=rneaxsin(bx
where r=a2+b2 and .
If y=eaxcos(bx+c):
yn=rneaxcos(bx
3. Leibniz Theorem
3.1 Statement
If u and v are functions of x with derivatives of all orders, then the n-th derivative of their product is:
dxndn
Expanded form:
(uv)n=u
where uk=dxkd and .
3.2 Key Insight
Choose v as the function whose derivatives eventually vanish (e.g., polynomials) to limit the number of terms.
3.3 Application Example
To find the n-th derivative of x2eax:
Let u=eax (derivatives never vanish)
Let v=x2 (third and higher derivatives are zero)
Only three terms survive:
dxn
4. Curve Tracing
4.1 Important Features of Curves
When sketching y=f(x) or f(x,y)=0, analyze:
Feature
What to Check
Domain & Range
Where is the function defined?
Intercepts
Where does it cross the axes?
Symmetry
Even, odd, or periodic?
Asymptotes
Where does the curve approach but never reach?
Critical Points
Where is dxdy= or undefined?
4.2 Symmetry
Condition
Symmetry
f(−x,y)=f(x,y)
About y-axis
4.3 Intercepts
x-intercepts: Set y=0, solve for x
y-intercepts: Set x=0, solve for
4.4 Asymptotes
An asymptote is a straight line that a curve approaches as x→∞ or y→∞.
Vertical Asymptotes:
Occur where y→∞. Find values of x that make the denominator zero (after canceling common factors).
Horizontal Asymptotes:
y=LwhereL=x→∞limf(x)
Oblique (Slant) Asymptotes:
If degree of numerator = degree of denominator + 1, perform polynomial long division:
y=mx+cwherem=
4.5 Maximum and Minimum Points
First Derivative Test:
If dxdy changes from + to − at , then is a
Second Derivative Test:
At a critical point x=c where f′(c)=0:
If f′′(c)<0: Local maximum
If f′′(c)>:
4.6 Points of Inflection
A point where the concavity changes:
dx2d2y=0and changes sign
5. Partial Derivatives
5.1 Functions of Several Variables
A function f(x,y) depends on multiple independent variables.
5.2 First-Order Partial Derivatives
Partial derivative with respect to x (treat y as constant):
∂x∂f=f
Partial derivative with respect to y (treat x as constant):
∂y∂f=f
5.3 Higher-Order Partial Derivatives
∂x2∂2f
5.4 Mixed Partial Derivatives
∂y∂x∂2f=∂x∂y∂2f=
Schwarz's Theorem (Clairaut's Theorem):
If fxy and fyx are continuous at a point, then:
∂y∂x∂2f=
5.5 Notation Summary
Derivative
Symbol
∂x∂f
f,
6. Euler's Theorem for Homogeneous Functions
6.1 Homogeneous Functions
A function f(x,y) is homogeneous of degree n if:
f(tx,ty)=tnf(x,y)
for all t>0.
Test: In a homogeneous function, each term has the same total degree.
Example: f(x,y)=x3+3x2y+y is homogeneous of degree 3.
6.2 Euler's Theorem
If f(x,y) is a homogeneous function of degree n with continuous partial derivatives, then:
x∂x∂f+y∂y
In operator notation:
x∂x∂+y∂y∂
when applied to a homogeneous function of degree n.
6.3 Extension to Second Derivatives
For a homogeneous function of degree n:
x2∂x
Or using operators:
(x∂x∂+y∂y
6.4 General Form for m-Variables
If f(x1,x2,…,xm is homogeneous of degree :
i=1∑mxi
7. Total Derivative
7.1 Total Differential
If z=f(x,y) where x and y are independent variables, the total differential is:
dz=∂x∂fdx+
7.2 Total Derivative (Chain Rule)
If z=f(x,y) where x=x(t) and y=:
dtdz=∂x
If z=f(x,y) where y=g(x):
dxdz=∂x
7.3 Implicit Differentiation
If f(x,y)=c (constant), then:
dxdy=−
provided fy=0.
7.4 Second Total Derivative
8. Change of Variables
8.1 Transformation of Variables
When changing from (x,y) to new variables (u,v) where u=u(x,y) and :
∂x∂f=∂y∂f=
8.2 Jacobian Determinant
The Jacobian of the transformation is:
J=∂(x
If J=0, the transformation is locally invertible.
For inverse transformation:
∂(u,v)∂(x,y)=
8.3 Polar Coordinates Transformation
A common change of variables: x=rcosθ, y=rsinθ
∂r∂f=∂x∂θ∂f=−∂
Inverse relations:
∂x∂f=∂r∂y∂f=∂r
9. Engineering Applications
Domain
Application
Structural Engineering
Beam deflection: EIdx4d
10. Common Mistakes to Avoid
Mistake
Correction
Treating dxdy as a fraction in partial derivatives
Partial derivatives cannot be casually "canceled"
Assuming f without continuity check
11. Best Practices & Architecture
Always verify continuity before equating mixed partials
Use logarithmic differentiation for products/quotients of many terms
Check homogeneity by substituting (tx,ty) before applying Euler's theorem
Draw sign charts for f′ and f when curve tracing
12. Practice Problems
Problem 1: Find the n-th derivative of y=ax+b1.
Problem 2: Using Leibniz theorem, find the n-th derivative of x3sinx.
Problem 3: Trace the curve y=x2−1x2, identifying all asymptotes, intercepts, and extrema.
Problem 4: If u=sin−1(x, prove that .
Problem 5: If z=f(x,y) where x=eu+e and , show that:
∂u∂z−∂
Problem 6: If V=x2y+y2z+z2x, verify that .
13. Mini Project
Title: Optimization of a Cantilever Beam Profile
Objective: Use successive differentiation and partial derivatives to optimize the cross-sectional dimensions of a cantilever beam to minimize weight while satisfying stress constraints.
Given:
Beam length L, load P at free end
Rectangular cross-section: width b, height h
Maximum bending stress: σ
Tasks:
Express weight W as a function of b and h with the stress constraint
Use partial derivatives to find critical points of the Lagrangian
Verify minimum using second derivative test (Hessian matrix)
Find optimal b/h ratio
Compute successive derivatives of the deflection curve to verify boundary conditions
Deliverable: A computational notebook (Python/MATLAB) that symbolically derives the optimality conditions, visualizes the feasible region, and validates the solution using curve tracing of constraint boundaries.