So I understand how to calculate integrals and that it's the area under the curve. What I'm struggling to understand is how two points subtracted from one another give the area under a curved line.
For example, if I have a slope function $y=f(x)$, then to find the area under the curve between two points I need to evaluate the definite integral. Why doesn't this definite integral just give me a linear line between the two points that I'm evaluating? How does calcuating the difference between two points give me everything below a curved line?