Mister Exam

Derivative of cos(pi*x)-sin(pi*x)

Function f() - derivative -N order at the point
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
cos(pi*x) - sin(pi*x)
$$- \sin{\left(\pi x \right)} + \cos{\left(\pi x \right)}$$
cos(pi*x) - sin(pi*x)
Detail solution
  1. Differentiate term by term:

    1. Let .

    2. The derivative of cosine is negative sine:

    3. Then, apply the chain rule. Multiply by :

      1. The derivative of a constant times a function is the constant times the derivative of the function.

        1. Apply the power rule: goes to

        So, the result is:

      The result of the chain rule is:

    4. The derivative of a constant times a function is the constant times the derivative of the function.

      1. Let .

      2. The derivative of sine is cosine:

      3. Then, apply the chain rule. Multiply by :

        1. The derivative of a constant times a function is the constant times the derivative of the function.

          1. Apply the power rule: goes to

          So, the result is:

        The result of the chain rule is:

      So, the result is:

    The result is:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
-pi*cos(pi*x) - pi*sin(pi*x)
$$- \pi \sin{\left(\pi x \right)} - \pi \cos{\left(\pi x \right)}$$
The second derivative [src]
  2                         
pi *(-cos(pi*x) + sin(pi*x))
$$\pi^{2} \left(\sin{\left(\pi x \right)} - \cos{\left(\pi x \right)}\right)$$
The third derivative [src]
  3                        
pi *(cos(pi*x) + sin(pi*x))
$$\pi^{3} \left(\sin{\left(\pi x \right)} + \cos{\left(\pi x \right)}\right)$$