What is Physics?

It is surprising that many students who are studying physics have never really thought of what physics actually is. A common answer given is that "physics is the study of the universe". On a smaller scale the common branches of physics are mechanics, thermodynamics, electricity and magnetism, relativity, quantum physics and nuclear physics. What do these areas have in common? Each of these areas studies something happening in nature, such as an apple falling to the ground, two magnets pushing on each other or the sun emitting light. To describe how nature behaves we use the language of nature, and this is mathematics. Combining all of these threads together we can define physics as the mathematical study of phenomena occurring in nature. The great physicist Paul Dirac commented on the association between mathematics and the natural world

The mathematician plays a game in which he himself invents the rules while the physicist plays a game in which the rules are provided by nature, but as time goes on it becomes increasingly evident that the rules that the mathematician finds interesting are the same as those which nature has chosen
— Ian Stewart, Seekers after Truth and Beauty, Basic Books 2008, page 279

What is Mathematics?

Many students enjoy doing maths due to the satisfaction of agreeing with the answer when they turn to the back of the book. A sense of achievement comes from using thought processes to go through a series of steps to determine the correct result. Mathematics is a work-out for the mind just like a visit to a gymnasium is a physical work-out for the body. Harvard physicist Lisa Randall was drawn to mathematics "because it had definite answers....I liked the certainty of knowing which answers were right". Mathematics develops mental agility, logical thinking and systematic problem solving techniques. But what actually is mathematics? Algebra, calculus and geometry are branches of mathematics which operate using a common thread. Mathematics is the manipulation of patterns according to a defined set of rules or ideas. Three classic books that discuss the nature of mathematics  are What is Mathematics by Richard Courant and Herbert Robbins, Mathematics and the Imagination by Edward Kasner and John Newman and A Mathematician's Apology by G H Hardy. The Cambridge mathematician Hardy on page 84 gives the following insights into mathematics

A mathematician, like a painter or a poet, is a maker of patterns. If his patterns are more permanent than theirs, it is because they are made with ideas. The mathematician’s patterns, like the painter’s or the poet’s, must be beautiful; the ideas, like the colours or the words, must fit together in a harmonious way. Beauty is the first test: there is no permanent place in the world for ugly mathematics.