Problem: If $f(x,y)=\int^x_y \cos(t^2) \, dt$, find the first partial derivatives of the function.
My thoughts: By the Fundamental Theorem of Calculus, I know that $f_x=\cos(x^2)$, since $y$ is just treated as a constant.
But what about $f_y$? Am I right in assuming that it would be $-\cos(x^2)$, since $\int^x_a f(t) \, dt=-\int^a_x f(t) \, dt$? Or are things more complicated than that?