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 experimentPredict
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
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) |
|---|---|
| 0 | 0.3 |
| 0.0523599 | 0.324489 |
| 0.10472 | 0.345422 |
| 0.15708 | 0.362571 |
| 0.20944 | 0.375748 |
| 0.261799 | 0.384808 |
| 0.314159 | 0.389651 |
| 0.366519 | 0.390226 |
| 0.418879 | 0.386525 |
| 0.471239 | 0.37859 |
| 0.523599 | 0.366506 |
| 0.575959 | 0.350407 |
| 0.628319 | 0.330469 |
| 0.680678 | 0.30691 |
| 0.733038 | 0.279989 |
| 0.785398 | 0.25 |
| 0.837758 | 0.217272 |
| 0.890118 | 0.182163 |
| 0.942478 | 0.145059 |
| 0.994838 | 0.106365 |
| 1.0472 | 0.0665064 |
| 1.09956 | 0.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.72271 | 0.014953 |
| 2.77507 | 0.0556608 |
| 2.82743 | 0.0957588 |
| 2.87979 | 0.134808 |
| 2.93215 | 0.172379 |
| 2.98451 | 0.208063 |
| 3.03687 | 0.241466 |
| 3.08923 | 0.272224 |
| 3.14159 | 0.3 |
Acceleration-displacement relation
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.390512 | 1.56205 |
| -0.377495 | 1.50998 |
| -0.364478 | 1.45791 |
| -0.351461 | 1.40584 |
| -0.338444 | 1.35378 |
| -0.325427 | 1.30171 |
| -0.31241 | 1.24964 |
| -0.299393 | 1.19757 |
| -0.286376 | 1.1455 |
| -0.273359 | 1.09343 |
| -0.260342 | 1.04137 |
| -0.247325 | 0.989298 |
| -0.234307 | 0.93723 |
| -0.22129 | 0.885162 |
| -0.208273 | 0.833093 |
| -0.195256 | 0.781025 |
| -0.182239 | 0.728957 |
| -0.169222 | 0.676888 |
| -0.156205 | 0.62482 |
| -0.143188 | 0.572752 |
| -0.130171 | 0.520683 |
| -0.117154 | 0.468615 |
| -0.104137 | 0.416547 |
| -0.0911196 | 0.364478 |
| -0.0781025 | 0.31241 |
| -0.0650854 | 0.260342 |
| -0.0520683 | 0.208273 |
| -0.0390512 | 0.156205 |
| -0.0260342 | 0.104137 |
| -0.0130171 | 0.0520683 |
| 0 | 0 |
| 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 |
| Quantity | Value | Unit |
|---|---|---|
| Angular frequency | 2 | rad/s |
| Amplitude | 0.390512 | m |
| Cosine-form phase | -0.694738 | rad |
| Period | 3.14159 | s |
| Frequency | 0.31831 | Hz |
| Displacement at pi/4 s | 0.25 | m |
| Velocity at pi/4 s | -0.6 | m/s |
| Acceleration at pi/4 s | -1 | m/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
Apply
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.