Skip to main content

Differential Equations MCQ: If x d y-y d x+x cos (log _e^x) d x=0, y(1)=1,…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If xdy−ydx+xcos⁡(log⁡ex)dx=0,y(1)=1x d y-y d x+x \cos \left(\log _e^x\right) d x=0, y(1)=1, then y(e)=y(e)=
View answer and explanation
Correct option: B
e(1−sin⁡1)e(1-\sin 1)
Option B (e(1-sin 1)) is correct because solving the differential equation and applying the initial condition y(1)=1 leads to y(e) = e(1-sin 1).
Solution approach
  1. Correct Answer + Core Reason: e(1−sin⁡1)e(1-\sin 1). The value of y(e)y(e) is found by solving the differential equation and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Rewrite the given differential equation: xdy−ydx+xcos⁡(log⁡ex)dx=0x dy - y dx + x \cos(\log_e x) dx = 0.

    Step 2: Rearrange the equation: xdy−ydx=−xcos⁡(log⁡x)dxx dy - y dx = -x \cos(\log x) dx.

    Step 3: Divide by x2x^2: xdy−ydxx2=−cos⁡(log⁡x)xdx\frac{x dy - y dx}{x^2} = -\frac{\cos(\log x)}{x} dx.

    Step 4: Recognize the left side as the derivative of yx\frac{y}{x}: d(yx)=−cos⁡(log⁡x)xdxd(\frac{y}{x}) = -\frac{\cos(\log x)}{x} dx.

    Step 5: Integrate both sides: ∫d(yx)=−∫cos⁡(log⁡x)xdx\int d(\frac{y}{x}) = -\int \frac{\cos(\log x)}{x} dx.

    Step 6: Let u=log⁡xu = \log x, then du=1xdxdu = \frac{1}{x} dx. The integral becomes: yx=−∫cos⁡(u)du=−sin⁡(u)+c=−sin⁡(log⁡x)+c\frac{y}{x} = -\int \cos(u) du = -\sin(u) + c = -\sin(\log x) + c.

    Step 7: Apply the initial condition y(1)=1y(1) = 1: 11=−sin⁡(log⁡1)+c=−sin⁡(0)+c=0+c\frac{1}{1} = -\sin(\log 1) + c = -\sin(0) + c = 0 + c. Therefore, c=1c = 1.

    Step 8: The solution is yx=−sin⁡(log⁡x)+1\frac{y}{x} = -\sin(\log x) + 1.

    Step 9: Find y(e)y(e): y(e)=e(1−sin⁡(log⁡e))=e(1−sin⁡(1))y(e) = e(1 - \sin(\log e)) = e(1 - \sin(1)).

    Why other options are wrong:
    - Option A (e(1-cos 1)): This is incorrect because the integration of cos⁡(log⁡x)\cos(\log x) results in −sin⁡(log⁡x)-\sin(\log x), not −cos⁡(log⁡x)-\cos(\log x).
    - Option C (e(1+cos 1)): This is incorrect because the integration of cos⁡(log⁡x)\cos(\log x) results in −sin⁡(log⁡x)-\sin(\log x), and the sign is incorrect.
    - Option D (e(1+sin 1)): This is incorrect because the sign is incorrect after applying the initial condition and integrating.

    Key Concepts:
    - Differential Equations
    - Integration
    - Initial Value Problems

    Memory Aids:
    - Remember that ∫cos⁡(x)dx=sin⁡(x)+c\int \cos(x) dx = \sin(x) + c.
    - Remember the derivative of yx\frac{y}{x} is xdy−ydxx2\frac{x dy - y dx}{x^2}.

    Quick Tips:
    - Recognize exact differentials to simplify the equation.
    - Always apply the initial condition to find the constant of integration.

More Questions from Differential Equations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.