My teachers played an important role in helping me enjoy physics. When I was at school, digital tools were not part of our everyday learning. Through thoughtful explanations, my teachers helped us imagine complex physical processes. Even then, I wished we could see more of that physics in action.
Today, as a school physics teacher in India, I am exploring how Mathematica can help students connect abstract ideas with motion they can observe and control. My aim is to use visualisation to strengthen their understanding of the mathematics and physics behind what they see.
Engaging students with difficult concepts remains a challenge. Practical activities are valuable, but some processes are difficult to demonstrate directly in a school laboratory. Online videos can help, although I have two concerns. I want screen time to involve purposeful learning, and a single video cannot always respond to the different levels of understanding within my class. I wanted to create visualisations that I could adapt to my students, pause for questions, and change in response to their predictions.
I first encountered Mathematica through my research, initially working with guidance from my supervisors. I now continue my research independently, and Mathematica remains an important part of that work. As an independent woman researcher in India, I have experienced financial constraints that affect access to research tools.
Students are increasingly interested in programming, artificial intelligence and automation. I welcome that interest, while also wanting them to appreciate the foundations on which these technologies depend: mathematical reasoning and physical principles. In the activities I am developing, students are encouraged to make predictions, investigate a model and explain the result.
Making centre of mass visible
Making centre of mass visible
Rotational motion is often challenging for Class XI students. I wanted to show how the centre of mass helps us describe the motion of a rigid body. A spinning cricket ball is a familiar example: individual points on the ball can follow complicated paths, while its centre of mass follows a simpler trajectory. For a ball in flight under uniform gravity, neglecting air resistance, that trajectory is a parabola.
A Mathematica simulation made it possible to separate the translation of the centre of mass from the rotation about it. When I showed the simulation in class, I was pleased to see that most students appeared engaged in trying to understand the motion. Changing the viewpoint offered another way to examine the same system: a camera following the centre of mass, with axes that do not rotate, makes the rotation about that point easier to see.
Exploring moment of inertia and angular momentum
Exploring moment of inertia and angular momentum
I then developed an activity involving masses rotating about a fixed axle. A slider lets the user pull the masses inward or move them outward while the display shows the moment of inertia, angular speed, angular momentum and rotational kinetic energy.
The central challenge is to make the system rotate four times faster without applying a net external torque about the axle. For point masses all moving to half their original distance from the axis, the moment of inertia becomes one-quarter as large. Since angular momentum is conserved, the angular speed becomes four times as large.
This raises another question: why does rotational kinetic energy increase? The mechanism pulling the masses inward transfers energy into rotation. Conservation of angular momentum does not mean that rotational kinetic energy must remain constant. The activity gives students a concrete reason to distinguish between these two quantities.
Comparing different rotating systems
Comparing different rotating systems
The activity now includes independent mass controls and three systems: two masses, three masses on spokes, and a disc carrying two sliding masses. These comparisons encourage students to examine the assumptions behind a result. When a disc is present, halving the distance of the sliding masses from the axle does not quadruple the angular speed, because the disc contributes a moment of inertia that remains unchanged.
Unequal masses introduce another important distinction. A fixed axle need not pass through the centre of mass. Students must therefore identify the axis about which they are calculating moment of inertia and angular momentum. Such details are easy to miss when a formula is memorised without considering the physical system.
Bringing mathematics and visualisation together
Bringing mathematics and visualisation together
What attracts me to Mathematica is the opportunity to bring interactive graphics, symbolic algebra and numerical calculations into the same notebook. Students can observe a change, propose a mathematical relationship and then investigate that relationship symbolically. For example, an animation of rotational motion can lead to a derivation showing how the kinetic energy of a rigid body separates into translation of its centre of mass and rotation about that centre.
Other programming environments can support these investigations too. For my teaching, the value of Mathematica lies in having these mathematical activities together in one place, so that the visual model and its underlying equations can be explored side by side.
Learning through the development process
Learning through the development process
Building these activities has reminded me how much a clear interface matters. Controls should be close to the animation. A slider labelled “pull inward” should move the masses directly. Mass labels should remain attached to the objects, and the assumptions of the model should be stated clearly.
A mathematically correct simulation is only part of an effective teaching resource. Students also need to understand what they are changing and what they are expected to explain. Learning to implement these ideas in Mathematica has taken time, and I am continuing to refine the activities.
My guiding principle is to let the software perform the calculation while asking students to justify the physics. I want these activities to help students see why a strong foundation in mathematics and physics remains essential when powerful computational tools are available.
In[]:=
(*----------Corephysics:CMmotion+rotationabouttheCM----------*)(*Noairresistance(sonoMagnus/swingeffect).Uniformball:CM=geometriccentre.Ballradiusisexaggerated(1m)sotherotationisvisibleonthescaleofthethrow.*)
In[]:=
sbG=10;sbR=1;
In[]:=
(*markedpoints:{distancefromcentreasafractionofR,startingangle}*)sbMarks={{1,Pi/2},{0.6,Pi/2+2Pi/3},{0.3,Pi/2+4Pi/3}};sbCols={Red,Darker[Green],Blue};
In[]:=
sbT[mode_,u_,th_]:=If[mode==="Rolling",20./u,2.uSin[thDegree]/sbG];sbOmega[mode_,u_,rps_]:=If[mode==="Rolling",u/sbR,2.Pirps];
In[]:=
sbCM[mode_,u_,th_,t_]:=If[mode==="Rolling",{ut,sbR},{uCos[thDegree]t,sbR+uSin[thDegree]t-sbGt^2/2}];sbVCM[mode_,u_,th_,t_]:=If[mode==="Rolling",{u,0},{uCos[thDegree],uSin[thDegree]-sbGt}];
In[]:=
(*dir=1:clockwise,dir=-1:anticlockwise*)sbAlpha[a0_,w_,dir_,t_]:=a0-dirwt;
In[]:=
sbPos[mode_,u_,th_,w_,dir_,{f_,a0_},t_]:=With[{a=sbAlpha[a0,w,dir,t]},sbCM[mode,u,th,t]+fsbR{Cos[a],Sin[a]}];
In[]:=
(*velocityofapoint=velocityofCM+velocityduetorotationabouttheCM*)sbVel[mode_,u_,th_,w_,dir_,{f_,a0_},t_]:=With[{a=sbAlpha[a0,w,dir,t]},sbVCM[mode,u,th,t]+dirwfsbR{Sin[a],-Cos[a]}];
In[]:=
sbTrail[mode_,u_,th_,w_,dir_,mk_,t1_,n_:600]:=Line[Table[sbPos[mode,u,th,w,dir,mk,tau],{tau,0,t1,Max[t1,10^-6]/n}]];
In[]:=
sbRange[mode_,u_,th_]:=If[mode==="Rolling",{{-1.5,21.5},{-0.5,5}},With[{rg=u^2Sin[2thDegree]/sbG,h=(uSin[thDegree])^2/(2sbG)},{{-1.5,rg+1.5},{-0.5,h+2.6}}]];
In[]:=
sbBall[mode_,u_,th_,w_,dir_,t_,faint_]:=With[{c=sbCM[mode,u,th,t],a=sbAlpha[Pi/2,w,dir,t]},If[TrueQ[faint],{{GrayLevel[0.65],Circle[c,sbR]},MapThread[{#2,PointSize[0.008],Point[sbPos[mode,u,th,w,dir,#1,t]]}&,{sbMarks,sbCols}]},{{Opacity[0.3],LightBlue,Disk[c,sbR]},{GrayLevel[0.3],Thick,Circle[c,sbR]},{GrayLevel[0.45],Line[{c-sbR{Cos[a],Sin[a]},c+sbR{Cos[a],Sin[a]}}]},{Black,PointSize[0.014],Point[c]},MapThread[{#2,PointSize[0.016],Point[sbPos[mode,u,th,w,dir,#1,t]]}&,{sbMarks,sbCols}]}]];
In[]:=
sbScene[mode_,u_,th_,rps_,dir_,t_,showCM_,showPts_,strobe_,vel_]:=Module[{w=sbOmega[mode,u,rps],d=If[mode==="Rolling",1,dir],tf=sbT[mode,u,th],xr=sbRange[mode,u,th][[1]]},{{RGBColor[0.55,0.75,0.45],Rectangle[{xr[[1]],-0.5},{xr[[2]],0}]},If[TrueQ[strobe],Table[sbBall[mode,u,th,w,d,ktf/10,True],{k,0,10}],{}],If[TrueQ[showPts],MapThread[{#2,Thickness[0.003],sbTrail[mode,u,th,w,d,#1,t]}&,{sbMarks,sbCols}],{}],If[TrueQ[showCM],{Black,Thickness[0.004],Line[Table[sbCM[mode,u,th,tau],{tau,0,t,Max[t,10^-6]/200}]]},{}],sbBall[mode,u,th,w,d,t,False],If[TrueQ[vel],{Arrowheads[0.018],{Black,Thick,Arrow[{sbCM[mode,u,th,t],sbCM[mode,u,th,t]+0.15sbVCM[mode,u,th,t]}]},MapThread[{#2,Thick,With[{p=sbPos[mode,u,th,w,d,#1,t]},Arrow[{p,p+0.15sbVel[mode,u,th,w,d,#1,t]}]]}&,{sbMarks,sbCols}]},{}]}];
In[]:=
(*ThesameballseenbyanobservermovingalongwiththeCM:purerotation*)sbCMView[mode_,u_,rps_,dir_,t_]:=Module[{w=sbOmega[mode,u,rps],d=If[mode==="Rolling",1,dir]},Graphics[{{Opacity[0.3],LightBlue,Disk[{0,0},sbR]},{GrayLevel[0.3],Thick,Circle[{0,0},sbR]},MapThread[{#2,Dashed,Circle[{0,0},#1[[1]]sbR],PointSize[0.05],Point[With[{a=sbAlpha[#1[[2]],w,d,t]},#1[[1]]sbR{Cos[a],Sin[a]}]]}&,{sbMarks,sbCols}],{Black,PointSize[0.05],Point[{0,0}]},Text[Style["CM",Bold,12],{0,0},{-1.4,1.4}]},PlotRange->1.3sbR,ImageSize->240,Background->White,PlotLabel->Style["Seen by an observer moving\nalong with the CM: pure rotation",12]]];
In[]:=
(*----------Thesimulation----------*)spinBallLab[]:=ManipulateModule{tf=sbT[mode,u,th],t,w=sbOmega[mode,u,rps],vc},t=fractf;vc=Norm[sbVCM[mode,u,th,t]];RowColumnGraphicssbScene[mode,u,th,rps,dir,t,showCM,showPts,strobe,vel],,Style[Row[{"t = ",NumberForm[t,{3,2}]," s spin ω = ",NumberForm[w,{3,1}]," rad/s rim speed relative to CM, ωR = ",NumberForm[wsbR,{3,1}]," m/s CM speed now = ",NumberForm[vc,{3,1}]," m/s"}],12],Style[Which[mode==="Rolling","Rolling without slipping: v_cm = ωR, so the point touching the ground is momentarily at rest.",wsbR>vc,"Rim speed > CM speed: the red rim point moves backwards for a moment, so its path loops.",True,"Rim speed < CM speed: the red point wiggles but does not loop."],12,Italic],Spacer[15],If[cmView,sbCMView[mode,u,rps,dir,t],""],Style["Throw",Bold,13],{{mode,"Thrown","motion"},{"Thrown","Rolling"},ControlType->SetterBar},{{u,15,"speed u (m/s)"},5,20,0.5,Appearance->"Labeled"},{{th,60,"angle (degrees)"},20,80,1,Appearance->"Labeled"},{{rps,2,"spin (rev/s)"},0,4,0.1,Appearance->"Labeled"},{{dir,1,"spin"},{1->"clockwise",-1->"anticlockwise"},ControlType->SetterBar},Delimiter,Style["Time (press play on this slider)",Bold,13],{{frac,0,"fraction of motion"},0,1,Appearance->{"Labeled","Open"},AnimationRate->0.12},Delimiter,Style["Show",Bold,13],{{showCM,True,"path of centre of mass (black)"},{True,False}},{{showPts,True,"paths of coloured points"},{True,False}},{{strobe,False,"strobe snapshots"},{True,False}},{{vel,False,"velocity arrows"},{True,False}},{{cmView,True,"view from the CM"},{True,False}},ControlPlacement->Left,SaveDefinitions->True;
In[]:=
spinBallLab[]
Out[]=
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
Spinning cricket ball demo for teaching students about centre of mass
by Kasturi Banerjee
Wolfram Community, STAFF PICKS, October 22, 2026
https://community.wolfram.com/t/28389
by Kasturi Banerjee
Wolfram Community, STAFF PICKS, October 22, 2026
https://community.wolfram.com/t/28389


