Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

#1: Initial revision by user avatar Derek Elkins‭ · 2024-08-11T03:55:09Z (3 months ago)
There are multiple issues with how you compute the exponent of $r$.

The first issue is you compute $r^{j-1}r^k = r^{j+k}$ rather than $r^{j+k-1}$.

You compound this error when you substitute $j = k+1$ into $r^{j+k}$ (which should be $r^{j+k-1}$) in the formula for $\left\langle\frac{\partial f}{\partial z},g\right\rangle$. You end up with $r^{2k+3}$ rather than $r^{2k+1}$ (which should actually be $r^{2k}$).

You make the same mistake in the formula for $\langle f,zg\rangle$ where $r^{j+k+1}$ should become $r^{2k+2}$ but you have $r^{2k+3}$. That said, in this case you make another mistake which cancels this out by "multiplying" $r^{2k+3}r$ to just $r^{2k+3}$ instead of $r^{2k+4}$ when you pull the sum out of the integral.

Without these mistakes you would end up with $$\begin{align}
\left\langle \frac{\partial f}{\partial z}, g\right\rangle &= \sum\_{k=0}\^\infty a\_{k+1}\overline{b\_k} (k+1)\int_0^\infty e^{-r\^2}r\^{2k+1} dr \\\\
\langle f, zg \rangle &= \sum_{k=0}^\infty a\_{k+1}\overline{b\_k} \int_0^\infty e^{-r^2}r^{2k+3} dr 
\end{align}$$

Applying integration by parts to the integral in the second equation will reduce it to the first, i.e. a $k+1$ factor will pop out and the power of the $r^{2k+3}$ will be reduced by $2$. (This is easiest to see, for me at least, by first doing a $u$-substitution with $u=-r^2$.)