The given differential equation is (tan-1y – x)dy = (1 + y2)dx

Now (1) is a linear differential equation of the form dy/dx + P1x = Q1, where P1 = 1/1+y2 and Q1 = \(\frac{tan^1y}{1+y^2}\)

Thus, the solution of the given differential equation is

Substituting tan-1 y = t so that \((\frac{1}{1+y^2})\) dy = dt, we get

Substituting the value of I in equation (2), we get

which is the general solution of the given differential equation.