Using the Chebyshev derivative matrix $D$, we can numerically approximate the first and second derivative of a function by doing matrix multiplication:
$${df(x) \over dx} = Df(x) \tag 1$$ $${d^2f(x) \over dx^2} = D^2f(x) \tag 2$$
where $x \in \{x_0,x_1,...x_n\}$, $x_j=\cos(j \pi/n)$, $j \in \{0, 1,...n\}$.
When we want to calculate the Laplacian of a function we can use the Kronecker product of matrices:
$$\nabla ^2f(x, y) = (I \otimes D^2 + D^2 \otimes I)\bar f \tag 3 $$
where $\bar f$ is a vector obtained by stacking the columns of matrix $f(x, y)$. My question is, how can we find the mixed partial derivatives of a function using the Chebyshev derivative matrix? For instance, how would we calculate:
$${\partial^2 f(x,y) \over \partial x \partial y}=? \tag 4$$ and $${\partial^3 f(x,y) \over \partial x^2 \partial y}=? \tag 5$$