I'd like some guidance on how to solve this problem.
Given vector field: $$ \vec{F} = <y \cos(xy), x \cos(xy), \frac{1}{1+z^2} >$$ and I need to compute the integral $ \int_{C} \vec{F}.d\vec{r} $ for $C$ that is the curve given by the cylinder with radius $1$ and that connects points $P_0=(1,0,1),P_1= (0,1,0)$.
What I did was parametrize $r(t) :x = r\cos(t), y=r\sin(t), z=t$, with $r=1$ and defining $0 \leq t \leq 1$ and $0 \leq \theta \leq \frac{\pi}{2}$ as it's what made most sense given the points. But now I am left with a monster of a line integral when I parametrize $\vec F( r(t))$. What am I missing here? Or is this the way it should go?
Assuming you manage to find a "potential function" for $F$, or more precisely, a function $f: \Bbb{R^3} \to \Bbb{R}$ such that $\nabla f = \vec{F}$, then your integral depends only on the endpoints of the path (there is a famous theorem guaranteeing this.,which one?) So now, \begin{equation} \int_C \vec{F} \cdot d\vec{r} = \int_C \nabla f \cdot d\vec{r} = f(0,1,0) - f(1,0,1) \end{equation} (the last equality is true if the curve $C$ starts at $P_0$ and ends at $P_1$; otherwise there will be an overall minus sign on the RHS)
Now, all that's left is to find an appropriate $f$. My hint to you for this is to think about trigonometric functions.