Curriculum
Login

Curriculum

Mathematics

Text lesson

Implicit Differentiation, Parametric Differentiation and Higher Derivatives

Mathematics

Implicit Differentiation, Parametric Differentiation and Higher Derivatives

Overview

Overview

  • This lesson covers lessons 1-1 and 1-2 of the calculus unit "Differentiation and its Applications".
  • After it you should be able to:
  • differentiate a relation in x and y when y cannot be isolated;
  • find dydx for a curve given by a parameter, and the derivative of one function with respect to another;
  • find second, third and nth derivatives, including for implicit and parametric curves.

🌳 Concept tree

  1. Implicit Differentiation
  2. Parametric Differentiation and Higher Derivatives

├── 1-1 (a) Explicit and implicit relations

│ ├── Explicit functions

│ └── Implicit relations

├── 1-1 (b) Implicit differentiation

│ ├── The method

│ ├── The chain-rule step

│ └── Important remarks

├── 1-1 (c) Parametric differentiation

│ ├── Parametric curves

│ └── The rule

  • ├── 1-1 (d) Derivative of one function with respect to another

│ └── The idea

├── 1-2 (a) Higher-order derivatives

│ ├── Definition and notation

│ ├── A common confusion

│ ├── Patterns for the nth derivative

│ └── Proving relations between derivatives

  • ├── 1-2 (b) Second derivative of implicit relations

│ └── Method

  • ├── 1-2 (c) Second derivative of parametric curves

│ └── The rule

└── 1-2 (d) Meaning of the derivatives

├── Graph connection

└── Summary table

Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 1 / 9
1-1 (a) Explicit and implicit relations

1-1 (a) Explicit and implicit relations

Explicit functions

  • An explicit function gives y directly in terms of x, for example y=4x3−5x+2 or y=sin⁡(2x+3).
  • For such a function the derivative is found by the ordinary rules.
  • An implicit relation links x and y in one equation f(x,y)=0, for example xy+y−4=0 or x2+y2=9.
  • Sometimes y can be isolated xy+y−4=0 gives y=4x+1 for x≠−1.
  • Sometimes one equation hides several functions x2+y2=9 is a circle, which fails the vertical-line test, but it splits into two functions.
  • The upper half is y=9−x2 (domain [−3,3], range [0,3]) and the lower half is y=−9−x2 (range [−3,0]).
  • Each half is differentiable for x∈ ]−3,3[.
  • In many equations, such as x3+y3=6xy, isolating y is impossible or very awkward, so we differentiate the equation as it stands.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 2 / 9
1-1 (b) Implicit differentiation

1-1 (b) Implicit differentiation

The method

  • Differentiate both sides of the equation with respect to x.
  • Treat y as a differentiable function of x and apply the chain rule to every term containing y.
  • Collect all terms containing dydx on one side, factorise, and divide.
Implicit Differentiation, Parametric Differentiation: a circular track and a tangent rod at (3, 4) show implicit and parametric differentiation: the slope is -3/4.
Implicit Differentiation, Parametric Differentiation: a circular track and a tangent rod at (3, 4) show implicit and parametric differentiation: the slope is -3/4.

The chain-rule step

  • ddx(yn)=n yn−1dydx.
  • ddx(sin⁡y)=cos⁡y dydx and ddx(ey)=ey dydx.
  • ddx(xy)=y+x dydx (product rule).
  • If you differentiate with respect to y instead, the factor dxdy appears.

✍️ Worked examples

  • Example 1 Find dydx if x2+y2=25, then find the tangent and normal at (3,4).
  • Solution:
  • Differentiate 2x+2ydydx=0.
  • So dydx=−xy.
  • At (3,4) the slope is −34.
  • Tangent y−4=−34(x−3), that is 3x+4y=25.
  • Normal slope is the negative reciprocal, 43, so the normal is y−4=43(x−3).
  • Example 2 Find dydx for x3+y3=6xy and evaluate it at (3,3).
  • Solution:
  • Differentiate both sides 3x2+3y2dydx=6y+6xdydx.
  • Group (3y2−6x)dydx=6y−3x2.
  • So dydx=2y−x2y2−2x.
  • At (3,3) 6−99−6=−1.
  • Example 3 Find dydx if xsin⁡y+ycos⁡x=2.
  • Solution:
  • Differentiate sin⁡y+xcos⁡ydydx+cos⁡xdydx−ysin⁡x=0.
  • Group (xcos⁡y+cos⁡x)dydx=ysin⁡x−sin⁡y.
  • So dydx=ysin⁡x−sin⁡yxcos⁡y+cos⁡x.
  • Example 4 Find dydx if tan⁡2x+cot⁡y=xy.
  • Solution:
  • Differentiate 2sec⁡22x−csc⁡2ydydx=y+xdydx.
  • Group −(x+csc⁡2y)dydx=y−2sec⁡22x.
  • So dydx=2sec⁡22x−yx+csc⁡2y.
  • Example 5 Find dydx if xey=y+1.
  • Solution:
  • Differentiate ey+xeydydx=dydx.
  • Group (1−xey)dydx=ey.
  • So dydx=ey1−xey.

Important remarks

  • The final formula usually contains both x and y.
  • To find the slope at a given x you must first find the matching y from the original equation.
  • A point must lie on the curve before you substitute it; check it in the equation.
  • A horizontal tangent needs the numerator of dydx equal to zero; a vertical tangent needs the denominator equal to zero.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 3 / 9
1-1 (c) Parametric differentiation

1-1 (c) Parametric differentiation

Parametric curves

  • If x=f(t) and y=g(t) with the same domain, the pair of equations describes one curve, and t is the parameter.
  • Each value of t gives one point (x,y) of the curve.
Comparison aspectMain ideaKeywords
•If f and g are differentiable in t and dxdt≠0, then
dydx=dy/dtdx/dt
differentiabledxdtthendydx
This is just the chain ruledydt=dydx⋅dxdtdydtdydxdxdt
Horizontal tangentdydt=0 and dxdt≠0dydtdxdt
Vertical tangentdxdt=0 and dydt≠0dxdtdydt

✍️ Worked examples

  • Example 6 For x=t2+1 and y=t3−3t find dydx when t=2.
  • Solution:
  • dxdt=2t and dydt=3t2−3.
  • dydx=3t2−32t.
  • At t=2 12−34=94.
  • Example 7 For x=3cos⁡2θ and y=4sin⁡3θ find dydx at θ=π4.
  • Solution:
  • dxdθ=−6sin⁡2θ and dydθ=12cos⁡3θ.
  • dydx=12cos⁡3θ−6sin⁡2θ=−2cos⁡3θsin⁡2θ.
  • At θ=π4 cos⁡3π4=−22 and sin⁡π2=1.
  • So dydx=−2(−22)=2.
  • Example 8 Find the points where the curve x=t3−3t, y=t2−4t has a horizontal or vertical tangent.
  • Solution:
  • dxdt=3t2−3=3(t−1)(t+1) and dydt=2t−4.
  • Horizontal tangent 2t−4=0 gives t=2, where dxdt=9≠0. The point is (2,−4).
  • Vertical tangent dxdt=0 gives t=±1, where dydt≠0 (it is −2 and −6).
  • The points are (−2,−3) for t=1 and (2,5) for t=−1.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 4 / 9
1-1 (d) Derivative of one function with respect to another

1-1 (d) Derivative of one function with respect to another

The idea

  • To differentiate y=f(x) with respect to z=g(x), treat x as the parameter of both.
    dydz=dy/dxdz/dx

✍️ Worked examples

  • Example 9 Find the derivative of 4x3−9x2+5 with respect to 3x2+7.
  • Solution:
  • Let y=4x3−9x2+5 and z=3x2+7.
  • dydx=12x2−18x and dzdx=6x.
  • dydz=12x2−18x6x=2x−3.
  • Example 10 Find the derivative of x−sin⁡x with respect to 1−cos⁡x at x=π3.
  • Solution:
  • dydx=1−cos⁡x and dzdx=sin⁡x.
  • dydz=1−cos⁡xsin⁡x.
  • At x=π3 1−1232=13=33.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 5 / 9
1-2 (a) Higher-order derivatives

1-2 (a) Higher-order derivatives

Definition and notation

  • If y=f(x) is differentiable, then y′=dydx=f′(x) is a new function.
  • If y′ is differentiable, its derivative is the second derivative: y′′=d2ydx2=f′′(x).
  • Repeating gives the third derivative y′′′=d3ydx3 and, in general, the nth derivative y(n)=dnydxn=f(n)(x), with n a positive integer.
  • Derivatives from the second onwards are called higher derivatives.
  1. d2ydx2 means the derivative of dydx.
  2. (dydx)2 means the square of the first derivative.
  3. They are different quantities; never mix them.

✍️ Worked examples

  • Example 11 Find the third derivative of y=x4−2x2+5.
  • Solution:
  • y′=4x3−4x.
  • y′′=12x2−4.
  • y′′′=24x.
  • Example 12 Find the second derivative of y=x+1x−1.
  • Solution:
  • y′=(x−1)−(x+1)(x−1)2=−2(x−1)2=−2(x−1)−2.
  • y′′=4(x−1)−3=4(x−1)3.
  • Example 13 Find the second derivative of y=sin⁡(3x−2) and of y=3x−2.
  • Solution:
  • For the sine y′=3cos⁡(3x−2) and y′′=−9sin⁡(3x−2).
  • For the root y=(3x−2)1/2, so y′=32(3x−2)−1/2.
  • Then y′′=32⋅(−12)⋅3 (3x−2)−3/2=−94(3x−2)−3/2.
  • y=xn gives y(n)=n!, and every later derivative is 0.
  • y=ekx gives y(n)=knekx.
  • y=sin⁡ax gives y(n)=ansin⁡(ax+nπ2); for y=cos⁡ax use cos⁡(ax+nπ2).
  • Differentiating sin⁡2x four times returns 16sin⁡2x, so the pattern repeats every four steps.
  1. Differentiate the given relation as many times as the required relation demands
  2. then eliminate constants.

✍️ Worked examples

  • Example 14 If y=tan⁡x prove that y′′=2y(1+y2).
  • Solution:
  • y′=sec⁡2x=1+tan⁡2x=1+y2.
  • y′′=2y y′=2y(1+y2).
  • Example 15 If y=3cos⁡(2x+1) prove that y′′+4y=0.
  • Solution:
  • y′=−6sin⁡(2x+1).
  • y′′=−12cos⁡(2x+1)=−4 (3cos⁡(2x+1))=−4y.
  • Hence y′′+4y=0.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 6 / 9
1-2 (b) Second derivative of implicit relations

1-2 (b) Second derivative of implicit relations

Method

  • Find y′ first, simplify it, then differentiate again.
  • Replace any y′ that appears by its formula, and use the original equation to simplify.

✍️ Worked examples

  • Example 16 If x2+y2=4 prove that y3y′′+4=0.
  • Solution:
  • 2x+2yy′=0, so y′=−xy.
  • y′′=−y−xy′y2=−y+x2yy2=−y2+x2y3.
  • Since x2+y2=4, y′′=−4y3, so y3y′′+4=0.
  • Example 17 If y2+2xy=8 find a relation containing y′′, y′ and y.
  • Solution:
  • Differentiate 2yy′+2y+2xy′=0, so (x+y)y′+y=0.
  • Differentiate again (1+y′)y′+(x+y)y′′+y′=0.
  • Therefore (x+y)y′′+(y′)2+2y′=0.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 7 / 9
1-2 (c) Second derivative of parametric curves

1-2 (c) Second derivative of parametric curves

The rule

If x=f(t) and y=g(t) then d2ydx2=ddt(dydx)dxdt

  1. First find dydx as a function of t, differentiate it with respect to t, then divide by dxdt.
  2. A frequent mistake is to write d2y/dt2d2x/dt2; this is wrong.

✍️ Worked examples

  • Example 18 If x=2n3−5 and y=6n2+1 find d2ydx2 at n=1.
  • Solution:
  • dxdn=6n2 and dydn=12n.
  • dydx=12n6n2=2n.
  • ddn(2n)=−2n2.
  • d2ydx2=−2/n26n2=−13n4.
  • At n=1 the value is −13.
  • Example 19 For x=sec⁡t, y=tan⁡t show that d2ydx2=−1y3.
  • Solution:
  • dxdt=sec⁡ttan⁡t and dydt=sec⁡2t.
  • dydx=sec⁡2tsec⁡ttan⁡t=sec⁡ttan⁡t=csc⁡t.
  • ddt(csc⁡t)=−csc⁡tcot⁡t.
  • csc⁡tcot⁡t=cos⁡tsin⁡2t and sec⁡ttan⁡t=sin⁡tcos⁡2t.
  • d2ydx2=−cos⁡tsin⁡2t⋅cos⁡2tsin⁡t=−cot⁡3t.
  • Since y=tan⁡t, cot⁡3t=1y3, so d2ydx2=−1y3.
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 8 / 9
1-2 (d) Meaning of the derivatives

1-2 (d) Meaning of the derivatives

Graph connection

  • f′(x) is the slope of the tangent; f′′(x) tells how that slope changes.
  • Where f′′(x)>0 the slope is increasing, so the graph bends upwards like a cup; where f′′(x)<0 the slope is decreasing and the graph bends downwards like a cap.
  • For a polynomial, each differentiation lowers the degree by one, so f′ and f′′ have simpler graphs than f.
  • Plotting f, f′ and f′′ with graphing software shows that f′ crosses the x-axis at the turning points of f, and f′′ crosses it at the points where the bending changes.
Point of comparison Implicit differentiation Parametric differentiation
Data given One equation in x and y x=f(t), y=g(t)
First derivative Differentiate both sides, solve for y′ dy/dtdx/dt
Answer contains Usually x and y Only the parameter t
Second derivative Differentiate y′ again and substitute y′ ddt(dydx)/dxdt
Implicit Differentiation, Parametric Differentiation and Higher Derivatives · 9 / 9