Mister Exam

Derivative of y=lnsinx-½sin²x

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
                 2   
              sin (x)
log(sin(x)) - -------
                 2   
$$\log{\left(\sin{\left(x \right)} \right)} - \frac{\sin^{2}{\left(x \right)}}{2}$$
log(sin(x)) - sin(x)^2/2
Detail solution
  1. Differentiate term by term:

    1. Let .

    2. The derivative of is .

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

      1. The derivative of sine is cosine:

      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. Apply the power rule: goes to

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

        1. The derivative of sine is cosine:

        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]
cos(x)                
------ - cos(x)*sin(x)
sin(x)                
$$- \sin{\left(x \right)} \cos{\left(x \right)} + \frac{\cos{\left(x \right)}}{\sin{\left(x \right)}}$$
The second derivative [src]
                            2   
        2         2      cos (x)
-1 + sin (x) - cos (x) - -------
                            2   
                         sin (x)
$$\sin^{2}{\left(x \right)} - \cos^{2}{\left(x \right)} - 1 - \frac{\cos^{2}{\left(x \right)}}{\sin^{2}{\left(x \right)}}$$
The third derivative [src]
  /                       2   \       
  |  1                 cos (x)|       
2*|------ + 2*sin(x) + -------|*cos(x)
  |sin(x)                 3   |       
  \                    sin (x)/       
$$2 \left(2 \sin{\left(x \right)} + \frac{1}{\sin{\left(x \right)}} + \frac{\cos^{2}{\left(x \right)}}{\sin^{3}{\left(x \right)}}\right) \cos{\left(x \right)}$$
The graph
Derivative of y=lnsinx-½sin²x