🎨 New Course Features Demo

This page demonstrates all the new interactive features added to the Quantum Mechanics course. These components are now available for use throughout the course to enhance learning.

1. Interactive Wave Function Visualizer

Visualize wave functions in real-time! Adjust quantum numbers, toggle between ψ(x) and |ψ|², and watch time evolution animations.

🎨 Interactive Wave Function Visualizer

Green: Wave function ψ(x) |Cyan: Probability density |ψ|²

Red walls: Infinite potential barriers (ψ = 0 at boundaries)

Harmonic Oscillator Visualizer

Explore the quantum harmonic oscillator with its characteristic Gaussian envelope and Hermite polynomials:

🌊Quantum Harmonic Oscillator

0 (Ground)5 (Excited)

What you're seeing:

  • β€’ Gray curve: Parabolic potential V(x) = Β½mω²xΒ²
  • β€’ Orange dashed line: Energy level En = (n + Β½)ℏω
  • β€’ Cyan/Green curve: Wave function ψn(x) or probability |ψn|Β²
  • β€’ Orange markers: Classical turning points
  • β€’ Note the zero-point energy: E0 = ½ℏω even for n=0!
  • β€’ Higher n states show more nodes (zeros) in the wave function

Hydrogen Atom Orbital Visualizer

Visualize the electron orbitals in hydrogen (1s, 2s, 2p, 3s, 3p, 3d) with proper quantum numbers:

βš›οΈHydrogen Atom Orbitals

Quantum Numbers:

  • β€’ n (principal): 1 β€” determines energy E = -13.6/nΒ² eV
  • β€’ l (angular momentum): 0 β€” determines orbital shape (s, p, d, f)
  • β€’ m (magnetic): 0 β€” determines orientation in space

Color Legend:

  • β€’ Blue/Cyan: Positive wave function
  • β€’ Red/Orange: Negative wave function
  • β€’ White dot: Nucleus (proton)
  • β€’ Brightness indicates magnitude of ψ or |ψ|Β²

2. Physical Intuition Boxes

πŸ’‘Why Can't Energy Be Zero?

Imagine trying to confine a particle to a box. Classically, you could have it sit perfectly still at the bottom with zero energy. But quantum mechanically, this violates the uncertainty principle!

If the particle were at rest (p = 0, Ξ”p = 0), it would have definite momentum. But confining it to a box of width L means Ξ”x ≀ L. The uncertainty principle Ξ”xΒ·Ξ”p β‰₯ ℏ/2 would be violated!

Therefore, the particle must have some minimum kinetic energy (the zero-point energy E₁) just from being confined. This is a purely quantum effect with no classical analog.

3. Common Mistakes

Learn from typical errors students make when first encountering this material:

⚠️Common Mistakes to Avoid

❌

Mistake:

Thinking ψ(x) represents the probability of finding the particle at x
πŸ€”

Why it's wrong:

ψ(x) is the wave function (probability amplitude), which can be complex and even negative. Probabilities must be real and non-negative.
βœ…

Correct approach:

|ψ(x)|² represents the probability density. The probability of finding the particle in a region [a,b] is ∫ab |ψ(x)|² dx.
❌

Mistake:

Assuming the particle is "bouncing back and forth" between the walls
πŸ€”

Why it's wrong:

This classical picture is misleading. The particle doesn't have a definite trajectory. The standing wave is a superposition of left-moving and right-moving states.
βœ…

Correct approach:

The particle exists in a stationary stateβ€”the probability distribution |ψ(x)|Β² is time-independent for energy eigenstates.
❌

Mistake:

Setting boundary conditions as ψ(0) = ψ(L) = 0
πŸ€”

Why it's wrong:

While ψ(0) = 0 is correct, the condition at the right boundary should be at the wall location, not necessarily at x=L if the well isn't positioned there.
βœ…

Correct approach:

For a well from 0 to L: ψ(0) = 0 and ψ(L) = 0. These boundary conditions lead to sin(nΟ€) = 0, giving the quantization condition.

4. Comparison Tables

Side-by-side comparisons help clarify key differences:

Classical vs. Quantum: Particle in a Box

How the quantum treatment differs fundamentally from classical mechanics

AspectClassicalQuantum
EnergyAny value E β‰₯ 0 allowedQuantized: En = n²π²ℏ²/(2mLΒ²)
PositionParticle has definite position x(t)Position uncertain: described by |ψ(x)|²
Zero EnergyParticle at rest (E=0) allowedZero-point energy: E1 β‰  0 (uncertainty principle)
ProbabilityUniform probability everywhereNon-uniform: |ψ(x)|² with nodes at x=nL/k
SuperpositionNot applicableParticle can be in superposition of multiple states

5. Code Examples

Computational examples help build intuition and practical skills:

🐍

Infinite Square Well - Python Simulation

Plot wave functions and probability densities for the first three energy levels

python
import numpy as np
import matplotlib.pyplot as plt

# Parameters
L = 1.0  # Well width
N = 1000  # Number of points
x = np.linspace(0, L, N)

# Wave function for n=1,2,3
def psi_n(x, n, L):
    return np.sqrt(2/L) * np.sin(n * np.pi * x / L)

