Computing in Physics Education: Comment

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Comment

https://doi.org/10.1038/s41567-023-02371-2

Computing in physics education


Marcos D. Caballero & Tor Ole B. Odden Check for updates

Computing is central to the enterprise of understanding of advanced undergraduate physics concepts4.


However, large-scale curricular change is rare in physics.
physics but few undergraduate physics
courses include it in their curricula. Here we The need for computational literacy in physics
A lack of computing education in physics curricula worked for a world
discuss why and how to integrate computing in which computing was a necessary tool only for select physics majors.
into physics education. But going forward, it seems clear that all physics majors will need some
degree of computational literacy to meet the needs of research, indus-
Physicists use computing to control experiments, to model physical try and education.
systems and to analyse data. Many recent breakthroughs in physics have Students planning a career in academic research or teaching will
been enabled by large-scale computational collaborations, including need computational skills to construct experiments, to build models
several Nobel-prize-winning discoveries. And computing is not going and to analyse data. Those who go straight to work after graduation
away: computational hardware and software continues to improve, will need computational skills to be competitive; indeed, recently
data science and machine learning methods continue to make their way employed bachelor’s degree graduates often indicate that computing
into physics research, and quantum computing systems are gradually is usually a central part of their responsibilities5. Students planning
coming online for research use. Clearly, future physicists will need to become physics teachers will need computational skills to cover
strong computational skills to be active members of the profession. the computational thinking requirements that are making their way
However, these innovative and important uses of computing are into national educational standards6. And, regardless of career path,
largely absent from the experiences of most physics students because it is important that students are trained to critically evaluate models,
those teaching computing in physics are few in number. We know that statistics and data in a world increasingly populated with digitally
those teachers are already convinced of the utility of computing1. So, generated misinformation.
with the advent of widely available, cheap and open-source comput- Furthermore, research in physics education has shown that com-
ing tools, along with several decades of research on how to integrate putation can substantially improve physics teaching and learning.
computing into physics education, there is now an opportunity to Open-ended computational projects can help students to acquire early
rethink how physics is taught. research skills, and can expose them to the creative side of physics
work7. Computational activities can develop skills in the construction
An opportunity to renew the physics curriculum and revision of physics models and facilitate access to more complex
At many universities, physics education has remained stable since the problems and systems earlier in students’ physics careers8. The visuali-
middle of the twentieth century. For example, in the USA the under- zations obtained from computational simulations can provide students
graduate physics curriculum—that is, the standard set of course- with helpful physical insights and intuition about the dynamics of the
work and activities in an accredited physics major—looks much the systems they study9.
same as it did 60 years ago. A 1963 report on physics curricular stand- The recent explosion of inexpensive hardware, open-source
ards published in the American Journal of Physics reads almost identi- software and fast internet connections has made it easier for physics
cally to a standard undergraduate curriculum at most major research educators to bring computing experiences into their classrooms.
universities2. Professional organizations for physics have acted on these needs by
Within this existing curricular structure, there have been numer- providing suggestions for those looking to integrate computing into
ous innovations in pedagogy. Over the past four decades, physics their teaching10, community recommendations for effective comput-
education researchers have systematically developed, studied and ing instructional practices and teaching development opportunities.
deployed research-based instructional strategies: for example, peer Research into the impact of integrating computing into physics is
instruction, interactive lecture demonstrations, inquiry-based lab- also growing11. So the time is ripe to think through how to help physics
oratory tasks and so on. The success of these strategies in science, students to become computationally literate.
technology, engineering and mathematics (STEM) classrooms is well
documented: students taking these courses consistently demonstrate Helping physics students to become computationally
higher conceptual knowledge, often develop stronger social ties, and literate
typically continue in STEM work3. We see three essential elements of computational literacy. First,
There have also been some efforts to revisit and revise this cur- students need a basic familiarity with the computational tools used
riculum, especially in introductory physics courses for non-majors. For by physicists: for example, programming languages like Python or
example, new courses on introductory physics for the life sciences have MATLAB, developer environments and a basic understanding of
completely restructured the canonical two-semester sequence to focus hardware and operating systems. Next, students should learn the
on the important physics of biological systems. Innovative upper-level most common computational physics techniques and practices: for
physics curricula have also adopted research-based instructional tech- instance, data plotting and visualization; numerical integration and
niques and developed curriculum materials that improve students’ differentiation; common algorithms like the method of relaxation and

nature physics Volume 20 | March 2024 | 339–341 | 339


Comment

