There is a famous intuitive way to prove that $\pi$ is equal to $4$, by using square of perimeter $4$ with circle inscribed in it with radius of $1/2$. And now the question which arises to me is: What makes the difference between finding the length of the circle this way and finding the area under the graph of the function by summing the areas of rectangles with very small width ? What makes first wrong and second right?
And I know that there was a question about pi being equal to four but I think this is a bit different. And I think this question cannot be answered with some rigorous proof because it cannot be rigorously proved that area under the curve is really equal to Riemann integral or any other integral because you need to define area in the first place, which is made by Lebesgue measure which itself is an idea of somewhat "limitation". Correct me if I am wrong in any of my sentence. Thanks in advance.