Introduction to the Finite Element Method: Weak Formulation of the Poisson Problem https://janmr.com/posts/finite-element-method/continuous/poisson-weak-form/