Question
Question: If \(y = a\cos (\log x) + b\sin (\log x)\) where \(a,b\) are parameters then \({x^2}y'' + xy' = \) ...
If y=acos(logx)+bsin(logx) where a,b are parameters then x2y′′+xy′=
A. y
B. −y
C. −2y
D. 2y
Solution
First, we shall analyze the given information so that we can able to solve the problem. Generally in Mathematics, the derivative refers to the rate of change of a function with respect to a variable. First, we need to solve the given equation to obtainy. Here, we are applying the product rule and some derivative formulae to find the required answer
Here we need to find the derivative of y=acos(logx)+bsin(logx)to obtain the desired answer.
Formula to be used:
The formulas that are applied in the differentiation of y=acos(logx)+bsin(logx)are as follows.
dxdcosx=−sinx
dxdlogx=x1
dxdsinx=cosx
dxd(xy)=xdxdy+y
Complete step by step answer:
It is given that y=acos(logx)+bsin(logx) we shall find the derivative of y first. That is dxdy=dxd(acos(logx))+bsin(logx))
=dxd(acos(logx))+dxd(bsin(logx))
=adxdcos(logx)+bdxdsin(logx) ………………(1)
We know that the derivative of logx is x1 , derivative of cosx is −sinx , and the derivative of sinx is cosx
That is, dxdcosx=−sinx ,dxdlogx=x1 and dxdsinx=cosx .
Also, dxdcos(logx)=−xsin(logx) and dxdsin(logx)=xcos(logx)
Now, we shall apply the above result in (1)
Hence, we get dxdy=−xasin(logx)+xbsin(logx)
⇒xdxdy=−asin(logx)+bcos(logx) …….(2)
Now, we shall differentiate (2) with respect to x
We know thatdxd(xy)=xdxdy+y .
Thus, we get
xdx2d2y+dxdy=−xacos(logx)−xbsin(logx)
⇒xdx2d2y+dxdy=x1(−acos(logx)−bsin(logx))
⇒x2dx2d2y+xdxdy=(−acos(logx)−bsin(logx))
Since y=acos(logx)+bsin(logx) we have
⇒x2dx2d2y+xdxdy=−y……(3)
Also,dxdy can be denoted as y′ and dx2d2y can also be denoted as y′′ .
Hence (3) becomes x2y′′+xy′=−y
So, the correct answer is “Option B”.
Note: If we are asked to calculate the derivative of a given equation, we need to first analyze the given problem where we are able to apply the derivative formulae and the derivative refers to the rate of change of a function with respect to a variable. Also, it is to be noted thatdxdy can be denoted as y′ and dx2d2y can also be denoted as y′′ .