Skip to content
NCERT Exemplar · Q43

Q.(x) The solution of the differential equation cot⁡y dx=x dy\cot y\,dx=x\,dy is ______.

Uttarakhand UbseShort· 1mImportance★★★★★
Appeared in past exams:COMEDK 2022· Set 2022· 1mreworded
73% · 163/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This is a first-order separable ODE disguised by the cotangent term. Rewriting it as dxx=tan⁡y dy\frac{dx}{x} = \tan y\,dy and integrating both sides gives log⁡∣x∣=−log⁡∣cos⁡y∣+C\log|x| = -\log|\cos y| + C, which simplifies to xcos⁡y=kx \cos y = k as the general solution.

The key insight here is that the equation cot⁡y dx=x dy\cot y\,dx = x\,dy looks like it might need an integrating factor, but it's actually separable — the variables xx and yy can be cleanly split. The cotangent function, cot⁡y=cos⁡ysin⁡y\cot y = \frac{\cos y}{\sin y}, is the only complication, but it becomes a simple trigonometric integral once we rearrange.

Let's work through it step by step.

  1. Separate the variables. Start with cot⁡y dx=x dy\cot y\,dx = x\,dy. Divide both sides by xcot⁡yx \cot y (assuming x≠0x \neq 0 and cot⁡y≠0\cot y \neq 0 — we'll handle special cases later):

dxx=dycot⁡y\frac{dx}{x} = \frac{dy}{\cot y}

Since 1cot⁡y=tan⁡y\frac{1}{\cot y} = \tan y, this becomes:

dxx=tan⁡y dy\frac{dx}{x} = \tan y\,dy

Now the variables are separated: everything with xx is on the left, everything with yy is on the right.

  1. Integrate both sides.

∫dxx=∫tan⁡y dy\int \frac{dx}{x} = \int \tan y\,dy

The left integral is standard: ∫dxx=log⁡∣x∣+C1\int \frac{dx}{x} = \log|x| + C_1.

For the right side, recall that tan⁡y=sin⁡ycos⁡y\tan y = \frac{\sin y}{\cos y}. Let u=cos⁡yu = \cos y, then du=−sin⁡y dydu = -\sin y\,dy, so sin⁡y dy=−du\sin y\,dy = -du. Thus:

∫tan⁡y dy=∫sin⁡ycos⁡y dy=∫−duu=−log⁡∣u∣+C2=−log⁡∣cos⁡y∣+C2\int \tan y\,dy = \int \frac{\sin y}{\cos y}\,dy = \int \frac{-du}{u} = -\log|u| + C_2 = -\log|\cos y| + C_2

So the integrated equation is:

log⁡∣x∣=−log⁡∣cos⁡y∣+C\log|x| = -\log|\cos y| + C

where C=C2−C1C = C_2 - C_1 is an arbitrary constant.

Tip

The integral ∫tan⁡y dy\int \tan y\,dy is worth memorizing: it equals −log⁡∣cos⁡y∣+C-\log|\cos y| + C (or equivalently log⁡∣sec⁡y∣+C\log|\sec y| + C). This saves time in exams.

  1. Simplify the result. Combine the logarithms using properties: −log⁡∣cos⁡y∣=log⁡∣1cos⁡y∣=log⁡∣sec⁡y∣-\log|\cos y| = \log\left|\frac{1}{\cos y}\right| = \log|\sec y|. So:

log⁡∣x∣=log⁡∣sec⁡y∣+C\log|x| = \log|\sec y| + C

Exponentiate both sides (let eC=ke^C = k, a new constant, with k>0k > 0 for now):

∣x∣=k ∣sec⁡y∣|x| = k\,|\sec y| …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.