Unit 3 : Differentiation: Composite, Implicit, and Inverse Functions

Posted on 07 Nov, 2024

3.1 The Chain Rule

When differentiating a composite function, we use the Chain Rule. The Chain Rule states that if you have a composite function f(g(x)), its derivative is:

ddxf(g(x))=f(g(x))g(x)

In other words, to find the derivative of a composite function:

  1. Differentiate the outer function f with respect to its input g(x), keeping g(x) as it is.
  2. Multiply by the derivative of the inner function g(x) with respect to x.

The Chain Rule is essential in calculus because it allows us to handle the derivatives of complex, nested functions by breaking them down step-by-step.

Chain Rule for Three Functions

When differentiating a composite function of three functions, we can extend the Chain Rule to handle the additional layer. Suppose we have three functions f(x), g(x), and h(x), and we're dealing with the composite function f(g(h(x))).

ddxf(g(h(x)))=f(g(h(x)))g(h(x))h(x)
Explanation

To differentiate a composite function with three functions f(g(h(x))), we apply the following steps:

  1. Differentiate the outermost function f with respect to its input g(h(x)), keeping g(h(x)) as it is.
  2. Multiply by the derivative of the middle function g with respect to its input h(x), keeping h(x) as it is.
  3. Multiply by the derivative of the innermost function h with respect to x.

This rule allows us to tackle complex nested functions by working through each function layer by layer.

Example

f(g(h(x)))=cos(sin(5x)), where:

  • f(x)=cos(x)
  • g(x)=sin(x)
  • h(x)=5x

We find each derivative step-by-step:

  1. Differentiate f(x)=cos(x) with respect to x:
    f(x)=sin(x)
    So, f(g(h(x)))=sin(sin(5x)).
  2. Differentiate g(x)=sin(x) with respect to x:
    g(x)=cos(x)
    So, g(h(x))=cos(5x).
  3. Differentiate h(x)=5x with respect to x:
    h(x)=5

Putting it all together, we get:

ddxf(g(h(x)))=sin(sin(5x))cos(5x)5

Or simplifying:

ddxf(g(h(x)))=5sin(sin(5x))cos(5x)

This is the derivative of the composite function cos(sin(5x)) using the Chain Rule for three functions.

3.2 Implicit Differentiation

Explicit equations
define one variable in terms of another directly. For example, in the explicit equation y=x2+4x+7 , y is given directly in terms of x.

Implicit equations
represent a relationship between variables that isn't explicitly solved for one variable. For example, ex+yln(y)=10 does not isolate y in terms of x. Implicit differentiation is often used to find the derivative in cases like this.

Chain Rule and Implicit Differentiation

To differentiate implicit equations, we often need the

chain rule
. The chain rule states that if we are differentiating a function that involves another function (like y with respect to x), we need to account for that by including dydx.

  • Differentiating in terms of x:
    • For simple expressions like x, ddxx=1.
    • For powers of x, like x2, we use the power rule: ddxx2=2x.
    • For functions of x inside another function, like e5x, we apply the chain rule: ddxe5x=e5x5 (since the derivative of 5x is 5).
  • Differentiating in terms of y when y is implicitly a function of x:
    • When differentiating y, we treat it as a function of x. So, ddxy=dydx.
    • For powers of y, like y2, we use the chain rule: ddxy2=2ydydx.
    • For more complex expressions like e5y, we also use the chain rule: ddxe5y=e5y5dydx.
Steps for Implicit Differentiation

To solve for dydx in an implicit equation, we follow these steps:

  1. Take the derivative
    of both sides of the equation with respect to x, applying the chain rule whenever you differentiate a term involving y.
  2. Gather all terms involving dydx
    on one side of the equation. Move other terms to the opposite side.
  3. Factor out dydx
    on the side where all dydx terms are collected.
  4. Solve for dydx
    by isolating it on one side of the equation.
Example: Differentiating y25x3=3y

Let's use the steps above to differentiate the implicit equation y25x3=3y.

  1. Differentiate each term with respect to x:
    • For y2: Using the chain rule, ddx(y2)=2ydydx.
    • For 5x3: This is straightforward differentiation, so ddx(5x3)=15x2.
    • For 3y: Using the chain rule again, ddx(3y)=3dydx.

    Putting it all together:

    2ydydx15x2=3dydx.
  2. Collect all dydx terms on the left side:
    2ydydx3dydx=15x2.
  3. Factor out dydx:
    dydx(2y3)=15x2.
  4. Solve for dydx:
    dydx=15x22y3.

This process allows us to find dydx even when y is not isolated. Using implicit differentiation is particularly useful for equations like circles, ellipses, and other relationships where y is not easily solved in terms of x.

3.3 Differentiating Inverse Functions

To differentiate an inverse function, we use a special formula for finding the derivative of the inverse of a function. This formula is helpful when we know the function f(x), but don’t know the explicit form of its inverse f1(x).

The Derivative of an Inverse Function Formula

The formula for the derivative of an inverse function is:

ddx[f1(x)]=1f(f1(x))

This formula tells us that to find the derivative of f1(x) at a point, we need:

  1. The derivative of f(x), denoted f(x).
  2. The value of f1(x), which is the input for f in the denominator.

