Skip to content
NCERT Exemplar · Q33

Q.Solve: xdydx=y(log⁡y−log⁡x+1)x\frac{dy}{dx}=y(\log y-\log x+1).

Yanam CbseLong· 5mImportance★★★★★
Appeared in past exams:MHT-CET 2025· Set pcm-2025-04-23-M· 2mexactMHT-CET 2024· Set pcm-2024-05-02-M· 2mexact
69% · 153/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 homogeneous differential equation that becomes separable after substituting y=vxy = vx. The solution is log⁡(yx)=Cx\log\left(\frac{y}{x}\right) = Cx.

The key insight here is recognising the structure. When you see terms like log⁡y−log⁡x\log y - \log x, your first thought should be to combine them: log⁡(y/x)\log(y/x). That immediately suggests the substitution y=vxy = vx, because y/x=vy/x = v turns the logarithm into something simple. This is the classic move for homogeneous differential equations — equations where every term has the same total degree in xx and yy.

Let’s check homogeneity. The left side xdydxx \frac{dy}{dx} is degree 1 in xx and yy (since dy/dxdy/dx is degree 0). The right side y(log⁡(y/x)+1)y(\log(y/x) + 1): yy is degree 1, and the bracket depends only on the ratio y/xy/x, so it’s degree 0. The whole right side is degree 1. Homogeneous — good.

Now the substitution y=vxy = vx will reduce it to a separable equation in vv and xx.


  1. Substitute y=vxy = vx

    Then dydx=v+xdvdx\frac{dy}{dx} = v + x\frac{dv}{dx} by the product rule. Also log⁡y−log⁡x=log⁡(vx)−log⁡x=log⁡v\log y - \log x = \log(vx) - \log x = \log v.

    The equation becomes:

x(v+xdvdx)=vx(log⁡v+1)x\left(v + x\frac{dv}{dx}\right) = vx(\log v + 1)

  1. Simplify Cancel xx (assuming x≠0x \neq 0):

v+xdvdx=v(log⁡v+1)v + x\frac{dv}{dx} = v(\log v + 1)

Expand the right: vlog⁡v+vv\log v + v.

  1. Isolate the derivative Subtract vv from both sides:

xdvdx=vlog⁡vx\frac{dv}{dx} = v\log v

This is now separable — all vv terms on one side, all xx on the other.

  1. Separate variables

dvvlog⁡v=dxx\frac{dv}{v\log v} = \frac{dx}{x}

Watch out

A common mistake here is forgetting the absolute value inside the log when integrating. Always write log⁡∣v∣\log|v| and log⁡∣x∣\log|x| until you know the sign. Also, v=0v=0 or v=1v=1 are special cases — v=0v=0 gives y=0y=0, which trivially satisfies the original equation? Check: if y=0y=0, the right side becomes 0(log⁡0−log⁡x+1)0(\log 0 - \log x + 1) which is undefined. So v=0v=0 is not allowed. v=1v=1 gives log⁡v=0\log v = 0, making the left side zero — that’s a valid constant solution.

  1. Integrate both sides …

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.