Inner product of functions help

In summary, the inner product of two functions, g(x) and h(y), is given by <g,h>=\int g(t)h^*(t)dt, where the asterix denotes complex conjugation. This holds even when the two functions are of different variables. In quantum mechanics, the inner product is not applicable when considering operators acting on kets in different Hilbert spaces. In a state containing spin, spin does not have a coordinate representation and is not included in the integral. There is a counterpoint to this view, but the orthodox understanding remains the same.
  • #1
Niles
1,866
0

Homework Statement


Hi all.

Say that I have two functions g(x) and h(y). Is it correct that their inner product is given by:

[tex]
<g,h> = \int\int {g(x)^*h(y)}dxdy,
[/tex]

where the asterix denotes complex conjugation?

Thanks in advance.Niles.
 
Physics news on Phys.org
  • #2
It should be:

[tex]\left<g,h\right>=\int g(t)h^*(t)dt[/tex]
 
  • #3
Thanks for replying.

But also when they are functions of different variables?
 
  • #4
That shouldn't pose any difficulty. For instance if [itex]g(x)=3x^2-2x+1[/itex], then [itex]g(t)=3t^2-2t+1[/itex]. You just plug in [itex]x=t[/itex]. You can do that for [itex]h(y)[/itex] also. What's important is that the two functions have the same domain.
 
  • #5
My question arises from quantum mechanics, and I know that luckily you are good at that. This is where my problem comes from:

E.g. when we have [itex]\psi(x_1)[/itex] and [itex]\psi(x_2)[/itex], and we want to find [itex]<\psi_1|H_1|\psi_2>[/itex], where H1 acts only on x1. Then do we also rewrite as above? I personally don't think so, but I am having my doubts.
 
  • #6
I see. First thing to mention is that [itex]<\psi_1|H_1|\psi_2>[/itex] is not an inner product. I'm having trouble imagining how this quantity even arises in quantum mechanics. Typically if you have a 2-body problem you have something like [itex]H=H_1+H_2[/itex] for a Hamiltonian, where [itex]H_i[/itex] acts on the coordinates of the [itex]i^{th}[/itex] particle. Then the wavefunction is expressed as a product [itex]\psi(x_1,x_2)=\phi_1(x_1)\phi_2(x_2)[/itex] whose factors satisfy the following equations separately.

[itex]H_i\phi_i(x_i)=E_i\phi_1(x_i)[/itex], [itex]i=1,2[/itex]

Can you briefly explain why you even need to compute this thing?
 
  • #7
Tom Mattson said:
First thing to mention is that [itex]<\psi_1|H_1|\psi_2>[/itex] is not an inner product.

When an operator works on a ket, it gives a new ket. So we have a bra and a ket - why is it not an inner product then?

You are absolutely correct. The Hamiltonian is H = H1 + H2, and I have to find the following quantity:

[tex]
<\psi | H | \psi>,
[/tex]

where one of the parts of this expression is [itex]<\psi_1|<\psi_2|H_1|\psi_1>|\psi_2>[/itex]. But what I do normally is do look at this as an integral, because then it becomes very obvious to me which parts I equal to 1 and which parts I have to calculate directly (if any). But suddenly when I was doing this, I was wondering whether I am even allowed to view this as an integral of two variables or not.
 
  • #8
Niles said:
When an operator works on a ket, it gives a new ket. So we have a bra and a ket - why is it not an inner product then?

Because [itex]|\psi_1>[/itex] and [itex]|\psi_2>[/itex] are in different Hilbert spaces, call them [itex]\mathcal{H}_1[/itex] and [itex]\mathcal{H}_2[/itex] respectively. In order to accommodate a 2-body problem the appropriate Hilbert space is the tensor product of the two, [itex]\mathcal{H}=\mathcal{H}_1\otimes\mathcal{H}_2[/itex]. The state ket for the system is now written as [itex]|\psi>=|\psi_1>\otimes|\psi_2>[/itex].

Let [itex]|\psi^A>=|\psi^A_1>\otimes|\psi^A_2>[/itex], [itex]|\psi^B>=|\psi^B_1>\otimes|\psi^B_2>\in\mathcal{H}[/itex]. Inner products are defined as follows.

[tex]<\psi^A|\psi^B>=(<\psi^A_2|\otimes<\psi^A_1|)(|\psi^B_1>\otimes|\psi^B_2>)[/tex]

[tex]<\psi^A|\psi^B>=<\psi^A_1|\psi^B_1><\psi^A_2|\psi^B_2>[/tex]

Does that help?
 
  • #9
It helped a little, but I don't know what a tensorproduct is. But the part of your post that I can use it this:

[tex]
<\psi^A|\psi^B>=<\psi^A_1|\psi^B_1><\psi^A_2|\psi^ B_2>
[/tex]

So this means that I am allowed to look at the quantity [itex]
<\psi_1|<\psi_2|H_1|\psi_1>|\psi_2>
[/itex] as an integral over the two variables?
 
  • #10
