What is the derivative of sin^2(x) + sinxsin2(x)+sinx?

1 Answer
Jul 29, 2015

y^' = cosx * (1 + 2sinx)

Explanation:

This derivative can be found by using the chain rule, the power rule, and the sum rule.

Notice that you can write your function as the sum of two other functions, let's say f(x) and g(x), so that you have

y = underbrace(sin^2x)_(color(blue)(f(x))) + overbrace(sinx)^(color(purple)(g(x)))

The sum rule tells you that you can differentiate the sum of two functions as the sum of the derivatives of those two functions

color(blue)(d/dx(y) = f^'(x) + g^'(x)

In your case, you can write

y^' = d/dx(sin^2x) + d/dx(sinx)

It's always useful to remember that

d/dx(sinx) = cosx

This means that you have

y^' = d/dx(sin^2x) + cosx

Now focus on the derivative of f(x). In order to differentiate this function, you're going to use the chain rule, which states that the derivative of a function that depends on a variable u, which in turn depends on a variable x, can be found by

color(blue)(d/dx(y) = d/(du)(y) * d/dx(u)

In your case, you have sinx = u, which implies that sin^2x = u^2. The derivative will be

d/dx(sin^2x) = d/(du)(u^2) * d/dx(u)

Here is where the power rule comes into play. For a variable x raised to a power a, the derivative can be found by

color(blue)(d/dx(x^a) = a * x^(a-1))

This means that you have

d/dx(sin^2x) = 2u^(2-1) * d/dx(sinx)

d/dx(sin^2x) = 2 * u * cosx

d/dx(sin^2x) = 2 * sinx * cosx

Your original derivative now becomes

y^' = 2 sinx * cosx + cosx

which can be written as

y^' = color(green)(cosx * (1 + 2sinx))