I came across this function while playing around in desmos: https://www.desmos.com/calculator/jp0kirirgk

What I cannot understand is :
- Why are the maximas of $\sin(\pi x)/x^2$ shifted from the maximas of $\sin(\pi x)$?
- Why do these maximas approach those of $\sin(\pi x)$ as $x$ tends to infinity?
I can understand it analytically by computing the derivative of the function which comes out to be
$$ f'(x)= \frac{\pi x^2\cos(\pi x)-2x\sin(\pi x)}{x^4}=\frac{2\cos(\pi x)(\pi x/2 - \tan(\pi x))}{x^3} $$
and then using the first derivative test so the maximas only exist where $\tan(\pi x)=\pi x/2$; but I am looking for a moral justification.
The function is best understood as a product of two functions, one being $f_1(x)=\sin(\pi x)$, the other being $f_2(x)=\frac{1}{x^2}$.
The answer to your two questions is: