Given Differential Equation :
\(x \frac{dy}{dx}\) - y = log x
Formula :
i) \(\int \frac {1}{x}\) dx = log x
ii) alog b = log ba
iii) aloga b = b
iv) \(\int\) u. v dx = u. \(\int\) v dx - \(\int\) \((\frac{du}{dx}. \int v, dx)\) dx
v) \(\int\) ekx dx = \(\frac {e^{kx}}{k}\)
vi) \(\frac{d}{dx}\) 9kx) = k
vii) log 1 = 0
viii) General solution :
For the differential equation in the form of
\(\frac{dy}{dx}\, +Py\, =Q\)
General solution is given by,
y. (I.F.) = \(\int\) Q. (I.F.) dx + c
Where, integrating factor,

Given differential equation is

Dividing above equation by x,

Equation (1) is of the form
\(\frac{dy}{dx}\, +Py\, =Q\)

Therefore, integrating factor is

General solution is

Put, log x =t => x=et
Therefore, (1/x) dx = dt

Let, u=t and v=e-t

Substituting I in eq(2),

Multiplying above equation by x,
∴ y = - log x - 1 + cx
Therefore, general solution is
y = - log x - 1 + cx
For particular solution put y=0 and x=1 in above equation,