Monte Carlo simulation; and, increasingly, machine learning tools like experiences should be acknowledged and support should be provided
neural networks. Finally, students will need experience in the forms of so that students can be successful.
communication and collaboration specific to computational physics: At the staff level, instructional staff (undergraduate learning
creating high-quality plots and graphs; presenting their code through assistants, graduate teaching assistants and teaching faculty) might
notebooks, reports and research talks or group meetings; and using experience similar feelings of anxiety. It is important to support the
version-control software like GitHub. learning and growth that the instructional team needs to be successful
Over the years, the physics education community has developed a in teaching computing.
variety of approaches that can help students to acquire these different The physics community has developed several important
elements. To get started, many instructors integrate one or more simple resources that can help to alleviate these challenges. A full suite of
computational exercises into a selected course: this could be a single open-source teaching materials is available under creative commons
laboratory task or a few homework questions. Over time, instructors from the Partnership for Integration of Computation into Undergradu-
may then add exercises, one or two at a time, until they form a coherent ate Physics (PICUP), an organization that has been developing fac-
thread through the course. ulty training programmes and computational problem sets for over
There are many examples of activities available online, like simula- 15 years. Interested instructors can find (and publish) peer-reviewed
tion problems (https://www.compadre.org/picup/) and exercises using exercise sets across all levels and topics of physics education. Several
smartphone or Arduino sensors12. For instance, many instructors use computational physics curricula have been researched and developed
simulation-based exercises to help students to investigate analytically over the years, such as the ‘Matter and interactions’ curriculum for
tricky (or intractable) systems such as motion with air resistance or introductory physics.
gravitational interactions between three orbiting bodies. Students Computational physics education workshops are also frequently
could also use their smartphones to take acceleration data when riding organized at conferences, such as the American Association of Physics
up and down in an elevator, then numerically integrate that data to plot Teachers summer meeting or the Physics and Astronomy ‘New’ Faculty
position and velocity as a function of time and find the total height of Workshop (also known as the Faculty Teaching Institute, currently held
the elevator shaft. This can then be compared to an experimentally in both the USA and Europe). In addition to these resources, faculty
measured value. members can and should take inspiration from their own research.
Some departments have existing, stand-alone computational Bringing in (simplified) questions, ideas, problems or techniques
physics courses. They often provide students with an overview of from one’s own research can be inspiring for students and rewarding
classic problems and techniques that are fundamental to computa- for teachers.
tional physics: for instance, the chaotic motion of a double pendulum; Today, nearly all areas of physics use computing in some way and
numerical solutions to the time-independent Schrödinger equation; these tools are becoming increasingly available to students. Every
solving Laplace’s equation using the method of relaxation; and analys- day, employers, researchers and educators find new and innovative
ing magnetic domains and phase transitions using the Ising model13. ways to use computing in their work. Past students often had to wait
However, although these courses are useful in helping students to until the end of their bachelor’s degree programme (or even into their
become computationally literate in physics, it is important to continu- postgraduate studies) to experience physics the way it is done now. We
ally review and re-evaluate them, considering the rapid advances in have a unique opportunity to prepare our students for the complex and
computational physics practice and technology. data-rich world that they face.
Physics departments looking for a deeper integration of comput-
ing into their major often partner with the departments of computing, Marcos D. Caballero1,2 & Tor Ole B. Odden 2
computer science and/or informatics to offer specialized courses on 1
Department of Physics and Astronomy, Department of Computational
computing in science courses early in the students’ careers. These Mathematics, Science, and Engineering, CREATE for STEM Institute,
courses can help students to gain confidence with programming and Michigan State University, East Lansing, MI, USA. 2Department of
reduce the pressure on physics departments. Physics and Center for Computing in Science Education, University of
Oslo, Oslo, Norway.
Challenges and resources for integrating computation into e-mail: caball14@msu.edu; t.o.b.odden@fys.uio.no
physics education
It can be challenging to integrate computing into physics courses. At Published online: 14 March 2024
the departmental level, the standard physics curriculum is crowded
and existing courses often struggle to accommodate all the con- References
cepts and techniques that are desirable to teach. At the same time, it 1. Caballero, M. D. & Merner, L. Phys. Rev. Phys. Educ. Res. 14, 020129 (2018).
2. Am. J. Phys. 31, 328–335 (1963).
should be said that instructors do control the curriculum: some ele- 3. Freeman, S. et al. Proc. Natl Acad. Sci. 111, 8410–8415 (2014).
ments are more important than others and strategic decisions have 4. Chasteen, S. V. et al. Phys. Rev. Spec. Top. Phys. Educ. Res. 11, 020110 (2015).
been made before2. Computing resources (like hardware, servers or 5. Initial employment — Physics bachelors and PhDs classes of 2019 and 2020.
American Institute of Physics (1 March 2022); https://www.aip.org/statistics/resources/
licenses) might also be constrained; however, many resources for initial-employment-physics-bachelors-and-phds-classes-2019-and-2020
teaching computing are open-source and free. Furthermore, these 6. Bocconi, S. et al. Reviewing Computational Thinking in Compulsory Education
materials can often run on legacy hardware for most teaching and (Publications Office of the European Union, 2022); https://publications.jrc.ec.europa.eu/
repository/handle/JRC128347
learning purposes. 7. Odden, T. O. B. & Malthe-Sørenssen, A. Eur. J. Phys. 42, 015701 (2021).
At the student level, computing will be new to many, since few 8. Irving, P. W., Obsniuk, M. J. & Caballero, M. D. Eur. J. Phys. 38, 055701 (2017).
high-schoolers learn about it. It is also well documented that students 9. Svensson, K., Eriksson, U. & Pendrill, A. Phys. Rev. Phys. Educ. Res. 16, 10127 (2020).
10. Behringer, E. Recommendations for Computational Physics in the Undergraduate
can feel intimidated by or be uncomfortable with computing14. This Physics Curriculum (AAPT, 2016); https://www.aapt.org/Resources/upload/AAPT_UCTF_
can add stress and discomfort to an already stressful subject. These CompPhysReport_final_B.pdf

nature physics Volume 20 | March 2024 | 339–341 | 340


Comment

11. Caballero, M. D. et al. 2021 PICUP Virtual Capstone Conference Report (PICUP, 2021); 14. Hamerski, P. C., McPadden, D., Caballero, M. D. & Irving, P. W. Students’ perspectives
https://www.compadre.org/picup/events/pdfs/2021_PICUP_Capstone_Report_Final_ on computational challenges in physics class. Phys. Rev. Phys. Educ. Res. 18, 020109
Final_220502.pdf (2022).
12. Organtini, G. Physics Experiments with Arduino and Smartphones (Springer International
Publishing, 2021). Competing interests
13. Burke, C. & Atherton, T. J. Am. J. Phys. 85, 301–310 (2017). The authors declare no competing interests.

nature physics Volume 20 | March 2024 | 339–341 | 341

You might also like