How to numerically solve the Schrodinger equation for the hydrogen atom?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
From the analytical solution for the hydrogen atom I remember that the energies were obtained by boundary conditions and then the energy depends on n*n in which n is interpreted as different energy levels.
I am confused about solving Schrodinger equation numerically. Since we do not know the energy E, it appears as a non-numerical value in the Schrodinger equation. How can we solve the Schrodinger equation numerically?
quantum-mechanics schroedinger-equation computational-physics hydrogen
add a comment |Â
up vote
2
down vote
favorite
From the analytical solution for the hydrogen atom I remember that the energies were obtained by boundary conditions and then the energy depends on n*n in which n is interpreted as different energy levels.
I am confused about solving Schrodinger equation numerically. Since we do not know the energy E, it appears as a non-numerical value in the Schrodinger equation. How can we solve the Schrodinger equation numerically?
quantum-mechanics schroedinger-equation computational-physics hydrogen
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
From the analytical solution for the hydrogen atom I remember that the energies were obtained by boundary conditions and then the energy depends on n*n in which n is interpreted as different energy levels.
I am confused about solving Schrodinger equation numerically. Since we do not know the energy E, it appears as a non-numerical value in the Schrodinger equation. How can we solve the Schrodinger equation numerically?
quantum-mechanics schroedinger-equation computational-physics hydrogen
From the analytical solution for the hydrogen atom I remember that the energies were obtained by boundary conditions and then the energy depends on n*n in which n is interpreted as different energy levels.
I am confused about solving Schrodinger equation numerically. Since we do not know the energy E, it appears as a non-numerical value in the Schrodinger equation. How can we solve the Schrodinger equation numerically?
quantum-mechanics schroedinger-equation computational-physics hydrogen
quantum-mechanics schroedinger-equation computational-physics hydrogen
edited 4 hours ago
Qmechanicâ¦
98.2k121721066
98.2k121721066
asked 5 hours ago
MOON
423315
423315
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago
add a comment |Â
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
The hydrogen atom, in the rest frame of the proton, has as its only nontrivial component a single electron, with wavefunction $psi(vecr,t)$. The Hamiltonian will contain a kinetic-energy term for the electron and a Coulomb potential term:
$$H=frachatvecp^22m-frace^24piepsilon_0 hatr$$
We can write these operators in the position basis, since we have chosen to represent the electron's state with a position wavefunction:
$$H=frac-hbar^22mnabla^2-frace^24piepsilon_0 r$$
At this point, we can write down the Schrodinger equation $Hpsi=ihbarfracpartial psipartial t$:
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=ihbarfracpartial psipartial t$$
Numerically solving this equation for initial conditions $psi(vecr,0)$ will give you the time evolution of your initial wavefunction.
Now that it is clear that what was actually asked for was the solution of the time-independent Schrodinger equation $Hpsi=Epsi$, the answer is no longer simply using the nearest PDE solver on the above equation. In position space, the equation is now, for a time-independent wavefunction $psi(vecr)$,
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=Epsi$$
where we know neither $E$ nor $psi$. There are generally two ways to start solving this - either start with a guess for $E$ and solve for $psi$, or start with a guess for $psi$ and solve for $E$.
If you're making a guess for $E$, then you proceed by solving the above PDE for $psi$ and checking if the wavefunction is "sensible" (the conditions for "sensible" depend on the situation; for the hydrogen atom, we might include "vanishes at infinity" in our definition of "sensible," because hydrogen atoms have finite spatial extent). If the wavefunction is not "sensible," then, based on the particular way that $psi$ is not "sensible," you make another guess for $E$ that is more likely to make the wavefunction "sensible" (for example, in the hydrogen atom, if the wavefunction grows indefinitely with distance, we might choose a lower value of energy in the next iteration). Repeat this process enough times, and you may zero in on a value of $E$ that produces a wavefunction $psi$ that fits the necessary conditions.
If you're making a guess for $psi$, then you can evaluate the left-hand side of the equation, determine how similar it is to $psi$, adjust your guess in the direction that your result indicates, and evaluate again. Eventually you will get a wavefunction for which the left-hand side looks very close to a scaled version of $psi$ (or equivalently, for which the left-hand side after normalization looks very close to $psi$). This wavefunction is the stationary state, and the scaling factor is the energy.
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
The hydrogen atom, in the rest frame of the proton, has as its only nontrivial component a single electron, with wavefunction $psi(vecr,t)$. The Hamiltonian will contain a kinetic-energy term for the electron and a Coulomb potential term:
$$H=frachatvecp^22m-frace^24piepsilon_0 hatr$$
We can write these operators in the position basis, since we have chosen to represent the electron's state with a position wavefunction:
$$H=frac-hbar^22mnabla^2-frace^24piepsilon_0 r$$
At this point, we can write down the Schrodinger equation $Hpsi=ihbarfracpartial psipartial t$:
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=ihbarfracpartial psipartial t$$
Numerically solving this equation for initial conditions $psi(vecr,0)$ will give you the time evolution of your initial wavefunction.
Now that it is clear that what was actually asked for was the solution of the time-independent Schrodinger equation $Hpsi=Epsi$, the answer is no longer simply using the nearest PDE solver on the above equation. In position space, the equation is now, for a time-independent wavefunction $psi(vecr)$,
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=Epsi$$
where we know neither $E$ nor $psi$. There are generally two ways to start solving this - either start with a guess for $E$ and solve for $psi$, or start with a guess for $psi$ and solve for $E$.
If you're making a guess for $E$, then you proceed by solving the above PDE for $psi$ and checking if the wavefunction is "sensible" (the conditions for "sensible" depend on the situation; for the hydrogen atom, we might include "vanishes at infinity" in our definition of "sensible," because hydrogen atoms have finite spatial extent). If the wavefunction is not "sensible," then, based on the particular way that $psi$ is not "sensible," you make another guess for $E$ that is more likely to make the wavefunction "sensible" (for example, in the hydrogen atom, if the wavefunction grows indefinitely with distance, we might choose a lower value of energy in the next iteration). Repeat this process enough times, and you may zero in on a value of $E$ that produces a wavefunction $psi$ that fits the necessary conditions.
If you're making a guess for $psi$, then you can evaluate the left-hand side of the equation, determine how similar it is to $psi$, adjust your guess in the direction that your result indicates, and evaluate again. Eventually you will get a wavefunction for which the left-hand side looks very close to a scaled version of $psi$ (or equivalently, for which the left-hand side after normalization looks very close to $psi$). This wavefunction is the stationary state, and the scaling factor is the energy.
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
add a comment |Â
up vote
3
down vote
The hydrogen atom, in the rest frame of the proton, has as its only nontrivial component a single electron, with wavefunction $psi(vecr,t)$. The Hamiltonian will contain a kinetic-energy term for the electron and a Coulomb potential term:
$$H=frachatvecp^22m-frace^24piepsilon_0 hatr$$
We can write these operators in the position basis, since we have chosen to represent the electron's state with a position wavefunction:
$$H=frac-hbar^22mnabla^2-frace^24piepsilon_0 r$$
At this point, we can write down the Schrodinger equation $Hpsi=ihbarfracpartial psipartial t$:
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=ihbarfracpartial psipartial t$$
Numerically solving this equation for initial conditions $psi(vecr,0)$ will give you the time evolution of your initial wavefunction.
Now that it is clear that what was actually asked for was the solution of the time-independent Schrodinger equation $Hpsi=Epsi$, the answer is no longer simply using the nearest PDE solver on the above equation. In position space, the equation is now, for a time-independent wavefunction $psi(vecr)$,
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=Epsi$$
where we know neither $E$ nor $psi$. There are generally two ways to start solving this - either start with a guess for $E$ and solve for $psi$, or start with a guess for $psi$ and solve for $E$.
If you're making a guess for $E$, then you proceed by solving the above PDE for $psi$ and checking if the wavefunction is "sensible" (the conditions for "sensible" depend on the situation; for the hydrogen atom, we might include "vanishes at infinity" in our definition of "sensible," because hydrogen atoms have finite spatial extent). If the wavefunction is not "sensible," then, based on the particular way that $psi$ is not "sensible," you make another guess for $E$ that is more likely to make the wavefunction "sensible" (for example, in the hydrogen atom, if the wavefunction grows indefinitely with distance, we might choose a lower value of energy in the next iteration). Repeat this process enough times, and you may zero in on a value of $E$ that produces a wavefunction $psi$ that fits the necessary conditions.
If you're making a guess for $psi$, then you can evaluate the left-hand side of the equation, determine how similar it is to $psi$, adjust your guess in the direction that your result indicates, and evaluate again. Eventually you will get a wavefunction for which the left-hand side looks very close to a scaled version of $psi$ (or equivalently, for which the left-hand side after normalization looks very close to $psi$). This wavefunction is the stationary state, and the scaling factor is the energy.
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
add a comment |Â
up vote
3
down vote
up vote
3
down vote
The hydrogen atom, in the rest frame of the proton, has as its only nontrivial component a single electron, with wavefunction $psi(vecr,t)$. The Hamiltonian will contain a kinetic-energy term for the electron and a Coulomb potential term:
$$H=frachatvecp^22m-frace^24piepsilon_0 hatr$$
We can write these operators in the position basis, since we have chosen to represent the electron's state with a position wavefunction:
$$H=frac-hbar^22mnabla^2-frace^24piepsilon_0 r$$
At this point, we can write down the Schrodinger equation $Hpsi=ihbarfracpartial psipartial t$:
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=ihbarfracpartial psipartial t$$
Numerically solving this equation for initial conditions $psi(vecr,0)$ will give you the time evolution of your initial wavefunction.
Now that it is clear that what was actually asked for was the solution of the time-independent Schrodinger equation $Hpsi=Epsi$, the answer is no longer simply using the nearest PDE solver on the above equation. In position space, the equation is now, for a time-independent wavefunction $psi(vecr)$,
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=Epsi$$
where we know neither $E$ nor $psi$. There are generally two ways to start solving this - either start with a guess for $E$ and solve for $psi$, or start with a guess for $psi$ and solve for $E$.
If you're making a guess for $E$, then you proceed by solving the above PDE for $psi$ and checking if the wavefunction is "sensible" (the conditions for "sensible" depend on the situation; for the hydrogen atom, we might include "vanishes at infinity" in our definition of "sensible," because hydrogen atoms have finite spatial extent). If the wavefunction is not "sensible," then, based on the particular way that $psi$ is not "sensible," you make another guess for $E$ that is more likely to make the wavefunction "sensible" (for example, in the hydrogen atom, if the wavefunction grows indefinitely with distance, we might choose a lower value of energy in the next iteration). Repeat this process enough times, and you may zero in on a value of $E$ that produces a wavefunction $psi$ that fits the necessary conditions.
If you're making a guess for $psi$, then you can evaluate the left-hand side of the equation, determine how similar it is to $psi$, adjust your guess in the direction that your result indicates, and evaluate again. Eventually you will get a wavefunction for which the left-hand side looks very close to a scaled version of $psi$ (or equivalently, for which the left-hand side after normalization looks very close to $psi$). This wavefunction is the stationary state, and the scaling factor is the energy.
The hydrogen atom, in the rest frame of the proton, has as its only nontrivial component a single electron, with wavefunction $psi(vecr,t)$. The Hamiltonian will contain a kinetic-energy term for the electron and a Coulomb potential term:
$$H=frachatvecp^22m-frace^24piepsilon_0 hatr$$
We can write these operators in the position basis, since we have chosen to represent the electron's state with a position wavefunction:
$$H=frac-hbar^22mnabla^2-frace^24piepsilon_0 r$$
At this point, we can write down the Schrodinger equation $Hpsi=ihbarfracpartial psipartial t$:
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=ihbarfracpartial psipartial t$$
Numerically solving this equation for initial conditions $psi(vecr,0)$ will give you the time evolution of your initial wavefunction.
Now that it is clear that what was actually asked for was the solution of the time-independent Schrodinger equation $Hpsi=Epsi$, the answer is no longer simply using the nearest PDE solver on the above equation. In position space, the equation is now, for a time-independent wavefunction $psi(vecr)$,
$$frac-hbar^22mnabla^2psi - frace^24piepsilon_0 rpsi=Epsi$$
where we know neither $E$ nor $psi$. There are generally two ways to start solving this - either start with a guess for $E$ and solve for $psi$, or start with a guess for $psi$ and solve for $E$.
If you're making a guess for $E$, then you proceed by solving the above PDE for $psi$ and checking if the wavefunction is "sensible" (the conditions for "sensible" depend on the situation; for the hydrogen atom, we might include "vanishes at infinity" in our definition of "sensible," because hydrogen atoms have finite spatial extent). If the wavefunction is not "sensible," then, based on the particular way that $psi$ is not "sensible," you make another guess for $E$ that is more likely to make the wavefunction "sensible" (for example, in the hydrogen atom, if the wavefunction grows indefinitely with distance, we might choose a lower value of energy in the next iteration). Repeat this process enough times, and you may zero in on a value of $E$ that produces a wavefunction $psi$ that fits the necessary conditions.
If you're making a guess for $psi$, then you can evaluate the left-hand side of the equation, determine how similar it is to $psi$, adjust your guess in the direction that your result indicates, and evaluate again. Eventually you will get a wavefunction for which the left-hand side looks very close to a scaled version of $psi$ (or equivalently, for which the left-hand side after normalization looks very close to $psi$). This wavefunction is the stationary state, and the scaling factor is the energy.
edited 3 hours ago
answered 4 hours ago
probably_someone
14.4k12451
14.4k12451
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
add a comment |Â
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
How can we know the initial condition and how can we know this initial condition is the eigen function of the Hamiltonian so that what we get as the expectation value of Hamiltonian is the energy corresponding to one of the energy levels?
â MOON
4 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
@MOON You have to choose your initial condition. If you choose it to be an eigenfunction of the Hamiltonian, then the time evolution will be as follows: $psi(vecr,t)=e^-iEtpsi(vecr,0)$. If you want to find the eigenfunctions of the Hamiltonian, then that requires numerically solving the time-independent Schrodinger equation, which is an entirely different problem.
â probably_someone
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
Could you please also add to your answer how we can solve the time-independent Schrodinger equation? Because in the time-independent Schrodinger equation we do not know the energy E.
â MOON
3 hours ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphysics.stackexchange.com%2fquestions%2f435743%2fhow-to-numerically-solve-the-schrodinger-equation-for-the-hydrogen-atom%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
More on SE & numerical methods.
â Qmechanicâ¦
4 hours ago