Mister Exam

Other calculators


y=sin(x^2-x+1)

Derivative of y=sin(x^2-x+1)

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
   / 2        \
sin\x  - x + 1/
sin(x2x+1)\sin{\left(x^{2} - x + 1 \right)}
d /   / 2        \\
--\sin\x  - x + 1//
dx                 
ddxsin(x2x+1)\frac{d}{d x} \sin{\left(x^{2} - x + 1 \right)}
Detail solution
  1. Let u=x2x+1u = x^{2} - x + 1.

  2. The derivative of sine is cosine:

    ddusin(u)=cos(u)\frac{d}{d u} \sin{\left(u \right)} = \cos{\left(u \right)}

  3. Then, apply the chain rule. Multiply by ddx(x2x+1)\frac{d}{d x} \left(x^{2} - x + 1\right):

    1. Differentiate x2x+1x^{2} - x + 1 term by term:

      1. Apply the power rule: x2x^{2} goes to 2x2 x

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

        1. Apply the power rule: xx goes to 11

        So, the result is: 1-1

      3. The derivative of the constant 11 is zero.

      The result is: 2x12 x - 1

    The result of the chain rule is:

    (2x1)cos(x2x+1)\left(2 x - 1\right) \cos{\left(x^{2} - x + 1 \right)}

  4. Now simplify:

    (2x1)cos(x2x+1)\left(2 x - 1\right) \cos{\left(x^{2} - x + 1 \right)}


The answer is:

(2x1)cos(x2x+1)\left(2 x - 1\right) \cos{\left(x^{2} - x + 1 \right)}

The graph
02468-8-6-4-2-1010-5050
The first derivative [src]
              / 2        \
(-1 + 2*x)*cos\x  - x + 1/
(2x1)cos(x2x+1)\left(2 x - 1\right) \cos{\left(x^{2} - x + 1 \right)}
The second derivative [src]
     /     2    \             2    /     2    \
2*cos\1 + x  - x/ - (-1 + 2*x) *sin\1 + x  - x/
(2x1)2sin(x2x+1)+2cos(x2x+1)- \left(2 x - 1\right)^{2} \sin{\left(x^{2} - x + 1 \right)} + 2 \cos{\left(x^{2} - x + 1 \right)}
The third derivative [src]
            /     /     2    \             2    /     2    \\
-(-1 + 2*x)*\6*sin\1 + x  - x/ + (-1 + 2*x) *cos\1 + x  - x//
(2x1)((2x1)2cos(x2x+1)+6sin(x2x+1))- \left(2 x - 1\right) \left(\left(2 x - 1\right)^{2} \cos{\left(x^{2} - x + 1 \right)} + 6 \sin{\left(x^{2} - x + 1 \right)}\right)
The graph
Derivative of y=sin(x^2-x+1)