I am asked to find the partial derivatives of an integral given by $f(x,y) = \int_{y}^{x} \cos (t^2) \ dt$.
What I did was
\begin{align} f(x,y) &= \int_{y}^{x} \cos (t^2) \ dt\\ \\ \frac{\partial f}{\partial x} &= \frac{\partial}{\partial x} \int_{y}^{x} \cos (t^2) \ dt = \cos (x^2)\\ \frac{\partial f}{\partial y} &= - \frac{\partial}{\partial y} \int_{x}^{y} \cos (t^2) \ dt = - \cos (y^2)\\ \end{align}
It seems very similar to what we do on single variable calculus (Fundamental Theorem of Calculus part 1), that is, substituting the variable and aplying the chain rule (which in this case will lead to a multiplication by $1$ in both cases). Can someone confirm my answer?
Yes, your answer is correct. It's as simple as that!