For each of the differential equations given in Exercises 1 to 12, find the general solution:\( x\ log\ x\dfrac{dy}{dx}+y=\dfrac{2}{x}log\ x\)
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine you have a messy recipe and want to simplify it before cooking. This problem is like that — we have a tangled equation, and we find a magic number called the integrating factor to untangle it. Multiplying by this magic number makes both sides easy to handle. Once untangled, we just add up both sides like counting apples in a basket. The answer tells us exactly how the two quantities are related, with a little wiggle room left over, shown by the letter C.
Answer: \[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]
A first-order linear differential equation has the standard form \(\dfrac{dy}{dx} + P(x)\,y = Q(x)\). The key idea is to multiply the whole equation by a special factor called the integrating factor \(I.F. = e^{\int P\,dx}\). After multiplying, the left-hand side becomes the exact derivative of \(y \cdot (I.F.)\), so integrating both sides directly gives the solution. Here the given equation is not yet in standard form because of the coefficient \(x\log x\) attached to \(\dfrac{dy}{dx}\), so our first task is to divide throughout to expose \(P\) and \(Q\).
Standard form: \(\dfrac{dy}{dx} + P y = Q\). Integrating factor: \(I.F. = e^{\int P\,dx}\). Solution: \(y \cdot (I.F.) = \int Q \cdot (I.F.)\,dx + C\).
\[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]
A common error is forgetting to divide the whole equation by \(x\log x\) first, and reading \(P\) and \(Q\) directly from the original equation. \(P\) and \(Q\) can only be identified once the coefficient of \(\dfrac{dy}{dx}\) is exactly 1.
\[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]
One common mistake: forgetting to divide the right-hand side by \(x\log x\) when converting to standard form, which gives an incorrect \(Q\) (writing \(Q = \dfrac{2\log x}{x}\) instead of \(Q = \dfrac{2}{x^2}\)) and leads to a completely wrong integral on the right.
Answer: \[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]
Question: Find the general solution of the differential equation \[x\ln x\,\frac{dy}{dx} + 2y = \frac{\ln x}{x}\]
Solution: Step 1 — Write in standard linear form by dividing throughout by \(x\ln x\): \[\frac{dy}{dx} + \frac{2}{x\ln x}\,y = \frac{1}{x^2}\] So \(P(x) = \dfrac{2}{x\ln x}\) and \(Q(x) = \dfrac{1}{x^2}\). Step 2 — Compute the Integrating Factor. \[\int P(x)\,dx = \int \frac{2}{x\ln x}\,dx\] Let \(t = \ln x\), so \(dt = \dfrac{1}{x}\,dx\). Then \[\int \frac{2}{x\ln x}\,dx = \int \frac{2}{t}\,dt = 2\ln|t| = 2\ln(\ln x)\] Therefore the Integrating Factor is \[\mu = e^{2\ln(\ln x)} = (\ln x)^2\] Step 3 — Multiply both sides of the standard form by \((\ln x)^2\): \[(\ln x)^2\frac{dy}{dx} + \frac{2\ln x}{x}\,y = \frac{(\ln x)^2}{x^2}\] The left side is exactly \(\dfrac{d}{dx}\!\left[y\,(\ln x)^2\right]\), so \[\frac{d}{dx}\!\left[y\,(\ln x)^2\right] = \frac{(\ln x)^2}{x^2}\] Step 4 — Integrate both sides with respect to \(x\): \[y\,(\ln x)^2 = \int \frac{(\ln x)^2}{x^2}\,dx\] For the right side, use Integration by Parts twice. Let \(u = (\ln x)^2\) and \(dv = x^{-2}\,dx\), so \(du = \dfrac{2\ln x}{x}\,dx\) and \(v = -\dfrac{1}{x}\). \[\int \frac{(\ln x)^2}{x^2}\,dx = -\frac{(\ln x)^2}{x} + \int \frac{2\ln x}{x^2}\,dx\] Apply Integration by Parts again to \(\displaystyle\int \frac{2\ln x}{x^2}\,dx\) with \(u = 2\ln x\), \(dv = x^{-2}\,dx\): \[\int \frac{2\ln x}{x^2}\,dx = -\frac{2\ln x}{x} + \int \frac{2}{x^2}\,dx = -\frac{2\ln x}{x} - \frac{2}{x}\] Combining: \[\int \frac{(\ln x)^2}{x^2}\,dx = -\frac{(\ln x)^2}{x} - \frac{2\ln x}{x} - \frac{2}{x} + C\] Step 5 — Write the general solution: \[y\,(\ln x)^2 = -\frac{(\ln x)^2}{x} - \frac{2\ln x}{x} - \frac{2}{x} + C\] Dividing by \((\ln x)^2\): \[y = -\frac{1}{x} - \frac{2}{x\ln x} - \frac{2}{x(\ln x)^2} + \frac{C}{(\ln x)^2}\]
Answer: \(y\,(\ln x)^2 = -\dfrac{(\ln x)^2}{x} - \dfrac{2\ln x}{x} - \dfrac{2}{x} + C\)
Question: Find the general solution of the differential equation \[x\ln x\,\frac{dy}{dx} - y = 3(\ln x)^2\]
Solution: Step 1 — Write in standard linear form by dividing throughout by \(x\ln x\): \[\frac{dy}{dx} - \frac{1}{x\ln x}\,y = \frac{3\ln x}{x}\] So \(P(x) = -\dfrac{1}{x\ln x}\) and \(Q(x) = \dfrac{3\ln x}{x}\). Step 2 — Compute the Integrating Factor. \[\int P(x)\,dx = -\int \frac{1}{x\ln x}\,dx\] Let \(t = \ln x\), so \(dt = \dfrac{1}{x}\,dx\). Then \[-\int \frac{1}{t}\,dt = -\ln|t| = -\ln(\ln x)\] Therefore the Integrating Factor is \[\mu = e^{-\ln(\ln x)} = \frac{1}{\ln x}\] Step 3 — Multiply both sides of the standard form by \(\dfrac{1}{\ln x}\): \[\frac{1}{\ln x}\frac{dy}{dx} - \frac{1}{x(\ln x)^2}\,y = \frac{3}{x}\] The left side is exactly \(\dfrac{d}{dx}\!\left[\dfrac{y}{\ln x}\right]\), so \[\frac{d}{dx}\!\left[\frac{y}{\ln x}\right] = \frac{3}{x}\] Step 4 — Integrate both sides with respect to \(x\): \[\frac{y}{\ln x} = \int \frac{3}{x}\,dx = 3\ln x + C\] Step 5 — Multiply both sides by \(\ln x\) to obtain the general solution: \[y = 3(\ln x)^2 + C\ln x\]
Answer: \(y = 3(\ln x)^2 + C\ln x\)
Question: Find the general solution of the differential equation: \[ x\ln x\,\frac{dy}{dx} + 2y = 3\ln x. \]
Answer: \[ y(\ln x)^2 = (\ln x)^3 + C \] or equivalently \[ y = \ln x + \frac{C}{(\ln x)^2}. \]