Show description
Advanced Physics: Graduate Level Course
Advanced Physics: Graduate Level Course
Advanced Physics
Graduate Level: Mathematical Physics & Modern Theory
Advanced Physics Modules
Mathematical Methods
Analytical Mechanics
Quantum Mechanics
Statistical Mechanics
Electrodynamics
Relativity Theory
Solid State Physics
Nuclear Physics
Particle Physics
Field Theory
Advanced Topics
Glossary
Mathematical Methods in Physics
Advanced physics requires sophisticated mathematical tools. These methods form the language through which physical theories are expressed and solved.
Complex Analysis
Complex Functions & Residue Theorem
f(z) = u(x,y) + iv(x,y)
Cauchy-Riemann: ∂u/∂x = ∂v/∂y, ∂u/∂y = -∂v/∂x
Residue Theorem: ∮_C f(z)dz = 2πi ∑ Res(f,zₖ)
z = x + iy (complex variable)
f(z) = analytic function
Res(f,zₖ) = residue at pole zₖ
C = closed contour
Applications: Fourier transforms, quantum scattering
Vector Calculus & Tensor Analysis
Differential Operators
Gradient: ∇φ = ∂φ/∂xᵢ êᵢ
Divergence: ∇·F = ∂Fᵢ/∂xᵢ
Curl: ∇×F = εᵢⱼₖ ∂Fₖ/∂xⱼ êᵢ
Laplacian: ∇²φ = ∂²φ/∂xᵢ∂xᵢ
Tensor: Tᵢⱼₖ... = multilinear map
εᵢⱼₖ = Levi-Civita symbol
Einstein summation convention
Metric tensor: gᵢⱼ defines spacetime geometry
Christoffel symbols: Γᵢⱼₖ = connection coefficients
Differential Equations
Special Functions & Green's Functions
Bessel: x²y'' + xy' + (x² - n²)y = 0
Legendre: (1-x²)y'' - 2xy' + l(l+1)y = 0
Hermite: y'' - 2xy' + 2ny = 0
Green's Function: L G(x,x') = δ(x-x')
Solutions appear in spherical coordinates
G(x,x') = response at x due to source at x'
Boundary conditions determine unique G
Applications: quantum mechanics, electrostatics
Group Theory
Symmetry Groups in Physics
Physical systems possess symmetries that constrain their behavior.…
Advanced Physics: Graduate Level Course
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advanced Physics: Graduate Level Course</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Computer Modern', 'Times New Roman', serif;
background: linear-gradient(135deg, #000000 0%, #1a0505 30%, #330000 70%, #000000 100%);
color: #ffffff;
line-height: 1.8;
min-height: 100vh;
}
.container {
max-width: 1300px;
margin: 0 auto;
padding: 25px;
}
h1 {
text-align: center;
color: #dc2626;
font-size: 3.5em;
margin-bottom: 15px;
text-shadow: 0 0 40px rgba(220, 38, 38, 0.8);
font-weight: bold;
letter-spacing: 2px;
}
.subtitle {
text-align: center;
color: #ef4444;
margin-bottom: 45px;
font-size: 1.4em;
font-style: italic;
font-weight: 300;
}
.nav {
background: linear-gradient(145deg, #1a0000, #330000);
border: 3px solid #dc2626;
border-radius: 20px;
padding: 30px;
margin-bottom: 40px;
backdrop-filter: blur(15px);
box-shadow: 0 0 30px rgba(220, 38, 38, 0.4);
}
.nav h2 {
color: #dc2626;
margin-bottom: 25px;
text-align: center;
font-size: 1.8em;
text-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}
.nav-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 18px;
}
.nav-item {
background: linear-gradient(45deg, rgba(220, 38, 38, 0.15), rgba(239, 68, 68, 0.2));
border: 2px solid #dc2626;
border-radius: 10px;
padding: 18px;
cursor: pointer;
transition: all 0.4s ease;
text-align: center;
font-weight: bold;
font-size: 1.05em;
}
.nav-item:hover {
background: linear-gradient(45deg, rgba(220, 38, 38, 0.3), rgba(239, 68, 68, 0.4));
transform: translateY(-4px);
box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
border-color: #ef4444;
}
.section {
background: linear-gradient(145deg, #0a0000, #1a0000, #0f0000);
border: 3px solid #b91c1c;
border-radius: 18px;
padding: 40px;
margin-bottom: 40px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}
h2 {
color: #dc2626;
font-size: 2.2em;
margin-bottom: 30px;
border-bottom: 4px solid #b91c1c;
padding-bottom: 18px;
text-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}
h3 {
color: #ef4444;
margin: 35px 0 25px 0;
font-size: 1.6em;
border-left: 6px solid #dc2626;
padding-left: 20px;
}
h4 {
color: #f87171;
margin: 30px 0 18px 0;
font-size: 1.3em;
}
.equation-box {
background: #000000;
border: 3px solid #dc2626;
border-radius: 12px;
padding: 30px;
margin: 25px 0;
text-align: center;
box-shadow: inset 0 3px 15px rgba(220, 38, 38, 0.3);
}
.equation {
font-size: 2em;
color: #ffffff;
font-family: 'Computer Modern', 'Times New Roman', serif;
margin: 15px 0;
font-weight: bold;
}
.equation-name {
color: #ef4444;
font-size: 1.3em;
margin-bottom: 15px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
}
.equation-vars {
color: #fca5a5;
font-size: 1em;
margin-top: 15px;
text-align: left;
line-height: 1.6;
background: rgba(220, 38, 38, 0.1);
padding: 15px;
border-radius: 8px;
}
.theorem-box {
background: linear-gradient(45deg, rgba(220, 38, 38, 0.2), rgba(185, 28, 28, 0.15));
border: 3px solid #b91c1c;
border-radius: 15px;
padding: 30px;
margin: 30px 0;
box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}
.theorem-title {
color: #dc2626;
font-size: 1.5em;
font-weight: bold;
margin-bottom: 20px;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
}
.derivation-box {
background: #1a0000;
border: 2px solid #b91c1c;
border-radius: 10px;
padding: 25px;
margin: 25px 0;
border-left: 8px solid #dc2626;
}
.derivation-title {
color: #ef4444;
font-weight: bold;
margin-bottom: 15px;
font-size: 1.2em;
}
.warning {
background: rgba(239, 68, 68, 0.2);
border: 3px solid #ef4444;
border-radius: 10px;
padding: 20px;
margin: 20px 0;
}
.warning::before {
content: "⚠️ ";
color: #f87171;
font-size: 1.2em;
}
.insight {
background: rgba(185, 28, 28, 0.2);
border: 2px solid #b91c1c;
border-radius: 10px;
padding: 20px;
margin: 20px 0;
}
.insight::before {
content: "💡 ";
color: #ef4444;
font-size: 1.2em;
}
.math-table {
background: #1a0000;
border: 2px solid #dc2626;
border-radius: 10px;
padding: 25px;
margin: 25px 0;
overflow-x: auto;
}
.math-table table {
width: 100%;
border-collapse: collapse;
}
.math-table th {
background: #dc2626;
color: #ffffff;
padding: 15px;
font-weight: bold;
border: 1px solid #b91c1c;
font-size: 1.1em;
}
.math-table td {
padding: 12px;
border: 1px solid #4a0000;
color: #ffffff;
text-align: center;
}
.math-table tr:nth-child(even) {
background: rgba(220, 38, 38, 0.08);
}
.diagram {
background: #000000;
border: 3px solid #b91c1c;
border-radius: 12px;
padding: 30px;
margin: 30px 0;
text-align: center;
font-family: 'Courier New', monospace;
color: #ffffff;
font-size: 1.1em;
}
.vector {
color: #dc2626;
font-weight: bold;
font-size: 1.3em;
}
.field-line {
color: #ef4444;
font-size: 1.4em;
}
.glossary {
background: linear-gradient(145deg, #1a0000, #330000);
border-radius: 15px;
padding: 30px;
margin: 30px 0;
border: 2px solid #dc2626;
}
.glossary-term {
color: #dc2626;
font-weight: bold;
font-size: 1.2em;
margin-top: 25px;
}
.glossary-def {
color: #ffffff;
margin-left: 30px;
margin-bottom: 18px;
line-height: 1.8;
}
.interactive {
background: rgba(220, 38, 38, 0.15);
border: 3px dashed #dc2626;
border-radius: 15px;
padding: 30px;
margin: 30px 0;
text-align: center;
}
.button {
background: linear-gradient(45deg, #dc2626, #b91c1c);
color: #ffffff;
border: none;
padding: 15px 30px;
border-radius: 10px;
cursor: pointer;
font-size: 1.1em;
font-weight: bold;
margin: 10px;
transition: all 0.3s ease;
box-shadow: 0 6px 12px rgba(220, 38, 38, 0.4);
}
.button:hover {
transform: scale(1.08);
box-shadow: 0 8px 16px rgba(220, 38, 38, 0.6);
background: linear-gradient(45deg, #ef4444, #dc2626);
}
.proof-steps {
background: #1a0000;
border-left: 6px solid #dc2626;
padding: 25px;
margin: 25px 0;
}
.step {
margin: 20px 0;
padding-left: 25px;
}
.step-num {
color: #dc2626;
font-weight: bold;
font-size: 1.2em;
}
.footer {
text-align: center;
color: #999999;
margin-top: 60px;
padding: 30px;
border-top: 3px solid #dc2626;
}
.highlight {
background: rgba(220, 38, 38, 0.4);
padding: 3px 8px;
border-radius: 5px;
color: #ffffff;
font-weight: bold;
}
p {
margin-bottom: 18px;
font-size: 1.05em;
}
ul, ol {
margin: 20px 0;
padding-left: 35px;
}
li {
margin-bottom: 10px;
color: #ffffff;
}
.matrix {
font-family: 'Computer Modern', 'Times New Roman', serif;
font-size: 1.2em;
display: inline-block;
text-align: center;
}
.operator {
color: #ef4444;
font-weight: bold;
font-size: 1.1em;
}
.complex {
color: #f87171;
}
</style>
</head>
<body>
<div class="container">
<h1>Advanced Physics</h1>
<div class="subtitle">Graduate Level: Mathematical Physics & Modern Theory</div>
<div class="nav">
<h2>Advanced Physics Modules</h2>
<div class="nav-grid">
<div class="nav-item" onclick="scrollToSection('mathematical')">Mathematical Methods</div>
<div class="nav-item" onclick="scrollToSection('analytical')">Analytical Mechanics</div>
<div class="nav-item" onclick="scrollToSection('quantum')">Quantum Mechanics</div>
<div class="nav-item" onclick="scrollToSection('statistical')">Statistical Mechanics</div>
<div class="nav-item" onclick="scrollToSection('electrodynamics')">Electrodynamics</div>
<div class="nav-item" onclick="scrollToSection('relativity')">Relativity Theory</div>
<div class="nav-item" onclick="scrollToSection('solid')">Solid State Physics</div>
<div class="nav-item" onclick="scrollToSection('nuclear')">Nuclear Physics</div>
<div class="nav-item" onclick="scrollToSection('particle')">Particle Physics</div>
<div class="nav-item" onclick="scrollToSection('field')">Field Theory</div>
<div class="nav-item" onclick="scrollToSection('advanced-topics')">Advanced Topics</div>
<div class="nav-item" onclick="scrollToSection('glossary')">Glossary</div>
</div>
</div>
<div class="section" id="mathematical">
<h2>Mathematical Methods in Physics</h2>
<p>Advanced physics requires sophisticated mathematical tools. These methods form the language through which physical theories are expressed and solved.</p>
<h3>Complex Analysis</h3>
<div class="equation-box">
<div class="equation-name">Complex Functions & Residue Theorem</div>
<div class="equation">
f(z) = u(x,y) + iv(x,y)<br>
Cauchy-Riemann: ∂u/∂x = ∂v/∂y, ∂u/∂y = -∂v/∂x<br>
Residue Theorem: ∮_C f(z)dz = 2πi ∑ Res(f,zₖ)
</div>
<div class="equation-vars">
z = x + iy (complex variable)<br>
f(z) = analytic function<br>
Res(f,zₖ) = residue at pole zₖ<br>
C = closed contour<br>
Applications: Fourier transforms, quantum scattering
</div>
</div>
<h3>Vector Calculus & Tensor Analysis</h3>
<div class="equation-box">
<div class="equation-name">Differential Operators</div>
<div class="equation">
Gradient: ∇φ = ∂φ/∂xᵢ êᵢ<br>
Divergence: ∇·F = ∂Fᵢ/∂xᵢ<br>
Curl: ∇×F = εᵢⱼₖ ∂Fₖ/∂xⱼ êᵢ<br>
Laplacian: ∇²φ = ∂²φ/∂xᵢ∂xᵢ<br>
Tensor: Tᵢⱼₖ... = multilinear map
</div>
<div class="equation-vars">
εᵢⱼₖ = Levi-Civita symbol<br>
Einstein summation convention<br>
Metric tensor: gᵢⱼ defines spacetime geometry<br>
Christoffel symbols: Γᵢⱼₖ = connection coefficients
</div>
</div>
<h3>Differential Equations</h3>
<div class="equation-box">
<div class="equation-name">Special Functions & Green's Functions</div>
<div class="equation">
Bessel: x²y'' + xy' + (x² - n²)y = 0<br>
Legendre: (1-x²)y'' - 2xy' + l(l+1)y = 0<br>
Hermite: y'' - 2xy' + 2ny = 0<br>
Green's Function: L G(x,x') = δ(x-x')
</div>
<div class="equation-vars">
Solutions appear in spherical coordinates<br>
G(x,x') = response at x due to source at x'<br>
Boundary conditions determine unique G<br>
Applications: quantum mechanics, electrostatics
</div>
</div>
<h3>Group Theory</h3>
<div class="theorem-box">
<div class="theorem-title">Symmetry Groups in Physics</div>
<p>Physical systems possess symmetries that constrain their behavior. Group theory provides the mathematical framework for understanding these constraints.</p>
<div class="equation">
Lie Group: continuous symmetry group<br>
Generators: Tₐ = -i ∂/∂θₐ|_{θ=0}<br>
Commutation: [Tₐ, Tᵦ] = ifₐᵦᶜ Tᶜ<br>
Representations: D(g) acting on vector spaces
</div>
</div>
</div>
<div class="section" id="analytical">
<h2>Analytical Mechanics</h2>
<p>Lagrangian and Hamiltonian mechanics provide powerful reformulations of Newtonian mechanics, essential for quantum field theory and statistical mechanics.</p>
<h3>Lagrangian Mechanics</h3>
<div class="equation-box">
<div class="equation-name">Principle of Least Action</div>
<div class="equation">
Action: S = ∫ L(q,q̇,t) dt<br>
Lagrangian: L = T - V<br>
Euler-Lagrange: d/dt(∂L/∂q̇ᵢ) - ∂L/∂qᵢ = 0<br>
Noether's Theorem: symmetry → conservation law
</div>
<div class="equation-vars">
qᵢ = generalized coordinates<br>
q̇ᵢ = generalized velocities<br>
T = kinetic energy, V = potential energy<br>
Each symmetry generates conserved quantity
</div>
</div>
<h3>Hamiltonian Mechanics</h3>
<div class="equation-box">
<div class="equation-name">Phase Space Dynamics</div>
<div class="equation">
Hamiltonian: H = pᵢq̇ᵢ - L<br>
Hamilton's Equations: q̇ᵢ = ∂H/∂pᵢ, ṗᵢ = -∂H/∂qᵢ<br>
Poisson Brackets: {f,g} = ∂f/∂qᵢ ∂g/∂pᵢ - ∂f/∂pᵢ ∂g/∂qᵢ<br>
Canonical Transformations: {Q,P} = {q,p}
</div>
<div class="equation-vars">
pᵢ = ∂L/∂q̇ᵢ (conjugate momentum)<br>
Phase space = (q,p) coordinates<br>
Liouville theorem: phase space density conserved<br>
Symplectic structure: ω = dpᵢ ∧ dqᵢ
</div>
</div>
<div class="derivation-box">
<div class="derivation-title">Example: Central Force Problem</div>
<div class="proof-steps">
<div class="step">
<span class="step-num">Step 1:</span> Lagrangian in spherical coordinates<br>
L = ½m(ṙ² + r²θ̇² + r²sin²θ φ̇²) - V(r)
</div>
<div class="step">
<span class="step-num">Step 2:</span> Conserved quantities from symmetry<br>
Energy: E = ½m(ṙ² + r²θ̇²) + L²/(2mr²) + V(r)<br>
Angular momentum: L = mr²θ̇ (θ-component)
</div>
<div class="step">
<span class="step-num">Step 3:</span> Effective potential<br>
V_eff(r) = V(r) + L²/(2mr²)<br>
Radial equation becomes 1D problem
</div>
</div>
</div>
</div>
<div class="section" id="quantum">
<h2>Quantum Mechanics</h2>
<p>Quantum mechanics describes the behavior of matter and energy at atomic scales, where classical physics breaks down and probabilistic descriptions become necessary.</p>
<h3>Mathematical Formalism</h3>
<div class="equation-box">
<div class="equation-name">Hilbert Space & Operators</div>
<div class="equation">
State Vector: |ψ⟩ ∈ ℋ<br>
Schrödinger Equation: iℏ ∂|ψ⟩/∂t = Ĥ|ψ⟩<br>
Observable: † =  (Hermitian operator)<br>
Eigenvalue Equation: Â|aₙ⟩ = aₙ|aₙ⟩
</div>
<div class="equation-vars">
ℋ = complex Hilbert space<br>
Ĥ = Hamiltonian operator<br>
|aₙ⟩ = eigenstate with eigenvalue aₙ<br>
⟨ψ|ψ⟩ = 1 (normalization condition)
</div>
</div>
<h3>Position & Momentum Representations</h3>
<div class="equation-box">
<div class="equation-name">Wave Function & Operators</div>
<div class="equation">
Position: ψ(x) = ⟨x|ψ⟩<br>
Momentum: ψ̃(p) = ⟨p|ψ⟩<br>
Position Operator: x̂ψ(x) = xψ(x)<br>
Momentum Operator: p̂ψ(x) = -iℏ ∂ψ/∂x<br>
Commutator: [x̂,p̂] = iℏ
</div>
<div class="equation-vars">
ψ(x) = wave function in position<br>
|ψ(x)|² = probability density<br>
Fourier transform: ψ̃(p) = ∫ ψ(x)e^(-ipx/ℏ) dx<br>
Uncertainty: ΔxΔp ≥ ℏ/2
</div>
</div>
<h3>Time Evolution & Dynamics</h3>
<div class="theorem-box">
<div class="theorem-title">Time Evolution Operator</div>
<p>The unitary operator U(t) evolves quantum states while preserving probability normalization.</p>
<div class="equation">
|ψ(t)⟩ = Û(t)|ψ(0)⟩<br>
Û(t) = exp(-iĤt/ℏ) (time-independent H)<br>
Û†(t)Û(t) = 1 (unitarity)<br>
Stone's Theorem: Ĥ generates U(t)
</div>
</div>
<h3>Angular Momentum</h3>
<div class="equation-box">
<div class="equation-name">Angular Momentum Algebra</div>
<div class="equation">
[L̂ᵢ, L̂ⱼ] = iℏεᵢⱼₖL̂ₖ<br>
L̂² = L̂ₓ² + L̂ᵧ² + L̂ᵤ²<br>
[L̂², L̂ᵤ] = 0<br>
Eigenvalues: L̂²|l,m⟩ = ℏ²l(l+1)|l,m⟩<br>
L̂ᵤ|l,m⟩ = ℏm|l,m⟩
</div>
<div class="equation-vars">
l = 0,1,2,... (orbital quantum number)<br>
m = -l,-l+1,...,l-1,l (magnetic quantum number)<br>
Spherical harmonics: Yₗᵐ(θ,φ) = ⟨θ,φ|l,m⟩<br>
Spin: intrinsic angular momentum (s = ½ for electrons)
</div>
</div>
<h3>Perturbation Theory</h3>
<div class="equation-box">
<div class="equation-name">Time-Independent Perturbation</div>
<div class="equation">
Ĥ = Ĥ₀ + λV̂<br>
E_n^(0) + λE_n^(1) + λ²E_n^(2) + ...<br>
E_n^(1) = ⟨n⁰|V̂|n⁰⟩<br>
E_n^(2) = ∑_{k≠n} |⟨k⁰|V̂|n⁰⟩|²/(E_n^(0) - E_k^(0))
</div>
<div class="equation-vars">
Ĥ₀ = unperturbed Hamiltonian<br>
V̂ = perturbation (small)<br>
|n⁰⟩ = unperturbed eigenstates<br>
Convergence requires |λ| << 1
</div>
</div>
<div class="derivation-box">
<div class="derivation-title">Example: Hydrogen Atom</div>
<p>The hydrogen atom is exactly solvable and demonstrates key quantum mechanical principles.</p>
<div class="equation">
Ĥ = -ℏ²∇²/(2m) - ke²/r<br>
E_n = -13.6 eV/n²<br>
R_nl(r)Y_l^m(θ,φ)<br>
Quantum numbers: n,l,m,s
</div>
</div>
</div>
<div class="section" id="statistical">
<h2>Statistical Mechanics</h2>
<p>Statistical mechanics bridges microscopic quantum/classical mechanics with macroscopic thermodynamics, explaining emergent collective behavior.</p>
<h3>Statistical Ensembles</h3>
<div class="equation-box">
<div class="equation-name">Ensemble Theory</div>
<div class="equation">
Microcanonical: Ω(E,V,N) = density of states<br>
Canonical: Z = ∑ᵢ e^(-βEᵢ) (partition function)<br>
Grand Canonical: Ξ = ∑_{N,i} e^(-β(Eᵢ-μN))<br>
Entropy: S = k_B ln Ω = -k_B ∑ᵢ pᵢ ln pᵢ
</div>
<div class="equation-vars">
β = 1/(k_B T) (inverse temperature)<br>
μ = chemical potential<br>
pᵢ = probability of microstate i<br>
Equipartition: ⟨E⟩ = k_B T per degree of freedom
</div>
</div>
<h3>Quantum Statistics</h3>
<div class="equation-box">
<div class="equation-name">Fermi-Dirac & Bose-Einstein</div>
<div class="equation">
Fermi-Dirac: n_F(E) = 1/(e^(β(E-μ)) + 1)<br>
Bose-Einstein: n_B(E) = 1/(e^(β(E-μ)) - 1)<br>
Pauli Exclusion: max 1 fermion per state<br>
Bose Condensation: macroscopic ground state occupation
</div>
<div class="equation-vars">
n(E) = average occupation number<br>
Fermions: electrons, protons, neutrons (half-integer spin)<br>
Bosons: photons, phonons, atoms (integer spin)<br>
Fermi energy: E_F = μ at T = 0
</div>
</div>
<h3>Phase Transitions</h3>
<div class="theorem-box">
<div class="theorem-title">Critical Phenomena & Scaling</div>
<p>Phase transitions exhibit universal behavior near critical points, independent of microscopic details.</p>
<div class="equation">
Order Parameter: ⟨φ⟩ ∝ |T-T_c|^β<br>
Susceptibility: χ ∝ |T-T_c|^(-γ)<br>
Correlation Length: ξ ∝ |T-T_c|^(-ν)<br>
Scaling Relations: α + 2β + γ = 2
</div>
</div>
<div class="derivation-box">
<div class="derivation-title">Example: Ising Model</div>
<p>The Ising model is the simplest model showing ferromagnetic phase transition.</p>
<div class="equation">
H = -J ∑_{⟨i,j⟩} σᵢσⱼ - h ∑ᵢ σᵢ<br>
σᵢ = ±1 (spin up/down)<br>
1D: T_c = 0 (no phase transition)<br>
2D: T_c = 2J/(k_B ln(1+√2)) (Onsager)
</div>
</div>
</div>
<div class="section" id="electrodynamics">
<h2>Classical Electrodynamics</h2>
<p>Maxwell's equations unify electricity and magnetism into a single electromagnetic field theory, predicting light as electromagnetic waves.</p>
<h3>Maxwell's Equations</h3>
<div class="equation-box">
<div class="equation-name">Fundamental Field Equations</div>
<div class="equation">
∇·E = ρ/ε₀ (Gauss)<br>
∇·B = 0 (No magnetic monopoles)<br>
∇×E = -∂B/∂t (Faraday)<br>
∇×B = μ₀J + μ₀ε₀∂E/∂t (Ampère-Maxwell)
</div>
<div class="equation-vars">
E = electric field (V/m)<br>
B = magnetic field (T)<br>
ρ = charge density (C/m³)<br>
J = current density (A/m²)<br>
c = 1/√(μ₀ε₀) = speed of light
</div>
</div>
<h3>Electromagnetic Waves</h3>
<div class="equation-box">
<div class="equation-name">Wave Solutions</div>
<div class="equation">
Wave Equation: ∇²E - μ₀ε₀∂²E/∂t² = 0<br>
Plane Wave: E = E₀ cos(k·r - ωt + φ)<br>
Dispersion: ω = c|k| (vacuum)<br>
Poynting Vector: S = (E×B)/μ₀
</div>
<div class="equation-vars">
k = wave vector<br>
ω = angular frequency<br>
S = energy flux density (W/m²)<br>
E ⟂ B ⟂ k (transverse wave)
</div>
</div>
<h3>Electromagnetic Potentials</h3>
<div class="equation-box">
<div class="equation-name">Gauge Theory</div>
<div class="equation">
E = -∇φ - ∂A/∂t<br>
B = ∇×A<br>
Gauge Transformation: A' = A + ∇χ, φ' = φ - ∂χ/∂t<br>
Lorenz Gauge: ∇·A + μ₀ε₀∂φ/∂t = 0
</div>
<div class="equation-vars">
φ = electric potential (V)<br>
A = vector potential (V·s/m)<br>
χ = gauge function (arbitrary)<br>
Physical observables gauge-invariant
</div>
</div>
<h3>Radiation Theory</h3>
<div class="equation-box">
<div class="equation-name">Larmor Formula & Radiation</div>
<div class="equation">
Power Radiated: P = (μ₀q²a²)/(6πc)<br>
Electric Dipole: p(t) = qr(t)<br>
Radiation Field: E ∝ (n×(n×p̈))/r<br>
Angular Distribution: dP/dΩ ∝ sin²θ
</div>
<div class="equation-vars">
a = acceleration of charge<br>
p̈ = second time derivative of dipole moment<br>
n = unit vector from source to observation point<br>
θ = angle from acceleration direction
</div>
</div>
</div>
<div class="section" id="relativity">
<h2>Relativity Theory</h2>
<p>Einstein's theories of special and general relativity revolutionized our understanding of space, time, gravity, and the universe itself.</p>
<h3>Special Relativity</h3>
<div class="equation-box">
<div class="equation-name">Lorentz Transformations</div>
<div class="equation">
x' = γ(x - vt), t' = γ(t - vx/c²)<br>
γ = 1/√(1 - v²/c²) (Lorentz factor)<br>
Interval: s² = c²t² - x² - y² - z²<br>
Four-velocity: u^μ = γ(c, v)
</div>
<div class="equation-vars">
μ = 0,1,2,3 (spacetime indices)<br>
Metric: η_μν = diag(1,-1,-1,-1)<br>
Proper time: dτ = dt/γ<br>
Four-momentum: p^μ = (E/c, p)
</div>
</div>
<h3>General Relativity</h3>
<div class="equation-box">
<div class="equation-name">Einstein Field Equations</div>
<div class="equation">
G_μν + Λg_μν = (8πG/c⁴)T_μν<br>
Einstein Tensor: G_μν = R_μν - ½Rg_μν<br>
Ricci Curvature: R_μν = R^λ_μλν<br>
Geodesic: d²x^μ/dτ² + Γ^μ_αβ dx^α/dτ dx^β/dτ = 0
</div>
<div class="equation-vars">
g_μν = metric tensor<br>
R_μν = Ricci tensor<br>
R = scalar curvature<br>
T_μν = stress-energy tensor<br>
Λ = cosmological constant<br>
Γ^μ_αβ = Christoffel symbols
</div>
</div>
<h3>Black Holes & Cosmology</h3>
<div class="theorem-box">
<div class="theorem-title">Schwarzschild Solution</div>
<p>The Schwarzschild metric describes spacetime around a spherically symmetric mass.</p>
<div class="equation">
ds² = (1-r_s/r)c²dt² - dr²/(1-r_s/r) - r²dΩ²<br>
Schwarzschild Radius: r_s = 2GM/c²<br>
Event Horizon: r = r_s<br>
Hawking Temperature: T = ℏc³/(8πGMk_B)
</div>
</div>
<div class="equation-box">
<div class="equation-name">Cosmological Models</div>
<div class="equation">
Friedmann: (ȧ/a)² = (8πG/3)ρ - kc²/a² + Λc²/3<br>
Scale Factor: a(t)<br>
Hubble Parameter: H = ȧ/a<br>
Critical Density: ρ_c = 3H²/(8πG)
</div>
<div class="equation-vars">
a(t) = cosmic scale factor<br>
k = -1,0,+1 (curvature parameter)<br>
ρ = matter/energy density<br>
Λ = dark energy
</div>
</div>
</div>
<div class="section" id="solid">
<h2>Solid State Physics</h2>
<p>Solid state physics studies the properties of crystalline materials, explaining mechanical, thermal, electrical, and optical properties from atomic structure.</p>
<h3>Crystal Structure & Lattices</h3>
<div class="equation-box">
<div class="equation-name">Lattice Theory</div>
<div class="equation">
Bravais Lattice: R = n₁a₁ + n₂a₂ + n₃a₃<br>
Structure Factor: S_hkl = ∑ⱼ fⱼ e^(2πi(hxⱼ+kyⱼ+lzⱼ))<br>
Reciprocal Lattice: G = hb₁ + kb₂ + lb₃<br>
Brillouin Zone: primitive cell in reciprocal space
</div>
<div class="equation-vars">
aᵢ = primitive lattice vectors<br>
bᵢ = reciprocal lattice vectors<br>
fⱼ = atomic form factor<br>
hkl = Miller indices
</div>
</div>
<h3>Electronic Band Structure</h3>
<div class="equation-box">
<div class="equation-name">Bloch Theorem & Energy Bands</div>
<div class="equation">
Bloch Wave: ψ_k(r) = u_k(r)e^(ik·r)<br>
Periodic Potential: V(r + R) = V(r)<br>
Energy Bands: E_n(k)<br>
Density of States: g(E) = ∑_k δ(E - E_n(k))
</div>
<div class="equation-vars">
u_k(r) = periodic Bloch function<br>
k = crystal momentum (reduced zone)<br>
n = band index<br>
Band gaps separate allowed energies
</div>
</div>
<h3>Transport Properties</h3>
<div class="equation-box">
<div class="equation-name">Electrical & Thermal Conductivity</div>
<div class="equation">
Ohm's Law: J = σE<br>
Drude Model: σ = ne²τ/(m*)<br>
Hall Effect: R_H = 1/(ne)<br>
Wiedemann-Franz: κ/σT = π²k_B²/(3e²)
</div>
<div class="equation-vars">
J = current density<br>
σ = electrical conductivity<br>
τ = scattering time<br>
m* = effective mass<br>
κ = thermal conductivity<br>
R_H = Hall coefficient
</div>
</div>
</div>
<div class="section" id="nuclear">
<h2>Nuclear Physics</h2>
<p>Nuclear physics studies atomic nuclei, their components, and their interactions. Understanding nuclear structure explains radioactivity, fusion, and fission.</p>
<h3>Nuclear Structure</h3>
<div class="equation-box">
<div class="equation-name">Nuclear Models</div>
<div class="equation">
Binding Energy: BE = (Zm_H + Nm_n - M)c²<br>
Semi-Empirical: BE = a_v A - a_s A^(2/3) - a_c Z²/A^(1/3)...<br>
Shell Model: magic numbers Z,N = 2,8,20,28,50,82,126<br>
Liquid Drop: nuclear matter ≈ incompressible fluid
</div>
<div class="equation-vars">
A = mass number (Z + N)<br>
Z = proton number<br>
N = neutron number<br>
Magic numbers = closed shells
</div>
</div>
<h3>Radioactive Decay</h3>
<div class="equation-box">
<div class="equation-name">Decay Laws</div>
<div class="equation">
N(t) = N₀e^(-λt)<br>
Half-life: t₁/₂ = ln(2)/λ<br>
Activity: A = λN = dN/dt<br>
Q-value: Q = (m_initial - m_final)c²
</div>
<div class="equation-vars">
λ = decay constant<br>
N₀ = initial number of nuclei<br>
A = activity (Bq = disintegrations/sec)<br>
Q = energy released in decay
</div>
</div>
<h3>Nuclear Reactions</h3>
<div class="equation-box">
<div class="equation-name">Reaction Kinematics</div>
<div class="equation">
Q-value: Q = (m_a + m_A - m_b - m_B)c²<br>
Threshold: T_th = -Q(m_a + m_A + m_b + m_B)/(2m_A)<br>
Cross Section: σ = N_reactions/(N_projectiles × N_targets/Area)<br>
Fusion: light nuclei combine → heavier + energy
</div>
<div class="equation-vars">
a + A → b + B (reaction notation)<br>
σ = effective target area<br>
Coulomb barrier inhibits fusion<br>
Tunnel effect enables low-energy fusion
</div>
</div>
</div>
<div class="section" id="particle">
<h2>Particle Physics</h2>
<p>Particle physics investigates the fundamental constituents of matter and the forces between them, seeking the most basic laws of nature.</p>
<h3>Standard Model</h3>
<div class="equation-box">
<div class="equation-name">Fundamental Particles & Forces</div>
<div class="equation">
Quarks: u,d,c,s,t,b (6 flavors × 3 colors)<br>
Leptons: e,μ,τ,ν_e,ν_μ,ν_τ<br>
Gauge Bosons: γ,W±,Z⁰,g<br>
Higgs Boson: H⁰ (mass generation)
</div>
<div class="equation-vars">
Strong Force: gluons (g), SU(3) symmetry<br>
Weak Force: W±,Z⁰ bosons, SU(2) symmetry<br>
Electromagnetic: photon (γ), U(1) symmetry<br>
Color confinement: isolated quarks don't exist
</div>
</div>
<h3>Quantum Chromodynamics (QCD)</h3>
<div class="equation-box">
<div class="equation-name">Strong Force Theory</div>
<div class="equation">
QCD Lagrangian: ℒ = -¼F^a_μν F^aμν + ψ̄(iD - m)ψ<br>
Covariant Derivative: D_μ = ∂_μ + ig_s A^a_μ T^a<br>
Field Strength: F^a_μν = ∂_μ A^a_ν - ∂_ν A^a_μ + g_s f^abc A^b_μ A^c_ν<br>
Running Coupling: g_s(μ) decreases with energy
</div>
<div class="equation-vars">
A^a_μ = gluon field (a = 1...8)<br>
T^a = SU(3) generators<br>
f^abc = structure constants<br>
Asymptotic freedom: α_s → 0 at high energy
</div>
</div>
<h3>Electroweak Theory</h3>
<div class="theorem-box">
<div class="theorem-title">Spontaneous Symmetry Breaking</div>
<p>The Higgs mechanism breaks electroweak symmetry while preserving gauge invariance, giving mass to W and Z bosons.</p>
<div class="equation">
Higgs Potential: V(φ) = μ²φ†φ + λ(φ†φ)²<br>
Vacuum: ⟨φ⟩ = v/√2, v = 246 GeV<br>
Gauge Boson Masses: M_W = gv/2, M_Z = √(g² + g'²)v/2<br>
Fermion Masses: m_f = y_f v/√2
</div>
</div>
<div class="derivation-box">
<div class="derivation-title">Example: β Decay</div>
<p>Beta decay demonstrates weak force interactions and neutrino physics.</p>
<div class="equation">
n → p + e⁻ + ν̄_e<br>
d → u + e⁻ + ν̄_e (quark level)<br>
Lifetime: τ ∝ 1/G_F² (Fermi constant)<br>
Parity Violation: weak force distinguishes left/right
</div>
</div>
</div>
<div class="section" id="field">
<h2>Quantum Field Theory</h2>
<p>Quantum field theory unifies quantum mechanics with special relativity, describing particles as excitations of underlying fields.</p>
<h3>Second Quantization</h3>
<div class="equation-box">
<div class="equation-name">Field Operators</div>
<div class="equation">
Field Expansion: ψ̂(x) = ∑_k [a_k u_k(x) + b†_k v_k(x)]<br>
Anticommutators: {ψ̂(x), ψ̂†(y)} = δ³(x-y)<br>
Vacuum: a_k|0⟩ = 0, ⟨0|0⟩ = 1<br>
Fock Space: |n₁,n₂,...⟩ (occupation number basis)
</div>
<div class="equation-vars">
a_k, a†_k = annihilation, creation operators<br>
u_k, v_k = positive, negative energy solutions<br>
Fermions: anticommuting fields<br>
Bosons: commuting fields
</div>
</div>
<h3>Path Integral Formulation</h3>
<div class="equation-box">
<div class="equation-name">Feynman Path Integrals</div>
<div class="equation">
Amplitude: ⟨f|i⟩ = ∫ Dφ e^(iS[φ]/ℏ)<br>
Action: S[φ] = ∫ ℒ(φ,∂φ) d⁴x<br>
Green's Functions: ⟨0|T{φ(x₁)...φ(xₙ)}|0⟩<br>
Wick's Theorem: time-ordered products → contractions
</div>
<div class="equation-vars">
Dφ = functional integration measure<br>
T = time-ordering operator<br>
Contractions = free field propagators<br>
Perturbation theory: expand around free field
</div>
</div>
<h3>Renormalization</h3>
<div class="theorem-box">
<div class="theorem-title">Renormalization Group</div>
<p>Renormalization removes infinities and reveals the scale-dependence of coupling constants.</p>
<div class="equation">
β-function: β(g) = μ dg/dμ<br>
RG Equation: μ ∂G/∂μ + β(g) ∂G/∂g = 0<br>
Fixed Points: β(g*) = 0<br>
Anomalous Dimension: γ(g) = μ d ln Z/dμ
</div>
</div>
</div>
<div class="section" id="advanced-topics">
<h2>Advanced Topics & Frontiers</h2>
<div class="theorem-box">
<div class="theorem-title">String Theory</div>
<p>String theory proposes fundamental particles are 1-dimensional strings rather than point particles.</p>
<div class="equation">
Nambu-Goto Action: S = -T ∫ dσdτ √(-det g_αβ)<br>
World Sheet: parametrized by σ,τ<br>
Extra Dimensions: 10D or 11D spacetime<br>
Dualities: different theories describe same physics
</div>
</div>
<div class="theorem-box">
<div class="theorem-title">Condensed Matter Analogies</div>
<p>Many-body systems exhibit emergent phenomena that mirror fundamental physics.</p>
<div class="equation">
Topological Order: anyons, fractional statistics<br>
Quantum Phase Transitions: T = 0 transitions<br>
Emergent Gauge Fields: spin liquids<br>
Holographic Duality: AdS/CFT correspondence
</div>
</div>
<h3>Quantum Information & Computing</h3>
<div class="equation-box">
<div class="equation-name">Quantum Information Theory</div>
<div class="equation">
Qubit: |ψ⟩ = α|0⟩ + β|1⟩<br>
Entanglement: |Φ⁺⟩ = (|00⟩ + |11⟩)/√2<br>
No-Cloning: cannot copy arbitrary quantum states<br>
Quantum Error Correction: protect against decoherence
</div>
<div class="equation-vars">
|α|² + |β|² = 1 (normalization)<br>
Bell states: maximally entangled<br>
Decoherence: environmental coupling<br>
Fault-tolerant computing: threshold theorem
</div>
</div>
</div>
<div class="section">
<h2>Research Methods & Problem Solving</h2>
<div class="insight">
<h3>Advanced Problem-Solving Strategy</h3>
<ol>
<li><strong>Identify Symmetries:</strong> What conservation laws apply? What approximations are valid?</li>
<li><strong>Choose Formalism:</strong> Lagrangian, Hamiltonian, field theory, statistical mechanics?</li>
<li><strong>Mathematical Tools:</strong> Perturbation theory, group theory, complex analysis?</li>
<li><strong>Physical Insight:</strong> What does the result mean physically? Does it make sense?</li>
<li><strong>Limiting Cases:</strong> Does it reduce to known results in appropriate limits?</li>
</ol>
</div>
<div class="warning">
<strong>Common Advanced Pitfalls:</strong> Ignoring operator ordering, mixing classical and quantum reasoning, forgetting factor of ℏ or c, confusing different representations, not checking dimensions in relativistic calculations.
</div>
<div class="interactive">
<h4>Advanced Physics Toolkit</h4>
<p>Access essential tools for graduate-level physics:</p>
<button class="button" onclick="showConstants()">Physical Constants</button>
<button class="button" onclick="showUnits()">Unit Systems</button>
<button class="button" onclick="showMath()">Mathematical Relations</button>
<div id="reference-content" style="display: none; margin-top: 20px; text-align: left;">
<!-- Dynamic content will appear here -->
</div>
</div>
</div>
<div class="section" id="glossary">
<h2>Advanced Physics Glossary</h2>
<div class="glossary">
<div class="glossary-term">Adiabatic Process</div>
<div class="glossary-def">Process occurring slowly compared to system's internal timescales, allowing system to remain in instantaneous eigenstate.</div>
<div class="glossary-term">Anomaly</div>
<div class="glossary-def">Breakdown of classical symmetry at quantum level due to regularization and renormalization procedures.</div>
<div class="glossary-term">Berry Phase</div>
<div class="glossary-def">Geometric phase acquired by wavefunction during adiabatic evolution around closed path in parameter space.</div>
<div class="glossary-term">Chiral Symmetry</div>
<div class="glossary-def">Symmetry under separate transformations of left and right-handed fermion components.</div>
<div class="glossary-term">Decoherence</div>
<div class="glossary-def">Loss of quantum coherence due to entanglement with environment, causing apparent wavefunction collapse.</div>
<div class="glossary-term">Effective Field Theory</div>
<div class="glossary-def">Low-energy approximation to more fundamental theory, valid below some energy scale.</div>
<div class="glossary-term">Gauge Invariance</div>
<div class="glossary-def">Physical independence from choice of gauge (unphysical degrees of freedom in field description).</div>
<div class="glossary-term">Hamiltonian</div>
<div class="glossary-def">Generator of time evolution; total energy of system expressed in terms of canonical coordinates.</div>
<div class="glossary-term">Instanton</div>
<div class="glossary-def">Non-trivial classical solution to field equations in Euclidean spacetime, important for tunneling processes.</div>
<div class="glossary-term">Locality</div>
<div class="glossary-def">Principle that objects are only influenced by their immediate surroundings; no action-at-a-distance.</div>
<div class="glossary-term">Majorana Fermion</div>
<div class="glossary-def">Fermion that is its own antiparticle; important for topological quantum computing.</div>
<div class="glossary-term">Operator Ordering</div>
<div class="glossary-def">Prescription for arranging non-commuting operators in quantum expressions; affects physical results.</div>
<div class="glossary-term">Partition Function</div>
<div class="glossary-def">Sum over all states weighted by Boltzmann factors; encodes all thermodynamic information.</div>
<div class="glossary-term">Quantum Coherence</div>
<div class="glossary-def">Maintenance of definite phase relationships between different components of quantum superposition.</div>
<div class="glossary-term">Renormalization</div>
<div class="glossary-def">Procedure to remove infinities from quantum field theory calculations while preserving finite physical results.</div>
<div class="glossary-term">Spontaneous Symmetry Breaking</div>
<div class="glossary-def">Phenomenon where symmetric Lagrangian has asymmetric ground state, generating masses and interactions.</div>
<div class="glossary-term">Topological Order</div>
<div class="glossary-def">Quantum state of matter with ground state degeneracy that depends on system topology.</div>
<div class="glossary-term">Unitarity</div>
<div class="glossary-def">Preservation of probability in quantum evolution; UU† = 1 for evolution operator U.</div>
<div class="glossary-term">Vacuum Expectation Value</div>
<div class="glossary-def">Expectation value of field operator in ground state; ⟨0|φ̂|0⟩, crucial for symmetry breaking.</div>
<div class="glossary-term">Ward Identity</div>
<div class="glossary-def">Relation between Green's functions that follows from gauge symmetry; ensures gauge invariance of S-matrix.</div>
<div class="glossary-term">Yukawa Coupling</div>
<div class="glossary-def">Interaction term coupling fermions to scalar fields; generates fermion masses after symmetry breaking.</div>
</div>
</div>
<div class="footer">
<p>Advanced Physics Course | Mathematical Foundations of Modern Theory</p>
<p>From Classical Field Theory to Quantum Gravity</p>
</div>
</div>
<script>
function scrollToSection(id) {
document.getElementById(id).scrollIntoView({
behavior: 'smooth'
});
}
function showConstants() {
const content = document.getElementById('reference-content');
content.style.display = 'block';
content.innerHTML = `
<h4 style="color: #dc2626;">Fundamental Physical Constants (SI)</h4>
<div style="background: #1a0000; padding: 15px; border-radius: 8px; font-family: monospace;">
<strong>Universal:</strong><br>
c = 299,792,458 m/s (exact, defines meter)<br>
ℏ = 1.054571817... × 10⁻³⁴ J·s (exact)<br>
G = 6.67430 × 10⁻¹¹ m³/kg·s²<br>
k_B = 1.380649 × 10⁻²³ J/K (exact)<br><br>
<strong>Electromagnetic:</strong><br>
e = 1.602176634 × 10⁻¹⁹ C (exact)<br>
ε₀ = 8.8541878128... × 10⁻¹² F/m<br>
μ₀ = 1.25663706212... × 10⁻⁶ H/m<br>
α = 7.2973525693 × 10⁻³ (fine structure)<br><br>
<strong>Particle Masses:</strong><br>
m_e = 9.1093837015 × 10⁻³¹ kg<br>
m_p = 1.67262192369 × 10⁻²⁷ kg<br>
m_n = 1.67492749804 × 10⁻²⁷ kg<br>
u = 1.66053906660 × 10⁻²⁷ kg (atomic mass unit)
</div>
`;
}
function showUnits() {
const content = document.getElementById('reference-content');
content.style.display = 'block';
content.innerHTML = `
<h4 style="color: #dc2626;">Natural Units & Conversions</h4>
<div style="background: #1a0000; padding: 15px; border-radius: 8px; font-family: monospace;">
<strong>Natural Units (ℏ = c = k_B = 1):</strong><br>
[Energy] = [Mass] = [Temperature] = [1/Length] = [1/Time]<br>
GeV = 1.602 × 10⁻¹⁰ J<br>
ℏc = 197.3 MeV·fm<br>
k_B T_room ≈ 25 meV<br><br>
<strong>Gaussian Units (ℏ = c = 1):</strong><br>
|e|² = 4πα ≈ 1/37<br>
No ε₀, μ₀ factors<br>
E and B same dimensions<br><br>
<strong>Planck Units:</strong><br>
l_P = √(Gℏ/c³) = 1.616 × 10⁻³⁵ m<br>
t_P = l_P/c = 5.391 × 10⁻⁴⁴ s<br>
m_P = √(ℏc/G) = 2.176 × 10⁻⁸ kg<br>
E_P = m_P c² = 1.956 × 10⁹ J
</div>
`;
}
function showMath() {
const content = document.getElementById('reference-content');
content.style.display = 'block';
content.innerHTML = `
<h4 style="color: #dc2626;">Essential Mathematical Relations</h4>
<div style="background: #1a0000; padding: 15px; border-radius: 8px; font-family: monospace;">
<strong>Dirac Matrices (γ-matrices):</strong><br>
{γ^μ, γ^ν} = 2η^μν<br>
γ^5 = iγ^0γ^1γ^2γ^3<br>
Tr[γ^μ] = 0, Tr[γ^μγ^ν] = 4η^μν<br><br>
<strong>Pauli Matrices:</strong><br>
σ₁ = [0 1; 1 0], σ₂ = [0 -i; i 0], σ₃ = [1 0; 0 -1]<br>
[σᵢ, σⱼ] = 2iεᵢⱼₖσₖ<br>
{σᵢ, σⱼ} = 2δᵢⱼ<br><br>
<strong>Special Functions:</strong><br>
Γ(n) = (n-1)! (for integer n)<br>
B(x,y) = Γ(x)Γ(y)/Γ(x+y)<br>
ζ(2) = π²/6, ζ(4) = π⁴/90<br><br>
<strong>Fourier Transforms:</strong><br>
f̃(k) = ∫ f(x) e^(-ikx) dx<br>
δ(x) = (1/2π) ∫ e^(ikx) dk<br>
Convolution: (f*g)(x) = ∫ f(x-y)g(y) dy
</div>
`;
}
// Add interactive highlighting
document.addEventListener('DOMContentLoaded', function() {
const equationBoxes = document.querySelectorAll('.equation-box');
equationBoxes.forEach(box => {
box.addEventListener('click', function() {
this.style.boxShadow = 'inset 0 3px 15px rgba(220, 38, 38, 0.5), 0 0 25px rgba(220, 38, 38, 0.4)';
setTimeout(() => {
this.style.boxShadow = 'inset 0 3px 15px rgba(220, 38, 38, 0.3)';
}, 1200);
});
});
const theoremBoxes = document.querySelectorAll('.theorem-box');
theoremBoxes.forEach(box => {
box.addEventListener('mouseover', function() {
this.style.transform = 'scale(1.02)';
this.style.boxShadow = '0 0 30px rgba(220, 38, 38, 0.6)';
});
box.addEventListener('mouseout', function() {
this.style.transform = 'scale(1)';
this.style.boxShadow = '0 0 20px rgba(220, 38, 38, 0.4)';
});
});
});
</script>
</body>
</html>