Mister Exam

Derivative of y=x+cos^2x

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

The graph:

from to

Piecewise:

The solution

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

    1. Apply the power rule: goes to

    2. Let .

    3. Apply the power rule: goes to

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

      1. The derivative of cosine is negative sine:

      The result of the chain rule is:

    The result is:

  2. Now simplify:


The answer is:

The graph
The first derivative [src]
1 - 2*cos(x)*sin(x)
$$- 2 \sin{\left(x \right)} \cos{\left(x \right)} + 1$$
The second derivative [src]
  /   2         2   \
2*\sin (x) - cos (x)/
$$2 \left(\sin^{2}{\left(x \right)} - \cos^{2}{\left(x \right)}\right)$$
The third derivative [src]
8*cos(x)*sin(x)
$$8 \sin{\left(x \right)} \cos{\left(x \right)}$$
The graph
Derivative of y=x+cos^2x