Mister Exam

Derivative of y=x(sin(ln(x))-cos(ln(x)))

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
x*(sin(log(x)) - cos(log(x)))
$$x \left(\sin{\left(\log{\left(x \right)} \right)} - \cos{\left(\log{\left(x \right)} \right)}\right)$$
x*(sin(log(x)) - cos(log(x)))
Detail solution
  1. Apply the product rule:

    ; to find :

    1. Apply the power rule: goes to

    ; to find :

    1. Differentiate term by term:

      1. Let .

      2. The derivative of sine is cosine:

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

        1. The derivative of 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 cosine is negative sine:

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

          1. The derivative of is .

          The result of the chain rule is:

        So, the result is:

      The result is:

    The result is:

  2. Now simplify:


The answer is:

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