Question
Question: Find the second derivative of the following function. \[y=\cos (2x+3)\]....
Find the second derivative of the following function. y=cos(2x+3).
Solution
Differentiate the given function twice in order to get the second derivative. Use chain rule of composition of two functions, i.e., dxdy=dh(x)dg(h(x))×dxdh(x) to get the first derivative. Also ese the fact that differentiation of function of the form y=cosx is dxdy=−sinx and y=ax+b is dxdy=a. Then differentiate the first derivative using the product rule of differentiation and get the second derivative.
Complete step by step answer:
To find the second derivative of the function y=cos(2x+3), we will differentiate it twice with respect to the variable x.
To find the first derivative, we will differentiate the function y with respect to x.
We will use chain rule of differentiation of composition of two functions to find the derivative which states that if y is a composition of two functions g(x) and h(x) such that y=g(h(x)), then dxdy=dh(x)dg(h(x))×dxdh(x).
Substituting g(x)=cos(x) and h(x)=2x+3 in the above equation, we get dxdy=d(2x+3)dcos(2x+3)×dxd(2x+3).....(1).
We know that differentiation of any function of the form y=ax+b is such that dxdy=a.
Substituting a=2,b=3 in the above equation, we get dxdh(x)=dxd(2x+3)=2.....(2).
To find the value of d(2x+3)dcos(2x+3), let’s assume t=2x+3.
Thus, we have d(2x+3)dcos(2x+3)=dtdcos(t) .
We know that differentiation of any function of the form y=cosx is such that dxdy=−sinx.
So, we will get d(2x+3)dcos(2x+3)=dtdcos(t)=−sin(t)=−sin(2x+3).....(3).
Substituting equation (2) and (3) in equation (1), we get dxdy=dxdcos(2x+3)=d(2x+3)dcos(2x+3)×dxd(2x+3)=−sin(2x+3)×2=−2sin(2x+3).
Thus, we have dxdy=dxdcos(2x+3)=−2sin(2x+3) as the first derivative of the given function.
Now, to find the second derivative, we will again differentiate the function dxdy as dx2d2y=dxd(dxdy).
Let’s assume f(x)=dxdy=−2sin(2x+3).
So, we have dx2d2y=dxdf(x).
We can rewrite f(x) as a product of two functions u(x) and v(x) such that u(x)=−2 and v(x)=sin(2x+3).
We will use the product rule of differentiation of product of two functions which states that dxdf(x)=dxd(u(x)×v(x))=v(x)×dxdu(x)+u(x)dxdv(x).....(4).
We will now differentiate the functions u(x) and v(x).
We know that differentiation of a constant with respect to any variable is 0.
So, we have dxdu(x)=dxd(−2)=0.....(5).
As v(x)=sin(2x+3) is a composition of two functions h(x)=2x+3 and w(x)=sin(x) such that v(x)=w(h(x)), we will differentiate it according to the chain rule of differentiation of composition of two functions.
Thus, we have dxdv(x)=dxdw(h(x))=dh(x)dw(h(x))×dxdh(x).
Substituting v(x)=sin(2x+3), h(x)=2x+3 and w(x)=sin(x) in the above equation, we have dxdv(x)=dxdsin(2x+3)=d(2x+3)dsin(2x+3)×dxd(2x+3).....(6).
Using equation (2), we have dxdh(x)=dxd(2x+3)=2.
To find the value of d(2x+3)dsin(2x+3), we will assume t=2x+3.
So, we have d(2x+3)dsin(2x+3)=dtdsin(t).
We know that differentiation of any function of the form y=sin(x) is such that dxdy=cos(x).
Thus, we have d(2x+3)dsin(2x+3)=dtdsin(t)=cos(t)=cos(2x+3).....(7).
Substituting the value of equation (2) and (7) in equation (6), we have dxdv(x)=dxdsin(2x+3)=d(2x+3)dsin(2x+3)×dxd(2x+3)dxdv(x)=cos(2x+3)×2=2cos(2x+3).....(8).
We will substitute u(x)=−2, v(x)=sin(2x+3) and equation (5) and (8) in equation (4).
So, we have dxdf(x)=sin(2x+3)×(0)+(−2)×(2cos(2x+3))=−4cos(2x+3).
Thus, we have dx2d2y=dxdf(x)=−4cos(2x+3).
Hence, the second derivative of y=cos(2x+3) is −4cos(2x+3).
Note:
We can also solve this question using the First Principle of Differentiation. It is necessary to use the chain rule of differentiation for composition of two functions. Otherwise, we won’t be able to find the second derivative of the given function.