<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Original on 孤筝の温暖小家</title><link>https://www.guzhengsvt.cn/en/tags/original/</link><description>Recent content from 孤筝の温暖小家</description><generator>Hugo</generator><language>en</language><managingEditor>lvbowen040427@163.com (孤筝)</managingEditor><webMaster>lvbowen040427@163.com (孤筝)</webMaster><copyright>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</copyright><lastBuildDate>Fri, 05 Sep 2025 11:05:15 +0800</lastBuildDate><atom:link href="https://www.guzhengsvt.cn/en/tags/original/index.xml" rel="self" type="application/rss+xml"/><item><title>Quantum Physics</title><link>https://www.guzhengsvt.cn/en/post/physics/quantum-physics/</link><pubDate>Fri, 05 Sep 2025 11:05:15 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/physics/quantum-physics/</guid><description>
<![CDATA[<h1>Quantum Physics</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="chapter-1-wave-particle-duality-and-state-description">
<a class="header-anchor" href="#chapter-1-wave-particle-duality-and-state-description"></a>
Chapter 1 Wave-Particle Duality and State Description
</h2><h3 id="11-formation-and-applications-of-quantum-mechanics">
<a class="header-anchor" href="#11-formation-and-applications-of-quantum-mechanics"></a>
1.1 Formation and Applications of Quantum Mechanics
</h3><h4 id="111-old-quantum-theory">
<a class="header-anchor" href="#111-old-quantum-theory"></a>
1.1.1 Old Quantum Theory
</h4><h5 id="photoelectric-effect-and-the-photon-hypothesis">
<a class="header-anchor" href="#photoelectric-effect-and-the-photon-hypothesis"></a>
Photoelectric Effect and the Photon Hypothesis
</h5><ul>
<li><strong>Photon energy</strong>: $E = h\nu$</li>
<li><strong>Threshold frequency</strong>: $\nu_0 = \dfrac{W_0}{h}$; no photoelectrons are emitted when $\nu < \nu_0$</li>
<li><strong>Photoelectric equation</strong>:<br>

$$
  E_k^{\text{max}} = \frac{1}{2}\mu v^2_m = h\nu - W_0
  $$</li>
<li>The photoelectric effect demonstrates the particle nature of light.</li>
</ul>
<h5 id="energy-momentum-relation-of-photons-and-wave-particle-unity">
<a class="header-anchor" href="#energy-momentum-relation-of-photons-and-wave-particle-unity"></a>
Energy-Momentum Relation of Photons and Wave-Particle Unity
</h5><ul>
<li>
<p><strong>Relativistic energy-momentum relation</strong><br>
</p>
$$
  E^2=(pc)^2+(m_0c^2)^2,\quad m_0=0\ \Rightarrow\ E=c\,\lVert\vec p\rVert
  $$</li>
<li>
<p><strong>Photon energy</strong><br>
</p>
$$
  E=h\nu=\frac{hc}{\lambda}=\hbar\omega
  $$</li>
<li>
<p><strong>Photon momentum (vector form)</strong><br>
Let $\mathbf n$ be the unit vector in the propagation direction, then
</p>
$$
  \vec p=\frac{E}{c}\,\mathbf n=\frac{h}{\lambda}\,\mathbf n=\hbar\vec k,\quad
  \vec k=\frac{2\pi}{\lambda}\,\mathbf n
  $$</li>
<li>
<p><strong>Unified correspondence of wave and particle pictures</strong><br>
</p>
$$
  E\ \longleftrightarrow\ \hbar\omega,\qquad
  \vec p\ \longleftrightarrow\ \hbar\vec k
  $$</li>
</ul>
<h5 id="bohr-structure-of-the-hydrogen-atom">
<a class="header-anchor" href="#bohr-structure-of-the-hydrogen-atom"></a>
Bohr Structure of the Hydrogen Atom
</h5><ul>
<li>Quantization of orbital angular momentum:

$$
  L = n\hbar,\quad n=1,2,3,\dots
  $$</li>
<li>Energy levels:

$$
  E_n = -\frac{13.6\ \text{eV}}{n^2}
  $$</li>
<li>This successfully explains the line spectrum of hydrogen.</li>
</ul>
<h5 id="bohrs-postulates">
<a class="header-anchor" href="#bohrs-postulates"></a>
Bohr&rsquo;s Postulates
</h5><ul>
<li>Electrons moving in stable orbits do not radiate energy.</li>
<li>Electrons absorb or emit energy when they jump between energy levels:

$$
  \Delta E = h\nu
  $$</li>
</ul>
<h5 id="compton-effect">
<a class="header-anchor" href="#compton-effect"></a>
Compton Effect
</h5><ul>
<li>The wavelength of a high-energy photon increases after scattering from an electron:

$$
  \Delta\lambda = \lambda' - \lambda = \frac{h}{m_ec}(1-\cos\theta)
  $$</li>
<li>The experiment confirms both the particle nature of light and conservation of momentum.</li>
</ul>
<h5 id="blackbody-radiation">
<a class="header-anchor" href="#blackbody-radiation"></a>
Blackbody Radiation
</h5><ul>
<li>Energy quantization assumption: the energy of the electromagnetic field takes discrete values $E=nh\nu$.</li>
<li>Planck formula:

$$
  u(\nu,T)=\frac{8\pi h\nu^3}{c^3}\frac{1}{e^{h\nu/kT}-1}
  $$</li>
<li>This successfully explains the blackbody spectrum and marks the birth of quantum theory.</li>
</ul>
<h4 id="112-wave-particle-duality-of-microscopic-particles">
<a class="header-anchor" href="#112-wave-particle-duality-of-microscopic-particles"></a>
1.1.2 Wave-Particle Duality of Microscopic Particles
</h4><h5 id="de-broglie-hypothesis">
<a class="header-anchor" href="#de-broglie-hypothesis"></a>
de Broglie Hypothesis
</h5><ul>
<li>Microscopic particles have not only particle properties but also wave properties.</li>
<li>Every particle with momentum $\vec p$ corresponds to a matter wave whose wavelength and frequency are related to its momentum and energy.</li>
</ul>
<h5 id="de-broglie-relations">
<a class="header-anchor" href="#de-broglie-relations"></a>
de Broglie Relations
</h5><ul>
<li>Wavelength:

$$
  \lambda = \frac{h}{p}
  $$</li>
<li>Vector form:

$$
  \vec p = \hbar \vec k
  $$</li>
<li>Frequency:

$$
  E = h\nu = \hbar\omega
  $$</li>
</ul>
<hr>
<h3 id="12-states-and-wave-functions">
<a class="header-anchor" href="#12-states-and-wave-functions"></a>
1.2 States and Wave Functions
</h3><h4 id="121-uncertainty-principle">
<a class="header-anchor" href="#121-uncertainty-principle"></a>
1.2.1 Uncertainty Principle
</h4><ul>
<li>The position and momentum of a microscopic particle cannot be measured simultaneously with arbitrary precision.</li>
<li>Heisenberg uncertainty relation:

$$
  \Delta x \cdot \Delta p_x \geq \frac{\hbar}{2}
  $$</li>
<li>Energy-time uncertainty relation:

$$
  \Delta E \cdot \Delta t \geq \frac{\hbar}{2}
  $$</li>
<li>Its origin lies in wave-particle duality and the non-commutativity of operators.</li>
</ul>
<h4 id="122-wave-function">
<a class="header-anchor" href="#122-wave-function"></a>
1.2.2 Wave Function
</h4><ul>
<li>To describe the state of a microscopic particle, we introduce the <strong>wave function</strong> $\psi(\vec r,t)$.</li>
<li><strong>Probabilistic interpretation</strong>: $|\psi(\vec r,t)|^2 dV$ gives the probability of finding the particle in the volume element $dV$.</li>
<li>The wave function must satisfy the superposition principle and the Schrödinger equation.</li>
<li>The total probability over all space is 1, so the probability distribution depends only on the relative magnitude of the wave function, not its absolute scale.</li>
<li>Multiplying the wave function by a constant does not change the physical state it describes.</li>
<li>Standard requirements for a wave function: single-valued, finite, and continuous.</li>
</ul>
<h4 id="123-normalization-of-the-wave-function">
<a class="header-anchor" href="#123-normalization-of-the-wave-function"></a>
1.2.3 Normalization of the Wave Function
</h4><ul>
<li><strong>Normalization condition</strong>:

$$
  \int_{-\infty}^{\infty} \psi^* (\vec r,t) \psi (\vec r,t) dV = 1
  $$</li>
<li><strong>How to normalize a wave function</strong>

$$
  \int_{-\infty}^{\infty} |\Psi(\vec r,t)|^2 dV = A^2 \int_{-\infty}^{\infty} |\psi(\vec r,t)|^2 dV = 1
  $$
where $A$ is the normalization constant.</li>
</ul>
<hr>
<h3 id="13-schrödinger-equation">
<a class="header-anchor" href="#13-schr%c3%b6dinger-equation"></a>
1.3 Schrödinger Equation
</h3><h4 id="131-wave-equation-for-a-free-particle">
<a class="header-anchor" href="#131-wave-equation-for-a-free-particle"></a>
1.3.1 Wave Equation for a Free Particle
</h4><p><strong>Concept</strong><br>
A free particle is a particle not subject to external forces. In quantum mechanics, its state is described by the wave function $\psi(\vec{r},t)$ and satisfies the Schrödinger equation.</p>
<p><strong>Schrödinger equation for a free particle</strong><br>
</p>
$$
i\hbar \frac{\partial \psi(\vec{r},t)}{\partial t} = -\frac{\hbar^2}{2m} \nabla^2 \psi(\vec{r},t)
$$<p>
where:</p>
<ul>
<li>$\hbar$: reduced Planck constant</li>
<li>$m$: mass of the particle</li>
<li>$\nabla^2$: Laplacian operator</li>
</ul>
<p><strong>Plane-wave solution</strong><br>
</p>
$$
\psi(\vec{r},t) = A e^{i(\vec{k}\cdot\vec{r} - \omega t)}
$$<p>
where:</p>
<ul>
<li>$\vec{k}$ is the wave vector, with $|\vec{k}| = k$</li>
<li>$\omega$ is the angular frequency, satisfying

$$
E = \hbar \omega = \frac{\hbar^2 k^2}{2m}
$$</li>
</ul>
<p><strong>Momentum-wave vector relation</strong>
</p>
$$
\vec{p} = \hbar \vec{k}
$$<h5 id="plane-wave-derivation-of-the-free-particle-schrödinger-equation">
<a class="header-anchor" href="#plane-wave-derivation-of-the-free-particle-schr%c3%b6dinger-equation"></a>
Plane-Wave Derivation of the Free-Particle Schrödinger Equation
</h5><p><strong>1. Assume a plane-wave form</strong>
</p>
$$
\psi(\vec{r},t) = A e^{i(\vec{k}\cdot\vec{r} - \omega t)}
$$<p>
with $\vec{k}$ the wave vector, $\omega$ the angular frequency, and $A$ the amplitude constant.</p>
<p><strong>2. Time derivative</strong>
</p>
$$
\frac{\partial \psi}{\partial t} = \frac{\partial}{\partial t} \left[ A e^{i(\vec{k}\cdot\vec{r} - \omega t)} \right] 
= -i \omega A e^{i(\vec{k}\cdot\vec{r} - \omega t)} 
= -i \omega \psi
$$<p>
Multiplying by $i\hbar$ gives
</p>
$$
i\hbar \frac{\partial \psi}{\partial t} = \hbar \omega \psi
$$<p><strong>3. Spatial Laplacian</strong>
</p>
$$
\nabla^2 \psi = \nabla^2 \left[ A e^{i \vec{k}\cdot\vec{r}} e^{-i\omega t} \right] 
= -k^2 A e^{i(\vec{k}\cdot\vec{r} - \omega t)} 
= -k^2 \psi
$$<p>
Thus,
</p>
$$
-\frac{\hbar^2}{2m} \nabla^2 \psi = \frac{\hbar^2 k^2}{2m} \psi
$$<p><strong>4. Energy relation</strong>
</p>
$$
E = \frac{\hbar^2 k^2}{2m} = \hbar \omega
$$<p><strong>5. Final equation</strong>
</p>
$$
i\hbar \frac{\partial \psi}{\partial t} = -\frac{\hbar^2}{2m} \nabla^2 \psi
$$<p><strong>Remark</strong></p>
<ul>
<li>This derivation uses only the plane-wave form and differentiation, without relying on operator definitions.</li>
<li>It corresponds to the case $V=0$.</li>
</ul>
<h4 id="133-stationary-state-schrödinger-equation-and-stationary-wave-functions">
<a class="header-anchor" href="#133-stationary-state-schr%c3%b6dinger-equation-and-stationary-wave-functions"></a>
1.3.3 Stationary-State Schrödinger Equation and Stationary Wave Functions
</h4><p><strong>Concept</strong><br>
A stationary-state wave function has separable time dependence:
</p>
$$
\psi(\vec{r},t) = \phi(\vec{r}) e^{-i E t / \hbar}
$$<p>
Let $f(t)=e^{-i E t / \hbar}$.<br>
Here $\phi(\vec{r})$ depends only on spatial coordinates, and $E$ is the total energy of the particle.</p>
<p><strong>Derivation</strong>
Starting from the time-dependent Schrödinger equation:
</p>
$$
i\hbar \frac{\partial \psi(\vec{r},t)}{\partial t} = \left[ -\frac{\hbar^2}{2m} \nabla^2 + V(\vec{r}) \right] \psi(\vec{r},t)
$$<p>
substitute $\psi(\vec{r},t) = \phi(\vec{r}) e^{-i E t / \hbar}$ to obtain
</p>
$$
\left[ -\frac{\hbar^2}{2m} \nabla^2 + V(\vec{r}) \right] \phi(\vec{r}) = E \phi(\vec{r})
$$<p><strong>Time-independent form</strong>
</p>
$$
i \hbar \frac{df}{dt}=E f , \; f= e^{-i E t / \hbar}
$$<p>
</p>
$$
-\frac{\hbar^2}{2m} \nabla^2 \phi(\vec{r}) + V(\vec{r}) \phi(\vec{r}) = E \phi(\vec{r})
$$<p><strong>Remark</strong></p>
<ul>
<li>$\phi(\vec{r})$ is called a stationary-state wave function or eigenfunction.</li>
<li>$E$ is the corresponding energy eigenvalue.</li>
</ul>
<h4 id="derivation-of-the-schrödinger-equation-from-operators">
<a class="header-anchor" href="#derivation-of-the-schr%c3%b6dinger-equation-from-operators"></a>
Derivation of the Schrödinger Equation from Operators
</h4><p><strong>1. Start from classical energy</strong>
</p>
$$
E = \frac{p^2}{2m} + V(\vec{r},t)
$$<p><strong>2. Introduce the de Broglie relations</strong>
</p>
$$
\vec{p} = \hbar \vec{k}, \quad E = \hbar \omega
$$<p>
and the plane-wave form
</p>
$$
\psi(\vec{r},t) \sim e^{i(\vec{k}\cdot\vec{r} - \omega t)}
$$<p><strong>3. Operator representation</strong>
</p>
$$
\hat{E} = i\hbar \frac{\partial}{\partial t}, \quad \hat{\vec{p}} = -i\hbar \nabla
$$<p><strong>4. Kinetic-energy and Hamiltonian operators</strong>
</p>
$$
\hat{T} = \frac{\hat{p}^2}{2m} = -\frac{\hbar^2}{2m}\nabla^2
$$<p>
</p>
$$
\hat{H} = \hat{T} + V(\vec{r},t) = -\frac{\hbar^2}{2m}\nabla^2 + V(\vec{r},t)
$$<p><strong>5. Schrödinger equation</strong>
</p>
$$
i\hbar \frac{\partial \psi(\vec{r},t)}{\partial t} = \hat{H} \psi(\vec{r},t)
$$<p>
that is,
</p>
$$
i\hbar \frac{\partial \psi(\vec{r},t)}{\partial t} = \left[ -\frac{\hbar^2}{2m}\nabla^2 + V(\vec{r},t) \right] \psi(\vec{r},t)
$$<p>For a free particle ($V=0$), this reduces to
</p>
$$
i\hbar \frac{\partial \psi}{\partial t} = -\frac{\hbar^2}{2m}\nabla^2 \psi
$$<h4 id="principle-of-superposition-of-states">
<a class="header-anchor" href="#principle-of-superposition-of-states"></a>
Principle of Superposition of States
</h4><p><strong>Concept</strong><br>
If $\psi_1$ and $\psi_2$ are two possible states of the same system, then their linear combination
</p>
$$
\psi = c_1 \psi_1 + c_2 \psi_2
$$<p>
is also a possible state, where $c_1$ and $c_2$ are complex coefficients.</p>
<p><strong>General expansion</strong>
</p>
$$
\psi(\vec{r},t) = \sum_{n} c_n \phi_n(\vec{r},t)
$$<p>
with</p>
<ul>
<li>$c_n$ the expansion coefficients, or probability amplitudes;</li>
<li>probabilities $|c_n|^2$ satisfying

$$
\sum_n |c_n|^2 = 1
$$</li>
</ul>
<p><strong>Remark</strong></p>
<ul>
<li>Superposition is one of the most fundamental principles of quantum mechanics.</li>
<li>Different eigenstates may superpose, but a measurement yields only one eigenvalue.</li>
<li>Interference in superposed states is one of the essential features that distinguishes quantum mechanics from classical mechanics.</li>
</ul>
<h2 id="chapter-2-simple-applications-of-the-schrödinger-equation">
<a class="header-anchor" href="#chapter-2-simple-applications-of-the-schr%c3%b6dinger-equation"></a>
Chapter 2 Simple Applications of the Schrödinger Equation
</h2><h3 id="21-one-dimensional-infinite-potential-well">
<a class="header-anchor" href="#21-one-dimensional-infinite-potential-well"></a>
2.1 One-Dimensional Infinite Potential Well
</h3><h4 id="211-solving-the-equation">
<a class="header-anchor" href="#211-solving-the-equation"></a>
2.1.1 Solving the Equation
</h4><p><strong>1. Potential</strong>
</p>
$$
V(x) =
\begin{cases}
0, & 0 < x < L \\
\infty, & x \leq 0 \ \text{or} \ x \geq L
\end{cases}
$$<p><strong>2. Schrödinger equation in the well</strong>
</p>
$$
-\frac{\hbar^2}{2m} \frac{d^2 \phi(x)}{dx^2} = E \phi(x)
$$<p>
which becomes
</p>
$$
\frac{d^2 \phi(x)}{dx^2} + k^2 \phi(x) = 0,\qquad
k^2 = \frac{2mE}{\hbar^2}
$$<p><strong>3. General solution</strong>
</p>
$$
\phi(x) = A \sin(kx) + B \cos(kx)
$$<p><strong>4. Boundary conditions</strong>
</p>
$$
\phi(0) = 0, \quad \phi(L) = 0
$$<p>
Hence $B=0$ and $kL = n\pi$ for $n=1,2,3,\dots$.</p>
<p><strong>5. Eigenfunctions and eigenvalues</strong>
</p>
$$
\phi_n(x) = \sqrt{\frac{2}{L}} \sin\left(\frac{n\pi x}{L}\right), \quad n=1,2,3,\dots
$$<p>
</p>
$$
E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}, \quad n=1,2,3,\dots
$$<p><strong>Remark</strong></p>
<ul>
<li>The energy is quantized.</li>
<li>The ground-state energy is nonzero, showing the zero-point energy.</li>
</ul>
<hr>
<h3 id="22-special-functions-in-mathematical-physics">
<a class="header-anchor" href="#22-special-functions-in-mathematical-physics"></a>
2.2 Special Functions in Mathematical Physics
</h3><h4 id="221-orthogonality-and-normalization">
<a class="header-anchor" href="#221-orthogonality-and-normalization"></a>
2.2.1 Orthogonality and Normalization
</h4><p><strong>Orthogonality</strong>
</p>
$$
\int_a^b \phi_m(x)\,\phi_n(x)\,dx = 0 \quad (m \neq n)
$$<p><strong>Normalization</strong>
</p>
$$
\int_a^b |\phi_n(x)|^2 dx = 1
$$<p><strong>Orthonormality</strong>
</p>
$$
\int_a^b \phi_m(x)\,\phi_n(x)\,dx = \delta_{mn}
$$<h4 id="222-expansion-in-an-orthonormal-set">
<a class="header-anchor" href="#222-expansion-in-an-orthonormal-set"></a>
2.2.2 Expansion in an Orthonormal Set
</h4>$$
f(x) = \sum_{n=1}^{\infty} c_n \phi_n(x), \qquad
c_n = \int_a^b f(x)\,\phi_n(x)\,dx
$$<h4 id="223-fourier-series">
<a class="header-anchor" href="#223-fourier-series"></a>
2.2.3 Fourier Series
</h4>$$
f(x) = \frac{a_0}{2} + \sum_{n=1}^\infty \left[ a_n \cos\left(\frac{n\pi x}{L}\right) + b_n \sin\left(\frac{n\pi x}{L}\right) \right]
$$<p>
where
</p>
$$
a_n = \frac{1}{L} \int_{-L}^L f(x)\cos\left(\frac{n\pi x}{L}\right)\,dx, \quad
b_n = \frac{1}{L} \int_{-L}^L f(x)\sin\left(\frac{n\pi x}{L}\right)\,dx
$$<h4 id="224-constructing-orthonormal-functions">
<a class="header-anchor" href="#224-constructing-orthonormal-functions"></a>
2.2.4 Constructing Orthonormal Functions
</h4><p>The standard method is <strong>Gram-Schmidt orthogonalization</strong>:
</p>
$$
\phi_1(x) = \frac{f_1(x)}{\sqrt{\int |f_1(x)|^2 dx}}
$$<p>
</p>
$$
\phi_2(x) = \frac{f_2(x) - \int \phi_1(x) f_2(x)\,dx \,\phi_1(x)}{\sqrt{\int \left|f_2(x) - \int \phi_1(x) f_2(x)\,dx \,\phi_1(x)\right|^2 dx}}
$$<h4 id="225-legendre-polynomials-and-other-special-functions">
<a class="header-anchor" href="#225-legendre-polynomials-and-other-special-functions"></a>
2.2.5 Legendre Polynomials and Other Special Functions
</h4><p><strong>Legendre polynomials</strong>
</p>
$$
(1-x^2)\frac{d^2 y}{dx^2} - 2x \frac{dy}{dx} + l(l+1)y = 0
$$<p>
with orthogonality
</p>
$$
\int_{-1}^{1} P_l(x) P_{l'}(x)\,dx = \frac{2}{2l+1}\delta_{ll'}
$$<p><strong>Other common special functions</strong></p>
<ul>
<li><strong>Spherical harmonics</strong> $Y_l^m(\theta,\phi)$ appear in angular momentum problems.</li>
<li><strong>Bessel functions</strong> $J_n(x)$ appear in cylindrical symmetry problems.</li>
<li><strong>Hermite polynomials</strong> $H_n(x)$ appear in harmonic oscillator problems.</li>
</ul>
<p>These special functions are solutions of the Schrödinger equation under different boundary conditions and symmetries.</p>
<hr>
<h3 id="23-linear-harmonic-oscillator">
<a class="header-anchor" href="#23-linear-harmonic-oscillator"></a>
2.3 Linear Harmonic Oscillator
</h3><hr>
<h3 id="24-hydrogen-atom">
<a class="header-anchor" href="#24-hydrogen-atom"></a>
2.4 Hydrogen Atom
</h3><h4 id="241-solution-of-the-equation-separated-into--parts">
<a class="header-anchor" href="#241-solution-of-the-equation-separated-into--parts"></a>
2.4.1 Solution of the Equation (Separated into $r,\ \theta,\ \phi$ Parts)
</h4><p><strong>1. Time-independent Schrödinger equation under a Coulomb potential</strong>
</p>
$$
V(r) = -\dfrac{e^2}{4\pi\varepsilon_0 r}
$$<p>
and
</p>
$$
-\dfrac{\hbar^2}{2m}\nabla^2\Psi(r,\theta,\phi) + V(r)\Psi = E\Psi.
$$<p><strong>2. Separation of variables</strong>
</p>
$$
\Psi(r,\theta,\phi)=R(r)\,Y(\theta,\phi).
$$<p>
This leads to three equations in $r$, $\theta$, and $\phi$ after separation.</p>
<p><strong>3. Equation in $\phi$</strong>
</p>
$$
\frac{1}{\Phi(\phi)}\frac{d^2\Phi}{d\phi^2} = -m^2 \quad\Rightarrow\quad
\Phi_m(\phi)=\frac{1}{\sqrt{2\pi}} e^{i m\phi},\quad m\in\mathbb{Z}.
$$<p><strong>4. Equation in $\theta$</strong>
</p>
$$
\frac{1}{\sin\theta}\frac{d}{d\theta}\!\left(\sin\theta\frac{d\Theta}{d\theta}\right)
+\left[l(l+1)-\frac{m^2}{\sin^2\theta}\right]\Theta=0
$$<p>
with solutions proportional to the associated Legendre functions:
</p>
$$
\Theta_{l}^{m}(\theta)\propto P_l^{m}(\cos\theta).
$$<p><strong>5. Angular part: spherical harmonics</strong>
</p>
$$
Y_l^m(\theta,\phi)=N_{l}^{m}\,P_l^{m}(\cos\theta)\,e^{im\phi},
$$<p>
which satisfy
</p>
$$
\hat L^2 Y_l^m = l(l+1)\hbar^2 Y_l^m,\qquad \hat L_z Y_l^m = m\hbar Y_l^m.
$$<p><strong>6. Radial equation</strong>
Let $u(r)=rR(r)$, then
</p>
$$
-\frac{\hbar^2}{2m}\frac{d^2 u}{dr^2} + \left[ -\frac{e^2}{4\pi\varepsilon_0 r} + \frac{\hbar^2 l(l+1)}{2m r^2} \right] u = E u.
$$<p><strong>7. Energy eigenvalues</strong>
</p>
$$
E_n = -\frac{m e^4}{2(4\pi\varepsilon_0)^2 \hbar^2}\,\frac{1}{n^2} = -\frac{13.6057\ \mathrm{eV}}{n^2},\qquad n=1,2,3,\dots
$$<p>
with $l=0,1,\dots,n-1$.</p>
<p><strong>8. Wave function</strong>
</p>
$$
\Psi_{n l m}(r,\theta,\phi)=R_{n l}(r)\,Y_l^m(\theta,\phi),
$$<p>
and
</p>
$$
R_{n l}(r)=N_{n l}\left(\frac{2r}{n a_0}\right)^{l} e^{-r/(n a_0)} L_{n-l-1}^{2l+1}\!\left(\frac{2r}{n a_0}\right),
$$<p>
where $a_0=\dfrac{4\pi\varepsilon_0\hbar^2}{m e^2}$ is the Bohr radius.</p>
<h4 id="242-results-and-discussion">
<a class="header-anchor" href="#242-results-and-discussion"></a>
2.4.2 Results and Discussion
</h4><p><strong>1. Quantum numbers and their meanings</strong></p>
<ul>
<li>$n$: principal quantum number</li>
<li>$l$: orbital angular momentum quantum number</li>
<li>$m$: magnetic quantum number</li>
</ul>
<p><strong>2. Degeneracy</strong><br>
For the Coulomb potential, the energy depends only on $n$. The degeneracy of the level with principal quantum number $n$ is $n^2$.</p>
<p><strong>3. Spatial structure of the wave function</strong></p>
<ul>
<li>The angular part is given by the spherical harmonics.</li>
<li>The radial part $R_{nl}(r)$ has $n-l-1$ radial nodes.</li>
<li>The ground state $(1,0,0)$ is spherically symmetric and has no radial node.</li>
</ul>
<p><strong>4. Summary</strong><br>
The hydrogen atom is solved by separating variables in spherical coordinates. The angular equations give spherical harmonics and angular quantum numbers, while the radial equation yields the discrete energy levels and radial eigenfunctions.</p>
<h2 id="chapter-3-operator-representation-of-dynamical-variables-and-representation-theory">
<a class="header-anchor" href="#chapter-3-operator-representation-of-dynamical-variables-and-representation-theory"></a>
Chapter 3 Operator Representation of Dynamical Variables and Representation Theory
</h2><h3 id="31-relation-between-dynamical-variables-and-operators">
<a class="header-anchor" href="#31-relation-between-dynamical-variables-and-operators"></a>
3.1 Relation Between Dynamical Variables and Operators
</h3><h4 id="311-mathematical-knowledge-of-operators">
<a class="header-anchor" href="#311-mathematical-knowledge-of-operators"></a>
3.1.1 Mathematical Knowledge of Operators
</h4><ol>
<li>
<p><strong>Definition of an operator</strong><br>
An operator is a rule acting on a function space or state space. In quantum mechanics, physical quantities are represented by operators, and the wave function is the object on which they act.</p>
</li>
<li>
<p><strong>Linearity</strong><br>
If
</p>
$$
   A(c_1\psi_1 + c_2\psi_2) = c_1 A\psi_1 + c_2 A\psi_2,
   $$<p>
then $A$ is a linear operator.</p>
</li>
<li>
<p><strong>Commutation relations</strong><br>
The commutator is defined by
</p>
$$
   [A,B] = AB - BA.
   $$<p>
If $[A,B]=0$, the two operators are said to commute.</p>
</li>
<li>
<p><strong>Hermitian operators</strong><br>
If
</p>
$$
   \langle \psi | A\varphi \rangle = \langle A\psi | \varphi \rangle,
   $$<p>
then $A$ is Hermitian. Hermitian operators have real eigenvalues and represent observables.</p>
</li>
</ol>
<h4 id="312-dynamical-variables-and-operators">
<a class="header-anchor" href="#312-dynamical-variables-and-operators"></a>
3.1.2 Dynamical Variables and Operators
</h4><ol>
<li>
<p><strong>Basic idea</strong><br>
Every classical quantity $f(q,p)$ corresponds to a quantum operator $\hat f$.</p>
</li>
<li>
<p><strong>Typical operator forms in the coordinate representation</strong>
</p>
$$
   \hat{x} = x, \qquad \hat{p} = -i\hbar \frac{\partial}{\partial x}
   $$</li>
<li>
<p><strong>Fundamental commutation relation</strong>
</p>
$$
   [\hat{x}, \hat{p}] = i\hbar
   $$</li>
<li>
<p><strong>Measurement and eigenvalue equations</strong>
</p>
$$
   \hat{A}\psi_a = a\psi_a
   $$<p>
Here $a$ is a possible measurement outcome, and $\psi_a$ is the corresponding eigenfunction.</p>
</li>
</ol>
<hr>
<h3 id="32-commutation-relations-and-the-uncertainty-principle">
<a class="header-anchor" href="#32-commutation-relations-and-the-uncertainty-principle"></a>
3.2 Commutation Relations and the Uncertainty Principle
</h3><h4 id="321-commutation-relations">
<a class="header-anchor" href="#321-commutation-relations"></a>
3.2.1 Commutation Relations
</h4><ol>
<li>
<p><strong>Definition</strong>
</p>
$$
   [A,B] = AB - BA
   $$<p>
If $[A,B]=0$, the two physical quantities can have simultaneous definite values.</p>
</li>
<li>
<p><strong>Basic relation</strong>
</p>
$$
   [\hat{x}, \hat{p}_x] = i\hbar
   $$</li>
<li>
<p><strong>Three-dimensional form</strong>
</p>
$$
   [\hat{x}_i, \hat{p}_j] = i\hbar \delta_{ij}, \quad [\hat{x}_i, \hat{x}_j]=0, \quad [\hat{p}_i, \hat{p}_j]=0
   $$</li>
<li>
<p><strong>Physical meaning</strong><br>
Commutation relations determine whether two observables can be measured simultaneously with arbitrary precision.</p>
</li>
</ol>
<h4 id="322-uncertainty-principle">
<a class="header-anchor" href="#322-uncertainty-principle"></a>
3.2.2 Uncertainty Principle
</h4><ol>
<li>
<p><strong>Mathematical form</strong>
</p>
$$
   (\Delta A)^2 = \langle (A-\langle A \rangle)^2 \rangle,\qquad
   (\Delta B)^2 = \langle (B-\langle B \rangle)^2 \rangle
   $$<p>
which leads to
</p>
$$
   \Delta A \cdot \Delta B \geq \frac{1}{2}\left| \langle [A,B] \rangle \right|
   $$</li>
<li>
<p><strong>Position-momentum uncertainty</strong>
</p>
$$
   \Delta x \cdot \Delta p \geq \frac{\hbar}{2}
   $$</li>
<li>
<p><strong>Energy-time uncertainty</strong>
</p>
$$
   \Delta E \cdot \Delta t \gtrsim \hbar
   $$</li>
</ol>
<hr>
<h3 id="33-representation-theory">
<a class="header-anchor" href="#33-representation-theory"></a>
3.3 Representation Theory
</h3><h4 id="331-mathematical-basis">
<a class="header-anchor" href="#331-mathematical-basis"></a>
3.3.1 Mathematical Basis
</h4><ol>
<li>
<p><strong>Concept of representation</strong><br>
States and operators can be represented in different bases, such as the coordinate, momentum, and energy representations.</p>
</li>
<li>
<p><strong>Expansion of a state</strong>
</p>
$$
   |\psi\rangle = \sum_n c_n |\phi_n\rangle,\qquad c_n = \langle \phi_n | \psi \rangle
   $$</li>
<li>
<p><strong>Matrix elements</strong>
</p>
$$
   A_{mn} = \langle \phi_m | \hat{A} | \phi_n \rangle
   $$</li>
<li>
<p><strong>Completeness and orthogonality</strong>
</p>
$$
   \sum_n |\phi_n\rangle \langle \phi_n| = I,\qquad
   \langle \phi_m | \phi_n \rangle = \delta_{mn}
   $$</li>
</ol>
<h4 id="332-representations-of-states-and-observables">
<a class="header-anchor" href="#332-representations-of-states-and-observables"></a>
3.3.2 Representations of States and Observables
</h4><ol>
<li>
<p><strong>Coordinate representation</strong>
</p>
$$
   \psi(x) = \langle x|\psi\rangle
   $$<p>
</p>
$$
   \hat{x} \psi(x) = x \psi(x), \quad \hat{p}_x \psi(x) = -i\hbar \frac{\partial}{\partial x}\psi(x)
   $$</li>
<li>
<p><strong>Momentum representation</strong>
</p>
$$
   \phi(p) = \langle p|\psi\rangle
   $$<p>
</p>
$$
   \hat{p} \phi(p) = p \phi(p), \quad \hat{x} \phi(p) = i\hbar \frac{\partial}{\partial p}\phi(p)
   $$</li>
<li>
<p><strong>Energy representation</strong>
</p>
$$
   |\psi\rangle = \sum_n c_n |E_n\rangle, \quad c_n = \langle E_n|\psi\rangle
   $$</li>
<li>
<p><strong>Transformations between representations</strong>
</p>
$$
   \phi(p) = \frac{1}{\sqrt{2\pi\hbar}} \int_{-\infty}^{\infty} \psi(x) e^{-ipx/\hbar} dx
   $$<p>
</p>
$$
   \psi(x) = \frac{1}{\sqrt{2\pi\hbar}} \int_{-\infty}^{\infty} \phi(p) e^{ipx/\hbar} dp
   $$</li>
</ol>
<h3 id="34-orbital-angular-momentum">
<a class="header-anchor" href="#34-orbital-angular-momentum"></a>
3.4 Orbital Angular Momentum
</h3><h4 id="341-angular-momentum">
<a class="header-anchor" href="#341-angular-momentum"></a>
3.4.1 Angular Momentum
</h4><ol>
<li>
<p><strong>Definition</strong>
</p>
$$
   \vec{L} = \vec{r} \times \vec{p},\qquad
   \hat{\vec{L}} = \hat{\vec{r}} \times \hat{\vec{p}}
   $$</li>
<li>
<p><strong>Components</strong>
</p>
$$
   \hat{L}_x = y\hat{p}_z - z\hat{p}_y, \quad
   \hat{L}_y = z\hat{p}_x - x\hat{p}_z, \quad
   \hat{L}_z = x\hat{p}_y - y\hat{p}_x
   $$</li>
<li>
<p><strong>Commutation relations</strong>
</p>
$$
   [\hat{L}_x, \hat{L}_y] = i\hbar \hat{L}_z, \quad
   [\hat{L}_y, \hat{L}_z] = i\hbar \hat{L}_x, \quad
   [\hat{L}_z, \hat{L}_x] = i\hbar \hat{L}_y
   $$<p>
</p>
$$
   \hat{L}^2 = \hat{L}_x^2 + \hat{L}_y^2 + \hat{L}_z^2
   $$</li>
</ol>
<h4 id="342-conservation-of-angular-momentum">
<a class="header-anchor" href="#342-conservation-of-angular-momentum"></a>
3.4.2 Conservation of Angular Momentum
</h4><ol>
<li>
<p><strong>Condition for conservation</strong>
</p>
$$
   [\hat{H}, \hat{L}_i] = 0 \quad \Rightarrow \quad \hat{L}_i \ \text{is conserved}
   $$</li>
<li>
<p><strong>Spherically symmetric potential</strong>
</p>
$$
   [\hat{H}, \hat{L}^2] = 0, \quad [\hat{H}, \hat{L}_z] = 0
   $$</li>
</ol>
<h4 id="343-calculation-of-orbital-angular-momentum">
<a class="header-anchor" href="#343-calculation-of-orbital-angular-momentum"></a>
3.4.3 Calculation of Orbital Angular Momentum
</h4><ol>
<li>
<p><strong>Eigenvalue equations</strong>
</p>
$$
   \hat{L}^2 Y_{lm}(\theta,\varphi) = l(l+1)\hbar^2 Y_{lm}(\theta,\varphi)
   $$<p>
</p>
$$
   \hat{L}_z Y_{lm}(\theta,\varphi) = m\hbar Y_{lm}(\theta,\varphi)
   $$</li>
<li>
<p><strong>Eigenvalues</strong>
</p>
$$
   L = \sqrt{l(l+1)} \hbar,\qquad L_z = m\hbar
   $$</li>
<li>
<p><strong>Physical meaning</strong><br>
The quantum numbers $l$ and $m$ determine the magnitude of the orbital angular momentum and its $z$-component, respectively.</p>
</li>
</ol>
<h2 id="chapter-4-perturbation-theory-and-its-applications">
<a class="header-anchor" href="#chapter-4-perturbation-theory-and-its-applications"></a>
Chapter 4 Perturbation Theory and Its Applications
</h2><h3 id="41-time-independent-perturbation-theory">
<a class="header-anchor" href="#41-time-independent-perturbation-theory"></a>
4.1 Time-Independent Perturbation Theory
</h3><h4 id="411-nondegenerate-perturbation-theory">
<a class="header-anchor" href="#411-nondegenerate-perturbation-theory"></a>
4.1.1 Nondegenerate Perturbation Theory
</h4><ol>
<li>
<p><strong>Basic idea</strong>
</p>
$$
   \hat{H} = \hat{H}^{(0)} + \lambda \hat{H}'
   $$</li>
<li>
<p><strong>Energy corrections</strong>
</p>
$$
   E_n^{(1)} = \langle \psi_n^{(0)} | \hat{H}' | \psi_n^{(0)} \rangle
   $$<p>
</p>
$$
   E_n^{(2)} = \sum_{m \neq n} \frac{|\langle \psi_m^{(0)} | \hat{H}' | \psi_n^{(0)} \rangle|^2}{E_n^{(0)} - E_m^{(0)}}
   $$</li>
<li>
<p><strong>Wave-function correction</strong>
</p>
$$
   \psi_n^{(1)} = \sum_{m \neq n} \frac{\langle \psi_m^{(0)} | \hat{H}' | \psi_n^{(0)} \rangle}{E_n^{(0)} - E_m^{(0)}} \psi_m^{(0)}
   $$</li>
</ol>
<h4 id="412-degenerate-perturbation-theory">
<a class="header-anchor" href="#412-degenerate-perturbation-theory"></a>
4.1.2 Degenerate Perturbation Theory
</h4><ol>
<li>
<p><strong>Origin of the problem</strong><br>
If the zeroth-order energy corresponds to multiple orthogonal eigenstates, the state is degenerate, and the nondegenerate formulas fail.</p>
</li>
<li>
<p><strong>Method</strong>
</p>
$$
   H'_{ij} = \langle \psi_i^{(0)} | \hat{H}' | \psi_j^{(0)} \rangle
   $$<p>
Diagonalize this matrix inside the degenerate subspace.</p>
</li>
<li>
<p><strong>Result</strong><br>
The first-order energy corrections are the eigenvalues of $H'_{ij}$, and the corrected states are the corresponding linear combinations.</p>
</li>
</ol>
<hr>
<h3 id="42-time-dependent-perturbation-theory">
<a class="header-anchor" href="#42-time-dependent-perturbation-theory"></a>
4.2 Time-Dependent Perturbation Theory
</h3><ol>
<li>
<p><strong>Basic framework</strong>
</p>
$$
   \hat{H}(t) = \hat{H}^{(0)} + \hat{H}'(t)
   $$</li>
<li>
<p><strong>State expansion</strong>
</p>
$$
   |\psi(t)\rangle = \sum_n c_n(t) e^{-iE_n^{(0)}t/\hbar} |\psi_n^{(0)}\rangle
   $$</li>
<li>
<p><strong>Transition probability amplitude</strong>
</p>
$$
   c_f^{(1)}(t) = \frac{1}{i\hbar} \int_0^t \langle \psi_f^{(0)} | \hat{H}'(t') | \psi_i^{(0)} \rangle 
   e^{i\omega_{fi} t'} dt'
   $$<p>
where $\omega_{fi} = (E_f^{(0)} - E_i^{(0)})/\hbar$.</p>
</li>
<li>
<p><strong>Fermi&rsquo;s golden rule</strong>
</p>
$$
   W_{i \to f} = \frac{2\pi}{\hbar} \, |\langle f | \hat{H}' | i \rangle|^2 \, \rho(E_f)
   $$</li>
</ol>
<p><strong>Summary</strong></p>
<ul>
<li>Time-independent perturbation theory corrects energies and wave functions for static perturbations.</li>
<li>Time-dependent perturbation theory describes transitions between energy levels, such as radiation absorption and emission.</li>
</ul>
<h2 id="electron-spin">
<a class="header-anchor" href="#electron-spin"></a>
Electron Spin
</h2><h3 id="experimental-discovery-of-electron-spin">
<a class="header-anchor" href="#experimental-discovery-of-electron-spin"></a>
Experimental Discovery of Electron Spin
</h3><ol>
<li>
<p><strong>Stern-Gerlach experiment</strong><br>
Passing a beam of silver atoms through a nonuniform magnetic field produces two trajectories, revealing an intrinsic angular momentum beyond orbital angular momentum.</p>
</li>
<li>
<p><strong>Experimental conclusions</strong></p>
<ul>
<li>The spin quantum number is $s = 1/2$.</li>
<li>The two possible spin projections are $m_s = \pm 1/2$.</li>
<li>Spin contributes an additional magnetic moment:

$$
     \vec{\mu}_s = -g_s \frac{e}{2m_e} \vec{S}, \quad g_s \approx 2
     $$</li>
</ul>
</li>
</ol>
<h3 id="theory-of-electron-spin">
<a class="header-anchor" href="#theory-of-electron-spin"></a>
Theory of Electron Spin
</h3><ol>
<li>
<p><strong>Quantum description</strong></p>
<ul>
<li>Spin is intrinsic angular momentum and does not depend on spatial coordinates.</li>
<li>Its operators satisfy

$$
     [\hat{S}_i, \hat{S}_j] = i\hbar \epsilon_{ijk} \hat{S}_k
     $$</li>
</ul>
</li>
<li>
<p><strong>Physical meaning</strong></p>
<ul>
<li>Spin determines the magnetic behavior of electrons.</li>
<li>Quantized spin leads to Fermi-Dirac statistics and the Pauli exclusion principle.</li>
</ul>
</li>
</ol>
<hr>
<h3 id="spin-angular-momentum">
<a class="header-anchor" href="#spin-angular-momentum"></a>
Spin Angular Momentum
</h3><h4 id="spin-operators">
<a class="header-anchor" href="#spin-operators"></a>
Spin Operators
</h4><ol>
<li>
<p><strong>Spin components</strong>
</p>
$$
   \hat{S}_x, \hat{S}_y, \hat{S}_z
   $$<p>
satisfying
</p>
$$
   [\hat{S}_x, \hat{S}_y] = i\hbar \hat{S}_z, \quad \text{cyclic symmetry}
   $$</li>
<li>
<p><strong>Total spin operator</strong>
</p>
$$
   \hat{S}^2 = \hat{S}_x^2 + \hat{S}_y^2 + \hat{S}_z^2
   $$<p>
with
</p>
$$
   \hat{S}^2 |\chi_s\rangle = s(s+1)\hbar^2 |\chi_s\rangle
   $$</li>
</ol>
<h4 id="matrix-representation-of-eigenfunctions">
<a class="header-anchor" href="#matrix-representation-of-eigenfunctions"></a>
Matrix Representation of Eigenfunctions
</h4><ol>
<li>
<p><strong>Spin-$1/2$ particles</strong>
</p>
$$
   |\uparrow\rangle = \begin{pmatrix}1\\0\end{pmatrix}, \quad
   |\downarrow\rangle = \begin{pmatrix}0\\1\end{pmatrix}
   $$</li>
<li>
<p><strong>Pauli-matrix form of the spin operators</strong>
</p>
$$
   \hat{S}_x = \frac{\hbar}{2} \sigma_x, \quad
   \hat{S}_y = \frac{\hbar}{2} \sigma_y, \quad
   \hat{S}_z = \frac{\hbar}{2} \sigma_z
   $$<p>
where
</p>
$$
   \sigma_x = \begin{pmatrix}0 & 1\\ 1 & 0\end{pmatrix},\quad
   \sigma_y = \begin{pmatrix}0 & -i\\ i & 0\end{pmatrix},\quad
   \sigma_z = \begin{pmatrix}1 & 0\\ 0 & -1\end{pmatrix}
   $$</li>
</ol>
<h4 id="theory-of-angular-momentum-coupling">
<a class="header-anchor" href="#theory-of-angular-momentum-coupling"></a>
Theory of Angular Momentum Coupling
</h4><ol>
<li>
<p><strong>Spin-orbit coupling</strong>
</p>
$$
   \hat{H}_{\text{SO}} = \xi(r)\, \vec{L} \cdot \vec{S}
   $$<p>
which produces fine-structure splitting.</p>
</li>
<li>
<p><strong>Total angular momentum</strong>
</p>
$$
   \vec{J} = \vec{L} + \vec{S}, \quad
   \hat{J}^2 = (\hat{L}+\hat{S})^2
   $$<p>
with eigenstates $|j, m_j\rangle$ satisfying
</p>
$$
   \hat{J}^2 |j, m_j\rangle = j(j+1)\hbar^2 |j, m_j\rangle, \quad
   \hat{J}_z |j, m_j\rangle = m_j \hbar |j, m_j\rangle
   $$</li>
<li>
<p><strong>Coupling result</strong></p>
<ul>
<li>$j = l \pm s$, $m_j = -j, -j+1, ..., j$.</li>
<li>Spin-orbit coupling is an important source of the fine structure of atomic spectra.</li>
</ul>
</li>
</ol>
<h2 id="principle-of-indistinguishability">
<a class="header-anchor" href="#principle-of-indistinguishability"></a>
Principle of Indistinguishability
</h2><h3 id="systems-of-identical-particles">
<a class="header-anchor" href="#systems-of-identical-particles"></a>
Systems of Identical Particles
</h3><h4 id="concepts-and-principles">
<a class="header-anchor" href="#concepts-and-principles"></a>
Concepts and Principles
</h4><ol>
<li>
<p><strong>Definition of identical particles</strong><br>
If two particles are completely identical in physical properties such as mass, charge, and spin, and cannot be distinguished by any experiment, they are called identical particles.</p>
</li>
<li>
<p><strong>Principle of indistinguishability</strong><br>
The physical laws are invariant under exchange of identical particles. Exchanging the positions and spins of any two identical particles leaves the Hamiltonian and observables unchanged.</p>
</li>
</ol>
<h4 id="hamiltonian-of-a-system-of-identical-particles">
<a class="header-anchor" href="#hamiltonian-of-a-system-of-identical-particles"></a>
Hamiltonian of a System of Identical Particles
</h4><ol>
<li>
<p><strong>Form</strong>
</p>
$$
   \hat{H} = \sum_{i=1}^N \hat{T}_i + \sum_{i<j} V(\vec{r}_i - \vec{r}_j)
   $$</li>
<li>
<p><strong>Symmetry</strong>
</p>
$$
   [\hat{H}, \hat{P}_{ij}] = 0
   $$<p>
where $\hat{P}_{ij}$ is the exchange operator of particles $i$ and $j$.</p>
</li>
</ol>
<h4 id="wave-functions-of-identical-particle-systems">
<a class="header-anchor" href="#wave-functions-of-identical-particle-systems"></a>
Wave Functions of Identical-Particle Systems
</h4><ol>
<li>
<p><strong>Symmetry requirement</strong>
</p>
$$
   \hat{P}_{ij} \Psi(\dots, \vec{r}_i, \vec{r}_j, \dots) =
   \pm \Psi(\dots, \vec{r}_i, \vec{r}_j, \dots)
   $$<ul>
<li><strong>+</strong> for bosons, whose wave functions are symmetric</li>
<li><strong>-</strong> for fermions, whose wave functions are antisymmetric</li>
</ul>
</li>
<li>
<p><strong>Construction of many-particle wave functions</strong></p>
<ul>
<li>Bosons: symmetrized sum</li>
<li>Fermions: antisymmetrized determinant (Slater determinant)

$$
     \Psi(\vec{r}_1, \dots, \vec{r}_N) = \frac{1}{\sqrt{N!}}
     \begin{vmatrix}
     \psi_1(\vec{r}_1) & \cdots & \psi_1(\vec{r}_N) \\
     \vdots & \ddots & \vdots \\
     \psi_N(\vec{r}_1) & \cdots & \psi_N(\vec{r}_N)
     \end{vmatrix}
     $$</li>
</ul>
</li>
</ol>
<hr>
<h3 id="pauli-exclusion-principle">
<a class="header-anchor" href="#pauli-exclusion-principle"></a>
Pauli Exclusion Principle
</h3><ol>
<li>
<p><strong>Content of the principle</strong><br>
For identical fermions with half-integer spin, no two particles may occupy the same quantum state:
</p>
$$
   \Psi(\text{same quantum state}) = 0
   $$</li>
<li>
<p><strong>Physical meaning</strong><br>
It explains the arrangement of electrons in atomic orbitals and underlies atomic structure, chemical properties, and Fermi-gas behavior.</p>
</li>
<li>
<p><strong>Examples</strong></p>
<ul>
<li>In atoms, each orbital can hold at most two electrons with opposite spins.</li>
<li>In metals, electrons form a Fermi level that determines electrical and thermal properties.</li>
</ul>
</li>
</ol>

        
        <hr><p>Published on 2025-09-05 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2025-09-05</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Physics</category></item><item><title>Typecho Comments Import to Waline</title><link>https://www.guzhengsvt.cn/en/post/othernotes/typecho%E8%AF%84%E8%AE%BA%E5%AF%BC%E5%85%A5waline/</link><pubDate>Sat, 19 Apr 2025 16:56:24 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/othernotes/typecho%E8%AF%84%E8%AE%BA%E5%AF%BC%E5%85%A5waline/</guid><description>
<![CDATA[<h1>Typecho Comments Import to Waline</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <p>A couple of days ago, I migrated my blog posts from Typecho to Hugo. Just setting up the Front Matter parameters and reconfiguring image links took considerable effort.<br>
The value of a blog lies first in its articles, followed closely by its comments. Comments are proof that the blog has made an impact in both the digital and real worlds, carrying the interactions between people. More personally, comments from all corners of the globe are precious memories and a part of what makes &ldquo;me&rdquo;.<br>
Thus, it&rsquo;s essential to copy the original comments to the corresponding articles on the new site.</p>
<h2 id="configuring-waline">
<a class="header-anchor" href="#configuring-waline"></a>
Configuring Waline
</h2><p>Unlike dynamic blogs like WordPress or Typecho, static blogs can only rely on external comment systems. There are many options, each with its pros and cons. After referring to <a href="https://cloud.tencent.com/developer/article/2196035">this article</a> and checking the official websites of various comment systems, I ultimately chose <a href="https://waline.js.org">Waline</a>.<br>
Waline&rsquo;s <a href="https://waline.js.org/guide/get-started/">Chinese documentation</a> is detailed and comprehensive. After setting up the <a href="https://leancloud.app">LeanCloud</a> database and <a href="https://vercel.com/">Vercel</a> server, you can access the comment management dashboard at <code>https://&lt;your-server-domain&gt;/ui/</code>. Register as an administrator for the first time, where you can manage comments and users.</p>
<h2 id="exporting-typecho-comments">
<a class="header-anchor" href="#exporting-typecho-comments"></a>
Exporting Typecho Comments
</h2><p>Typecho is quite old, with a smaller user base compared to more active communities like Hexo or WordPress. There&rsquo;s also very little documentation available online.<br>
The only solution I found was a plugin called <a href="https://github.com/lizheming/typecho-export-valine">Export2Valine</a> (also mentioned in Waline&rsquo;s documentation) by <a href="https://imnerd.org">Yi Hong Yuan Luo</a>, which exports Typecho comments to Valine.<br>
However, it hasn&rsquo;t been updated in three years, and testing showed it only imports the first comment. Looking at the exported <code>jsonl</code> file, it&rsquo;s clear that all comment data was fully exported.</p>
<p>First, install the plugin in Typecho (make sure to rename the plugin folder to &ldquo;Export2Valine&rdquo;!).</p>
<p>Referencing <a href="https://www.imwxz.com/posts/74f52ab0.html">this article</a> about migrating from Typecho to Hexo, the plugin is outdated and requires some modifications.<br>
Locate <code>Action.php</code> in the plugin folder and modify lines 42 onwards as follows (to track parent comments):</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-php" data-lang="php"><span class="line"><span class="cl"><span class="nv">$arr</span> <span class="o">=</span> <span class="k">array</span><span class="p">(</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;objectId&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;coid&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;QQAvatar&#34;</span> <span class="o">=&gt;</span> <span class="s2">&#34;&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;comment&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;text&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;insertedAt&#34;</span> <span class="o">=&gt;</span> <span class="k">array</span><span class="p">(</span>
</span></span><span class="line"><span class="cl">    <span class="s2">&#34;__type&#34;</span> <span class="o">=&gt;</span> <span class="s2">&#34;Date&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="s2">&#34;iso&#34;</span> <span class="o">=&gt;</span> <span class="nv">$time</span>
</span></span><span class="line"><span class="cl">  <span class="p">),</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;createdAt&#34;</span> <span class="o">=&gt;</span> <span class="nv">$time</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;updatedAt&#34;</span> <span class="o">=&gt;</span> <span class="nv">$time</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;ip&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;ip&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;link&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;url&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;mail&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;mail&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;nick&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;author&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;ua&#34;</span> <span class="o">=&gt;</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;agent&#34;</span><span class="p">],</span>
</span></span><span class="line"><span class="cl">  <span class="s2">&#34;url&#34;</span> <span class="o">=&gt;</span> <span class="s2">&#34;/</span><span class="si">{</span><span class="nv">$slug</span><span class="si">}</span><span class="s2">.html&#34;</span>
</span></span><span class="line"><span class="cl"><span class="p">);</span>
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"><span class="k">if</span><span class="p">(</span><span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;parent&#34;</span><span class="p">])</span> <span class="p">{</span>
</span></span><span class="line"><span class="cl">  <span class="nv">$arr</span><span class="p">[</span><span class="s2">&#34;pid&#34;</span><span class="p">]</span> <span class="o">=</span> <span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;parent&#34;</span><span class="p">];</span>
</span></span><span class="line"><span class="cl">  <span class="nv">$arr</span><span class="p">[</span><span class="s2">&#34;rid&#34;</span><span class="p">]</span> <span class="o">=</span> <span class="nv">$this</span><span class="o">-&gt;</span><span class="na">getRootId</span><span class="p">(</span><span class="nv">$comment</span><span class="p">[</span><span class="s2">&#34;coid&#34;</span><span class="p">]);</span>
</span></span><span class="line"><span class="cl"><span class="p">}</span>
</span></span></code></pre></div><p>No other changes are needed.<br>
Next, go to Typecho&rsquo;s admin panel → Console → Export Comments. Open the downloaded <code>jsonl</code> file and delete the header line:<br>
<code>#filetype:JSON-streaming {&quot;type&quot;:&quot;Class&quot;,&quot;class&quot;:&quot;Comment&quot;}\n\n</code>.<br>
Save the file, close it, and change the file extension to <code>.json</code>.</p>
<h2 id="fixing-the-json-format">
<a class="header-anchor" href="#fixing-the-json-format"></a>
Fixing the JSON Format
</h2><p>The exported <code>jsonl</code> file contains escaped Chinese characters and is a single line, making it hard to read.<br>
To convert it into a more readable, editable, and importable <code>json</code> format, use your editor&rsquo;s <strong>Find and Replace</strong> feature to replace <code>}\n{</code> with:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="err">},</span>
</span></span><span class="line"><span class="cl"><span class="p">{</span>
</span></span></code></pre></div><p>In Xcode, you can insert line breaks by clicking the small magnifying glass icon on the left.</p>
<p>Now, each line represents one comment object.</p>
<p>Similarly, to separate the fields within each comment object, replace <code>&quot;,&quot;</code> with:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;,
</span></span></span><span class="line"><span class="cl"><span class="s2">    &#34;</span>
</span></span></code></pre></div><p>Now, each comment object contains multiple data fields, structured like this:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="p">{</span><span class="nt">&#34;objectId&#34;</span><span class="p">:</span><span class="s2">&#34;3&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;QQAvatar&#34;</span><span class="p">:</span><span class="s2">&#34;&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;comment&#34;</span><span class="p">:</span><span class="s2">&#34;\u6d4b\u8bd5\u4e00\u4e0b&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;insertedAt&#34;</span><span class="p">:{</span><span class="nt">&#34;__type&#34;</span><span class="p">:</span><span class="s2">&#34;Date&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;iso&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:37:07.000Z&#34;</span><span class="p">},</span><span class="nt">&#34;createdAt&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:37:07.000Z&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;updatedAt&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:37:07.000Z&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;ip&#34;</span><span class="p">:</span><span class="s2">&#34;223.104.150.16&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;link&#34;</span><span class="p">:</span><span class="kc">null</span><span class="p">,</span><span class="nt">&#34;mail&#34;</span><span class="p">:</span><span class="s2">&#34;2868301418@qq.com&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;nick&#34;</span><span class="p">:</span><span class="s2">&#34;2868301418&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;ua&#34;</span><span class="p">:</span><span class="s2">&#34;Mozilla\/5.0 (Linux; Android 13; V2171A Build\/TP1A.220624.014; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/109.0.5414.86 MQQBrowser\/6.2 TBS\/046605 Mobile Safari\/537.36 V1_AND_SQ_8.9.63_4190_HDBM_T QQ\/8.9.63.11380 NetType\/4G WebP\/0.3.0 Ap&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;url&#34;</span><span class="p">:</span><span class="s2">&#34;\/\u4ea4\u53cb\u6807\u51c6-\u548c\u5e73\u5171\u5904\u4e94\u9879\u539f\u5219.html&#34;</span><span class="p">}</span><span class="err">,</span>
</span></span><span class="line"><span class="cl">  <span class="p">{</span><span class="nt">&#34;objectId&#34;</span><span class="p">:</span><span class="s2">&#34;4&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;QQAvatar&#34;</span><span class="p">:</span><span class="s2">&#34;&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;comment&#34;</span><span class="p">:</span><span class="s2">&#34;\u600e\u4e48ip\u4e0d\u5bf9&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;insertedAt&#34;</span><span class="p">:{</span><span class="nt">&#34;__type&#34;</span><span class="p">:</span><span class="s2">&#34;Date&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;iso&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:38:15.000Z&#34;</span><span class="p">},</span><span class="nt">&#34;createdAt&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:38:15.000Z&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;updatedAt&#34;</span><span class="p">:</span><span class="s2">&#34;2023-06-27T09:38:15.000Z&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;ip&#34;</span><span class="p">:</span><span class="s2">&#34;223.104.150.16&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;link&#34;</span><span class="p">:</span><span class="kc">null</span><span class="p">,</span><span class="nt">&#34;mail&#34;</span><span class="p">:</span><span class="s2">&#34;2868301418@qq.com&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;nick&#34;</span><span class="p">:</span><span class="s2">&#34;2868301418&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;ua&#34;</span><span class="p">:</span><span class="s2">&#34;Mozilla\/5.0 (Linux; Android 13; V2171A Build\/TP1A.220624.014; wv) AppleWebKit\/537.36 (KHTML, like Gecko) Version\/4.0 Chrome\/109.0.5414.86 MQQBrowser\/6.2 TBS\/046605 Mobile Safari\/537.36 V1_AND_SQ_8.9.63_4190_HDBM_T QQ\/8.9.63.11380 NetType\/4G WebP\/0.3.0 Ap&#34;</span><span class="p">,</span>
</span></span><span class="line"><span class="cl">    <span class="nt">&#34;url&#34;</span><span class="p">:</span><span class="s2">&#34;\/\u4ea4\u53cb\u6807\u51c6-\u548c\u5e73\u5171\u5904\u4e94\u9879\u539f\u5219.html&#34;</span><span class="p">}</span><span class="err">,</span>
</span></span></code></pre></div><h3 id="common-field-descriptions">
<a class="header-anchor" href="#common-field-descriptions"></a>
Common Field Descriptions
</h3><ol>
<li><strong>objectId</strong>: Unique identifier for the comment (e.g., &ldquo;4&rdquo; or &ldquo;5&rdquo;)</li>
<li><strong>QQAvatar</strong>: QQ avatar link (currently empty)</li>
<li><strong>comment</strong>: Comment content (contains Unicode escape sequences, e.g., <code>\u600e\u4e48</code> means &ldquo;how&rdquo;)</li>
<li><strong>insertedAt/createdAt/updatedAt</strong>: Timestamp (ISO 8601 format)</li>
<li><strong>ip</strong>: Commenter&rsquo;s IP address</li>
<li><strong>link</strong>: Link provided by the commenter (may be <code>null</code>)</li>
<li><strong>mail</strong>: Commenter&rsquo;s email address</li>
<li><strong>nick</strong>: Commenter&rsquo;s nickname</li>
<li><strong>ua</strong>: User agent (browser/device info)</li>
<li><strong>url</strong>: Relative path of the commented post</li>
</ol>
<h3 id="special-fields">
<a class="header-anchor" href="#special-fields"></a>
Special Fields
</h3><ol start="11">
<li><strong>pid</strong>: Parent comment ID</li>
<li><strong>rid</strong>: Root comment ID</li>
</ol>
<p>If <code>&quot;link&quot;</code> is <code>null</code>, there&rsquo;s no line break between <code>&quot;link&quot;</code> and <code>&quot;mail&quot;</code>. JSON is insensitive to line breaks, so this can be ignored.<br>
Now, wrap the entire content in <code>[ ]</code> at the beginning and end of the file, then save it.</p>
<h2 id="modifying-comment-attributes">
<a class="header-anchor" href="#modifying-comment-attributes"></a>
Modifying Comment Attributes
</h2><p>The file can now be imported into LeanCloud, but some adjustments are still needed.</p>
<p><code>Export2Valine</code> sets the URL for comment associations as <code>\/slug</code>, e.g., <code>&quot;url&quot;: &quot;\/Summary-of-the-First-Semester-of-Junior-Year.html&quot;</code>, where <code>\/</code> is an escaped <code>/</code>.</p>
<p>To link comments to the new blog&rsquo;s posts, manually update the <code>url</code> to match the new blog&rsquo;s post links.</p>
<p>For example, my Hugo-generated site has folders like <code>zh-cn</code>, <code>zh-tw</code>, <code>en</code>, and <code>ja</code> (due to multi-language support). Chinese posts are under <code>/zh-cn/post/category/</code>.<br>
In my local blog source files, posts are organized into folders by category, e.g., <code>/content/post/Thoughts/最近写的诗.md</code> generates a relative URL like <code>zh-cn/post/thoughts/最近写的诗</code>.</p>
<p>If your new blog&rsquo;s posts are in the root directory with unchanged names, no URL modifications are needed.<br>
If they&rsquo;re all under <code>/post/</code>, use Find and Replace to change:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;url&#34;</span><span class="err">:&#34;\/</span>
</span></span></code></pre></div><p>to:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;url&#34;</span><span class="err">:&#34;\/post\/</span>
</span></span></code></pre></div><p>For my case, I temporarily replaced it with:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;url&#34;</span><span class="err">:&#34;\/zh-cn\/post\/</span>
</span></span></code></pre></div><p>Similarly, comments on standalone pages like &ldquo;Friends&rdquo; or &ldquo;Thoughts&rdquo; should be updated to their new relative URLs.<br>
For example, the Friends page:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;url&#34;</span><span class="err">:&#34;\/links.html</span>
</span></span></code></pre></div><p>should be replaced with:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-json" data-lang="json"><span class="line"><span class="cl"><span class="s2">&#34;url&#34;</span><span class="err">:&#34;\/zh-cn\/friend\/</span>
</span></span></code></pre></div><p>First, apply bulk replacements for <code>post</code> and standalone pages where possible. Otherwise, it&rsquo;ll be tedious to modify them after import.</p>
<p>When using Find and Replace, try to target the largest common segments to avoid accidental changes.<br>
<em><strong>Remember to escape <code>\/</code>!!!</strong></em></p>
<h2 id="importing-to-leancloud">
<a class="header-anchor" href="#importing-to-leancloud"></a>
Importing to LeanCloud
</h2><p>In LeanCloud&rsquo;s console → Data Storage → Import &amp; Export, select the modified JSON file, set <code>Class</code> to <code>Comment</code>, and import.</p>
<p><em><strong>Note</strong></em>: If you&rsquo;ve previously tested Waline comments or attempted to import <code>Comment</code>, Waline may have already created the <code>Comment</code> class. Subsequent imports will fail silently (LeanCloud may claim success, but no new data appears).</p>
<p>To fix this, go to the console → Structured Data, delete the <code>Comment</code> class, and try importing again. The LeanCloud page may not refresh immediately—use <code>Ctrl+F5</code> to force a cache refresh.</p>
<p>After a successful import, manually adjust the <code>url</code> for each comment.<br>
For example, my posts need to be categorized under <code>&quot;url&quot;:&quot;\/zh-cn\/post\/category\/</code>. Use LeanCloud&rsquo;s <strong>batch operations</strong> and <strong>filtering</strong> features to streamline this process.</p>
<h2 id="afterword">
<a class="header-anchor" href="#afterword"></a>
Afterword
</h2><p>Organizing comments didn&rsquo;t take too long—120 comments, mostly my own musings on the &ldquo;Thoughts&rdquo; page, allowed for bulk URL fixes. The handful of reader comments were scattered across just a few posts, making them easy to update via filtering. Whether that&rsquo;s a good or bad thing, I’m not sure (laughs).</p>
<p>Whether they&rsquo;re my soliloquies or others&rsquo; remarks, each comment holds unique significance. Revisiting them periodically brings new reflections.<br>
As I said at the beginning, they&rsquo;re traces of my growth, proof of my existence, and part of &ldquo;me&rdquo;.</p>
<p>And you, dear reader, are the one who gives me value.</p>
<p>If you have time, please leave a comment—it’ll genuinely make my day (as long as it’s kind, of course).</p>
        
        <hr><p>Published on 2025-04-19 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2025-04-19</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>OtherNotes</category></item><item><title>Summary of the First Semester of Junior Year</title><link>https://www.guzhengsvt.cn/en/post/thoughts/%E5%A4%A7%E4%B8%89%E4%B8%8A%E6%80%BB%E7%BB%93/</link><pubDate>Tue, 28 Jan 2025 19:46:04 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/thoughts/%E5%A4%A7%E4%B8%89%E4%B8%8A%E6%80%BB%E7%BB%93/</guid><description>
<![CDATA[<h1>Summary of the First Semester of Junior Year</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="about-final-exams">
<a class="header-anchor" href="#about-final-exams"></a>
About Final Exams
</h2><p>For students, nothing seems more important at the end of a semester than grades. Upholding the <del>fine tradition</del> of last-minute cramming, I studied frantically almost every day during the final two weeks (though I occasionally slacked off—<del>why the hell are there still experiments in week 16?</del>). Thankfully, I didn’t fail any courses, and while my scores weren’t stellar, I’m satisfied (scoring over 70 in aerodynamics after cramming it in a day—no need to elaborate on that skill).</p>
<p>And so, I’ll once again make the empty promise of “next semester, I’ll study properly from the start”—a classic lie, haha.<br>
But seriously, I really should start studying, or how else will I ever earn my Ph.D.?</p>
<h2 id="about-pursuing-a-phd">
<a class="header-anchor" href="#about-pursuing-a-phd"></a>
About Pursuing a Ph.D.
</h2><p>I chose the Qian Xuesen Honors Program’s direct Ph.D. track not for the accelerated 4+3 graduation (though I’m not cut out for that anyway) nor to chase a degree that promises higher salaries or greater “social status.” I believe the person who first translated “Doctor” as “博士” (bóshì, literally “erudite scholar”) intended to emphasize the reputation of being widely learned, not the other trappings.</p>
<p>Though they say “cursing someone into a Ph.D. is a thunderbolt-worthy sin,” and stories of delayed graduations and disillusionment abound, I still want to try my hand at creating something entirely new—something unprecedented. Not for titles, not for academic turf, but simply because it might benefit people and humanity.</p>
<p>As I’ve said before:</p>
<blockquote>
<p>My material demands are modest—just enough to support my family, which seems achievable given my current situation. But I’m dissatisfied with my undergraduate education; four years of study still feel like I haven’t even scratched the surface.</p>
</blockquote>
<p>To cling to knowledge explored by predecessors decades or centuries ago in this rapidly evolving era? To forsake the frontiers of learning and settle for mere subsistence? I can’t do it.</p>
<p>I may lack talent and perhaps will never achieve much academically, but I refuse to abandon humanity’s courage to explore and innovate. At the very least, I want to stand at the forefront as a witness—to watch generations break through the shackles of matter and mind, to see civilization step out of its gentle cradle and venture into the unknown depths of space.</p>
<p>I can’t give up the thrill of acquiring new knowledge,<br>
because I’ve already touched the sky.</p>
<p>Enough grand talk for today. Deep down, I don’t truly believe I have the power to change anything. Most likely, I’ll end up as an unremarkable academic footnote, barely graduating with a pile of mediocre papers.<br>
But I’ll still try. I’ll still do it. Because the mountain is there.</p>
<h2 id="about-family">
<a class="header-anchor" href="#about-family"></a>
About Family
</h2><p>After such serious topics, let’s lighten the mood.<br>
In August, my mother had surgery at Wuhan Tongji Hospital, and I stayed with her for half a month (<del>though I’m too embarrassed to call it “caretaking”</del>). After her hysterectomy, she rested for two months and regained some energy. But then she went right back to her early-morning-to-late-night work routine. Sigh.<br>
Otherwise, things at home are unchanged, with little to worry about.<br>
I miss the egg-drop sweet soup my grandmother used to make in winter.</p>
<h2 id="about-friends">
<a class="header-anchor" href="#about-friends"></a>
About Friends
</h2><p>Life at school has been uneventful, aside from an electronics competition. My friends are the same as ever, the people I like are doing well, and everyone’s living their own lives.<br>
<strong>“At the ends of the earth, half my dear friends are scattered.”</strong></p>
<h2 id="about-my-trip-to-hungary">
<a class="header-anchor" href="#about-my-trip-to-hungary"></a>
About My Trip to Hungary
</h2><p>I signed up for the winter break exchange program at Óbuda University organized by the School of Space Science. I’ve been here for two weeks and am about to head back.<br>
Learned some useless AI applications—nothing to do with my future studies, and I didn’t expect to acquire any “dragon-slaying skills” anyway.</p>
<p>The first few days of “white people food” were awful; I couldn’t fathom how locals survive on this. But the meals gradually improved. I tried authentic Hungarian goulash (a beef stew with potatoes, carrots, etc.) at a local spot, and it was delicious. The pork knuckle here is also incredible—huge portions and tasty (<del>though why is it translated as “toe joint”?</del>).</p>
<p>The steak, though? Forget it—served rare by default, tough to cut and chew. The ubiquitous dry bread is inedible, and the salads might as well be rocks.</p>
<p>Another standout was the bathrooms. Every single one I’ve seen here is spotless, with attendants, stocked toilet paper, soap, hand dryers, and paper towels (OMG). The dorm bathrooms even have bidet sprayers and bleach-soaked toilet brushes. All faucets provide 24/7 hot and cold water, and the heating is so intense that indoors often feels like a sauna.</p>
<p>The only downside? Almost no public restrooms, and some places charge for toilet access.</p>
<p>Sigh. Developed countries have money to burn on resources. It breaks my heart to think of villagers in northern China who can’t afford heating in winter or southerners who can’t run AC in summer.<br>
Too many people in this world suffer. Comrades, we must keep striving.</p>
<p>I bought some authentic souvenirs to bring back, but I won’t spoil the surprise for friends who might read this.</p>
<h2 id="closing-thoughts">
<a class="header-anchor" href="#closing-thoughts"></a>
Closing Thoughts
</h2><p>Flying home tomorrow for the New Year, and I’m brimming with nostalgia.<br>
The remaining half of winter break <em>should</em> be spent studying <em>Principles of Communications</em> (maybe it will, maybe it won’t).<br>
Wishing you a happy New Year, peace and prosperity in the years to come.</p>
<p>Jan 24, 2025</p>

        
        <hr><p>Published on 2025-01-28 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2025-01-28</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Thoughts</category></item><item><title>The East is Red</title><link>https://www.guzhengsvt.cn/en/post/poetry/%E4%B8%9C%E6%96%B9%E7%BA%A2/</link><pubDate>Thu, 26 Dec 2024 00:16:35 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/poetry/%E4%B8%9C%E6%96%B9%E7%BA%A2/</guid><description>
<![CDATA[<h1>The East is Red</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h3 id="the-east-is-red">
<a class="header-anchor" href="#the-east-is-red"></a>
The East is Red
</h3><p><strong>Midstream strokes resound through the skies, as night by night the river’s roar doth rise.</strong></p>
<p><strong>Not youth alone beholds the morning sun—ten thousand miles of land in crimson run.</strong></p>
<p>Dec. 26, 2024<br>
Xi’an</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/12/1795319606.jpeg" alt="IMG_0434.jpeg"></p>

        
        <hr><p>Published on 2024-12-26 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-12-26</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Poetry</category></item><item><title>Because spring once came</title><link>https://www.guzhengsvt.cn/en/post/poetry/%E5%9B%A0%E4%B8%BA%E6%98%A5%E5%A4%A9%E6%9D%A5%E8%BF%87/</link><pubDate>Wed, 13 Nov 2024 22:07:40 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/poetry/%E5%9B%A0%E4%B8%BA%E6%98%A5%E5%A4%A9%E6%9D%A5%E8%BF%87/</guid><description>
<![CDATA[<h1>Because spring once came</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h3 id="this-poem-is-dedicated-to-the-polaris-in-my-life">
<a class="header-anchor" href="#this-poem-is-dedicated-to-the-polaris-in-my-life"></a>
——This poem is dedicated to the Polaris in my life
</h3><p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/11/1787644976.jpg" alt="IMG_4884.jpg"></p>
<p><strong>A lovely traveler passed through a landscape unseen by others, bringing with her exotic warm breezes that swept across parched fields, rustled through treetops, and rippled the lake into shimmering waves.<br>
The fruit trees, enchanted by this beauty, hurriedly blossomed and bore fruit; birds in the forest scoured for the few remaining flowering branches, weaving them into a crown for her.<br>
Strolling through the falling petals, the traveler, unable to refuse such generosity, plucked a few crimson fruits; feeling shy about taking without giving, she emptied her pockets of all the flower seeds she carried, scattering them over every cracked patch of earth.<br>
Only the field remained barren, its heart filled with shyness and guilt—what could it possibly offer this delightful maiden?<br>
Summoning all its strength, it urged the seeds to grow swiftly, hoping she might witness the blossoms before she left.<br>
But the traveler was never meant to stay—the scenery was beautiful, the trees and birds most attentive, yet this was no place to call home.<br>
She departed, leaving behind wistful fruit trees, birds, and the field.<br>
The field’s flowers never reached her hands, though perhaps the next traveler would find a garden in full bloom.<br>
Yet none grieved,<br>
for spring had come.</strong></p>
<p><strong>Winter gave way to spring, autumn yielded to winter.<br>
Fruits became saplings, fledglings took their first flights; tree rings thickened, and summer rains polished wings to a gleam.<br>
In the garden the field had tenderly nurtured, the last chrysanthemum outlived its season, bare stems swaying in the cold wind.<br>
No longer desolate, the land had seen the traveler’s seeds sprout through the seasons, each flower blooming in its turn as promised—drinking dawn’s dew, basking in morning sun, dancing in the breeze, resting under moonlight.<br>
In spring, the field wove a crown of gardenias and hawthorn blossoms, white as the traveler’s dress.<br>
In summer, it fashioned a basket of crape myrtle and hibiscus, though the hibiscus wilted by dusk, much like her fleeting visit.<br>
In autumn, it dreamed of a bed sweet with osmanthus and aster, but the wind carried the fragrance away, indifferent to its longing.<br>
The flowers, embracing their purpose, reveled in their brief lives, preparing in the soil for journeys yet to come.<br>
The traveler never returned, unaware that her casually scattered seeds had grown into a garden, and the field never had its chance to offer its finest tribute.<br>
Winter gave way to spring, autumn yielded to winter.<br>
The field longed for snow, a warm blanket for the seeds below. Should the traveler ever revisit this hidden paradise, the garden would be worthy of her.<br>
In the drizzle of early winter, it drifted into sleep, dreaming of October’s last dandelions riding the wind, chasing the blush on her cheeks.<br>
“Aren’t you afraid the seeds won’t survive the cold?” asked the trees and birds, as the field lay bare once more.<br>
“It’s alright. I’ve seen spring.”<br>
For spring had come.</strong></p>
        
        <hr><p>Published on 2024-11-13 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-11-13</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Poetry</category></item><item><title>Five Poems from a Journey to Southern Shanxi</title><link>https://www.guzhengsvt.cn/en/post/poetry/%E6%99%8B%E5%8D%97%E8%A1%8C%E4%BA%94%E9%A6%96/</link><pubDate>Tue, 08 Oct 2024 15:47:32 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/poetry/%E6%99%8B%E5%8D%97%E8%A1%8C%E4%BA%94%E9%A6%96/</guid><description>
<![CDATA[<h1>Five Poems from a Journey to Southern Shanxi</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="preface">
<a class="header-anchor" href="#preface"></a>
Preface
</h2><p>During the National Day holiday, I traveled through Shanxi with <em>Black Myth: Wukong</em>, visiting three cities in southern Shanxi—Jincheng, Linfen, and Yuncheng—and composed five poems to briefly document the journey.</p>
<h2 id="southern-shanxi-journey--part-1">
<a class="header-anchor" href="#southern-shanxi-journey--part-1"></a>
Southern Shanxi Journey · Part 1
</h2><p><strong>The door hides broken statues, the eaves bear golden chimes.<br>
Dabs of emerald dye the tangled woods, splashes of ink unfold jade skirts.<br>
Fresh branches climb rotten wood, the old lead the young.<br>
Lin Huiyin would weep—can a thousand years leave blank space?</strong></p>
<p><strong>Lone Zither<br>
October 2, 2024<br>
Jade Emperor Temple, Fucheng Guan Yu Temple, Qinglian Temple, Jincheng</strong></p>
<p>At the Jade Emperor Temple, flash photography is banned in the Hall of Twenty-Eight Constellations, and the statues are hidden behind iron railings, their paint peeling, some even headless or limbless—a regrettable sight.<br>
The statues at Fucheng Guan Yu Temple are mostly modern recreations, crudely made and unappetizing. The architecture, however, is worth a look.<br>
Qinglian Temple sits high on a distant mountain, with breathtaking scenery along the way. In autumn, the mountains are lush, the waters clear, dotted with broad red and yellow leaves under a cloudless sky—a land of splendor.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/4175125506.jpg" alt="IMG_0808 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/2744194162.jpg" alt="IMG_0836 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/4200527731.jpg" alt="IMG_1026 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/126764360.jpg" alt="IMG_0915 (1).JPG"></p>
<h2 id="southern-shanxi-journey--part-2">
<a class="header-anchor" href="#southern-shanxi-journey--part-2"></a>
Southern Shanxi Journey · Part 2
</h2><p><strong>Weary, the Green Emperor has yet to take his post, morning mist rushes to break the dawn’s chill.<br>
Just crossed seas of people to glimpse the Buddha’s face, now climb forested clouds to visit the temple.<br>
Nine golden bodies, nine lotuses, three gates, three altars.<br>
Before the scaled sunset gathers dusk, my light steed has leaped over layered peaks.</strong></p>
<p><strong>Lone Zither<br>
October 3, 2024<br>
Kaihua Temple, Iron Buddha Temple, Dinglin Temple, Jincheng</strong></p>
<p>Early in the morning, I took the bus to Gaoping, first visiting Kaihua Temple before returning to Iron Buddha Temple. The latter, newly reopened, was packed, tucked deep in a small village courtyard. After queuing for over an hour, I glimpsed the Buddha’s face for just two minutes. Fortunately, I met a family of three in line—open-minded parents unbothered by anime and games. (Their twin-tailed daughter was adorable, by the way.)<br>
Dinglin Temple’s lotus caisson ceiling had also recently reopened, and I was lucky to see it—truly magnificent.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/438599092.jpg" alt="IMG_0998 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/1955933777.jpg" alt="IMG_1044 (1).JPG"></p>
<h2 id="southern-shanxi-journey--part-3">
<a class="header-anchor" href="#southern-shanxi-journey--part-3"></a>
Southern Shanxi Journey · Part 3
</h2><h3 id="prelude-to-water-melody">
<a class="header-anchor" href="#prelude-to-water-melody"></a>
Prelude to Water Melody
</h3><p><strong>The Buddha feasts on incense offerings, stone tablets drown in dust.<br>
I ask the hills beneath his seat: do sutras reach the divine?<br>
Shorn locks renounce desire, abstinence purges the halls,<br>
smiles mask wrath. They know the laws of five aggregates,<br>
yet fail to grasp the body of ignorance.<br>
False cymbals, temple repairs, deceiving the credulous.<br>
Promises of merit mimic the Tathagata’s great vehicle.<br>
Bribes buy devotion, virtue lacks faith—<br>
the Eight Precepts mislead the sangha.<br>
The chime-keeper chants wealth, the false Buddha saves worldly monks.</strong></p>
<p><strong>Lone Zither<br>
October 4, 2024<br>
Little Western Heaven, Linfen</strong></p>
<p><strong>Eight Precepts</strong>:</p>
<ol>
<li>No killing.</li>
<li>No stealing.</li>
<li>No sexual misconduct.</li>
<li>No lying.</li>
<li>No intoxication.</li>
<li>No adornments.</li>
<li>No high or broad beds.</li>
<li>No eating after noon.</li>
</ol>
<p><strong>Yellow Brow’s Counter</strong>:<br>
No killing? Hatred never ends.<br>
No stealing? Why distinguish strong from weak?<br>
No lust? All sentience is sin.<br>
No lies? Dreams, bubbles, shadows, void.<br>
No wine? Sorrow ebbs and flows.<br>
No pleasure? Beauty fades in a blink.<br>
No sloth? Suffering binds without release.<br>
No indulgence? All acts are joyless.</p>
<p>The lower temple of Little Western Heaven was unremarkable, filled with devotees praying for wealth and sons. A nun (?) sat nearby striking a chime, chanting promises of billions in daily earnings—utterly cynical.<br>
The upper temple’s Mahavira Hall boasts astonishing hanging sculptures, grand in scale. Sadly, the crowds left little time for close inspection. I arrived too late to receive Shanxi’s official commemorative postcard—a slight regret.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/837638753.jpg" alt="IMG_1144 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/377169443.jpg" alt="IMG_1929 (1).JPG"></p>
<h2 id="southern-shanxi-journey--part-4">
<a class="header-anchor" href="#southern-shanxi-journey--part-4"></a>
Southern Shanxi Journey · Part 4
</h2><p><strong>An ancient temple guards Pingyang, three quakes veil the Buddha’s light.<br>
The towering glazed pagoda, the ethereal Arhat Hall.<br>
Scriptures sought through merit, rain prayed for by kings.<br>
A canon passed to the East, the golden age of Tang began.</strong></p>
<p><strong>Lone Zither<br>
October 6, 2024<br>
Guang Sheng Temple, Linfen</strong></p>
<p>Guang Sheng Temple in Hongtong County features a Rain God Temple in its lower complex, its walls covered in murals, though poorly preserved. The dim light inside made details hard to discern. Side rooms displayed official scanned reproductions—vivid and lifelike, truly masterful.<br>
The upper temple’s Flying Rainbow Pagoda is clad in glazed tiles, though only the first floor is open, with little to see inside.<br>
The rear courtyard’s Tianzhongtian Hall houses three colossal Buddhas, over ten feet tall, their elegant forms a marvel.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/2152415040.jpg" alt="IMG_1956 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/270551755.jpg" alt="IMG_1985 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/4038570737.jpg" alt="IMG_2006 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/193997803.jpg" alt="IMG_2037 (2).JPG"></p>
<h2 id="southern-shanxi-journey--part-5">
<a class="header-anchor" href="#southern-shanxi-journey--part-5"></a>
Southern Shanxi Journey · Part 5
</h2><h3 id="encountering-wei-taoran-at-stork-tower">
<a class="header-anchor" href="#encountering-wei-taoran-at-stork-tower"></a>
Encountering Wei Taoran at Stork Tower
</h3><p><strong>No immortal of wine was I born,<br>
inking brows, grinding words.<br>
At Stork Tower, I duel Wang Zhihuan,<br>
below Taihang, I ponder the Chairman.<br>
You roam the world a free spirit,<br>
I’m trapped in the ivory tower, forever young.<br>
If heaven and earth offer no refuge,<br>
let poetry debts buy wine.</strong></p>
<p><strong>Lone Zither<br>
October 6, 2024<br>
Yongle Palace, Guangren King Temple, Stork Tower, Guan Yu Temple, Yuncheng</strong></p>
<p>A rushed group tour in Yuncheng left little time for details. At Stork Tower, I spotted a stall boldly labeled &ldquo;Selling Original Poetry.&rdquo; After touring the new tower, I revisited the collection, struck by lingering awe. Wei Taoran, inspired by a Dali poetess, returned to literature—I too once wrote many poems, mostly idle scribbles, never considering it a livelihood.<br>
In high school, I gifted my poetry drafts to someone. After the breakup, I scarcely wrote again. First, gaming consumed me—I read little, my pen dry, my efforts unsatisfying. Second, life blurred like fog—neither piercing nor clear, I drifted in haze. Third, the ivory tower’s monotony left me numb, devoid of poetic spark.</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/3184801327.jpg" alt="IMG_2131 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/1585398490.jpg" alt="IMG_2134 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/3750612929.jpg" alt="IMG_2158 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/3048377807.jpg" alt="IMG_2214 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/1157009.jpg" alt="IMG_2233 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/343590413.jpg" alt="IMG_2234 (1).JPG"><br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/915481746.jpg" alt="IMG_2235 (1).JPG"></p>
<h2 id="afterword">
<a class="header-anchor" href="#afterword"></a>
Afterword
</h2><p>The three cities of southern Shanxi each have their charm.<br>
Jincheng is bustling, with efficient buses and dedicated routes to attractions. Arriving downtown, the streets blaze with light.<br>
Linfen is peculiar—even areas around the bus station are dark, and distant sites lack dedicated transit, making private hires costly. Its public toilets are uniquely varied—I biked past twenty-plus on shared e-scooters, no two alike.<br>
Yuncheng thrives—shops and stalls pack main roads and alleys, with rumors of north-south markets (and delicious, honest-to-goodness buns).</p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/10/3704126306.jpg" alt="IMG_2091.JPG"></p>
        
        <hr><p>Published on 2024-10-08 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-10-08</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Poetry</category></item><item><title>Mid-Autumn Festival, give your family a call.</title><link>https://www.guzhengsvt.cn/en/post/thoughts/%E4%B8%AD%E7%A7%8B%E7%BB%99%E5%AE%B6%E4%BA%BA%E6%89%93%E4%B8%AA%E7%94%B5%E8%AF%9D%E5%90%A7/</link><pubDate>Sun, 15 Sep 2024 22:35:40 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/thoughts/%E4%B8%AD%E7%A7%8B%E7%BB%99%E5%AE%B6%E4%BA%BA%E6%89%93%E4%B8%AA%E7%94%B5%E8%AF%9D%E5%90%A7/</guid><description>
<![CDATA[<h1>Mid-Autumn Festival, give your family a call.</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <blockquote>
<p>&ldquo;Mom, will there really be girls who like me in this world?&rdquo;<br>
&ldquo;Of course! When I first met you, I was only in my twenties too.&rdquo;</p>
</blockquote>

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=2045946501&auto=0&height=66"></iframe>


<p>The Mid-Autumn Festival is approaching—give your family a call.</p>
<blockquote>
<p>&ldquo;Men have sorrow and joy, they meet or part again;<br>
The moon is bright or dim and she may wax or wane.<br>
There has been nothing perfect since the olden days.&rdquo;<br>
So let us wish that man may live as long as he can!<br>
Though miles apart, we&rsquo;ll share the beauty she displays.</p>
</blockquote>
<p>May we all be blessed with longevity.<br>
May we all be blessed with longevity.<br>
May we all be blessed with longevity.</p>
<p>(Note: The classical Chinese poem is rendered in Xu Yuanchong&rsquo;s renowned English translation, preserving both the lyrical beauty and philosophical depth of Su Shi&rsquo;s original work. The repetition of &ldquo;longevity&rdquo; mirrors the original text&rsquo;s emphasis while adapting to English poetic conventions.)</p>
        
        <hr><p>Published on 2024-09-15 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-09-15</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Thoughts</category></item><item><title>Probability Theory and Mathematical Statistics</title><link>https://www.guzhengsvt.cn/en/post/math/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/</link><pubDate>Tue, 10 Sep 2024 01:14:05 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/math/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/</guid><description>
<![CDATA[<h1>Probability Theory and Mathematical Statistics</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="preface">
<a class="header-anchor" href="#preface"></a>
Preface
</h2><h3 id="first-edition-preface">
<a class="header-anchor" href="#first-edition-preface"></a>
First Edition Preface
</h3><p>[[2024-09-14]] Today the makeup exam finally ended. I heard the original exam directly reused past papers. These past few days I practiced three sets of &ldquo;XDU original papers&rdquo; (from 2021 and two from 2023) found online. I did the 2021 paper in the morning, and in the afternoon $\frac{1}{4}$ of the questions were exact copies without any changes. I couldn&rsquo;t help but laugh.</p>
<p>Dai Hao once said he would try his best to find the best teachers for the Qian Class. But now it seems the School of Mathematics and Statistics has no one left? Poor teaching could be excused as not focusing on education or lacking talent in teaching; but directly reusing recent past papers for exams, full of unchecked errors and omissions, made me laugh in frustration.</p>
<p>The exams they create have no value, and they don&rsquo;t even bother to test them themselves. This is an attitude problem.</p>
<p>It&rsquo;s fine that your university goes easy on final exams, but don&rsquo;t keep fooling people with old material. You preach innovation to students, yet for yourselves, just getting by is enough. This is not the attitude for academic work, nor is it the attitude one should have for teaching.</p>
<p>Probability theory ends here for now. Over the past two days, I repeatedly reviewed notes, practiced problems, and corrected many errors, clarifying the knowledge structure of this course. Although the content is still relatively sparse, it should suffice as final review material. This edition will likely be the final version (probably).
I&rsquo;ll continue organizing Electrodynamics and Digital Signal Processing during the Mid-Autumn Festival.</p>
<h3 id="second-edition-preface">
<a class="header-anchor" href="#second-edition-preface"></a>
Second Edition Preface
</h3><blockquote>
<p>Nothing is final!!!
——Qian Xuesen</p>
</blockquote>
<p>Added content on the left/right continuity of distribution functions. It seems this course is far from final&hellip;</p>
<h2 id="event-operations-to-logical-operations">
<a class="header-anchor" href="#event-operations-to-logical-operations"></a>
Event Operations to Logical Operations
</h2><ul>
<li>$A \cup B=A+B$</li>
<li>$A \cap B=A \cdot B$</li>
<li>$A-B=A \bar{B}$
Event $A$ occurs and event $B$ does not occur, easily proven by Venn diagrams.
$-B$ can be interpreted as $\cdot (-B)$, where $-B$ is $\bar{B}$.</li>
<li>If $A \subset B$, then $A \cup B=B$, $A \cap B=A$.</li>
</ul>
<p>After converting event operations to logical operations, most rules are shared.
Using logical function operations and simplification learned in digital circuits, complex event operations can be simplified.
Tips: Karnaugh maps.</p>
<h2 id="four-major-probability-formulas">
<a class="header-anchor" href="#four-major-probability-formulas"></a>
Four Major Probability Formulas
</h2>$$
\begin{cases}
P(A+B)=P(A)+P(B)-P(AB)\\
P(A-B)=P(A)-P(AB)=P(A \bar{B})\\
P(AB)=P(B) \cdot P(A|B)=P(A) \cdot P(B|A)\\
P(A|B)=\frac{P(AB)}{P(B)}\\
\end{cases}
$$<h3 id="corollary">
<a class="header-anchor" href="#corollary"></a>
Corollary
</h3><p>$P(A+B+C)$: Treat $A+B$ as a single event and apply the addition formula above, splitting twice to get:
</p>
$$
P(A+B+C)=P(A)+P(B)+P(C)-P(AB)-P(AC)-P(BC)+P(ABC)
$$<p>
Probabilities for more joint events can be derived recursively.</p>
<p>Complementary event: The probability that $A$ does not occur, obvious from Venn diagrams.
</p>
$$
P(\bar{A})=P(1 \cdot \bar{A})=P(1-A)=P(1)-P(1 \cdot A)=1-P(A)
$$<h2 id="non-negativity-and-normalization">
<a class="header-anchor" href="#non-negativity-and-normalization"></a>
Non-Negativity and Normalization
</h2><p>Non-negativity: For any event $A$, $0 \le P(A) \le 1$.
Normalization: For the total event $\Omega$, $P(\Omega)=1$.</p>
<h2 id="independence">
<a class="header-anchor" href="#independence"></a>
Independence
</h2>$$
\begin{cases}
P(AB)=P(A) \cdot P(B)\\
P(A|B)=P(A)
\end{cases}
$$<p>
Independence implies mutual independence.</p>
<h2 id="classical-probability-model">
<a class="header-anchor" href="#classical-probability-model"></a>
Classical Probability Model
</h2><blockquote>
<p>All elementary events have equal probability.</p>
</blockquote>
<p>Eg. Coin toss, dice roll&hellip;
</p>
$$
P(A)=\frac{\text{Number of elementary events in } A}{\text{Total elementary events in } \Omega}
$$<p>
Classical conditional probability formula:
</p>
$$
P(B|A)=\frac{P(AB)}{P(A)}=\frac{\text{Elementary events in both } A \text{ and } B}{\text{Elementary events in } A}
$$<h2 id="bernoulli-trials-binomial-distribution">
<a class="header-anchor" href="#bernoulli-trials-binomial-distribution"></a>
Bernoulli Trials (Binomial Distribution)
</h2><blockquote>
<p>$n$ independent trials, each with only two outcomes: $A$ or $\bar{A}$.</p>
</blockquote>
<p>$X \sim B(n,p)$
</p>
$$
P_n(k)=C_n^kp^k(1-p)^{n-k}
$$<p>
Where $p=P(A)$, $1-p=P(\bar{A})$.</p>
<h2 id="geometric-probability-model">
<a class="header-anchor" href="#geometric-probability-model"></a>
Geometric Probability Model
</h2><p>The ratio of the <em>length/area/volume</em> occupied by the event to the total <em>length/area/volume</em> of the sample space $\Omega$.
When the event&rsquo;s dimension is lower than $\Omega$&rsquo;s dimension, its probability is always 0.
==Warning==: A probability of 0 does not mean the event cannot occur.
Eg: Randomly selecting a point inside a circle, the probability of selecting any specific point is 0, but it can still happen.</p>
<h2 id="uniform-distribution">
<a class="header-anchor" href="#uniform-distribution"></a>
Uniform Distribution
</h2><p>$x \sim U(a,b)$
Approximates a linear distribution in geometric probability, with probability density:
</p>
$$
f(x)=
\begin{cases}
0,x \le a\\
\frac{1}{b-a},a  \lt  x \le b\\
0,x \gt b\\
\end{cases}
$$<p>Cumulative distribution function:
</p>
$$
F(x)=
\begin{cases}
0,x \le a\\
\frac{x-a}{b-a},a \lt x \le b\\
1,x \gt b\\
\end{cases}
$$<h2 id="exponential-distribution">
<a class="header-anchor" href="#exponential-distribution"></a>
Exponential Distribution
</h2><p>$x \sim E(\lambda)$</p>
<h3 id="probability-density">
<a class="header-anchor" href="#probability-density"></a>
Probability Density
</h3>$$
f(x)=
\begin{cases}
\lambda e^{-\lambda x},x \gt 0\\
0,x \le 0\\
\end{cases}
$$<h3 id="cumulative-distribution-function">
<a class="header-anchor" href="#cumulative-distribution-function"></a>
Cumulative Distribution Function
</h3>$$
F(x)=
\begin{cases}
1-e^{-\lambda x},x \ge 0\\
0,x \lt 0\\
\end{cases}
$$<h2 id="poisson-distribution">
<a class="header-anchor" href="#poisson-distribution"></a>
Poisson Distribution
</h2><p>$X \sim \pi(\lambda)$
</p>
$$
P(X=k)=\frac{e^{-\lambda}\lambda^k}{k!}
$$<h2 id="normal-distribution">
<a class="header-anchor" href="#normal-distribution"></a>
Normal Distribution
</h2><p>$x \sim N(\mu,\sigma^2)$</p>
<h3 id="probability-density-1">
<a class="header-anchor" href="#probability-density-1"></a>
Probability Density
</h3>$$
f(x)=\frac{1}{\sqrt{2 \pi} \sigma}e^{-\frac{(x-\mu)^2}{2\sigma^2}},x \in R,\sigma \gt 0
$$<h3 id="cumulative-distribution-function-1">
<a class="header-anchor" href="#cumulative-distribution-function-1"></a>
Cumulative Distribution Function
</h3>$$
F(x)=\int^{x}_{-\infty}f(t)dt
$$<p>
Clearly, $F(\mu)=\frac{1}{2}$, meaning $P(x \le \mu)=P(x \gt \mu)=\frac{1}{2}$.</p>
<h3 id="standard-normal-distribution">
<a class="header-anchor" href="#standard-normal-distribution"></a>
Standard Normal Distribution
</h3><p>When $\mu=0,\sigma=1$, it becomes the standard normal distribution.
</p>
$$
\varphi(x)=\frac{1}{\sqrt{2\pi}}e^{-\frac{x^2}{2}}
$$<p>
</p>
$$
\varPhi(x)=\int^{x}_{-\infty}\varphi(t)dt
$$<h3 id="corollaries">
<a class="header-anchor" href="#corollaries"></a>
Corollaries
</h3>$$
\varPhi(-x)=1-\varPhi(x)
$$<p>
</p>
$$
F(x)=\varPhi(\frac{x-\mu}{\sigma})
$$<p>
Normalization of normal distribution:
</p>
$$
X \sim N(\mu,\sigma^2),Z=\frac{X-\mu}{\sigma}\sim N(0,1)
$$<h2 id="total-probability-formula">
<a class="header-anchor" href="#total-probability-formula"></a>
Total Probability Formula
</h2><h3 id="complete-event-group">
<a class="header-anchor" href="#complete-event-group"></a>
Complete Event Group
</h3>$$
\begin{cases}
B_1 \cup B_2 \cup B_3 \cup \cdots \cup B_n=\Omega\\
B_i \cap B_j=\varnothing,i \ne j,1 \le i \le n,1 \le j \le n\\
\end{cases}
$$<p>
$B_1,B_2,B_3,\cdots B_n$ form a complete event group for $\Omega$.</p>
<h3 id="total-probability-formula-1">
<a class="header-anchor" href="#total-probability-formula-1"></a>
Total Probability Formula
</h3>$$
\begin{align}
P(A)
&=P(AB_1 \cup AB_2 \cup \cdots \cup AB_n)\\
&=P(AB_1)+P(AB_2)+\cdots +P(AB_n)\\
&=P(B_1)P(A|B_1)+P(B_2)P(A|B_2)+\cdots +P(B_n)P(A|B_n)\\
\end{align}
$$<h3 id="bayes-formula">
<a class="header-anchor" href="#bayes-formula"></a>
Bayes&rsquo; Formula
</h3>$$
P(B_1|A)=\frac{P(AB_1)}{P(A)}=\frac{P(B_1)P(A|B_1)}{P(A)}
$$<h2 id="one-dimensional-discrete-random-variables">
<a class="header-anchor" href="#one-dimensional-discrete-random-variables"></a>
One-Dimensional Discrete Random Variables
</h2><h3 id="probability-mass-function">
<a class="header-anchor" href="#probability-mass-function"></a>
Probability Mass Function
</h3>$$
P(X=x_i)=p_i=\frac{\text{Count of } X=x_i}{\text{Total count}},i=1,2,\cdots 
$$<h3 id="cumulative-distribution-function-2">
<a class="header-anchor" href="#cumulative-distribution-function-2"></a>
Cumulative Distribution Function
</h3>$$
F(x)=\sum_{x_i \lt x}p_i,x \in R
$$<h2 id="one-dimensional-continuous-random-variables">
<a class="header-anchor" href="#one-dimensional-continuous-random-variables"></a>
One-Dimensional Continuous Random Variables
</h2><h3 id="probability-density-function">
<a class="header-anchor" href="#probability-density-function"></a>
Probability Density Function
</h3>$$
f(x)=F'(x)
$$<h3 id="cumulative-distribution-function-3">
<a class="header-anchor" href="#cumulative-distribution-function-3"></a>
Cumulative Distribution Function
</h3>$$
F(x)=\int_{-\infty}^xf(t)dt
$$<h3 id="interval-probability">
<a class="header-anchor" href="#interval-probability"></a>
Interval Probability
</h3>$$
P(a \lt x \le b)=\int_a^bf(x)dx=F(b)-F(a)
$$<p>$\because$ $P(x=a)=0,a \in R$
$\therefore$ The equality signs on the interval can be chosen freely.</p>
<h3 id="normalization">
<a class="header-anchor" href="#normalization"></a>
Normalization
</h3>$$
F(\infty)=\int^{\infty}_{-\infty}f(x)dx=1
$$$$
F(-\infty)=0
$$<h2 id="two-dimensional-discrete-random-variables">
<a class="header-anchor" href="#two-dimensional-discrete-random-variables"></a>
Two-Dimensional Discrete Random Variables
</h2><h3 id="joint-probability-mass-function">
<a class="header-anchor" href="#joint-probability-mass-function"></a>
Joint Probability Mass Function
</h3><p>$P(X=x_i,Y=y_j)$
Create a 2D table of possible values for X and Y, filling in corresponding probabilities.</p>
<h3 id="marginal-probability-mass-function">
<a class="header-anchor" href="#marginal-probability-mass-function"></a>
Marginal Probability Mass Function
</h3><p>$P(X=x_i),P(Y=y_j)$
Sum the rows/columns of the joint probability table to get $f_Y(x),f_X(y)$.</p>
<h3 id="conditional-distribution">
<a class="header-anchor" href="#conditional-distribution"></a>
Conditional Distribution
</h3><p>$P(X=x_i|Y=y_j),P(Y=y_i|X=x_j)$
Divide each row/column of the joint probability table by its marginal probability.
This scales the joint probabilities so each row/column sums to 1.</p>
<h3 id="independence-of-two-variables">
<a class="header-anchor" href="#independence-of-two-variables"></a>
Independence of Two Variables
</h3><p>==Independence here refers to linear independence, not complete statistical independence.==
Write the joint probability table as a matrix $\vec{A}$. If $\det \vec{A}=0$, X and Y are independent.
Or: If the rows/columns of the joint probability table are proportional, X and Y are independent.
Or: If the joint probability $\ne$ the product of marginal probabilities, i.e., $P(X=x_i,Y=y_j)\ne P(X=x_i)P(Y=y_j)$, then X and Y are not independent.</p>
<h2 id="two-dimensional-continuous-random-variables">
<a class="header-anchor" href="#two-dimensional-continuous-random-variables"></a>
Two-Dimensional Continuous Random Variables
</h2><h3 id="joint-density-function">
<a class="header-anchor" href="#joint-density-function"></a>
Joint Density Function
</h3>$$
f(x,y)
$$<h3 id="normalization-1">
<a class="header-anchor" href="#normalization-1"></a>
Normalization
</h3>$$
\int^{\infty}_{-\infty}\int^{\infty}_{-\infty}f(x,y)dxdy=1
$$<h3 id="marginal-density-functions">
<a class="header-anchor" href="#marginal-density-functions"></a>
Marginal Density Functions
</h3>$$
f_X(x)=\int^{\infty}_{-\infty}f(x,y)dy
$$<p>
</p>
$$
f_Y(y)=\int^{\infty}_{-\infty}f(x,y)dx
$$<h3 id="conditional-density">
<a class="header-anchor" href="#conditional-density"></a>
Conditional Density
</h3>$$
f_{Y|X}(y|x)=\frac{f(x,y)}{f_X(x)}
$$<h3 id="independence-1">
<a class="header-anchor" href="#independence-1"></a>
Independence
</h3>$$
f(x,y)=f_X(x)f_Y(y)
$$<p>
When this holds, X and Y are independent.</p>
<h3 id="distribution-function">
<a class="header-anchor" href="#distribution-function"></a>
Distribution Function
</h3><p>Let $Z=X-Y$,
</p>
$$
\begin{align}
F_Z(z)
&=P(Z \lt z)\\
&=P(X-Y \lt z)\\
&=P(X \lt Y+z)\\
&=\int^{y}_{-\infty}\int^{y+z}_{-\infty}f(x,y)dxdy\\
\end{align}
$$<p>
The distribution function $F_Z(z)=\iint_Df(x,y)dxdy$. Differentiate to get the probability density function $f_Z(z)$.
==Warning==: $F_Z(z)$ must satisfy normalization.</p>
<h2 id="expectation-and-variance">
<a class="header-anchor" href="#expectation-and-variance"></a>
Expectation and Variance
</h2><h3 id="relations">
<a class="header-anchor" href="#relations"></a>
Relations
</h3>$$
DX=EX^2-(EX)^2
$$<p>
</p>
$$
D(cX)=c^2DX
$$<p>
</p>
$$
D(X+Y)=D(X)+D(Y)+2Cov(X,Y)
$$<p>
When X and Y are independent, $Cov(X,Y)=0$.</p>
<h3 id="common-expectations-and-variances">
<a class="header-anchor" href="#common-expectations-and-variances"></a>
Common Expectations and Variances
</h3><h4 id="distribution">
<a class="header-anchor" href="#distribution"></a>
$(0,1)$ Distribution
</h4>$$
EX=p,DX=p(1-p)
$$<h4 id="binomial-distribution">
<a class="header-anchor" href="#binomial-distribution"></a>
$B(n,p)$ Binomial Distribution
</h4>$$
EX=np,DX=np(1-p)
$$<h4 id="uniform-distribution-1">
<a class="header-anchor" href="#uniform-distribution-1"></a>
$U(a,b)$ Uniform Distribution
</h4>$$
EX=\frac{a+b}{2},DX=\frac{(b-a)^2}{12}
$$<h4 id="exponential-distribution-1">
<a class="header-anchor" href="#exponential-distribution-1"></a>
$E(\lambda)$ Exponential Distribution
</h4>$$
EX=\frac{1}{\lambda},DX=\frac{1}{\lambda^2}
$$<h4 id="poisson-distribution-1">
<a class="header-anchor" href="#poisson-distribution-1"></a>
$P(\lambda)$ Poisson Distribution
</h4>$$
EX=\lambda,DX=\lambda
$$<h4 id="normal-distribution-1">
<a class="header-anchor" href="#normal-distribution-1"></a>
$N(\mu,\sigma^2)$ Normal Distribution
</h4>$$
EX=\mu,DX=\sigma^2
$$<h2 id="covariance-and-correlation-coefficient">
<a class="header-anchor" href="#covariance-and-correlation-coefficient"></a>
Covariance and Correlation Coefficient
</h2><h3 id="covariance">
<a class="header-anchor" href="#covariance"></a>
Covariance
</h3>$$
Cov(X,Y)=E(XY)-E(X)E(Y)
$$<p>
Clearly, when $X=Y$, $Cov(X,X)=DX$.
</p>
$$
Cov(X+Y,Z)=Cov(X,Z)+Cov(Y,Z)
$$<p>
</p>
$$
Cov(X-Y,Z)=Cov(X,Z)+Cov(-Y,Z)=Cov(X,Z)-Cov(Y,Z)
$$<h3 id="correlation-coefficient">
<a class="header-anchor" href="#correlation-coefficient"></a>
Correlation Coefficient
</h3>$$
\rho_{XY}=\frac{Cov(X,Y)}{\sqrt{DX \cdot DY}}
$$<p>
Higher $|\rho|$ means stronger correlation.
When $Y=X$, $X$ and $X$ are perfectly correlated, $\rho=1$.
When $Y=-X$, $-X$ and $X$ are perfectly correlated, $\rho=-1$.
Clearly $|\rho| \le 1$.
$\rho=0$ means X and Y are uncorrelated.
==Warning==: Uncorrelated $\nRightarrow$ Independent, but Independent $\Rightarrow$ Uncorrelated.</p>
<h2 id="chebyshevs-inequality-for-probability-estimation">
<a class="header-anchor" href="#chebyshevs-inequality-for-probability-estimation"></a>
Chebyshev&rsquo;s Inequality for Probability Estimation
</h2>$$
P(|X-EX|\ge \varepsilon)\le \frac{DX}{\varepsilon^2}
$$<h2 id="central-limit-theorem">
<a class="header-anchor" href="#central-limit-theorem"></a>
Central Limit Theorem
</h2><p>A large number of independent, identically distributed variables can be approximated by a normal distribution.
If $x_1,x_2,\cdots,x_n$ are independent and identically distributed, then
</p>
$$
\sum_{i=1}^nx_i \sim N(\sum^{n}_{i=1}E(x_i),\sum^{n}_{i=1}D(x_i))
$$<h2 id="three-major-distributions">
<a class="header-anchor" href="#three-major-distributions"></a>
Three Major Distributions
</h2><h3 id="chi-squared-distribution">
<a class="header-anchor" href="#chi-squared-distribution"></a>
$\chi^2$ (Chi-Squared) Distribution
</h3>$$
X=x_1^2+x_2^2+\cdots +x_n^2 \sim \chi^2(n),x_i \sim N(0,1) \text{ and independent}
$$<p>
Upper $\alpha$ quantile $\chi^2_\alpha(n)$
Density function is in the first quadrant.</p>
<h3 id="distribution-1">
<a class="header-anchor" href="#distribution-1"></a>
$t$ Distribution
</h3>$$
X=\frac{x_1}{\sqrt{x_2/n}}\sim t(n),x_1 \sim N(0,1),x_2 \sim \chi^2(n),x_1 \text{ and } x_2 \text{ independent}
$$<p>
Upper $\alpha$ quantile $t_\alpha(n)$
Density function resembles normal distribution, symmetric.</p>
<h3 id="distribution-2">
<a class="header-anchor" href="#distribution-2"></a>
$F$ Distribution
</h3>$$
X=\frac{x_1/n_1}{x_2/n_2} \sim F(n_1,n_2),x_1 \sim \chi^2(n_1),x_2 \sim \chi^2(n_2),x_1 \text{ and } x_2 \text{ independent}
$$<p>
Upper $\alpha$ quantile $F_\alpha(n_1,n_2)$
Density function is in the first quadrant.</p>
<h2 id="estimation-methods">
<a class="header-anchor" href="#estimation-methods"></a>
Estimation Methods
</h2><p>For simple random samples that are independent and identically distributed, estimate unknown parameters.</p>
<h3 id="method-of-moments">
<a class="header-anchor" href="#method-of-moments"></a>
Method of Moments
</h3><p>When sample size is large, approximate the sample as uniformly distributed, using sample mean to replace population mean (population moment = sample moment).</p>
<ol>
<li>Calculate the expectation $EX$ (first population moment) from the given probability mass/density function.</li>
<li>Calculate the sample mean $\bar{X}$ (first sample moment) from the given sample.</li>
<li>Set $EX=\bar{X}$ and solve for $\theta_0$ as $\hat{\theta}$.</li>
</ol>
<h3 id="maximum-likelihood-estimation">
<a class="header-anchor" href="#maximum-likelihood-estimation"></a>
Maximum Likelihood Estimation
</h3><p>The estimate maximizes the probability of the observed sample.
Likelihood function for the sample:
</p>
$$
L(x_1,x_2,\cdots,x_n;\theta)=
\begin{cases}
P(X=x_1)P(X=x_2)\cdots P(X=x_n), \text{discrete}\\
f(x_1;\theta)f(x_2;\theta)\cdots f(x_n;\theta), \text{continuous}\\
\end{cases}
$$<p>
To find the maximum of $L$, take the derivative to find critical points. Since the product form is cumbersome, first take the logarithm before differentiating with respect to $\theta$.
</p>
$$
(\ln L)'=
\begin{cases}
(\ln P_1+\ln P_2+\cdots +\ln P_n)', \text{discrete}\\
[\ln f(x_1;\theta)+\ln f(x_2;\theta)+\cdots +\ln f(x_n;\theta)]', \text{continuous}\\
\end{cases}
=0
$$<p>
Solve for the critical point $\theta_0$, which is the estimate $\hat{\theta}$.</p>
<h2 id="unbiasedness-and-efficiency">
<a class="header-anchor" href="#unbiasedness-and-efficiency"></a>
Unbiasedness and Efficiency
</h2><p>If $E(\hat{\theta})=\theta$, then $\hat{\theta}$ is an unbiased estimator of $\theta$.
If $\hat{\theta_1},\hat{\theta_2}$ are both unbiased, and $D(\hat{\theta_1}) \lt \hat{\theta_2}$, then $\hat{\theta_1}$ is more efficient than $\hat{\theta_2}$.</p>
<h2 id="interval-estimation">
<a class="header-anchor" href="#interval-estimation"></a>
Interval Estimation
</h2><p>$X \sim N(\mu,\sigma^2)$, typically given $\bar{X}=\mu,S=\sigma$.
Confidence level: $1-\alpha$, usually $\alpha=5\%$.</p>
<h3 id="confidence-interval-for">
<a class="header-anchor" href="#confidence-interval-for"></a>
Confidence Interval for $\mu$
</h3><h4 id="known">
<a class="header-anchor" href="#known"></a>
$\sigma^2$ Known
</h4><p>Pivotal quantity (standardized):
</p>
$$
\frac{\bar{X}-\mu}{\sigma/\sqrt{n}}\sim N(0,1)
$$<p>
</p>
$$
\mu \in (\bar{x}-\frac{\sigma}{\sqrt{n}}\mu_{\frac{\alpha}{2}},\bar{x}+\frac{\sigma}{\sqrt{n}}\mu_{\frac{\alpha}{2}})
$$<h4 id="unknown">
<a class="header-anchor" href="#unknown"></a>
$\sigma^2$ Unknown
</h4><p>Pivotal quantity:
</p>
$$
\frac{\bar{X}-\mu}{S/\sqrt{n}}\sim t(n-1)
$$<p>
</p>
$$
\mu \in (\bar{x}-\frac{S}{\sqrt{n}}t_{\frac{\alpha}{2}}(n-1),\bar{x}+\frac{S}{\sqrt{n}}t_{\frac{\alpha}{2}}(n-1))
$$<h3 id="confidence-interval-for-1">
<a class="header-anchor" href="#confidence-interval-for-1"></a>
Confidence Interval for $\sigma^2$
</h3><p>Usually $\mu$ is unknown.
Pivotal quantity:
</p>
$$
\frac{(n-1)S^2}{\sigma^2}\sim \chi^2(n-1)
$$<p>
</p>
$$
\sigma^2 \in (\frac{(n-1)S^2}{\chi^2_{\frac{\alpha}{2}}(n-1)},\frac{(n-1)S^2}{\chi^2_{1-\frac{\alpha}{2}}(n-1)}})
$$<h2 id="hypothesis-testing">
<a class="header-anchor" href="#hypothesis-testing"></a>
Hypothesis Testing
</h2><p>Generally, the significance level is set at $\alpha=5\%$.</p>
<h3 id="test-mean-test">
<a class="header-anchor" href="#test-mean-test"></a>
$\mu$ Test (Mean Test)
</h3><ol>
<li>
<p><strong>Hypothesis Formulation</strong><br>
$H_0: \mu = \mu_0$ (null hypothesis)<br>
$H_1: \mu \ne \mu_0$ (alternative hypothesis)</p>
</li>
<li>
<p><strong>Test Statistic Selection</strong></p>
<ul>
<li>When population variance $\sigma^2$ is <strong>known</strong>:<br>
Use $Z = \frac{\bar{X} - \mu}{\sigma / \sqrt{n}} \sim N(0,1)$ (<strong>Z-test</strong>)</li>
<li>When population variance $\sigma^2$ is <strong>unknown</strong>:<br>
Use $T = \frac{\bar{X} - \mu}{S / \sqrt{n}} \sim t(n-1)$ (<strong>T-test</strong>)</li>
</ul>
</li>
<li>
<p><strong>Rejection Region Determination</strong></p>
<ul>
<li>For Z-test:<br>
$W = (-\infty, -z_{\alpha/2}) \cup (z_{\alpha/2}, \infty)$</li>
<li>For T-test:<br>
$W = (-\infty, -t_{\alpha/2}(n-1)) \cup (t_{\alpha/2}(n-1), \infty)$</li>
</ul>
</li>
<li>
<p><strong>Decision Rule</strong><br>
Reject $H_0$ if the computed test statistic falls within the rejection region $W$.</p>
</li>
</ol>
<h3 id="test-variance-test">
<a class="header-anchor" href="#test-variance-test"></a>
$\sigma^2$ Test (Variance Test)
</h3><p>Sample standard deviation formula:<br>
</p>
$$ S = \sqrt{S^2} = \sqrt{\frac{1}{n-1} \sum_{i=1}^n (x_i - \bar{X})^2} $$<ol>
<li>
<p><strong>Hypothesis Formulation</strong><br>
$H_0: \sigma^2 = \sigma_0^2$<br>
$H_1: \sigma^2 \ne \sigma_0^2$</p>
</li>
<li>
<p><strong>Test Statistic Selection</strong><br>
Use $\chi^2 = \frac{(n-1)S^2}{\sigma^2} \sim \chi^2(n-1)$ (<strong>Chi-square test</strong>)</p>
</li>
<li>
<p><strong>Rejection Region Determination</strong><br>
$W = (0, \chi^2_{1-\alpha/2}(n-1)) \cup (\chi^2_{\alpha/2}(n-1), \infty)$</p>
</li>
<li>
<p><strong>Decision Rule</strong><br>
Reject $H_0$ if the test statistic falls within the rejection region $W$.</p>
</li>
</ol>
<h2 id="supplementary-notes">
<a class="header-anchor" href="#supplementary-notes"></a>
Supplementary Notes
</h2><h3 id="properties-of-distribution-functions">
<a class="header-anchor" href="#properties-of-distribution-functions"></a>
Properties of Distribution Functions
</h3><p>For different types of random variables:</p>
<ul>
<li><strong>Continuous random variables</strong>: The distribution function is continuous.</li>
<li><strong>Discrete random variables</strong>: The continuity of the distribution function depends on its definition.</li>
</ul>
<h4 id="left-continuous-definition">
<a class="header-anchor" href="#left-continuous-definition"></a>
Left-Continuous Definition
</h4>$$ F(x) = P(X  \lt  x) $$<p><br>
In this case:</p>
<ul>
<li>$F(x) = F(x^-) = F(x-0) = P(X  \lt  x)$</li>
<li>$F(x^+) = F(x+0) = P(X  \lt  x) + P(X = x)$</li>
</ul>
<p>When $P(X = x) \ne 0$, $F(x^+)  \gt  F(x) = F(x^-)$, making the distribution function <strong>left-continuous but not right-continuous</strong>.</p>
<h4 id="right-continuous-definition">
<a class="header-anchor" href="#right-continuous-definition"></a>
Right-Continuous Definition
</h4>$$ F(x) = P(X \le x) $$<p><br>
In this case:</p>
<ul>
<li>$F(x) = F(x^+) = F(x+0) = P(X \le x)$</li>
<li>$F(x^-) = F(x-0) = P(X \le x) - P(X = x)$</li>
</ul>
<p>When $P(X = x) \ne 0$, $F(x^+) = F(x)  \gt  F(x^-)$, making the distribution function <strong>right-continuous but not left-continuous</strong>.</p>
<h4 id="coin-toss-example">
<a class="header-anchor" href="#coin-toss-example"></a>
Coin Toss Example
</h4><p>Consider a single coin toss:</p>
<ul>
<li>Heads (1): Probability 0.5</li>
<li>Tails (0): Probability 0.5</li>
</ul>
<p>Random variable $X$ has the distribution:<br>
</p>
$$ 
\begin{cases} 
P(X=0) = 0.5 \\ 
P(X=1) = 0.5 \\ 
P(X=\text{other values}) = 0 \\ 
\end{cases} 
$$<p>Cumulative probabilities:<br>
</p>
$$ 
\begin{cases} 
P(X  \lt  0) = 0 \\ 
P(0 \le X  \lt  1) = 0.5 \\ 
P(X \ge 1) = 1 \\ 
\end{cases} 
$$<p>Using the <strong>left-continuous definition</strong> $F(x) = P(X  \lt  x)$:<br>
</p>
$$ 
F(x) = 
\begin{cases} 
0, & x \le 0 \\ 
0.5, & 0  \lt  x \le 1 \\ 
1, & x  \gt  1 \\ 
\end{cases} 
$$<p><br>
Here:</p>
<ul>
<li>$F(0^-) = F(0) = 0$</li>
<li>$F(0^+) = 0.5$</li>
<li>At $x=0$, there is a discontinuity point where the function is <strong>left-continuous but not right-continuous</strong>.</li>
</ul>

        
        <hr><p>Published on 2024-09-10 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-09-10</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Math</category></item><item><title>Windows Customization Journey</title><link>https://www.guzhengsvt.cn/en/post/othernotes/windows%E7%BE%8E%E5%8C%96%E5%8E%86%E7%A8%8B/</link><pubDate>Sat, 07 Sep 2024 21:12:17 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/othernotes/windows%E7%BE%8E%E5%8C%96%E5%8E%86%E7%A8%8B/</guid><description>
<![CDATA[<h1>Windows Customization Journey</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="preface">
<a class="header-anchor" href="#preface"></a>
Preface
</h2><p>As the saying goes, <strong>the pinnacle of customization is the default</strong>.</p>
<p>While the default Windows setup can efficiently handle all tasks, it’s undeniably <em>ugly</em>.</p>
<p>With a performance-overkill PC at hand, it’s entirely justified to pursue some aesthetic refinements and simplifications to satisfy my <del>high-end taste</del> (lol).</p>
<p>Below, I’ll share the customization software/solutions I’m currently using or have tried.</p>
<h2 id="current-desktop-setup">
<a class="header-anchor" href="#current-desktop-setup"></a>
Current Desktop Setup
</h2><ul>
<li><strong>TranslucentTB</strong>: Transparent/acrylic taskbar effects</li>
<li><strong>Sapphire</strong>: Desktop icon interaction optimization</li>
<li><strong>Wallpaper Engine</strong>: To minimize GPU and memory usage, I’ve chosen a 4K video of Noa’s memory lobby from <em>Blue Archive</em> as the wallpaper. The entire Wallpaper Engine process consumes about 100 MB of RAM.</li>
<li><strong>Rainmeter</strong>: Only using an audio visualizer for aesthetics because Noa is already beautiful enough 😋.<br>
Previously tried hardware monitoring widgets but found them useless except for inducing anxiety—so I ditched them.</li>
<li><strong>QQ customization</strong>, <strong>NetEase Cloud Music customization</strong>, <strong>cursor customization</strong>, <strong>Obsidian themes and plugins</strong>, plus <strong>Edge browser’s iTab new tab page</strong> and various practical extensions. My current workflow is perfectly comfortable.</li>
</ul>
<p>Here are some screenshots:<br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/4189283242.png" alt="Desktop Showcase 1.png"></p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/1078908045.png" alt="Desktop Showcase 2.png"></p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/2569059367.png" alt="QQ Customization Showcase.png"></p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/2176031375.png" alt="Edge Showcase.png"></p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/994680139.png" alt="Obsidian Showcase.png"></p>
<p><img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/130206377.png" alt="Task Manager Showcase.png"></p>
<p>Under this workflow, the browser consumes the most memory, while Wallpaper Engine is the primary GPU load. From login to full autostart, it takes under 10 seconds, all within acceptable performance limits.</p>
<p><strong>Specs:</strong></p>
<ul>
<li>12400 F</li>
<li>7700 XT</li>
<li>32G DDR4</li>
<li>2K 180Hz HDR display</li>
<li>Windows 11 Pro 23H2</li>
</ul>
<h2 id="qq-customization">
<a class="header-anchor" href="#qq-customization"></a>
QQ Customization
</h2><p>==Highly recommended!==<br>
QQ is something most Chinese people are forced to use yet despise—ads, pop-ups, unwanted entertainment pages, and a cluttered, dysfunctional interface.<br>
The Windows client improved somewhat with QQ 9, but the annoying elements are creeping back. Old habits die hard.<br>
To avoid enduring this daily torture, the great open-source-minded tinkerers of the Chinese internet have launched QQ overhaul projects. Today, I’ll introduce one such masterpiece: <strong>LiteLoaderQQNT</strong>.</p>
<p>LiteLoader is a plugin platform for QQNT. After installation, you can download numerous plugins.<br>
GitHub project: <a href="https://github.com/LiteLoaderQQNT/LiteLoaderQQNT">LiteLoaderQQNT: QQNT Plugin Loader: Lightweight · Minimalist · Open-Source · Furry</a></p>
<p>Recommended plugins:</p>
<ol>
<li><a href="https://github.com/xinyihl/LiteLoaderQQNT-PluginInstaller/tree/main">PluginInstaller</a>: LiteLoaderQQNT plugin installer for easy updates and one-click install/restart. Install this first to simplify adding other plugins.</li>
<li><a href="https://github.com/ltxhhz/LL-plugin-list-viewer/tree/main">LL-plugin-list-viewer</a>: Browse, install, and update LiteLoaderQQNT plugins. Lists most plugins with direct GitHub links. Installation is buggy—some plugins require manual setup, or QQ may fail to start. Best used as a plugin/theme viewer.</li>
<li><a href="https://github.com/xiyuesaves/LiteLoaderQQNT-lite_tools/tree/v4">Lite Tools</a>: A multi-functional toolbox to avoid hunting for plugins. Key features:
<ul>
<li><strong>Chat interface美化</strong> (Telegram-style: avatars, timestamps, left-aligned messages)</li>
<li>Remove badges, VIP tags, and other clutter.</li>
<li>Right-click quick search for text/images, message-to-image conversion.</li>
<li>Highlight options and special messages.</li>
<li><strong>Mini-program links → URL cards</strong>, remember last position, quick &ldquo;+1&rdquo; (repeater).</li>
<li><strong>Message preview</strong>: Generates Telegram-like preview cards from the first link in a message.</li>
<li>Local emojis.</li>
<li>Message suffixes.</li>
<li><strong>Cache and highlight recalled messages</strong>.</li>
<li><strong>Custom backgrounds</strong> with brightness, transparency, and blur effects.</li>
<li><strong>Simplify sidebar</strong> (all features toggleable).</li>
<li>Input box and message box toggles.</li>
<li>…and more.</li>
</ul>
</li>
<li><a href="https://github.com/xh321/LiteLoaderQQNT-QR-Decode/tree/master">QR Decode</a>: Decodes QR codes in QQNT chat images.</li>
<li><a href="https://github.com/xh321/LiteLoaderQQNT-Directly-Jump/tree/master">Directly Jump</a>: Skips QQ’s link warning page.</li>
<li><a href="https://github.com/MUKAPP/LiteLoaderQQNT-DeepL/tree/main">DeepL for QQNT</a>: Integrates DeepL translation.</li>
<li><a href="https://github.com/d0j1a1701/LiteLoaderQQNT-Markdown/tree/v4">Markdown</a>: Adds Markdown support. Only renders for other QQNT users with this plugin, so mostly useless.</li>
<li><a href="https://github.com/xh321/LiteLoaderQQNT-Kill-Update/tree/master">Kill-Update</a>: Blocks QQ update prompts (some plugins lag behind QQ updates).</li>
<li><a href="https://github.com/mo-jinran/window-on-top/tree/v4">Window On Top</a>: Adds window pinning.</li>
</ol>
<p>Themes aren’t covered here—a decluttered QQNT is already decent-looking.<br>
There are also AI plugins (e.g., ChatGPT), but I’m too lazy to set up APIs (<del>no money</del>).</p>
<h2 id="netease-cloud-music-customization">
<a class="header-anchor" href="#netease-cloud-music-customization"></a>
NetEase Cloud Music Customization
</h2><p>==Highly recommended!==<br>
China’s music platforms love bloat: communities, short videos, VIP spam.<br>
A music app needs just a few core features. While standalone players exist, they lack platform perks like song searches, comments, and collaborative listening. Sunk costs (playlists, artist follows, purchases) trap users in these ecosystems.</p>
<p>Thankfully, NetEase Cloud Music has plugins. Here’s the loader: <strong>BetterNCM</strong></p>
<ul>
<li>Official site: <a href="https://microblock.cc/betterncm">MicroBlock | BetterNCM</a></li>
<li>GitHub: <a href="https://github.com/MicroCBer/BetterNCM">GitHub - MicroCBer/BetterNCM</a></li>
<li>Community guide: <a href="https://v2e2npdz15.feishu.cn/docx/UZkSd9d46o4fVOxaPNBcGXSenme">Feishu Doc</a></li>
</ul>
<p>BetterNCM lets you download/update themes and plugins in-app—no GitHub scavenger hunts.</p>
<p><strong>Recommended themes:</strong></p>
<ul>
<li><strong>Materia You</strong>: Minimalist, solid-color backgrounds. Multiple color schemes.<br>
<img src="https://guzhengsvt.top/usr/uploads/2024/09/1596889912.png" alt="Materia You.png"></li>
</ul>
<p><strong>Recommended plugins:</strong></p>
<ol>
<li>
<p><strong>RoundCornerNCM</strong>: Rounded corners (Windows 11 only).</p>
</li>
<li>
<p><strong>MikuPlugin</strong>: Toggles UI elements (e.g., hide videos/livestreams).<br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/439024086.png" alt="MikuPlugin.png"></p>
</li>
<li>
<p><strong>Apple-Style Lyrics</strong>: Apple Music-like layout + lyric source switching.<br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/663279809.png" alt="Apple Lyrics.png"></p>
</li>
<li>
<p><strong>What’s This Cover?</strong>: Adds thumbnails to song lists (may cause lag).<br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/1807448404.png" alt="Cover Plugin.png"></p>
</li>
<li>
<p><strong>RuLyrics</strong>: Desktop lyrics (word-by-word, dual-line). Custom fonts/colors. Taskbar embedding (may conflict with TranslucentTB).<br>
<img src="https://cdn.jsdelivr.net/gh/GuZhengSVT/Hugo-media/2024/09/285235071.png" alt="Desktop Lyrics.png"></p>
</li>
<li>
<p>Explore more plugins—but check GitHub Issues for conflicts/dependencies.</p>
</li>
</ol>
<h2 id="wallpaper-engine">
<a class="header-anchor" href="#wallpaper-engine"></a>
Wallpaper Engine
</h2><p>==Essential!==<br>
The legendary <em>Steam小红车</em>.</p>
<p>Pros:</p>
<ul>
<li><strong>Vast library</strong>: Steam Workshop offers endless free wallpapers.</li>
<li><strong>Diversity</strong>: Videos, GIFs, web pages, etc. Many include extras like music visualizers.</li>
<li><strong>Easy discovery</strong>: Filter by resolution, type, age rating, etc.</li>
<li><strong>User-friendly</strong>: Steam integration means no VPNs. Most wallpapers are plug-and-play.</li>
<li><strong>Mobile sync</strong>: Android app mirrors PC wallpapers.</li>
</ul>
<p><strong>Warning</strong>: Complex web/4K wallpapers can hog GPU/VRAM. Tweak FPS/effects in settings.</p>
<p>Only con: Costs 19 RMB on Steam—a fair price.</p>
<p><a href="https://store.steampowered.com/app/431960/Wallpaper_Engine/">Steam Store Page</a></p>
<h2 id="translucenttb">
<a class="header-anchor" href="#translucenttb"></a>
TranslucentTB
</h2><p>==Highly recommended!==<br>
Tiny tool for transparent/acrylic taskbars. Minimal resource usage.</p>
<p>GitHub: <a href="https://github.com/TranslucentTB/TranslucentTB">TranslucentTB</a><br>
Chinese localization: <a href="https://github.com/kasuganosoras/TranslucentTB-CN">TranslucentTB-CN</a></p>
<h2 id="rainmeter">
<a class="header-anchor" href="#rainmeter"></a>
Rainmeter
</h2><p>==Highly recommended!==<br>
The OG desktop widget tool. Create or import <strong>skins</strong> for:</p>
<ul>
<li>Hardware monitors (CPU/GPU/RAM)</li>
<li>Audio visualizers</li>
<li>Media players</li>
<li>Anime trackers</li>
<li>Image galleries</li>
<li>etc.</li>
</ul>
<p>Cons:</p>
<ul>
<li>Too many widgets = lag</li>
<li>Some skins are resource-heavy</li>
<li>Requires tinkering</li>
</ul>
<p>Official site: <a href="https://www.rainmeter.net/">Rainmeter</a><br>
Chinese site: <a href="https://rainmeter.cn/">Rainmeter.cn</a><br>
GitHub: <a href="https://github.com/rainmeter/rainmeter">Rainmeter</a><br>
Chinese forum: <a href="https://bbs.rainmeter.cn/">BBS</a></p>
<h2 id="start11">
<a class="header-anchor" href="#start11"></a>
Start11
</h2><p>Start menu/taskbar customizer:</p>
<ul>
<li>Revert to Win7/10 styles. Adjust colors, transparency, spacing, alignment.</li>
<li><strong>Enhanced search</strong>: Integrates Edge tabs into results. Option to hide web content!</li>
<li>Custom start button icons, menu backgrounds, taskbar textures.</li>
</ul>
<p>Cons:</p>
<ul>
<li>Paid (35 RMB lifetime, 30-day trial).</li>
<li>Felt sluggish for me.</li>
<li>Conflicts with TranslucentTB.</li>
</ul>
<p>Official site: <a href="https://stardock-start11.com/">Start11</a><br>
Chinese site: <a href="https://www.start11.cn/">Start11.cn</a><br>
Steam (mixed reviews): <a href="https://store.steampowered.com/app/1694750/Start11_v2/">Start11 v2</a></p>
<h2 id="maple-customization-toolbox">
<a class="header-anchor" href="#maple-customization-toolbox"></a>
Maple Customization Toolbox
</h2><p>File Explorer/Start menu/window美化:<br>
Features:</p>
<ul>
<li>Custom fonts, light/dark modes (experimental).</li>
<li><strong>Background images</strong> for Explorer/Start Menu/Settings.</li>
<li>Color schemes (title bars, headers, progress bars).</li>
<li>Icon packs (desktop/Explorer).</li>
<li><strong>Window effects</strong>: Transparency, blur, acrylic, Mica.</li>
<li><strong>Title bar buttons</strong>: macOS-style, rounded tabs, scrollbars.</li>
<li>Preset sharing.</li>
<li>Plugins for extended functionality.</li>
</ul>
<p>Evaluation:</p>
<ul>
<li>Easy to use, moderate resource usage.</li>
<li>Plugins/configs add replayability.</li>
<li><strong>Incompatible with TranslucentTB</strong>.</li>
<li>Explorer crashes, missing backgrounds, unthemed toolbars (may be fixed).</li>
<li>Low-res backgrounds. Dark mode images can obscure text.</li>
<li>Free but not fully open-source (account required).</li>
</ul>
<p>Download: <a href="https://winmoes.com/tools/12948.html">枫の主题社</a></p>
<h2 id="sapphire">
<a class="header-anchor" href="#sapphire"></a>
Sapphire
</h2><p>==Highly recommended!==<br>
Desktop icon/layout overhaul. <strong>Revamps interaction</strong>:</p>
<ul>
<li>Adjust grid spacing.</li>
<li><strong>Folders-as-grids</strong> (phone-style).</li>
<li>Custom icon/grid size, rounding, transparency.</li>
<li>Font changes.</li>
<li><strong>Minimal mode</strong> (hide filenames).</li>
<li>Animations.</li>
<li><strong>Dock栏</strong> (Mac/phone-style, vertical/horizontal).</li>
<li><strong>Folder previews</strong> (hover to peek, click to expand in-place).</li>
<li><strong>Steam shortcut optimization</strong>.</li>
<li><strong>Double-click to hide icons</strong> (per-item toggle).</li>
<li>~100 MB RAM, negligible GPU.</li>
<li>Custom wallpapers (partial Wallpaper Engine support).</li>
<li>Multi-monitor.</li>
</ul>
<p>Cons:</p>
<ul>
<li><strong>Advanced folder preview crashes with many files</strong> (awaiting fixes).</li>
<li>No layout saving (though crashes don’t reset it).</li>
<li>Windows 11 only.</li>
<li>Overrides desktop right-click (no customization yet).</li>
</ul>
<p>GitHub: <a href="https://github.com/hymnly133/Sapphire-EnhancedDesktop">Sapphire-EnhancedDesktop</a></p>
<h2 id="cursor-customization">
<a class="header-anchor" href="#cursor-customization"></a>
Cursor Customization
</h2><p>Many cursor packs are shared online. Pick your vibe. Installation is simple.</p>
<p>Two recommendations (subtle yet unique):</p>
<ol>
<li><strong>Genshin Nahida cursor</strong>: <a href="https://www.bilibili.com/video/BV14P411c7ap/">Bilibili video</a></li>
<li><strong>Blue Archive Millennium cursor</strong> (simple/cute, currently using):<br>
GitHub: <a href="https://github.com/makipom/BlueArchive-Cursors">BlueArchive-Cursors</a></li>
</ol>
        
        <hr><p>Published on 2024-09-07 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-09-07</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>OtherNotes</category></item><item><title>Digital Signal Processing</title><link>https://www.guzhengsvt.cn/en/post/physics/%E6%95%B0%E5%AD%97%E4%BF%A1%E5%8F%B7%E5%A4%84%E7%90%86/</link><pubDate>Wed, 04 Sep 2024 23:44:15 +0800</pubDate><author>lvbowen040427@163.com (孤筝)</author><guid>https://www.guzhengsvt.cn/en/post/physics/%E6%95%B0%E5%AD%97%E4%BF%A1%E5%8F%B7%E5%A4%84%E7%90%86/</guid><description>
<![CDATA[<h1>Digital Signal Processing</h1><p>Author: 孤筝(lvbowen040427@163.com)</p>
        
          <h2 id="fundamental-concepts-of-digital-signal-processing">
<a class="header-anchor" href="#fundamental-concepts-of-digital-signal-processing"></a>
Fundamental Concepts of Digital Signal Processing
</h2><h3 id="signal-classification">
<a class="header-anchor" href="#signal-classification"></a>
Signal Classification
</h3><ol>
<li><strong>Continuous-time signal</strong>: Analog signal, continuous in the time domain.</li>
<li><strong>Discrete-time signal</strong>: Continuous in amplitude but discrete in time.</li>
<li><strong>Amplitude-discrete signal</strong>: Discrete in amplitude but continuous in time.</li>
<li><strong>Digital signal</strong>: Discrete in both amplitude and time.</li>
</ol>
<h4 id="differences">
<a class="header-anchor" href="#differences"></a>
Differences
</h4><p>The distinction between a discrete-time signal and a digital signal lies solely in the <strong>quantization error</strong> present in digital signals.</p>
<h3 id="implementation-methods-of-digital-signal-processing">
<a class="header-anchor" href="#implementation-methods-of-digital-signal-processing"></a>
Implementation Methods of Digital Signal Processing
</h3><p>The primary target of digital signal processing is <strong>digital signals</strong>, achieved through <strong>numerical operations</strong>.</p>
<h4 id="software-implementation">
<a class="header-anchor" href="#software-implementation"></a>
Software Implementation
</h4><p>Programs are written based on principles and algorithms and executed on general-purpose computers.</p>
<ul>
<li><strong>Advantages</strong>: Flexibility</li>
<li><strong>Disadvantages</strong>: Slow computation speed, difficult to achieve real-time processing.</li>
<li><strong>Suitable for</strong>: Algorithm research and simulation.</li>
</ul>
<h4 id="hardware-implementation">
<a class="header-anchor" href="#hardware-implementation"></a>
Hardware Implementation
</h4><p>Hardware structures are designed according to specific requirements and algorithms, using basic components such as multipliers, adders, delay units, controllers, memory, and input/output interfaces.</p>
<ul>
<li><strong>Advantages</strong>: Fast computation speed, capable of real-time processing.</li>
<li><strong>Disadvantages</strong>: Inflexibility</li>
</ul>
<p>Hardware implementation refers to selecting an appropriate <strong>DSP chip</strong>, equipped with suitable software and language for the task, to achieve specific signal processing functions.</p>
<h4 id="dedicated-chips">
<a class="header-anchor" href="#dedicated-chips"></a>
Dedicated Chips
</h4><p>Using <strong>Digital Signal Processing (DSP) chips</strong> is currently the fastest-growing and most widely applied method. DSP chips offer significant advantages over general-purpose microcontrollers:</p>
<ul>
<li><strong>Internal multipliers and accumulators</strong> tailored for digital signal processing.</li>
<li><strong>Pipeline architecture</strong>, parallel structures, and multiple buses.</li>
<li>Specialized instructions optimized for digital signal processing, enabling high-speed computation.</li>
</ul>
<p>For ultra-high-speed real-time systems where DSP chips are insufficient, <strong>Field-Programmable Gate Arrays (FPGAs)</strong> or custom ASICs (Application-Specific Integrated Circuits) should be employed.</p>
<h3 id="characteristics-of-digital-signal-processing">
<a class="header-anchor" href="#characteristics-of-digital-signal-processing"></a>
Characteristics of Digital Signal Processing
</h3><p>Compared to analog signal processing, digital signal processing offers:</p>
<ol>
<li><strong>Flexibility</strong></li>
<li><strong>High precision and stability</strong></li>
<li><strong>Ease of large-scale integration</strong></li>
<li><strong>Capability to perform functions unattainable by analog systems</strong>, such as storage, complex transformations, and operations.</li>
</ol>
<h3 id="signal-dimensionality">
<a class="header-anchor" href="#signal-dimensionality"></a>
Signal Dimensionality
</h3><p>A signal is typically a function of one or more independent variables.</p>
<ul>
<li><strong>One-dimensional signal</strong>: Only one independent variable.</li>
<li><strong>Multidimensional signal</strong>: Two or more independent variables.</li>
</ul>
<h2 id="discrete-time-signals-and-systems">
<a class="header-anchor" href="#discrete-time-signals-and-systems"></a>
Discrete-Time Signals and Systems
</h2><h3 id="discrete-time-signals">
<a class="header-anchor" href="#discrete-time-signals"></a>
Discrete-Time Signals
</h3><p>In practice, signals are generally analog. <strong>Uniform sampling</strong> (equally spaced sampling) converts them into discrete-time signals.</p>
<p>For an analog signal \( x_a(t) \), discrete time points \( t_n \).<br>
With uniform sampling interval \( T \), \( t_n = nT \):<br>
</p>
$$
x(n) = x_a(t) \big|_{t=nT} = x_a(nT), \quad -\infty  \lt  n  \lt  \infty  
$$<p><br>
Here, \( x(n) \) is called a <strong>discrete-time signal</strong>, where \( n \) is an integer, forming a sequence:<br>
</p>
$$
x(n) = \{\cdots, x_a(-2T), x_a(-T), x_a(0), x_a(T), x_a(2T), \cdots \}  
$$<p><br>
Discrete-time signals are also referred to as <strong>sequences</strong>.</p>
<h4 id="representation-methods-for-sequences">
<a class="header-anchor" href="#representation-methods-for-sequences"></a>
Representation Methods for Sequences
</h4><h5 id="set-notation">
<a class="header-anchor" href="#set-notation"></a>
Set Notation
</h5><p>A set of numbers is denoted by \( \{\cdot\} \). A discrete-time signal can be represented as an ordered set of numbers.<br>
The underlined element in the set indicates the sample value at \( n=0 \).</p>
<h5 id="formula-representation">
<a class="header-anchor" href="#formula-representation"></a>
Formula Representation
</h5><p>Example:<br>
</p>
$$
x(n) = a^{|n|}, \quad 0  \lt  a  \lt  1, \quad -\infty  \lt  n  \lt  \infty  
$$<h5 id="graphical-representation">
<a class="header-anchor" href="#graphical-representation"></a>
Graphical Representation
</h5><p>The horizontal axis represents \( n \), and the vertical axis represents the value of \( x \), with dots atop vertical lines.</p>
<h4 id="common-standard-sequences">
<a class="header-anchor" href="#common-standard-sequences"></a>
Common Standard Sequences
</h4><h5 id="unit-impulse-sequence">
<a class="header-anchor" href="#unit-impulse-sequence"></a>
Unit Impulse Sequence \( \delta(n) \)
</h5>$$
\delta(n) = 
\begin{cases} 
1 & n = 0 \\
0 & n \neq 0 
\end{cases}  
$$<p><br>
Also called the <strong>unit sample sequence</strong>, distinct from the unit impulse signal \( \delta(t) \).</p>
<h5 id="unit-step-sequence">
<a class="header-anchor" href="#unit-step-sequence"></a>
Unit Step Sequence \( u(n) \)
</h5>$$
u(n) = 
\begin{cases} 
1 & n \geq 0 \\
0 & n  \lt  0 
\end{cases}  
$$<p><br>
Relationships:<br>
</p>
$$
\delta(n) = u(n) - u(n-1)  
$$<p><br>
</p>
$$
u(n) = \sum_{k=0}^{\infty} \delta(n - k)  
$$<h5 id="rectangular-sequence">
<a class="header-anchor" href="#rectangular-sequence"></a>
Rectangular Sequence \( R_N(n) \)
</h5>$$
R_N(n) = 
\begin{cases} 
1 & 0 \leq n \leq N-1 \\
0 & \text{Otherwise} 
\end{cases}  
$$<p><br>
\( N \) is the length of the rectangular sequence. It can be expressed using the unit step sequence:<br>
</p>
$$
R_N(n) = u(n) - u(n - N)  
$$<h5 id="real-exponential-sequence">
<a class="header-anchor" href="#real-exponential-sequence"></a>
Real Exponential Sequence
</h5>$$
x(n) = a^n u(n), \quad a \text{ is a real number}  
$$<ul>
<li><strong>Convergent sequence</strong>: \( |a|  \lt  1 \)</li>
<li><strong>Divergent sequence</strong>: \( |a|  \gt  1 \)</li>
</ul>
<h5 id="sinusoidal-sequence">
<a class="header-anchor" href="#sinusoidal-sequence"></a>
Sinusoidal Sequence
</h5>$$
x(n) = \sin(\omega n)  
$$<p><br>
Here, \( \omega \) is the <strong>digital frequency</strong> (units: radians, \( rad \)), representing the rate of change (phase shift between adjacent samples).</p>
<p><strong>Analog angular frequency \( \varOmega \)</strong><br>
If the sinusoidal sequence is derived from sampling an analog signal \( x_a(t) = \sin(\varOmega t) \):<br>
</p>
$$
x(n) = x_a(t) \big|_{t=nT} = \sin(\varOmega nT) = \sin(\omega n)  
$$<p><br>
The relationship between digital and analog frequencies is:<br>
</p>
$$
\omega = \varOmega T  
$$<p><br>
Given the sampling frequency \( F_s = \frac{1}{T} \):<br>
</p>
$$
\omega = \frac{\varOmega}{F_s}  
$$<p><br>
<em>Digital frequency is the normalized analog angular frequency relative to the sampling frequency.</em></p>
<h5 id="complex-exponential-sequence">
<a class="header-anchor" href="#complex-exponential-sequence"></a>
Complex Exponential Sequence
</h5>$$
x(n) = e^{(\sigma + j \omega_0)n} = \cos(\omega_0 n) + j \sin(\omega_0 n)  
$$<p><br>
Since \( n \) is an integer, both sinusoidal and complex exponential sequences are periodic with period \( 2\pi \).</p>
<h5 id="periodic-sequence">
<a class="header-anchor" href="#periodic-sequence"></a>
Periodic Sequence
</h5><p>If for all \( n \), there exists a <strong>smallest positive integer</strong> \( N \) such that:<br>
</p>
$$
x(n) = x(n + N), \quad -\infty  \lt  n  \lt  \infty  
$$<p><br>
then the sequence \( x(n) \) is <strong>periodic</strong> with period \( N \).</p>
<h4 id="sequence-operations">
<a class="header-anchor" href="#sequence-operations"></a>
Sequence Operations
</h4><h5 id="addition-and-multiplication">
<a class="header-anchor" href="#addition-and-multiplication"></a>
Addition and Multiplication
</h5><h5 id="shifting-flipping-and-scaling">
<a class="header-anchor" href="#shifting-flipping-and-scaling"></a>
Shifting, Flipping, and Scaling
</h5><h3 id="discrete-time-systems">
<a class="header-anchor" href="#discrete-time-systems"></a>
Discrete-Time Systems
</h3><p>For a system with input \( x(n) \), output \( y(n) \), and operation \( T[\cdot] \):<br>
</p>
$$
y(n) = T[x(n)]  
$$<h4 id="linear-systems">
<a class="header-anchor" href="#linear-systems"></a>
Linear Systems
</h4><p>A system is <strong>linear</strong> if its input-output relationship satisfies the principle of superposition.</p>
<h5 id="additivity">
<a class="header-anchor" href="#additivity"></a>
Additivity
</h5>$$
y_1(n) = T[x_1(n)], \quad y_2(n) = T[x_2(n)]  
$$<p><br>
</p>
$$
T[x_1(n) + x_2(n)] = y_1(n) + y_2(n)  
$$<h5 id="homogeneity-scaling">
<a class="header-anchor" href="#homogeneity-scaling"></a>
Homogeneity (Scaling)
</h5>$$
T[a \cdot x(n)] = a \cdot y(n)  
$$<h4 id="time-invariant-systems">
<a class="header-anchor" href="#time-invariant-systems"></a>
Time-Invariant Systems
</h4><p>A system is <strong>time-invariant</strong> if its operation \( T[\cdot] \) does not change over time, i.e., the system&rsquo;s response is independent of when the input is applied.<br>
</p>
$$
y(n) = T[x(n)]  
$$<p><br>
</p>
$$
y(n - n_0) = T[x(n - n_0)]  
$$<h4 id="characteristics-of-linear-time-invariant-lti-systems">
<a class="header-anchor" href="#characteristics-of-linear-time-invariant-lti-systems"></a>
Characteristics of Linear Time-Invariant (LTI) Systems
</h4><p>Total response = Zero-input response + Zero-state response</p>
<h5 id="unit-impulse-response">
<a class="header-anchor" href="#unit-impulse-response"></a>
Unit Impulse Response
</h5><p>With zero initial state (no zero-input response):<br>
</p>
$$
h(n) = T[\delta(n)]  
$$<p><br>
For any input \( x(n) \):<br>
</p>
$$
x(n) = \sum_{m=-\infty}^{\infty} x(m) \delta(n - m)  
$$<p><br>
Thus, the output is:<br>
</p>
$$
\begin{align} 
y(n) 
&= T[x(n)] \\ 
&= T\left[\sum_{m=-\infty}^{\infty} x(m) \delta(n - m)\right] \\ 
&= \sum_{m=-\infty}^{\infty} x(m) T[\delta(n - m)] \\ 
&= \sum_{m=-\infty}^{\infty} x(m) h(n - m) \\ 
&= x(n) * h(n) 
\end{align}  
$$<p><br>
This is the <strong>convolution sum</strong>. For details, refer to <em>Signals and Systems</em>.</p>
<h4 id="causality-of-systems">
<a class="header-anchor" href="#causality-of-systems"></a>
Causality of Systems
</h4><p><strong>Definition</strong>: A system is <strong>causal</strong> if its output at time \( n \) depends only on the input at time \( n \) and prior inputs, not future inputs.</p>
<p><strong>Necessary and Sufficient Condition</strong>:<br>
The unit impulse response satisfies:<br>
</p>
$$
h(n) = 0 \quad \text{for} \quad n  \lt  0  
$$<h4 id="stability-of-systems">
<a class="header-anchor" href="#stability-of-systems"></a>
Stability of Systems
</h4><p><strong>Definition</strong>: A system is <strong>stable</strong> if every bounded input produces a bounded output (BIBO stability).</p>
<p><strong>Necessary and Sufficient Condition</strong>:<br>
The unit impulse response is absolutely summable:<br>
</p>
$$
\sum_{m=-\infty}^{\infty} |h(n)|  \lt  \infty  
$$<h4 id="linear-constant-coefficient-difference-equations">
<a class="header-anchor" href="#linear-constant-coefficient-difference-equations"></a>
Linear Constant-Coefficient Difference Equations
</h4>
        
        <hr><p>Published on 2024-09-04 at <a href='https://www.guzhengsvt.cn/'>孤筝の温暖小家</a>, last modified on 2024-09-04</p><p>All articles on this blog are licensed under the BY-NC-SA license agreement unless otherwise stated. Please indicate the source when reprinting!</p>]]></description><category>Physics</category></item></channel></rss>