# Energy levels
def E_n(n, L, m=1, hbar=1):
    return (n**2 * np.pi**2 * hbar**2) / (2 * m * L**2)

# Plot wave functions
fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 5))

for n in [1, 2, 3]:
    psi = psi_n(x, n, L)
    prob = psi**2

    ax1.plot(x, psi, label=f'n={n}')
    ax2.plot(x, prob, label=f'n={n}')

ax1.set_xlabel('Position (x/L)')
ax1.set_ylabel('ψ(x)')
ax1.set_title('Wave Functions')
ax1.legend()
ax1.grid(True, alpha=0.3)

ax2.set_xlabel('Position (x/L)')
ax2.set_ylabel('|ψ(x)|²')
ax2.set_title('Probability Densities')
ax2.legend()
ax2.grid(True, alpha=0.3)

plt.tight_layout()
plt.show()

# Print energy levels
print("Energy Levels (in units of π²ℏ²/2mLΒ²):")
for n in range(1, 6):
    print(f"E_{n} = {n**2}E_1")
Output:
Energy Levels (in units of π²ℏ²/2mLΒ²):
E_1 = 1E_1
E_2 = 4E_1
E_3 = 9E_1
E_4 = 16E_1
E_5 = 25E_1
πŸ’‘ Run with: python script.py

6. Practice Problems with Solutions

Work through problems at your own pace. Click "Show Hint" for guidance, or "Show Solution" for the complete worked answer. Your progress is automatically saved!

πŸ“ Practice Problems

Progress: 0/3 (0%)
1
⭐ Easy

A particle is confined in a 1D infinite square well of width L = 1 nm. Calculate the energy of the ground state (n=1) in eV.

Given: melectron = 9.11 Γ— 10-31 kg, ℏ = 1.055 Γ— 10-34 JΒ·s

2
⭐⭐ Medium

For an infinite square well, show that the wave functions for different quantum numbers (n β‰  m) are orthogonal.

3
⭐⭐⭐ Hard

A particle in an infinite well (width L) is initially in the state:

Ξ¨(x,0) = A[Οˆβ‚(x) + 2Οˆβ‚‚(x)]

where ψn are the energy eigenstates.

(a) Find the normalization constant A

(b) What is the probability of measuring E₁?

(c) Find ⟨E⟩ at t=0

πŸ“Š Problem Set Statistics

Total Problems
3
Attempted
0
Completion
0%

Notice the breadcrumb navigation at the top of the page and the table of contents in the sidebar. These help you track where you are in the course and navigate efficiently.

8. Concept Glossary with Tooltips

Hover over technical terms to see definitions! For example, try hovering over these terms:

In quantum mechanics, a Hermitian operator has real eigenvalues. An eigenstate satisfies the eigenvalue equation Γ‚|ψ⟩ = a|ψ⟩.

The commutator [Γ‚, BΜ‚] = Γ‚BΜ‚ - BΜ‚Γ‚ determines whether two observables can be simultaneously measured. When operators commute, they share eigenstates.

A complete set of states allows any state to be expressed as asuperposition. The wave function collapse occurs upon measurement.

9. Downloadable Resources

Download course materials in various formats for offline study:

πŸ“₯ Downloadable Resources

Study materials for offline learning and practice

πŸ“„

Summary Sheet

Key equations, concepts, and formulas in a 2-page reference card

pdf Β· 1.2 MB
πŸ“

Problem Set

Practice problems with space for solutions (answers separate)

pdf Β· 850 KB
πŸ“š

Lecture Notes

Complete formatted notes with all derivations

pdf Β· 3.5 MB
πŸ“

LaTeX Source

Editable LaTeX source code for notes and equations

tex Β· 45 KB
πŸ““

Jupyter Notebook

Interactive Python notebook with visualizations and calculations

notebook Β· 120 KB
🐍

Python Examples

Complete code examples ready to run

code Β· 25 KB

πŸ’‘ How to use these resources:

  • β€’ Summary Sheets: Quick reference during problem-solving
  • β€’ Problem Sets: Print and practice, check solutions online
  • β€’ LaTeX Source: Modify equations for your own notes
  • β€’ Notebooks: Run interactively with Jupyter or Google Colab
  • β€’ Code Examples: Copy into your own projects

10. Reading Progress Tracking

Notice the progress bar at the top of the page and the floating progress indicator in the bottom-right corner. These track your reading progress and time spent, with estimates of time remaining!

Features:

  • Color-coded progress bar (red β†’ orange β†’ yellow β†’ green)
  • Circular progress indicator with percentage
  • Actual time spent reading tracked automatically
  • Estimated time remaining based on your reading speed
  • Motivational messages as you progress
  • Completion celebration when you reach 99%+

Press Cmd/Ctrl + K to open the global search. Search across all pages, equations, and concepts instantly!

Search capabilities:

  • πŸ“„ Search all course pages by title and content
  • πŸ“ Find equations instantly (SchrΓΆdinger, commutator, etc.)
  • πŸ’‘ Look up concepts and definitions
  • Filter results by type (pages, equations, concepts)
  • Keyboard navigation with arrow keys and Enter
  • Press ESC to close the search modal

🎯 What's Next?

These features are being rolled out across all pages in the course. Check out: