Consider $$F=\frac {x}{x^3+y^3}dx+\frac{y}{x^3+y^3}dy$$
1) Show that $\int_GF=0$, where $G$ is the arc of a circle or radius $r$ in the first quadrant.
2) Compute the integral of $F$ along the segment connecting $(0,1)$ with $(1,0)$
Attempt:
1) $G$ has the parameterization $y=\sqrt{r^2-x^2}$
$$\int_G\frac {x}{x^3+y^3}dx+\frac{y}{x^3+y^3}dy=\int_0^r\frac {x}{x^3+\sqrt{r^2-x^2}^3}dx+\frac{\sqrt{r^2-x^2}}{x^3+\sqrt{r^2-x^2}^3}\frac{x}{-\sqrt{r^2-x^2}}dx=0$$
2) The segment $I$ has parameterization $y=1-x$. Then
$$\int_I\frac {x}{x^3+y^3}dx+\frac{y}{x^3+y^3}dy=\int_0^1\frac {x}{x^3+(1-x)^3}dx-\frac{(1-x)}{x^3+(1-x)^3}dx=\int_0^1\frac {2x-1}{x^3+(1-x)^3}dx=\int_0^1\frac {2x-1}{3x^2-3x+1}dx$$
How can we proceed? Can we use the residue theorem?
\begin{align*} \frac{2x-1}{3x^2-3x+1}=\frac{1}{3}\frac{6x-3}{3x^2-3x+1}=\frac{1}{3}(\ln|3x^2-3x+1|)' \end{align*}