This book is an introduction to the mathematical analysis of p- and hp-finite elements applied to elliptic problems in solid and fluid mechanics. The aim of this book is to establish the exponential convergence of such methods for problems with the piecewise analytic solutions which typically arise in engineering