I have specific problem for solving this type of integral :
$$\int \frac{x-y}{x^2-2y^2}\, dx $$
I tried applying partial fractions, making the denominator complete square but the sum keeps on getting lengthy. Any hints Appreciated to make it simpler.
Try this $$ \frac{x-y}{x^2-2y^2}=\frac{x-\sqrt{2}y+\sqrt{2}y-y}{(x-\sqrt{2}y)(x+\sqrt{2}y)}= \frac{1}{x+\sqrt{2}y}+\frac{(\sqrt{2}-1)y}{(x-\sqrt{2}y)(x+\sqrt{2}y)}=\\ =\frac{1}{x+\sqrt{2}y}+\frac{\sqrt{2}-1}{2\sqrt{2}}\left(\frac{1}{x-\sqrt{2}y}-\frac{1}{x+\sqrt{2}y}\right). $$