The default unit quadrilateral has corners (0,0),(1,0),(1,1),(0,1). Only Corner 1 is perturbed by (Δx₁, Δy₁).
Left = reference square [-1,1]² / right = perturbed physical quadrilateral. Red dot = evaluation point. Element inversion warning shown when det J <= 0.
Bilinear shape functions for the 4-node quadrilateral (Q4) element. Corner numbering: 1 = (-1,-1), 2 = (+1,-1), 3 = (+1,+1), 4 = (-1,+1):
$$N_1=\tfrac{1}{4}(1-\xi)(1-\eta),\;N_2=\tfrac{1}{4}(1+\xi)(1-\eta),\;N_3=\tfrac{1}{4}(1+\xi)(1+\eta),\;N_4=\tfrac{1}{4}(1-\xi)(1+\eta)$$Map to physical coordinates (same shape functions for geometry and unknowns = isoparametric):
$$x=\sum_{i=1}^{4} N_i(\xi,\eta)\,x_i,\qquad y=\sum_{i=1}^{4} N_i(\xi,\eta)\,y_i$$Jacobian matrix and Jacobian determinant (element distortion indicator):
$$J=\begin{bmatrix}\partial x/\partial\xi & \partial y/\partial\xi\\ \partial x/\partial\eta & \partial y/\partial\eta\end{bmatrix},\qquad dx\,dy=|\det J|\,d\xi\,d\eta$$For the standard square (Δx = Δy = 0), det J = 0.25. When det J <= 0 the element is inverted and the numerical integration of the stiffness matrix breaks down.