Question
Question: If \(y=a\cos x+\left( b+2x \right)\sin x\), then show that \({{y}^{''}}+y=4\cos x\)....
If y=acosx+(b+2x)sinx, then show that y′′+y=4cosx.
Solution
The differentiation of the given function y=acosx+(b+2x)sinx will be defined as f′(x) and f′′(x) respectively where y=f(x)=acosx+(b+2x)sinx. We differentiate the given function y=acosx+(b+2x)sinx with x. The differentiated forms are dxd[sin(x)]=cosx and dxd[cosx]=−sinx. We use those forms and keep the constants as it is.
Complete step by step answer:
In case of finding any derivative, we have to differentiate the given function y=acosx+(b+2x)sinx with x. Let’s assume that y=f(x)=acosx+(b+2x)sinx. The given function is a function of x.
The first derivative is dxdy=dxd[f(x)]. It’s also defined as f′(x).
The differentiated forms are dxd[sin(x)]=cosx and dxd[cosx]=−sinx. The constant remains as it is. We also have dxd[xn]=nxn−1.
There is a function af(x) where a is a constant. If we are going to differentiate the function the formula remains as dxd[af(x)]=adxd[f(x)].
Therefore, the first derivative of y=acosx+(b+2x)sinx is
f′(x)=dxd[acosx+(b+2x)sinx]=−asinx+(b+2x)cosx+2sinx=(b+2x)cosx+(2−a)sinx.
Now we need to find the second derivative.
The second derivative is dxd[f′(x)]. It’s also defined as f′′(x).
The differentiation of constants has been discussed before.
Therefore, the second derivative of f′(x)=(b+2x)cosx+(2−a)sinx is