Question:medium

Solve the differential equation \(\sin x \cos y\,dx + \cos x \sin y\,dy = 0\), given that \(y = \frac{\pi}{4}\) when \(x = 0\).

Show Hint

Divide by cos x cos y to get tan x dx + tan y dy = 0, integrate, then use y = pi/4 at x = 0.
Updated On: Oct 22, 2026
Show Solution

Solution and Explanation

Step 1: Test whether the equation is exact.
The equation has the form $M\,dx + N\,dy = 0$ with $M = \sin x \cos y$ and $N = \cos x \sin y$.
Find the two cross derivatives.
\[ \frac{\partial M}{\partial y} = -\sin x \sin y, \qquad \frac{\partial N}{\partial x} = -\sin x \sin y \]
They are equal, so the equation is exact.

Step 2: Find the potential function.
Integrate M with respect to x, treating y as a constant.
\[ \int \sin x \cos y\,dx = -\cos x \cos y \]
The term $-\cos x \cos y$ already gives $N$ when differentiated with respect to y, so no extra function of y is needed.

Step 3: Write the general solution.
The solution is the potential function equal to a constant.
\[ \cos x \cos y = C \]

Step 4: Apply the condition y = pi/4 at x = 0.
Substitute the values: $C = (1)\left(\dfrac{1}{\sqrt{2}}\right) = \dfrac{1}{\sqrt{2}}$.

Final Answer:
The particular solution is below. \[ \boxed{\cos x \cos y = \frac{1}{\sqrt{2}}} \]
Was this answer helpful?
0