Foundations for microwave engineering