Solution:
Concept: We separate the variables, then split each fraction: 1+t21+t=1+t21+21⋅1+t22t, which integrates to tan−1t+21log(1+t2).
Step 1 — Separate the variables.
We divide the whole equation by (1+x2)(1+y2), which is never zero.
1+x21+xdx+1+y21+ydy=0
Step 2 — Integrate the x-part.
We split the fraction into a tan−1 part and an ff′ part.
∫1+x21+xdx=∫1+x2dx+21∫1+x22xdx
=tan−1x+21log(1+x2)
Step 3 — Integrate the y-part and add.
The y-part has the same form, so we add the two results and one arbitrary constant c.
tan−1x+tan−1y+21log(1+x2)+21log(1+y2)=c
Step 4 — Combine the terms.
For xy<1 we can use tan−1x+tan−1y=tan−11−xyx+y, and the two logs combine with logA+logB=logAB.
21log(1+x2)+21log(1+y2)=log(1+x2)(1+y2)
tan−1(1−xyx+y)+log(1+x2)(1+y2)=c
Watch out: The combined tan−1 form holds only for xy<1; the form in Step 3 holds for all x and y.
Therefore, the general solution is tan−1x+tan−1y+log(1+x2)(1+y2)=c, which for xy<1 can be written tan−1(1−xyx+y)+log(1+x2)(1+y2)=c.