Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Solve and verify a harmonic initial-value equation

Use two initial conditions to select an oscillator solution, rather than guessing its phase.

Learning outcome: Choose two supported initial velocities at the same initial displacement. Derive both functions and verify their initial conditions, amplitudes, phases and second derivatives. Compare their identical periods despite different amplitudes. Explain why a periodic triangle-wave position would not satisfy the same harmonic differential equation.

Starting recap

Derive the restoring equation, retain initial conditions and distinguish exact harmonic results from approximation and calibration assumptions.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

For x0=.3 m and v0=.4 m/s, x=.3 cos(2t)+.2 sin(2t), amplitude sqrt(.13)≈.360555 m and phase≈−.588003 rad. At t=pi/4 s, x=.2 m, v=−.6 m/s and a=−.8 m/s². This written packet uses a different initial velocity from the default control.

Open the experiment

Predict

Which condition defines exact SHM about an equilibrium?

Experiment

Choose two supported initial velocities at the same initial displacement. Derive both functions and verify their initial conditions, amplitudes, phases and second derivatives. Compare their identical periods despite different amplitudes. Explain why a periodic triangle-wave position would not satisfy the same harmonic differential equation.

Solve a harmonic initial-value problem

Worked teaching model · synthetic values · Ideal horizontal oscillator m=2 kg,k=8 N/m, equilibrium x=0, no damping or driving. Two initial conditions select a unique solution; evaluate at t=pi/4 s. Angular phase in radians.

Reset keeps your prediction, captures and practice history.

Displacement from both initial conditions

displacement (m)time (s)03.141590.390226-0.390226

Axes rescale independently. Curves join sampled coordinates; a joining segment is not additional measured evidence. Read physical units rather than screen angles or apparent slopes.

Displacement from both initial conditions: numerical coordinates
time (s)displacement (m)
00.3
0.05235990.324489
0.104720.345422
0.157080.362571
0.209440.375748
0.2617990.384808
0.3141590.389651
0.3665190.390226
0.4188790.386525
0.4712390.37859
0.5235990.366506
0.5759590.350407
0.6283190.330469
0.6806780.30691
0.7330380.279989
0.7853980.25
0.8377580.217272
0.8901180.182163
0.9424780.145059
0.9948380.106365
1.04720.0665064
1.099560.0259187
1.15192-0.014953
1.20428-0.0556608
1.25664-0.0957588
1.309-0.134808
1.36136-0.172379
1.41372-0.208063
1.46608-0.241466
1.51844-0.272224
1.5708-0.3
1.62316-0.324489
1.67552-0.345422
1.72788-0.362571
1.78024-0.375748
1.8326-0.384808
1.88496-0.389651
1.93732-0.390226
1.98968-0.386525
2.04204-0.37859
2.0944-0.366506
2.14675-0.350407
2.19911-0.330469
2.25147-0.30691
2.30383-0.279989
2.35619-0.25
2.40855-0.217272
2.46091-0.182163
2.51327-0.145059
2.56563-0.106365
2.61799-0.0665064
2.67035-0.0259187
2.722710.014953
2.775070.0556608
2.827430.0957588
2.879790.134808
2.932150.172379
2.984510.208063
3.036870.241466
3.089230.272224
3.141590.3

Acceleration-displacement relation

acceleration (m/s²)displacement (m)-0.3905120.3905121.56205-1.56205

Axes rescale independently. Curves join sampled coordinates; a joining segment is not additional measured evidence. Read physical units rather than screen angles or apparent slopes.

Acceleration-displacement relation: numerical coordinates
displacement (m)acceleration (m/s²)
-0.3905121.56205
-0.3774951.50998
-0.3644781.45791
-0.3514611.40584
-0.3384441.35378
-0.3254271.30171
-0.312411.24964
-0.2993931.19757
-0.2863761.1455
-0.2733591.09343
-0.2603421.04137
-0.2473250.989298
-0.2343070.93723
-0.221290.885162
-0.2082730.833093
-0.1952560.781025
-0.1822390.728957
-0.1692220.676888
-0.1562050.62482
-0.1431880.572752
-0.1301710.520683
-0.1171540.468615
-0.1041370.416547
-0.09111960.364478
-0.07810250.31241
-0.06508540.260342
-0.05206830.208273
-0.03905120.156205
-0.02603420.104137
-0.01301710.0520683
00
0.0130171-0.0520683
0.0260342-0.104137
0.0390512-0.156205
0.0520683-0.208273
0.0650854-0.260342
0.0781025-0.31241
0.0911196-0.364478
0.104137-0.416547
0.117154-0.468615
0.130171-0.520683
0.143188-0.572752
0.156205-0.62482
0.169222-0.676888
0.182239-0.728957
0.195256-0.781025
0.208273-0.833093
0.22129-0.885162
0.234307-0.93723
0.247325-0.989298
0.260342-1.04137
0.273359-1.09343
0.286376-1.1455
0.299393-1.19757
0.31241-1.24964
0.325427-1.30171
0.338444-1.35378
0.351461-1.40584
0.364478-1.45791
0.377495-1.50998
0.390512-1.56205
Calculated values under the declared model
QuantityValueUnit
Angular frequency2rad/s
Amplitude0.390512m
Cosine-form phase-0.694738rad
Period3.14159s
Frequency0.31831Hz
Displacement at pi/4 s0.25m
Velocity at pi/4 s-0.6m/s
Acceleration at pi/4 s-1m/s²

