Mister Exam

Other calculators


y=(x^2-2x+5)sinx

Derivative of y=(x^2-2x+5)sinx

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
/ 2          \       
\x  - 2*x + 5/*sin(x)
$$\left(x^{2} - 2 x + 5\right) \sin{\left(x \right)}$$
d // 2          \       \
--\\x  - 2*x + 5/*sin(x)/
dx                       
$$\frac{d}{d x} \left(x^{2} - 2 x + 5\right) \sin{\left(x \right)}$$
Detail solution
  1. Apply the product rule:

    ; to find :

    1. Differentiate term by term:

      1. Apply the power rule: goes to

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

        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:

        So, the result is:

      3. The derivative of the constant is zero.

      The result is:

    ; to find :

    1. The derivative of sine is cosine:

    The result is:

  2. Now simplify:


The answer is:

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