I was studying for a recent university exam when I realized that there appears to be a connection between the Laplace transforms of certain functions and Pythagorean triples.
Mainly the Laplace of $t\sin(wt) = \frac{2sw}{(s^2 + w^2)^2}$ and the Laplace of $t\cos(wt) = \frac{s^2 - w^2}{(s^2+w^2)^2}$.
These numbers $(2sw, s^2-w^2, s^2+w^2)$ match the definition of a Pythagorean triple and I was wondering if anyone could explain why. I've spent a little bit of time working on it and couldn't figure it out.
Just a question for curiosity, not that deep. Thank you in advance.
Consider $f(t)=\cos(wt)+i\sin(wt)=e^{iwt}$. Then the Laplace transform of $f(t)$ is $$F(s)=\frac 1{s-iw},$$ defined for $s$ with $R(s)>0$. Using the properties of Laplace transform , the Laplace transform for $tf(t)$ will be given by $$-F’(s)=\frac 1{(s-iw)^2}=\frac{(s+iw)^2}{(s^2+w^2)^2}=\frac{(s^2-w^2)+i(2sw)}{(s^2+w^2)^2},$$ so the phenomenon you observed follows from the multiplication of complex numbers.