Who are these notes for?#

These notes are written primarily for undergraduate students beginning an upper-level course in modern physics. They connect introductory physics to the study of relativity, quantum mechanics, and their applications. Independent learners with the relevant background are also welcome.

Preparation and learning goals#

You should be familiar with introductory mechanics, electricity and magnetism, and waves, and be prepared to use algebra, derivatives, and integrals. Revisit earlier ideas as needed; recognizing when a familiar model applies is part of learning modern physics.

Prior Python experience is helpful, but you will develop your programming skills alongside the coursework. The goal is to connect physical reasoning, mathematical analysis, and computation: explain your approach, evaluate a model’s predictions, and decide whether the results make sense. Write explanations that another student—including future-you—can follow.

The Introduction to Python and Introduction to Markdown provide practical starting points. Return to them as assignments introduce new calculations or formatting needs.

Working with the notebooks#

Read the rendered chapter on the course website, then use the rocket ship launch menu to open its notebook in Google Colab where available. Save your own copy to Google Drive before editing. Use Ctrl+S frequently (Command+S on a Mac) and confirm that saving has finished.

Rocket ship launch menu on the course webpage, used to open the chapter notebook in Google Colab.

Opening a chapter in Colab. Select the rocket ship launch menu at the top of the page, then choose Google Colab.

For each computational example, predict the output before running it. Change one input at a time, compare the result with your prediction, and explain what the change reveals about the physics. Include the imports needed by each code cell, and rerun any earlier cells that define inputs or functions it uses after reconnecting to a new runtime.

Tip

Work smart, not hard! Open a text cell in Colab to inspect its Markdown and equation source. Copy useful syntax from the course text instead of retyping questions or searching for an equation already shown here. Some commands, such as admonitions and equation directives, are MyST features used to build the webpage; omit those wrappers from your solutions while retaining the relevant text and math syntax.

Use the course home page for learning goals and study expectations, and the homework template for writing, group-work, and submission guidance. The syllabus and individual assignments specify deadlines and grading policies.

Accessing the source and suggesting improvements#

The source notebooks are available in the ModernPhysics GitHub repository. Cloning or downloading the repository is optional; the website and Colab provide a way to read and work with the material without a local setup.

These notes are a living document. If you find an error or an unclear explanation, identify the chapter, section, and relevant passage or calculation. For a code problem, include the error message and the steps needed to reproduce it.

Citing and reusing the material#

Original material by Billy Quarles is licensed under a Creative Commons Attribution 4.0 International License. When reusing it, credit the author, link to the source and license, and indicate any changes.

Third-party material retains its own license and attribution requirements. Consult the credit accompanying each figure, excerpt, video, or other item before reusing it; the book’s license does not replace those terms.