Lecture Notes on Implicit Differentiation✅
Chain Rule Recall
- When taking the derivative of a composite function f(g(x)), the formula is: dxdf(g(x))=f′(g(x))⋅g′(x). This is likened to peeling a mandarin.
Examples of Chain Rule
- Example 1: Derivative of g(x)2
- Think of this as f(g(x)) where f(x)=x2.
- The derivative is then 2⋅g(x)⋅g′(x).
- Example 2: Derivative of ln(g(x))
- Think of this as f(g(x)) where f(x)=ln(x).
- The derivative is g(x)1⋅g′(x).
- This specific example will be beneficial in the upcoming discussion of logarithmic differentiation.
Logarithmic Differentiation
- Consider a function y=f(x)α⋅g(x)β, where α and β are constants.
- Take the natural logarithm of both sides: ln(y)=ln(f(x)α⋅g(x)β)
- Apply logarithm properties:
- ln(x⋅y)=ln(x)+ln(y)
- ln(xα)=α⋅ln(x)
- This simplifies to: ln(y)=αln(f(x))+βln(g(x))
- Now, differentiate both sides with respect to x, using the chain rule.
Applying the Chain Rule
- Starting with: ln(y)=αln(f(x))+βln(g(x))
- Differentiate with respect to x:
- y1⋅dxdy=α⋅f(x)1⋅f′(x)+β⋅g(x)1⋅g′(x)
- Solve for dxdy:
- dxdy=y⋅[α⋅f(x)f′(x)+β⋅g(x)g′(x)]
- Substitute y: dxdy=f(x)α⋅g(x)β⋅[α⋅f(x)f′(x)+β⋅g(x)g′(x)]
Example 1
- Given: y=(x2+1)⋅x2+2=(x2+1)⋅(x2+2)21
- Take the natural logarithm of both sides: ln(y)=ln(x2+1)+21ln(x2+2)
- Differentiate implicitly using the chain rule:
- y1⋅dxdy=x2+11⋅2x+21⋅x2+21⋅2x
- Solve for dxdy:
- dxdy=(x2+1)⋅x2+2⋅[x2+12x+x2+2x]
Example 2
- Given: y=xx
- Warning: The derivative is not x⋅xx−1. This is a common mistake because both the base and exponent are variables.
- Take the natural logarithm of both sides: ln(y)=ln(xx)=x⋅ln(x)
- Differentiate both sides with respect to x, using the chain and product rules:
- y1⋅dxdy=1⋅ln(x)+x⋅x1=ln(x)+1
- Solve for dxdy:
- dxdy=y⋅(ln(x)+1)=xx⋅(ln(x)+1)
Comparison
- For y=xx, logarithmic differentiation is essential.
- There is no direct formula to find the derivative when both the base and exponent are variables.
Implicit Differentiation
- Consider a curve defined by an equation involving both x and y, such as x2+y2=a2 (a circle).
- A circle is not a function, but we can solve for y to get two functions: y=a2−x2 and y=−a2−x2.
- Sometimes, it's not possible to explicitly solve for y in terms of x. In such cases, we use implicit differentiation.
Process
- Differentiate both sides of the equation with respect to x.
- Treat y as an implicit function of x, i.e., y=y(x).
- Use the chain rule when differentiating terms involving y.
- Solve for dxdy.
Example: Circle
- Given: x2+y2=a2
- Differentiate both sides with respect to x:
- dxd(x2)+dxd(y2)=dxd(a2)
- 2x+2y⋅dxdy=0
- Solve for dxdy:
- dxdy=−yx
Chain Rule Explanation
- The derivative of y2 with respect to x is found using the chain rule:
- Let h(y)=y2, then dxd(h(y))=h′(y)⋅dxdy=2y⋅dxdy.
Example: Curve
- Given: x2+3xy+2y3=6
- Find dxdy.
- Differentiate both sides with respect to x:
- dxd(x2)+dxd(3xy)+dxd(2y3)=dxd(6)
- 2x+3(x⋅dxdy+y⋅1)+6y2⋅dxdy=0
- Apply the product rule to the 3xy term.
- Solve for dxdy:
- 2x+3y+3xdxdy+6y2dxdy=0
- (3x+6y2)dxdy=−2x−3y
- dxdy=3x+6y2−2x−3y
Tangent Line
- To find the tangent line at a point (1, 1) on the curve:
- Evaluate dxdy at (1, 1): dxdy∣(1,1)=3(1)+6(1)2−2(1)−3(1)=−95
- The equation of the tangent line is: y−1=−95(x−1).
Higher Derivatives
- If a function f(x) is differentiable and its derivative is also differentiable, we can find the second derivative.
- Notation:
- f′′(x)
- dx2d2f
- We can continue this process to find higher-order derivatives if they exist.
Example
- Given: f(x)=x4
- First derivative: f′(x)=4x3
- Second derivative: f′′(x)=12x2
- Third derivative: f′′′(x)=24x
Meaning of the Second Derivative
- The second derivative provides information about the concavity of a function's graph.
- If f''(x) > 0, the function is concave upwards in that interval.
- If f''(x) < 0, the function is concave downwards in that interval.
Inflection Points
- An inflection point occurs where the concavity of a function changes.
- This happens when f′′(x)=0 or is undefined, and the concavity changes sign around that point.
Examples
- y=x2: y′′=2 (concave upwards everywhere).
- y=−x2: y′′=−2 (concave downwards everywhere).
- y=x3: y′′=6x
- If x < 0, y'' < 0 (concave downwards).
- If x > 0, y'' > 0 (concave upwards).
- At x=0, there is an inflection point.
Graph of y=x3
- The graph visually shows the change in concavity at the inflection point (0, 0).
- The function is concave downwards for x<0 and concave upwards for x>0.
Conclusion
- Summary of logarithmic differentiation, implicit differentiation and higher derivatives.