Notes on mathematics and physics