Differential calculus and mean value theorems notes — Unit 2
Free unit-wise study notes on differential calculus and mean value theorems for Engineering Mathematics I, Semester 1 of B.Tech — Computer Science & Engineering — key concepts, examples, important questions and a revision checklist for semester exams.
Twenty hand-written sheets covering successive differentiation and mean value theorems. Includes exhaustive line-by-line algebraic proofs for Leibnitz's theorem applications, replacing memorization with logical progression.
Notebook — 20 pages
Page 1
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
1. Successive Differentiation
In school, you found the first derivative (dy/dx or y₁) to find the slope of a tangent. You found the second derivative (y₂) to check for maxima or minima. But what if we need to differentiate a function 'n' times?
⇒The Need for the nth Derivative
In engineering, we often approximate complex sine waves or exponential curves into simple polynomials (using Taylor/Maclaurin series). To build an infinite polynomial, we need a generalized formula for the nth derivative (yₙ).
Notation
1st: dy/dx, f'(x), y₁
2nd: d²y/dx², f''(x), y₂
nth: dⁿy/dxⁿ, fⁿ(x), yₙ
Page 2
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
2. Deriving standard formula: y = (ax+b)ᵐ
We don't memorize the nth derivative formulas. We derive them by looking for a pattern after 3 or 4 differentiations. Let's do a 'dry run' for y = (ax+b)ᵐ.
Given: y = (ax+b)ᵐ
y₁ = m(ax+b)ᵐ⁻¹ * (a)
= m a (ax+b)ᵐ⁻¹
y₂ = m a * (m-1)(ax+b)ᵐ⁻² * (a)
= m(m-1) a² (ax+b)ᵐ⁻²
y₃ = m(m-1)(m-2) a³ (ax+b)ᵐ⁻³
1.Look at y₃. Notice the pattern:
2.The coefficient has 3 terms down from m: m(m-1)(m-2)
3.The power of 'a' is 3: a³
4.The exponent is reduced by 3: m-3
Page 3
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
3. Special cases of the polynomial formula
The generalized formula yₙ = m(m-1)...(m-n+1) aⁿ (ax+b)ᵐ⁻ⁿ behaves differently depending on the relationship between m (the original power) and n (how many times we differentiate).
Case 1: m > n
The formula works as is. The polynomial degree shrinks but survives.
Case 2: m = n
yₙ = n(n-1)(n-2)...(1) aⁿ (ax+b)⁰ = n! aⁿ. It becomes a constant!
Case 3: m < n
yₙ = 0. If you differentiate x² three times, it disappears.
Rational Functions (Negative powers)
What if y = 1 / (ax+b)?
This is just y = (ax+b)⁻¹ where m = -1.
By repeatedly differentiating and spotting the pattern:
yₙ = (-1)ⁿ n! aⁿ / (ax+b)ⁿ⁺¹
Page 4
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
4. Standard nth Derivatives (Exp & Trig)
The pattern matching trick also works for exponentials and trigonometric functions.
Exponentials
y = e^(ax)
yₙ = aⁿ e^(ax)
y = a^(mx)
yₙ = mⁿ (log a)ⁿ a^(mx)
Trigonometric
y = sin(ax+b)
yₙ = aⁿ sin(ax+b + nπ/2)
y = cos(ax+b)
yₙ = aⁿ cos(ax+b + nπ/2)
Page 5
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
5. Using Partial Fractions
You will rarely be asked to directly find yₙ of 1/(x-2). Examiners will give you a complex rational function like y = x / (x² - 3x + 2). You MUST break this down using partial fractions before you can apply the standard formulas.
1.1. Factorize the denominator: (x-1)(x-2)
2.2. Set up the split: x / ((x-1)(x-2)) = A/(x-1) + B/(x-2)
3.3. Find A and B. A = -1, B = 2.
4.4. Rewrite y: y = -1/(x-1) + 2/(x-2)
5.5. NOW apply the standard rational yₙ formula to both parts.
What if you need the nth derivative of two functions multiplied together, like y = x² e^(3x)? The standard product rule (uv' + u'v) is a nightmare to expand n times. Leibnitz gives us a beautiful shortcut.
Notice anything? It's exactly the Binomial Expansion! Instead of raising to powers, we are differentiating. The coefficients (1, n, n(n-1)/2, etc.) are identical to Pascal's triangle.
Page 7
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
7. The Secret to Leibnitz: Choosing 'v'
The formula is theoretically infinite. But if we choose 'v' correctly, the series will truncate (stop) after just a few terms, making the math extremely easy.
How to choose 'v'
Look at the terms
Identify the polynomial term (like x, x², x³).
Assign 'v'
Always assign the polynomial to 'v'.
Why?
Because v₁, v₂, v₃... will quickly become ZERO! If v = x², then v₁=2x, v₂=2, and v₃=0. The infinite series just became 3 terms long.
Page 8
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
8. Dry Run: Direct application of Leibnitz
Find the nth derivative of y = x² e^(3x).
Let v = x² => v₁ = 2x, v₂ = 2, v₃ = 0
Let u = e^(3x) => uₙ = 3ⁿ e^(3x), uₙ₋₁ = 3ⁿ⁻¹ e^(3x), uₙ₋₂ = 3ⁿ⁻² e^(3x)
1.Write the formula: yₙ = uₙv + n uₙ₋₁v₁ + [n(n-1)/2] uₙ₋₂v₂
5.Factor out the common term e^(3x) to clean it up:
yₙ = e^(3x) [ 3ⁿ x² + 2n x 3ⁿ⁻¹ + n(n-1) 3ⁿ⁻² ]
Page 9
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
9. The 'Prove That' Leibnitz Questions (Part 1)
The most guaranteed 10-mark question in Unit 2 is proving a differential equation using Leibnitz. It ALWAYS follows a strict 7-step algorithmic dry run.
3.Step 2: Cross multiply to remove the root from denominator.
4.√(1-x²) y₁ = m cos(m sin⁻¹ x)
5.Step 3: Square both sides to eliminate the square root entirely.
6.(1-x²) y₁² = m² cos²(m sin⁻¹ x)
7.Step 4: Convert any trigonometric terms back into 'y' to simplify.
8.(1-x²) y₁² = m² (1 - sin²(m sin⁻¹ x))
9.(1-x²) y₁² = m² (1 - y²)
Page 10
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
10. The 'Prove That' Leibnitz Questions (Part 2)
1.Step 5: Differentiate implicitly one more time.
2.(1-x²) [2y₁y₂] + y₁² [-2x] = m² [-2yy₁]
3.Step 6: The magic step. Divide the entire equation by 2y₁.
4.(1-x²)y₂ - xy₁ + m²y = 0
5.Step 7: Apply Leibnitz's theorem 'n' times to the entire equation.
Dry Run of Step 7 (The Leibnitz Expansion)
Apply to (1-x²)y₂:
u=y₂, v=(1-x²) => yₙ₊₂(1-x²) + n yₙ₊₁(-2x) + n(n-1)/2 yₙ(-2)
=> (1-x²)yₙ₊₂ - 2nx yₙ₊₁ - n(n-1)yₙ
Apply to -xy₁:
u=y₁, v=-x => -[ yₙ₊₁(x) + n yₙ(1) ]
=> -x yₙ₊₁ - n yₙ
Apply to m²y:
=> m² yₙ
Page 11
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
11. The 'Prove That' Leibnitz Questions (Part 3)
Now, simply add all the expanded terms together and group them by yₙ₊₂, yₙ₊₁, and yₙ.
(1-x²)yₙ₊₂ - 2nx yₙ₊₁ - n(n-1)yₙ - x yₙ₊₁ - n yₙ + m² yₙ = 0
Group yₙ₊₁ terms:
-2nx yₙ₊₁ - x yₙ₊₁ = -(2n+1)x yₙ₊₁
Group yₙ terms:
-n(n-1)yₙ - nyₙ + m²yₙ
= [-n² + n - n + m²] yₙ
= -(n² - m²) yₙ
Final equation:
(1-x²)yₙ₊₂ - (2n+1)xyₙ₊₁ - (n²-m²)yₙ = 0
Page 12
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
12. Mean Value Theorems
If you drive a car exactly 60 km in exactly 1 hour, your average (mean) speed was 60 km/h. Mean Value Theorems (MVTs) prove that at some specific instant during that trip, your speedometer MUST have read exactly 60 km/h. You cannot average 60 km/h without actually hitting 60 km/h at least once.
Rolle's
Special case. If you start and end at the same height, the average slope is 0. So, instantaneous slope must hit 0.
Lagrange's
The general case. The instantaneous slope (tangent) will parallel the average slope (secant).
Cauchy's
Advanced case. Applies the same logic to parametric curves defined by two functions.
Page 13
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
13. Rolle's Theorem
Rolle's Theorem establishes that if a continuous curve goes up, it must come back down to return to its starting height. At the very peak of that turn, the tangent is horizontal (slope = 0).
The Three Conditions
Continuous
f(x) must have no breaks on [a, b].
Differentiable
f(x) must have no sharp corners on (a, b).
Equal Heights
f(a) must equal f(b).
Conclusion
Then, f'(c) = 0 for some c in (a,b).
Page 14
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
14. Dry Run: Rolle's Theorem
Verify Rolle's Theorem for f(x) = (x-2)(x-3)² on [2, 3].
Expand the function first:
f(x) = (x-2)(x² - 6x + 9)
f(x) = x³ - 8x² + 21x - 18
1.1. Since f(x) is a polynomial, it is continuous on [2, 3].
2.2. Since f'(x) = 3x² - 16x + 21 exists everywhere, it is differentiable on (2, 3).
3.3. Find f(a) and f(b):
4. f(2) = (0)(1)² = 0
5. f(3) = (1)(0)² = 0
6. Since f(2) = f(3) = 0, all conditions are satisfied.
Since c = 2.33 lies squarely inside the open interval (2, 3), Rolle's Theorem is verified.
Page 15
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
15. Lagrange's Mean Value Theorem (LMVT)
Lagrange removed the third condition of Rolle's theorem (that f(a) must equal f(b)). If the curve starts and ends at different heights, we draw a 'Secant line' between the start and end. LMVT says there will be a 'Tangent line' exactly parallel to this secant.
Conditions
1. Continuous on [a, b]
2. Differentiable on (a, b)
Conclusion
There is a point 'c' where:
f'(c) = [f(b) - f(a)] / (b - a)
Notice that if f(b) = f(a), the numerator becomes 0, giving f'(c) = 0. This proves Rolle's theorem is just a special case of Lagrange's!
Page 16
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
16. Dry Run: LMVT
Verify LMVT for f(x) = log x on [1, e].
1.1. log(x) is continuous for all x > 0, so it is continuous on [1, e].
2.2. f'(x) = 1/x, which exists on (1, e), so it is differentiable.
3.3. Calculate the endpoints:
4. f(b) = f(e) = log(e) = 1
5. f(a) = f(1) = log(1) = 0
Set up the LMVT equation:
f'(c) = [f(e) - f(1)] / (e - 1)
1/c = [ 1 - 0 ] / (e - 1)
1/c = 1 / (e - 1)
c = e - 1
Since e is approx 2.718, c = 1.718. This value perfectly lies inside the interval (1, 2.718). LMVT verified!
Page 17
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
17. Cauchy's Mean Value Theorem
Cauchy introduces a second function, g(x). It states that under the same continuity and differentiability conditions, there exists a point c such that the ratio of their derivatives equals the ratio of their average changes.
There is one extra condition here: g'(x) must NOT equal 0 anywhere in the interval. If g'(x) was 0, the denominator of the left side would become undefined.
Page 18
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
18. Taylor's and Maclaurin's Series
How does a calculator know what sin(37°) is? It doesn't draw a triangle. It uses an infinite polynomial series. Taylor's theorem allows us to convert ANY differentiable function into an infinite polynomial by evaluating its derivatives at a specific point 'a'.
Derive the Maclaurin series expansion for f(x) = e^x.
1.We need to find the value of the function and its derivatives at x=0.
2.f(x) = e^x => f(0) = e^0 = 1
3.f'(x) = e^x => f'(0) = e^0 = 1
4.f''(x) = e^x => f''(0) = e^0 = 1
5.f'''(x) = e^x => f'''(0) = e^0 = 1
Plug these '1's into the Maclaurin formula:
f(x) = f(0) + x f'(0) + [x²/2!]f''(0) + [x³/3!]f'''(0) + ...
e^x = 1 + x(1) + (x²/2!)(1) + (x³/3!)(1) + ...
e^x = 1 + x + x²/2! + x³/3! + x⁴/4! + ...
This is why the derivative of e^x is itself! If you differentiate that entire infinite polynomial, all the terms shift left and recreate the exact same polynomial.
Page 20
Wink Notes
B.Tech CSE — 1st Semester
Engineering Mathematics I
— Unit - 2 —
20. Quick Revision Checklist
⇒Unit 2 Calculus Mastery
Can you derive the nth derivative for a rational function using partial fractions?
Do you remember the rule for choosing 'v' in Leibnitz's theorem?
Can you perform the 7-step algorithmic dry run to prove a differential equation?
Do you remember the 3 conditions for Rolle's Theorem?
Can you accurately find the value of 'c' in LMVT without algebraic errors?
Can you quickly expand standard functions using Maclaurin's formula?