Skip to main content

Differential Equations MCQ: The solution of differential equation (sin x + cos…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of differential equation (sin⁡x+cos⁡x)dy+(cos⁡x−sin⁡x)dx=0\left( {\sin x + \cos x} \right)dy + \left( {\cos x - \sin x} \right)dx = 0 is
View answer and explanation
Correct option: B
ey(sin⁡x+cos⁡x)=c{e^y}\left( {\sin x + \cos x} \right) = c
Option B (ey(sin⁡x+cos⁡x)=c{e^y}\left( {\sin x + \cos x} \right) = c) is correct because it is the solution obtained by integrating the given differential equation after separation of variables.
Solution approach
  1. Correct Answer + Core Reason: ey(sin⁡x+cos⁡x)=c{e^y}\left( {\sin x + \cos x} \right) = c. This is the solution obtained by separating variables and integrating the given differential equation.

    Step-by-Step Solution:

    Step 1: Separate the variables.
    (sin⁡x+cos⁡x)dy+(cos⁡x−sin⁡x)dx=0\left( {\sin x + \cos x} \right)dy + \left( {\cos x - \sin x} \right)dx = 0
    dy=−(cos⁡x−sin⁡xsin⁡x+cos⁡x)dxdy = - \left( {\frac{{\cos x - \sin x}}{{\sin x + \cos x}}} \right)dx

    Step 2: Integrate both sides.
    ∫dy=−∫(cos⁡x−sin⁡xsin⁡x+cos⁡x)dx\int dy = - \int \left( {\frac{{\cos x - \sin x}}{{\sin x + \cos x}}} \right)dx
    y=−log⁡(sin⁡x+cos⁡x)+log⁡cy = - \log \left( {\sin x + \cos x} \right) + \log c

    Step 3: Simplify the equation.
    y=log⁡(csin⁡x+cos⁡x)y = \log \left( {\frac{c}{{\sin x + \cos x}}} \right)
    ey=csin⁡x+cos⁡x{e^y} = \frac{c}{{\sin x + \cos x}}
    ey(sin⁡x+cos⁡x)=c{e^y}\left( {\sin x + \cos x} \right) = c

    Why other options are wrong:
    - Option A: ex(sin⁡x+cos⁡x)+c=0{e^x}\left( {\sin x + \cos x} \right) + c = 0 This is incorrect because the integration is not done correctly, and the variables are not separated properly.
    - Option C: ey(cos⁡x−sin⁡x)=c{e^y}\left( {\cos x - \sin x} \right) = c This is incorrect because the sign is wrong during integration.
    - Option D: ex(sin⁡x−cos⁡x)=c{e^x}\left( {\sin x - \cos x} \right) = c This is incorrect because the integration is not done correctly, and the variables are not separated properly.

    Key Concepts:
    - Differential Equations
    - Separation of Variables
    - Integration

    Memory Aids:
    - Remember to separate variables before integrating.
    - The integral of f′(x)f(x)\frac{f'(x)}{f(x)} is log⁡(f(x))\log(f(x)).

    Quick Tips:
    - Always check if the equation can be solved by separating variables.
    - Remember the integration rules for trigonometric functions.

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.