Niles said:
It helped a little, but I don't know what a tensorproduct is. But the part of your post that I can use it this:

[tex]
<\psi^A|\psi^B>=<\psi^A_1|\psi^B_1><\psi^A_2|\psi^ B_2>
[/tex]

That's all you really need.

So this means that I am allowed to look at the quantity [itex]
<\psi_1|<\psi_2|H_1|\psi_1>|\psi_2>
[/itex] as an integral over the two variables?

It means that you can look at it as a product of two integrals, each over a different single variable. Because [itex]|\psi_1>\notin\mathcal{H}_2[/itex], it passes right through operators on [itex]\mathcal{H}_2[/itex]. Likewise [itex]|\psi_2>[/itex] passes through operators on [itex]\mathcal{H}_1[/itex]. So you shouldn't even see quantities such as [itex]<\psi_2|H_1|\psi_1>[/itex] (I don't even think such a thing is defined).

So we get the following.

[tex]<\psi_2|\otimes<\psi_1|(H_1+H_2)|\psi_1>\otimes|\psi_2>=<\psi_1|H_1|\psi_1><\psi_2|\psi_2>+<\psi_1|\psi_1><\psi_2|H_2|\psi_2>[/tex]

[tex]<\psi_2|\otimes<\psi_1|(H_1+H_2)|\psi_1>\otimes|\psi_2>=E_1+E_2[/tex]
 
  • #11
Tom Mattson said:
It means that you can look at it as a product of two integrals, each over a different single variable.

Very nice, that is what I wanted to know. I have a final question, which I actually think is a little interesting. Let's say that we are looking at a state containing also spin:

[tex]
\psi = \varphi (x_1 )\varphi (x_2 )\left| \uparrow \right\rangle _1 \left| \downarrow \right\rangle _2
[/tex]

Now we wish to find the following quantity: [itex]<\psi| H_1 | \psi>[/itex], where we assume that H1 has nothing to do with the spin. Now if we insist on writing the above mentioned integral, then we get:

[tex]
\left[ {\int {\varphi ^* (x_1 )} H_1 \varphi (x_1 )dx_1 } \right]\left[ {\int {\varphi ^* (x_2 )} \varphi (x_2 )dx_2 } \right]\left[ {\int {''\left\langle { \uparrow _1 } \right|\left| \uparrow \right\rangle _1 ''d1} } \right]\left[ {\int {''\left\langle { \downarrow _2 } \right|\left| { \downarrow _2 } \right\rangle ''d2} } \right].
[/tex]

First of all, the reason why I have used quotation marks around the spin-part is that I know it is very bad to write it this way, but I hope you get the idea.

My question is, what "d1" and "d2" in this case represent?
 
  • #12
[itex]d1[/itex] and [itex]d2[/itex] don't represent anything. Spin doesn't have a coordinate representation. (Contrast this with orbital angular momentum which does have such a representation). In Sakurai's book Modern Quantum Mechanics he gives two arguments for this. One, spherical harmonics aren't defined for half-integer values of [itex]l[/itex]. And second, he appeals to [itex]2\pi[/itex] rotations of spin-1/2 particles (are you familiar with how that works out?).

However, in 2005 a paper entitled "Explicit Spin Coordinates" was uploaded to the LANL arXiv (authors Hunter and Schlifer). I'm refraining from posting a link because the paper was never accepted by a peer-reviewed journal, but it should be easy to find if you are so inclined. I don't know if it's worthwhile, just thought I'd mention a counterpoint. But the orthodox view is the one expressed in the first paragraph.
 
  • #13
Tom Mattson said:
And second, he appeals to [itex]2\pi[/itex] rotations of spin-1/2 particles (are you familiar with how that works out?).

I haven't heard of this, but I will ask my professor about it.

Thanks for helping. It was very useful for me.
 
  • #14
Niles said:
I haven't heard of this,

Then allow me!

Let [itex]|\alpha>[/itex] be a spin state of a spin-1/2 particle. Expanded in the [itex]S_z[/itex] basis we have:

[tex]|\alpha>=c_+|+>+c_-|->[/tex]

If the particle has no orbital angular momentum then the rotation operator by an angle [itex]\phi[/itex] about an axis parallel to unit vector [itex]\hat{n}[/itex] is given by the following.

[tex]\mathcal{D}(\phi,\hat{n})=exp\left(-\frac{\vec{S}\cdot\hat{n}\phi}{\hbar}\right)[/tex]

Let's rotate our spin-1/2 particle about the z axis by an angle of [itex]2\pi[/itex].

[tex]\mathcal{D}(2\pi,\hat{k})|\alpha>=exp\left(-\frac{2S_z\pi}{\hbar}\right)(c_+|+>+c_-|->)[/tex]

