Source codeVideos

Command Palette

Search for a command to run...

Derivative Functions

Derivative of Trigonometric Function

The Rules of Trigonometric Functions

Finding the derivative of a trigonometric function is not much different from an algebraic function. We still use the familiar derivative properties, such as the product and quotient rules.

However, before that, we need to know the basic derivatives of the main trigonometric functions like sine and cosine. These basic rules are the foundation for solving more complex derivatives.

Basic Trigonometric Derivatives

Just like the derivative of a power function, the derivative for a trigonometric function also has its basic pattern. The derivatives for sine and cosine, for example, can be proven directly from the limit definition of a derivative.

Here are the basic derivatives of the six trigonometric functions that we need to memorize:

  1. Derivative of Sine:

    f(x)=sinx    f(x)=cosxf(x) = \sin x \implies f'(x) = \cos x
  2. Derivative of Cosine:

    f(x)=cosx    f(x)=sinxf(x) = \cos x \implies f'(x) = -\sin x
  3. Derivative of Tangent:

    f(x)=tanx    f(x)=sec2xf(x) = \tan x \implies f'(x) = \sec^2 x
  4. Derivative of Cotangent:

    f(x)=cotx    f(x)=csc2xf(x) = \cot x \implies f'(x) = -\csc^2 x
  5. Derivative of Secant:

    f(x)=secx    f(x)=secxtanxf(x) = \sec x \implies f'(x) = \sec x \tan x
  6. Derivative of Cosecant:

    f(x)=cscx    f(x)=cscxcotxf(x) = \csc x \implies f'(x) = -\csc x \cot x

Applying the Rules to Trigonometric Functions

Now let's see how to apply these rules in a few examples.

Combination of Algebra and Trigonometry

Find the derivative of y=2sinx+5xy = 2 \sin x + 5x.

Solution:

We can differentiate this function term by term using the sum rule.

y=ddx(2sinx)+ddx(5x)y' = \frac{d}{dx}(2 \sin x) + \frac{d}{dx}(5x)
y=2(cosx)+5(1)y' = 2(\cos x) + 5(1)
y=2cosx+5y' = 2 \cos x + 5

Using the Product Rule

Find the derivative of y=2sinxtanxy = 2 \sin x \tan x.

Solution:

Use the product rule y=uv+uvy' = u'v + uv'.

Let u=2sinxu = 2 \sin x and v=tanxv = \tan x.

Then u=2cosxu' = 2 \cos x and v=sec2xv' = \sec^2 x.

y=(2cosx)(tanx)+(2sinx)(sec2x)y' = (2 \cos x)(\tan x) + (2 \sin x)(\sec^2 x)
y=(2cosx)(sinxcosx)+(2sinx)(sec2x)y' = (2 \cos x)\left(\frac{\sin x}{\cos x}\right) + (2 \sin x)(\sec^2 x)
y=2sinx+2sinxsec2xy' = 2 \sin x + 2 \sin x \sec^2 x

Using the Quotient Rule

Find the derivative of y=1+cosxsinxy = \frac{1 + \cos x}{\sin x}.

Solution:

Use the quotient rule y=uvuvv2y' = \frac{u'v - uv'}{v^2}.

Let u=1+cosxu = 1 + \cos x and v=sinxv = \sin x.

Then u=sinxu' = -\sin x and v=cosxv' = \cos x.

y=(sinx)(sinx)(1+cosx)(cosx)(sinx)2y' = \frac{(-\sin x)(\sin x) - (1 + \cos x)(\cos x)}{(\sin x)^2}
y=sin2x(cosx+cos2x)sin2xy' = \frac{-\sin^2 x - (\cos x + \cos^2 x)}{\sin^2 x}
y=(sin2x+cos2x)cosxsin2xy' = \frac{-(\sin^2 x + \cos^2 x) - \cos x}{\sin^2 x}
y=1cosx1cos2x(Pythagorean Identity)y' = \frac{-1 - \cos x}{1 - \cos^2 x} \quad (\text{Pythagorean Identity})
y=(1+cosx)(1cosx)(1+cosx)(Factorization)y' = \frac{-(1 + \cos x)}{(1 - \cos x)(1 + \cos x)} \quad (\text{Factorization})
y=11cosx=1cosx1y' = \frac{-1}{1 - \cos x} = \frac{1}{\cos x - 1}

Exercises

  1. Find the first derivative of f(x)=4x35cosxf(x) = 4x^3 - 5 \cos x.
  2. Find the first derivative of f(x)=sinxcosxf(x) = \sin x \cos x.

Answer Key

  1. Solution:

    Use the subtraction rule to differentiate each term separately.

    Step 1: Differentiate the first term

    The derivative of 4x34x^3 using the power rule is 34x31=12x23 \cdot 4x^{3-1} = 12x^2.

    Step 2: Differentiate the second term

    The derivative of 5cosx-5 \cos x is 5(sinx)=5sinx-5(-\sin x) = 5 \sin x.

    Step 3: Combine the results

    f(x)=12x2+5sinxf'(x) = 12x^2 + 5 \sin x

    So, the derivative of the function is 12x2+5sinx12x^2 + 5 \sin x.

  2. Solution:

    Use the product rule, f(x)=uv+uvf'(x) = u'v + uv'.

    Step 1: Determine u, v, u', and v'

    Let u=sinxu = \sin x and v=cosxv = \cos x.

    Then, u=cosxu' = \cos x and v=sinxv' = -\sin x.

    Step 2: Apply the Product Rule

    f(x)=(cosx)(cosx)+(sinx)(sinx)f'(x) = (\cos x)(\cos x) + (\sin x)(-\sin x)
    f(x)=cos2xsin2xf'(x) = \cos^2 x - \sin^2 x

    Step 3: Use a Trigonometric Identity (Optional)

    The result can also be simplified using the double angle identity, cos(2x)=cos2xsin2x\cos(2x) = \cos^2 x - \sin^2 x.

    f(x)=cos(2x)f'(x) = \cos(2x)

    So, the derivative of the function is cos(2x)\cos(2x).