SOLVER7 Study. Nothing Else.
Exercise 9.5 Q7

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

Solution

👶 Simple Explanation

Simple Explanation

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.\]

📖 General Solution of x log x (dy/dx) + y = (2/x) log x

Detailed Explanation

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\).

Formula Used

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\).

Solution

  1. Step 1: Write the equation in standard linear form. Given \[x\log x\,\dfrac{dy}{dx} + y = \dfrac{2}{x}\log x.\] Divide every term by \(x\log x\): \[\dfrac{dy}{dx} + \dfrac{1}{x\log x}\,y = \dfrac{2}{x^2}.\] So \(P = \dfrac{1}{x\log x}\) and \(Q = \dfrac{2}{x^2}\).
  2. Step 2: Find the integrating factor. We need \(\int P\,dx = \int \dfrac{1}{x\log x}\,dx\). Put \(t = \log x\), so \(dt = \dfrac{1}{x}\,dx\). Then \[\int \dfrac{1}{x\log x}\,dx = \int \dfrac{1}{t}\,dt = \log t = \log(\log x).\] Therefore \[I.F. = e^{\log(\log x)} = \log x.\]
  3. Step 3: Apply the solution formula \(y \cdot (I.F.) = \int Q \cdot (I.F.)\,dx + C\): \[y\,\log x = \int \dfrac{2}{x^2}\cdot \log x\,dx + C.\] We now need to evaluate \(\int \dfrac{2\log x}{x^2}\,dx\).
  4. Step 4: Evaluate the integral using integration by parts. Take \(u = \log x\) and \(dv = \dfrac{2}{x^2}\,dx\). Then \(du = \dfrac{1}{x}\,dx\) and \(v = -\dfrac{2}{x}\). Using \(\int u\,dv = uv - \int v\,du\): \[\int \dfrac{2\log x}{x^2}\,dx = -\dfrac{2\log x}{x} - \int \left(-\dfrac{2}{x}\right)\dfrac{1}{x}\,dx.\] This simplifies to \[-\dfrac{2\log x}{x} + \int \dfrac{2}{x^2}\,dx = -\dfrac{2\log x}{x} - \dfrac{2}{x}.\]
  5. Step 5: Substitute the integral back into the solution: \[y\,\log x = -\dfrac{2\log x}{x} - \dfrac{2}{x} + C.\] This is the required general solution. It can also be written as \[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]

Final Answer

\[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Divide the entire given equation by \(x\log x\) to bring it into standard linear form. The given equation is \[x\log x\,\dfrac{dy}{dx} + y = \dfrac{2}{x}\log x.\] Dividing every term by \(x\log x\) gives \[\dfrac{dy}{dx} + \dfrac{1}{x\log x}\,y = \dfrac{2}{x^2}.\] So we identify \(P = \dfrac{1}{x\log x}\) and \(Q = \dfrac{2}{x^2}\). — Reason: The standard form requires the coefficient of \(\dfrac{dy}{dx}\) to be exactly 1; dividing through achieves this and reveals \(P\) and \(Q\) cleanly.
  2. Step 2: Compute \(\int P\,dx = \int \dfrac{1}{x\log x}\,dx\) using the substitution \(t = \log x\), so \(dt = \dfrac{1}{x}\,dx\). Then \[\int \dfrac{1}{x\log x}\,dx = \int \dfrac{1}{t}\,dt = \log t = \log(\log x).\] Therefore the integrating factor is \[I.F. = e^{\log(\log x)} = \log x.\] — Reason: The substitution converts a composite expression into a simple reciprocal integral; exponentiating the result gives the factor that will make the left-hand side an exact derivative.
  3. Step 3: Multiply both sides of the standard-form equation by \(I.F. = \log x\) and apply the solution formula: \[y\,\log x = \int \dfrac{2}{x^2} \cdot \log x\,dx + C.\] — Reason: After multiplying by the integrating factor the left-hand side becomes \(\dfrac{d}{dx}(y\,\log x)\), so integrating both sides reduces the ODE to an algebraic problem of evaluating the right-hand integral.
  4. Step 4: Evaluate \(\int \dfrac{2\log x}{x^2}\,dx\) using integration by parts with \(u = \log x\) and \(dv = \dfrac{2}{x^2}\,dx\). Then \(du = \dfrac{1}{x}\,dx\) and \(v = -\dfrac{2}{x}\). Applying the formula \(\int u\,dv = uv - \int v\,du\): \[\int \dfrac{2\log x}{x^2}\,dx = -\dfrac{2\log x}{x} - \int \left(-\dfrac{2}{x}\right)\cdot\dfrac{1}{x}\,dx.\] — Reason: Integration by parts is the standard technique when a product of a logarithm and a power function appears inside an integral.
  5. Step 5: Simplify the remaining integral: \[-\dfrac{2\log x}{x} + \int \dfrac{2}{x^2}\,dx = -\dfrac{2\log x}{x} + \left(-\dfrac{2}{x}\right) = -\dfrac{2\log x}{x} - \dfrac{2}{x}.\] This can be factored as \[-\dfrac{2}{x}(\log x + 1) = -\dfrac{2}{x}(1 + \log x).\] — Reason: Collecting both terms over the common factor \(-\dfrac{2}{x}\) gives the most compact form ready to substitute back.
  6. Step 6: Substitute the evaluated integral back into the solution formula: \[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\] — Reason: Replacing the integral with its value and appending the arbitrary constant \(C\) completes the general solution of the differential equation.

Final Answer

\[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Standard Form: Divide throughout by \(x \log x\): \[\frac{dy}{dx} + \frac{1}{x \log x}\,y = \frac{2}{x^2}\] so \(P = \dfrac{1}{x \log x}\), \(Q = \dfrac{2}{x^2}\).
  2. Step 2: Integrating Factor: Let \(t = \log x\), \(dt = \dfrac{dx}{x}\): \[\int P\,dx = \int \frac{dt}{t} = \log(\log x)\] hence \(I.F. = e^{\log(\log x)} = \log x\).
  3. Step 3: Multiply and Integrate: \[y \log x = \int \frac{2 \log x}{x^2}\,dx + C\] Apply integration by parts with \(u = \log x\), \(dv = \dfrac{2}{x^2}\,dx\): \[\int \frac{2 \log x}{x^2}\,dx = -\frac{2 \log x}{x} + \int \frac{2}{x^2}\,dx = -\frac{2 \log x}{x} - \frac{2}{x} = -\frac{2}{x}(1 + \log x).\]

Answer: \[y\,\log x = -\dfrac{2}{x}\left(1 + \log x\right) + C.\]

➕ More Examples

More Examples

Example 1

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\)

Example 2

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\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the general solution of the differential equation: \[ x\ln x\,\frac{dy}{dx} + 2y = 3\ln x. \]

Solution

  1. Step 1: Rewrite in standard linear form: Divide both sides by \( x\ln x \) (assuming \( x > 1 \) so that \( x \ne 0 \) and \( \ln x \ne 0 \)): \[ \frac{dy}{dx} + \frac{2}{x\ln x}\,y = \frac{3}{x}. \] Here \( P(x) = \dfrac{2}{x\ln x} \) and \( Q(x) = \dfrac{3}{x} \).
  2. Step 2: Find the Integrating Factor: Compute \( \int P(x)\,dx = \int \frac{2}{x\ln x}\,dx \). Let \( t = \ln x \), so \( dt = \frac{dx}{x} \). 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. \]
  3. Step 3: Multiply both sides by the integrating factor: Multiplying the standard form by \( (\ln x)^2 \): \[ (\ln x)^2\,\frac{dy}{dx} + \frac{2\ln x}{x}\,y = \frac{3(\ln x)^2}{x}. \] 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{3(\ln x)^2}{x}. \]
  4. Step 4: Integrate both sides: Integrate both sides with respect to \( x \): \[ y(\ln x)^2 = \int \frac{3(\ln x)^2}{x}\,dx. \] For the right side, substitute \( t = \ln x \), \( dt = \frac{dx}{x} \): \[ \int \frac{3(\ln x)^2}{x}\,dx = \int 3t^2\,dt = t^3 + C = (\ln x)^3 + C. \]
  5. Step 5: Write the General Solution: Substituting back: \[ y(\ln x)^2 = (\ln x)^3 + C. \] Dividing both sides by \( (\ln x)^2 \) (for \( \ln x \ne 0 \)): \[ y = \ln x + \frac{C}{(\ln x)^2}. \] The general solution may equivalently be written as: \[ y(\ln x)^2 = (\ln x)^3 + C. \]