Example Problem Explanation

Let’s apply this formula to the example given in the image.

Problem Setup

The function is f(x)=3x3+1, and we are asked to find g(25) where g(x)=f1(x) is the inverse function of f(x).

We need to find g(25), which is the derivative of the inverse function g at x=25.

Solution Steps
  1. Use the Inverse Derivative Formula:
    According to the formula, g(x)=1f(f1(x)) Specifically, we need to find g(25), so: g(25)=1f(f1(25))
  2. Find f1(25):
    We need to find the value of f1(25), which is the input value of x such that f(x)=25.
    Set f(x)=25: 3x3+1=25 Simplify this equation to solve for x: 3x3=24 x3=8 x=2 So, f1(25)=2.
  3. Calculate f(x):
    We now need f(x), the derivative of f(x). For f(x)=3x3+1, the derivative is: f(x)=9x2
  4. Evaluate f(2):
    Substitute x=2 into f(x): f(2)=9(2)2=94=36
  5. Calculate g(25):
    Now we can use the inverse function derivative formula: g(25)=1f(2)=136

The value of g(25) is 136.

3.4 Differentiating Inverse Trigonometric Functions

To differentiate inverse trigonometric functions, we use specific formulas for each function. These derivatives have unique forms that depend on the specific inverse trig function being differentiated. Let's go over each formula, the domains, and ranges for these functions, and apply these rules to solve typical problems.

Inverse Trig Derivatives

Here are the derivatives for the six common inverse trigonometric functions:

  • Derivative of the Inverse Sine (Arcsine): ddx(sin1(x))=11x2 Domain: 1x1
  • Derivative of the Inverse Cosine (Arccosine): ddx(cos1(x))=11x2 Domain: 1x1
  • Derivative of the Inverse Tangent (Arctangent): ddx(tan1(x))=1x2+1 Domain: <x<
  • Derivative of the Inverse Cotangent (Arccotangent): ddx(cot1(x))=1x2+1 Domain: <x<
  • Derivative of the Inverse Secant (Arcsecant): ddx(sec1(x))=1|x|x21 Domain: |x|1
  • Derivative of the Inverse Cosecant (Arccosecant): ddx(csc1(x))=1|x|x21 Domain: |x|1

These formulas provide us with the instantaneous rate of change (slope) for each inverse trigonometric function. Note that the derivatives of inverse sine, cosine, secant, and cosecant include square roots, which restrict their domains to keep the values within real numbers.

Domain and Range of Inverse Trigonometric Functions

Understanding the domain and range of each inverse trig function is crucial for applying these derivatives:

  • Arcsine y=sin1(x): - Domain: 1x1 - Range: π2yπ2
  • Arccosine y=cos1(x): - Domain: 1x1 - Range: 0yπ
  • Arctangent y=tan1(x): - Domain: <x< - Range: π2<y<π2
  • Arccotangent y=cot1(x): - Domain: <x< - Range: 0<y<π
  • Arcsecant y=sec1(x): - Domain: |x|1 - Range: 0yπ, excluding y=π2
  • Arccosecant y=csc1(x): - Domain: |x|1 - Range: π2yπ2, excluding y=0
3.6 Calculating Higher-Order Derivatives

Higher-order derivatives provide insights into how a function's rate of change behaves over successive intervals. They are derivatives taken multiple times, each one describing the rate of change of the previous derivative. Higher-order derivatives are essential in various fields, from physics and engineering to mathematics and economics, as they allow us to explore concepts like acceleration, concavity, and jerk in depth.

Notation for Higher-Order Derivatives

There are several notations for expressing derivatives, as shown in the table. Here’s a breakdown of common notations for different orders of derivatives:

  1. First Derivative: Represents the slope or instantaneous rate of change.
    • Notation: y, f(x), or dydx
  2. Second Derivative: Represents the rate of change of the first derivative, often related to concavity and acceleration.
    • Notation: y, f(x), or d2ydx2
  3. Third Derivative: Describes the rate of change of the second derivative, known as "jerk" in physics.
    • Notation: y, f(x), or d3ydx3
  4. n-th Derivative:> For general higher-order derivatives, the notation y(n), f(n)(x), or dnydxn is used, where n indicates the order of the derivative.
Solution to Find d2ydx2 for siny=x+y
Step 1: Differentiate Both Sides with Respect to x (First Derivative)

Starting with the equation:

siny=x+y

Differentiate both sides with respect to x:

cosydydx=1+dydx

Let dydx=y for simplicity. Then:

cosyy=1+y

Rearrange to solve for y:

y(cosy1)=1

y=1cosy1

Step 2: Differentiate Again to Find d2ydx2 (Second Derivative)

Now we find d2ydx2 by differentiating y with respect to x:

Using the quotient rule on y=1cosy1:

y=(0)(cosy1)(1)(sinyy)(cosy1)2

Simplifying:

y=sinyy(cosy1)2

Substitute y=1cosy1:

y=siny1cosy1(cosy1)2

y=siny(cosy1)3

Final Answer

d2ydx2=siny(cosy1)3