Question: How do you integrate the directional derivative of a function over a rectangle?
Let's say $K$ is a rectangle in $\mathbb{R}^2$, and let's say that $\beta$ is a 2D vector that specifies a direction. Lastly, say $u(x,y)$ is a multivariable scalar function. How do I solve the following \begin{equation} \int _K \beta \,\,\cdot \nabla u \end{equation} where $\beta \,\,\cdot\nabla$ denotes the directional derivative in the direction of $\beta$.
I know that in 1D integrating over the derivative of a function gives back the original function, but I'm not sure how this works in 2D.
Thanks!