Question
Question: If \(y = y(x)\) and it follows the relation \({e^{x{y^2}}} + y\cos ({x^2}) = 5\) then \(y'(0)\) is e...
If y=y(x) and it follows the relation exy2+ycos(x2)=5 then y′(0) is equal to
A. 4
B. -16
C. -4
D. 16
Solution
Hint: y is a function of x. First find the value of y(0) by substituting x=0 in the equation. Then differentiate the equation with respect to x and use the product rule for differentiating products of different terms in the equation. Substitute x=0 and value of y(0)in the final result.
Complete step-by-step answer:
Let us consider the equation:
exy2+ycos(x2)=5. We have x and y terms in the equation. Since, y is a function of x, we will find its value for x=0. After substituting x=0 in the above equation, we get,
⇒e0×[y(0)]2+y(0)cos(0)=5 ⇒1+y(0)=5 ⇒y(0)=4 (1)
Now we have a value of y for x=0. When we differentiate the above equation with respect to x, we will get another equation but with additional y′=dxdy terms.
Differentiating given equation with respect to x, we get,
⇒dxd[exy2+ycos(x2)]=dxd(5) ⇒dxd[exy2]+dxd[ycos(x2)]=0
Here, we know that derivative of a constant, here 5, is always zero. Another rule we used is that the derivative of the sum of terms is equal to the sum of derivatives of the terms. To solve it further we will use here product rule which is as follows: dxd[u(x)v(x)]=v(x)dxdu(x)+u(x)dxdv(x).
For the first term, we have an exponential term which is in the form: dxd[ef(x)]=ef(x)dxdf(x)
Solving the problem further, we get,
⇒1sttermexy2dxd[xy2]+2ndtermcos(x2)dxdy+ydxdcos(x2)=0
The last term above is in the form, dxdg[f(x)]=df(x)dg[f(x)]×dxdf(x)
⇒exy2[y2dxdx+xdxdy2]+y′cos(x2)−ysin(x2)dxdx2=0 ⇒exy2[y2+2xyy′]+y′cos(x2)−2xysin(x2)=0
From above result and (1), we will substitute x=0 and thus we get,
⇒e0×42[42+(2×0×4×y′)]+y′cos(0)−[2×0×4×sin(0)]=0 ⇒16+y′=0 ⇒y′=−16
After comparing the above answer with the given choices, option B is the correct answer.
Note: Please make sure you start practicing with writing all the steps correctly as for the above step in exponential form or the other of the functions inside a function. There are very high chances of missing steps in between and ending up with completely different solutions. Also make sure the powers and symbols for differentiation are well separated.