Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

Differentiate the following with respect to x:
y = cosx + sin2x

Answer
VerifiedVerified
540k+ views
like imagedislike image
Hint: Here, we will use the concept that the derivative of a function which is a sum of two different functions is given as the sum of derivative of both the functions.

Complete step-by-step answer:
We know that the derivative of a function y = f(x) of a variable x is a measure of the rate at which the value of y of the function changes with respect to the change of the variable x. This process is called the derivative of f(x) with respect to x.

We also know that derivatives mainly represent the slope of a graph at any given point. It means that it is a ratio of change in the value of the function to the change in the independent variable.

Now, the function given to us is:

y = cosx + sin2x

On differentiating both sides with respect to x, we get:

dydx=d(cosx)dx+d(sin2x)dx..........(1)
We know that the derivative of cosx is = -sinx. So, we have:

d(cosx)dx=sinx.........(2)

Now, to find the derivative of sin2x, we may use chain rule.

Chain rule says that if we have to find the derivative of a function y which is a combination of two functions x and t, then:

dydt=dydx×dxdt

So, using this chain rule for sin2x and putting 2x =t, we have:

d(sin2x)dx=d(sint)dx=d(sint)dt×dtdx=cost×d(2x)dx=2cos2x....................(2)

 On substituting the values from equation (2) and (3) in equation (1), we get:

dydx=sinx+2cos2x

Hence, the derivative of function y = cosx + sin2x is equal to –sinx + 2cos2x.

Note: Students should note here that we apply chain rule to find the derivative of sin2x because it is a function which is a combination of two functions. Do not get confused with sine and cosine derivatives.