Week 11 Notes: Implicit Differentiation and Curve Sketching

Week 11: Differentiation and Curve Sketching

Implicit Functions

  • Notation: Consider an expression like x2+y2+5x+6y13xy=8x^2 + y^2 + 5x + 6y - 13xy = 8, where yy is a function of xx. The goal is to find dydx\frac{dy}{dx}.
  • Definition: An implicit function is defined by a relation F(x,y)=0F(x, y) = 0, where F(x,y)F(x, y) is an expression in terms of two variables xx and yy.
Example
  • Find dydx\frac{dy}{dx} from x2+y2+5x+6y13xy=8x^2 + y^2 + 5x + 6y - 13xy = 8.
Example
  • Find dydx\frac{dy}{dx} from sin(y)+x2y3cos(x)=2y\sin(y) + x^2y^3 - \cos(x) = 2y. The solution involves differentiating each term with respect to xx and then solving for yy'.
    • cos(y)y+2xy3+3x2y2y+sin(x)=2y\cos(y) \cdot y' + 2xy^3 + 3x^2y^2y' + \sin(x) = 2y'
    • Rearranging terms: (cos(y)+3x2y22)y=2xy3sin(x)(\cos(y) + 3x^2y^2 - 2)y' = -2xy^3 - \sin(x)
    • y=2xy3sin(x)cos(y)+3x2y22y' = \frac{-2xy^3 - \sin(x)}{\cos(y) + 3x^2y^2 - 2}

Equation of Tangent to a Graph

  • Consider a function y=f(x)y = f(x).
  • The slope of the tangent at a point x<em>0x<em>0 is given by f(x</em>0)f'(x</em>0).
  • The equation of the tangent to the graph at (x<em>0,y</em>0)(x<em>0, y</em>0) is: yy<em>0=f(x</em>0)(xx0)y - y<em>0 = f'(x</em>0)(x - x_0).
Example
  • Find the equation of the tangent to y=x3+3x25x+4y = x^3 + 3x^2 - 5x + 4 at x=5x = 5.

Equation of Normal to a Curve

  • Consider a function y=f(x)y = f(x).
  • The slope of the normal at a point x<em>0x<em>0 is given by 1f(x</em>0)-\frac{1}{f'(x</em>0)}.
  • The equation of the normal to the graph at (x<em>0,y</em>0)(x<em>0, y</em>0) is: yy<em>0=1f(x</em>0)(xx0)y - y<em>0 = -\frac{1}{f'(x</em>0)}(x - x_0).
Example
  • Find the equation of the normal to the curve y=x+1xy = x + \frac{1}{x} at x=2x = 2.
Example
  • Find the equation of the tangent and normal to the curve x2+y2+5x+6y5xy=8x^2 + y^2 + 5x + 6y - 5xy = 8 at (x,y)=(1,1)(x, y) = (1, 1).

Curve Sketching

  • Increasing Function: When \frac{dy}{dx} > 0, the function is increasing.
  • Decreasing Function: When \frac{dy}{dx} < 0, the function is decreasing.
  • Stationary Points: Points where the tangent to the graph is horizontal, i.e., dydx=0\frac{dy}{dx} = 0.
  • Turning Points: Points where the function changes direction from increasing to decreasing or vice versa. At these points, dydx=0\frac{dy}{dx} = 0. Turning points are stationary points, but not all stationary points are turning points.
Maximum and Minimum Turning Points
  • Local Minimum: A point where the function is lower than its nearby points within a certain neighborhood.
  • Local Maximum: A point where the function is higher than its nearby points within a certain neighborhood.
Distinguishing Maximum and Minimum Points
  • Minimum: The derivative changes from decreasing to increasing ($\searrow \nearrow$).
  • Maximum: The derivative changes from increasing to decreasing ($\nearrow \searrow$).
First Derivative Test
  • A stationary point is a:
    • Minimum: If the sign diagram of the first derivative is of the form ($\searrow \nearrow$).
    • Maximum: If the sign diagram of the first derivative is of the form ($\nearrow \searrow$).
Example
  • Find stationary points of the function y=(x1)2xy = \frac{(x-1)^2}{x} and classify them.
    • y=x22x+1x=x2+1xy = \frac{x^2 - 2x + 1}{x} = x - 2 + \frac{1}{x}
    • y=11x2=0y' = 1 - \frac{1}{x^2} = 0
    • Setting y=0y' = 0: 11x2=0x=1,11 - \frac{1}{x^2} = 0 \Rightarrow x = -1, 1
    • Sign analysis of yy':
      • For x=2x = -2, y' = 1 - \frac{1}{4} = \frac{3}{4} > 0
      • For x=12x = \frac{1}{2}, y' = 1 - 4 = -3 < 0
      • For x=2x = 2, y' = \frac{3}{4} > 0
    • Conclusion:
      • x=1x = -1: local maximum
      • x=1x = 1: local minimum

Concavity of a Curve

  • At a given point x=cx = c:
    • If \frac{d^2y}{dx^2} > 0, the curve is concave up.
    • If \frac{d^2y}{dx^2} < 0, the curve is concave down.
Second Derivative Test
  • At a stationary point:
    • If \frac{d^2y}{dx^2} > 0 (concave up): minimum
    • If \frac{d^2y}{dx^2} < 0 (concave down): maximum
Example
  • Find stationary points of the function y=x33x+2y = x^3 - 3x + 2 and classify them. Use this information to sketch the graph of the function, hint: x33x+2=(x1)2(x+2)x^3 - 3x + 2 = (x - 1)^2(x + 2).

Point of Inflection (Inflexion)

  • A point of inflection occurs at a point PP if d2ydx2=0\frac{d^2y}{dx^2} = 0 at point PP and d2ydx2\frac{d^2y}{dx^2} changes sign as xx increases through point PP.
Example
  • Sketch the graph of 3x44x312x23x^4 - 4x^3 - 12x^2.
    • First derivative test information:
      • Sign analysis where y' possess the values + 0 - 0 + 0 for x values -1, 0, 2 respectively
    • Second derivative test:
      • y=12x312x224xy' = 12x^3 - 12x^2 - 24x
      • d2ydx2=y=36x224x24\frac{d^2y}{dx^2} = y'' = 36x^2 - 24x - 24
      • x = -1 \Rightarrow y'' > 0
      • x = 0 \Rightarrow y'' = -24 < 0
      • x = 2 \Rightarrow y'' > 0
    • Conclusion:
      • 1,2-1, 2: local minimum
      • 00: local maximum