The solution of the differential equation \({x^2}\frac{{{d^2}y}}{{d{x^2}}} - x\frac{{dy}}{{dx}} + y = \log x\) is

This question was previously asked in
ESE Electrical 2019 Official Paper
View all UPSC IES Papers >
  1. y = (c1 + c2x) log x + 2 log x + 3
  2. y = (c1 + c2x2) log x + log x + 2
  3. y = (c1 + c2x) log x + log x + 2
  4. y = (c1 + c2 log x) x + log x + 2

Answer (Detailed Solution Below)

Option 4 : y = (c1 + c2 log x) x + log x + 2
Free
ST 1: UPSC ESE (IES) Civil - Building Materials
6.4 K Users
20 Questions 40 Marks 24 Mins

Detailed Solution

Download Solution PDF

We are given DE shown below;

\(\frac{{{x^2}{d^2}y}}{{d{x^2}}} = \frac{{xdy}}{{dx}} + y = \log x\)

By putting x = ez we can replace \(\frac{{x \cdot dy}}{{dx}}\;\& \;\frac{{{x^2}{d^2}y}}{{d{x^2}}}\) as, (D) (D – 1)y – Dy + y = log ez = z

⇒ (D2 – 2D + 1)y = z (Here F(D) = (D - 1)2

⇒ F(D) = (D - 1)2 = (1 - D)2 has two equal roots Q = 1, 1

So its C⋅F = (C1 + C2z)ez

⇒ C⋅F = (C1 + C2 log x)x (∵ x = ez)

& its P⋅I = [F(D)]-1⋅z = (1 - D)-2⋅ z

Since expansion of (1 - D)-2 = (1 + 2D + 3D2 + 4D3 + …)

⇒ P⋅I = [1 + 2D + 3D2 + 4D3 + …](z)

P⋅I = (1 + 2D + 3D2 + 4D3 + …)(z)

Where \(D \to \frac{d}{{dz}}\)

\(\Rightarrow P \cdot I = \left[ {z + \frac{{2dz}}{{dz}} + 0 + 0 \ldots } \right]\)

⇒ P⋅I = z + 2

⇒ P⋅I = log x + 2 (since x = ez)

So net solution of QE will be P⋅I + C⋅F

⇒ y = C⋅F + P⋅I = (C1 + C2 log x)x + log x + 2

⇒ y = (C1 + C2 log x) x + log x + 2
Latest UPSC IES Updates

Last updated on Jun 23, 2025

-> UPSC ESE result 2025 has been released. Candidates can download the ESE prelims result PDF from here.

->  UPSC ESE admit card 2025 for the prelims exam has been released. 

-> The UPSC IES Prelims 2025 will be held on 8th June 2025.

-> The selection process includes a Prelims and a Mains Examination, followed by a Personality Test/Interview.

-> Candidates should attempt the UPSC IES mock tests to increase their efficiency. The UPSC IES previous year papers can be downloaded here.

More Differential Equations Questions

Get Free Access Now
Hot Links: teen patti real cash 2024 teen patti - 3patti cards game teen patti all app teen patti gold teen patti sequence