We are given the function f(x)=sin(sinx) and the equation f′′(x)+tanx⋅f′(x)+g(x)=0. We need to find g(x).
First, we find the first derivative of f(x). Using the chain rule, let u=sinx, so f(x)=sinu. Then:
dxdf=dudf⋅dxdu=cosu⋅cosx
Substituting u=sinx back in:
f′(x)=cos(sinx)⋅cosx
Next, we find the second derivative f′′(x). Since f′(x)=cos(sinx)⋅cosx is a product of two functions, we use the product rule:
f′′(x)=dxd[cos(sinx)]⋅cosx+cos(sinx)⋅dxd[cosx]
Compute each derivative separately. For dxd[cos(sinx)], let v=sinx, so:
dxdcosv=−sinv⋅dxdv=−sin(sinx)⋅cosx
And dxd[cosx]=−sinx. Substituting these back:
f′′(x)=[−sin(sinx)⋅cosx]⋅cosx+cos(sinx)⋅[−sinx]
Simplify:
f′′(x)=−sin(sinx)⋅cos2x−cos(sinx)⋅sinx
Now, substitute f′′(x) and f′(x) into the given equation:
[−sin(sinx)cos2x−cos(sinx)sinx]+tanx⋅[cos(sinx)cosx]+g(x)=0
We know tanx=cosxsinx, so simplify the term with tanx:
tanx⋅f′(x)=cosxsinx⋅cos(sinx)cosx=sinx⋅cos(sinx)
Substitute this back into the equation:
−sin(sinx)cos2x−cos(sinx)sinx+sinxcos(sinx)+g(x)=0
Notice that −cos(sinx)sinx+sinxcos(sinx)=0, so they cancel out:
−sin(sinx)cos2x+g(x)=0
Therefore, solving for g(x):
g(x)=sin(sinx)cos2x
We can write this as:
g(x)=cos2x⋅sin(sinx)
Comparing with the options:
A. cos2xcos(sinx)
B. sin2xcos(cosx)
C. sin2xsin(cosx)
D. cos2xsin(sinx)
Our expression matches option D.
Hence, the correct answer is Option D.