Skip to content
TheChatArchiveThe Chat Archive
GeminiGemini 3 Pro Preview· googleHugging Face Frontier Reasoning Traces

Solve the Schrödinger equation for a particle in a box.

  1. User

    Solve the Schrödinger equation for a particle in a box.

  2. Gemini Assistant

    Framing the Quantum System

    I've been defining the parameters of the problem, a single particle of mass 'm' confined within a one-dimensional infinite potential well, specifically of length 'L'. This establishes the core physical system I need to analyze.

    Defining the Potential Well

    I'm now fully immersed in the mathematical representation. I've formally defined the potential energy function, breaking it down into its piecewise components: zero within the well and infinite elsewhere. This sets the stage for solving the time-independent Schrödinger equation. The next step is to actually solve the differential equation inside the box.

    Analyzing Wave Function Solutions

    I'm presently solving for the wave function within the well. I started by defining the general solution as a linear combination of sine and cosine functions. Applying the boundary condition that the wave function is zero at the walls, I found that the cosine term vanishes, leaving a sine function. Then, requiring the wave function to be zero at the other wall yielded the quantization condition: kL=nπkL = n\pi. This imposes constraints on the possible energy levels, as kk is related to the energy.

    Calculate Energy Eigenvalues

    I've just derived the energy eigenvalues (EnE_n) by substituting the quantized wave number (kk) into the energy equation, which I derived earlier. My result, En=n2π2ℏ22mL2E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}, confirms that energy is quantized and proportional to n2n^2. I performed a self-check on the result, and am moving forward with confidence. The next step is normalizing the wave function.

    Integrating Previous Findings

    I'm now synthesizing the key results. The normalized wave functions, ψn(x)=2Lsin⁡(nπxL)\psi_n(x) = \sqrt{\frac{2}{L}} \sin(\frac{n\pi x}{L}), along with the quantized energy levels, En=n2π2ℏ22mL2E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}, are the core outcomes. I've excluded n=0n=0 because it yields a trivial, non-physical solution, and I'm confident in the overall clarity and mathematical accuracy of the derived results. The entire workflow is almost complete!

    Here is the step-by-step solution for the Schrödinger equation for a particle in a 1-dimensional infinite potential well (a particle in a box).

    1. Define the System and Potential

    Consider a particle of mass mm moving in one dimension (xx). The particle is confined to a box of length LL. The potential energy function V(x)V(x) is defined as:

    V(x)={0for 0<x<L∞for x≤0 or x≥LV(x) = \begin{cases} 0 & \text{for } 0 < x < L \\ \infty & \text{for } x \le 0 \text{ or } x \ge L \end{cases}
    • Inside the box: The particle is free.
    • Outside the box: The potential is infinite, meaning the probability of finding the particle there is zero (ψ(x)=0\psi(x) = 0).

    2. The Schrödinger Equation

    The time-independent Schrödinger equation is: −ℏ22md2ψdx2+V(x)ψ(x)=Eψ(x)-\frac{\hbar^2}{2m} \frac{d^2\psi}{dx^2} + V(x)\psi(x) = E\psi(x)

    Inside the box (0<x<L0 < x < L), V(x)=0V(x) = 0, so the equation simplifies to: −ℏ22md2ψdx2=Eψ(x)-\frac{\hbar^2}{2m} \frac{d^2\psi}{dx^2} = E\psi(x)

    Rearranging terms: d2ψdx2+2mEℏ2ψ(x)=0\frac{d^2\psi}{dx^2} + \frac{2mE}{\hbar^2}\psi(x) = 0

    Let us define a constant kk such that k2=2mEℏ2k^2 = \frac{2mE}{\hbar^2}. The equation becomes a standard second-order differential equation: d2ψdx2+k2ψ(x)=0\frac{d^2\psi}{dx^2} + k^2\psi(x) = 0

    3. General Solution

    The general solution to this differential equation is a combination of sine and cosine functions: ψ(x)=Asin⁡(kx)+Bcos⁡(kx)\psi(x) = A \sin(kx) + B \cos(kx)

    4. Applying Boundary Conditions

    The wavefunction must be continuous. Since ψ(x)=0\psi(x) = 0 outside the box, ψ(x)\psi(x) must be zero at the walls of the box (x=0x=0 and x=Lx=L).

    Boundary Condition 1: At x=0x = 0 ψ(0)=Asin⁡(0)+Bcos⁡(0)=0\psi(0) = A \sin(0) + B \cos(0) = 0 0+B(1)=0  ⟹  B=00 + B(1) = 0 \implies B = 0

    Now the wavefunction simplifies to: ψ(x)=Asin⁡(kx)\psi(x) = A \sin(kx)

    Boundary Condition 2: At x=Lx = L ψ(L)=Asin⁡(kL)=0\psi(L) = A \sin(kL) = 0

    For a non-trivial solution (where the particle actually exists), A≠0A \neq 0. Therefore, the sine term must be zero: sin⁡(kL)=0\sin(kL) = 0

    This implies that kLkL must be an integer multiple of π\pi: kL=nπkL = n\pi kn=nπLk_n = \frac{n\pi}{L} where n=1,2,3,…n = 1, 2, 3, \dots (The integer nn is the quantum number). Note: nn cannot be zero because that would make ψ(x)=0\psi(x) = 0 everywhere (no particle).

    5. Energy Quantization

    Recall our definition k2=2mEℏ2k^2 = \frac{2mE}{\hbar^2}. Substituting knk_n:

    (nπL)2=2mEnℏ2\left(\frac{n\pi}{L}\right)^2 = \frac{2mE_n}{\hbar^2}

    Solving for EnE_n: En=n2π2ℏ22mL2E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2}

    This shows that energy is quantized. The particle cannot have arbitrary energy, only discrete levels defined by integers nn.

    6. Normalization

    To find the constant AA, we apply the normalization condition (the total probability of finding the particle in the box must be 1): ∫−∞∞∣ψ(x)∣2dx=1\int_{-\infty}^{\infty} |\psi(x)|^2 dx = 1 ∫0LA2sin⁡2(knx)dx=1\int_{0}^{L} A^2 \sin^2(k_n x) dx = 1

    Substituting kn=nπLk_n = \frac{n\pi}{L}: A2∫0Lsin⁡2(nπxL)dx=1A^2 \int_{0}^{L} \sin^2\left(\frac{n\pi x}{L}\right) dx = 1

    Using the identity ∫0Lsin⁡2(nπxL)dx=L2\int_{0}^{L} \sin^2(\frac{n\pi x}{L}) dx = \frac{L}{2}: A2(L2)=1A^2 \left( \frac{L}{2} \right) = 1 A=2LA = \sqrt{\frac{2}{L}}

    Final Results

    The Wavefunctions: ψn(x)=2Lsin⁡(nπxL)for n=1,2,3...\psi_n(x) = \sqrt{\frac{2}{L}} \sin\left(\frac{n\pi x}{L}\right) \quad \text{for } n=1, 2, 3...

    The Energy Levels: En=n2π2ℏ22mL2for n=1,2,3...E_n = \frac{n^2 \pi^2 \hbar^2}{2mL^2} \quad \text{for } n=1, 2, 3...

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.