The restoring differential equation and two initial conditions determine amplitude and phase.

x=x0 cos(omega t)+(v0/omega)sin(omega t), so differentiating twice returns −omega²x. A=sqrt(x0²+(v0/omega)²); cosine phase uses atan2(−v0/omega,x0), not a one-quadrant inverse tangent. Periodicity alone does not establish a force proportional to displacement.

Derive before checking. Retain contrasting captures and explain one assumption that could fail; calculated evidence is not actual laboratory work.

The restoring differential equation and two initial conditions determine amplitude and phase.

x=x0 cos(omega t)+(v0/omega)sin(omega t), so differentiating twice returns −omega²x. A=sqrt(x0²+(v0/omega)²); cosine phase uses atan2(−v0/omega,x0), not a one-quadrant inverse tangent. Periodicity alone does not establish a force proportional to displacement.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Identify the restoring law

Simple harmonic motion requires acceleration proportional to displacement from equilibrium and oppositely directed: x double-dot=−omega²x with positive constant omega². For an ideal mass-spring system, Newton law gives m x double-dot=−kx, so omega=sqrt(k/m). A repeating motion is periodic, but need not be harmonic: a nonlinear restoring force generally fails this proportionality test.

Construct the solution with both constants

Recognizing the harmonic equation and using its sinusoidal solution are core requirements. The explicit second-derivative verification here is optional calculus enrichment, not an additional AP expectation to prove the general differential-equation solution.

The functions cos(omega t) and sin(omega t) each have second derivative −omega² times themselves. Thus x=C cos(omega t)+D sin(omega t) solves the linear equation. At t=0, x0=C; differentiating gives v0=omega D. Therefore x=x0 cos(omega t)+(v0/omega)sin(omega t). Initial displacement alone cannot determine the subsequent motion.

Translate to amplitude and phase

Writing x=A cos(omega t+phi) gives A=sqrt(x0²+(v0/omega)²) and phi=atan2(−v0/omega,x0). The two-argument angle retains quadrant information. The period is T=2pi/omega and frequency f=1/T, whereas angular frequency is omega=2pi f. Radians in phase are not cycles; the numerical factors matter.

Check derivatives rather than curve appearance

For the selected m=2 kg and k=8 N/m, omega=2 rad/s. Differentiate the constructed x twice, then compare a/x wherever x is nonzero. It must equal −4 s⁻². At equilibrium x=0, acceleration is zero but speed can be maximal. At a turning point v=0 while the restoring acceleration is nonzero. Smoothness alone does not establish either relationship.

The same derivatives give maximum speed A omega and maximum acceleration magnitude A omega². For a changed amplitude .5 m at omega=2, predict these maxima before checking 1 m/s and 2 m/s². Doubling amplitude doubles both maxima but leaves the period unchanged.

Worked original case

For x0=.3 m and v0=.4 m/s, x=.3 cos(2t)+.2 sin(2t), amplitude sqrt(.13)≈.360555 m and phase≈−.588003 rad. At t=pi/4 s, x=.2 m, v=−.6 m/s and a=−.8 m/s². This written packet uses a different initial velocity from the default control.

Investigation

Choose two supported initial velocities at the same initial displacement. Derive both functions and verify their initial conditions, amplitudes, phases and second derivatives. Compare their identical periods despite different amplitudes. Explain why a periodic triangle-wave position would not satisfy the same harmonic differential equation.

Public numerical transfer practice

Try a new practice case

For m=2 kg,k=8 N/m,x0=.3 m and v0=.4 m/s, what is x at t=pi/4 s in metres?

This public, unsaved check is not a secure assessment. Explain the derivative, integral or boundary in the retained course evidence workspace.

Sources and evidence boundary

Original derivations and assigned numerical cases checked 30 October 2026 against the official AP Physics C Mechanics framework and OpenStax harmonic motion and pendulums. These are supplied or generated records, not physical measurements or performed laboratory time. Do not construct rotating equipment, release loads or conduct launch experiments. Public feedback and retained self-reports do not certify independent mastery.

Apply

Which condition defines exact SHM about an equilibrium?

Public practice checks a specific claim. It does not establish independent mastery.

Why does an initial velocity change the amplitude even if initial displacement is unchanged?

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.