Answer: \[ y(\ln x)^2 = (\ln x)^3 + C \] or equivalently \[ y = \ln x + \frac{C}{(\ln x)^2}. \]

Everything you get with Solver7

More questions in Differential Equations

Chapter 9 Examples Q1(i) 65/2/1 2022 / Section A Q1 Chapter 9 Examples Q1(ii) 65/2/2 2023 / Section A Q2 Chapter 9 Examples Q1(iii) 65/2/2 2023 / Section A Q3 Chapter 9 Examples Q2 Chapter 9 Examples Q3 Chapter 9 Examples Q4 Chapter 9 Examples Q5 65/1/1 2023 / Section A Q7 65/2/1 2024 / Section A Q7 65/3/1 2024 / Section A Q7 65/4/1 2022 / Section A Q5 Chapter 9 Examples Q6 65/1/1 2024 / Section A Q8 65/3/1 2023 / Section A Q8 Chapter 9 Examples Q7 65/3/1 2023 / Section A Q9 65/4/2 2024 / Section A Q9 Chapter 9 Examples Q8 65(B) 2026 / Section A Q10 65/4/1 2023 / Section A Q10 Chapter 9 Examples Q9 65(B) 2026 / Section A Q11 65/1/1 2026 / Section A Q11 65/2/1 2022 / Section B Q9 65/4/1 2023 / Section A Q11 Chapter 9 Examples Q10 65/1/1 2026 / Section A Q12 65/4/1 2026 / Section A Q12 Chapter 9 Examples Q11 65/3/1 2026 / Section A Q13 65/4/1 2026 / Section A Q13 65/4/2 2024 / Section A Q13 65/5/1 2026 / Section A Q13 Chapter 9 Examples Q12 65/1/1 2024 / Section A Q14 65/2/1 2024 / Section A Q14 65/5/1 2026 / Section A Q14 Chapter 9 Examples Q13 65/1/1 2023 / Section A Q15 65/2/3 2026 / Section A Q15 Chapter 9 Examples Q14 65/2/3 2026 / Section A Q16 65/4/1 2022 / Section C Q12(a) Chapter 9 Examples Q15 65/4/1 2022 / Section C Q12(b) Chapter 9 Examples Q16 Chapter 9 Examples Q17 65/3/1 2026 / Section A Q19 Chapter 9 Examples Q18 Chapter 9 Miscellaneous Examples Q19 Chapter 9 Miscellaneous Examples Q20 Chapter 9 Miscellaneous Examples Q21 Chapter 9 Miscellaneous Examples Q22 Exercise 9.1 Q1 Exercise 9.1 Q2 Exercise 9.1 Q3 Exercise 9.1 Q4