The theorems of geometric variation for finite element analysis