[tex]\mathcal{D}(2\pi,\hat{k})|\alpha>=c_+exp\left(-\frac{2S_z\pi}{\hbar}\right)|+>+c_-exp\left(-\frac{2S_z\pi}{\hbar}\right)|->[/tex]

Since [itex]S_z|+>=-S_z|->=\hbar /2[/itex] we get the following.

[tex]\mathcal{D}(2\pi,\hat{k})|\alpha>=c_+exp(-i\pi)|+>+c_-exp(i\pi)|->[/tex]

[tex]\mathcal{D}(2\pi,\hat{k})|\alpha>=-|\alpha>[/tex]

See what happened? If you take a spin-1/2 particle and rotate it through a full revolution you don't return to the original state. You have to rotate it through two full revolutions before coming back to the original state. For this reason, spin cannot possibly be based on coordinates.
 
  • #15
Wow, very nice indeed. And I actually understood the whole proof.

I found the article you referred to earlier: http://arxiv.org/abs/quant-ph/0507008. I'll take a look at it.

Thanks again; it was very useful.
 
  • #16
No problem. This thread was interesting to me, and in fact I've just higlighted it. I've solved plenty of 2D/2-body QM problems before, but all I ever did was find the eigentstates and eigenvalues. I've never concerned myself with finding expectation values on these problems before. I had to do some digging and thinking before I wrote post #8.
 
  • #17
Hi guys, I am really sorry if Ia m not allowed to post in this thread, but I added a subscription and I am struggling with a similar question, so I though I might get a help from a generous people in this thread...it is QM context and I am new to this area, ...here I am trying to understand how they calculate the ensemble variance...<\psi \psi*> there is no comma in between... .I add the equation as in LaTex...
[tex]
\eta[\psi]=\int\{\mid\psi(r)\mid\}^2 dr[\tex]
[tex]Var(\eta)=2\iint\{\langle\mid\langle\psi(r_1)\psi^*(r_2)\rangle\rangle\mid}^2 dr_1 dr_2[\tex]
then it is easy to obtain the following composition rule
[tex]\int\langle\psi(r_1)\psi^*(r)\rangle\langle\psi(r)\psi^*(r_2)\rangle dr=1\N\langle\psi(r_1)\psi^*(r_2)\rangle [\tex]
 
Last edited:
  • #18
I am not too familiar with calculus as you may readily soon see.

fx ((g(x)=h(y)) >
but I feel the operator for multiplycation should be on both sides of what ia indicative. Not just the right hand side of the notation.

Thank-you! from P.j.S


1. Homework Statement
Hi all.

Say that I have two functions g(x) and h(y). Is it correct that their inner product is given by:




where the asterix denotes complex conjugation?

Thanks in advance.


Niles.
 
  • #19
I am not too familiar with calculus as you may readily soon see.

fx ((g(x)=h(y)) >
but I feel the operator for multiplycation should be on both sides of what ia indicative. Not just the right hand side of the notation.

rather fx (g(x) x (h(y)) = niles solution




Thank-you! from P.j.S


1. Homework Statement
Hi all.

Say that I have two functions g(x) and h(y). Is it correct that their inner product is given by:




where the asterix denotes complex conjugation?

Thanks in advance.


Niles.
 

Related to Inner product of functions help

What is an inner product of functions?

An inner product of functions is a mathematical operation that takes two functions as inputs and produces a scalar value as output. It is similar to the dot product of vectors, but it is defined for functions instead of vectors. The inner product of functions is used in many areas of mathematics and physics, particularly in the study of Hilbert spaces.

What is the purpose of calculating the inner product of functions?

The inner product of functions is used to measure the similarity or "closeness" between two functions. It is also used to define a norm, or a way to measure the size or magnitude of a function. Additionally, the inner product has applications in optimization, signal processing, and quantum mechanics.

How is the inner product of functions calculated?

The inner product of functions is calculated using an integral, which is a type of mathematical operation that measures the area under a curve. The specific formula for calculating the inner product depends on the type of functions being used, but it typically involves multiplying the two functions and then integrating over a specific interval.

What are some properties of the inner product of functions?

The inner product of functions has several important properties, including linearity, symmetry, and positive definiteness. Linearity means that the inner product of a sum of functions is equal to the sum of the inner products of each individual function. Symmetry means that the inner product of two functions is the same regardless of the order in which they are multiplied. Positive definiteness means that the inner product of a function with itself is always a positive value.

What are some common applications of the inner product of functions?

The inner product of functions has many applications in mathematics, physics, and engineering. It is used in Fourier analysis to decompose a function into its frequency components. It is also used in quantum mechanics to calculate probabilities and expectation values. Additionally, the inner product has applications in image processing, data compression, and machine learning.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
823
  • Calculus and Beyond Homework Help
Replies
8
Views
577
  • Calculus
Replies
4
Views
748
  • Calculus and Beyond Homework Help
Replies
5
Views
3K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
410
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Quantum Physics
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
639
  • Calculus and Beyond Homework Help
2
Replies
43
Views
3K
Back
Top