Integration & Differentiation

Intervals Duration Sum of
red
segments
Sum of
blue
segments

Click/tap in the right/left halves of the graph area to decrease/increase the time interval.
Click/tap below the x-axis to extend the tangent.


Animation shows the relation between integration and differentiation for a definite integral.

Imagine the graph represents the position of a body moving along the x- axis with varying velocity. If you wanted the displacement between 1 s and 3 s, you could note the values of x coordinate (represented on the y axis) at these times and the difference would be the sought displacement. But let us get it by a different method.

Draw a tangent at t=1 to the curve. The slope of this would be the velocity at the moment. Applet shows this tangent when the number of intervals is set to 1. The displacement of the body treating the velocity as constant at this value for the entire duration of 2 s is the length of the blue line. The red line indicates the error in the evaluation. That is the difference between the values is the sum of the lengths of the red and blue segments. The displacement so evaluated can be represented as     where v(1) is the velocity at t=1 s, got by drawing a tangent at x=1 to the curve, the 2 s duration is represented by the length of the green line and is the length of the blue line. The ratio of the blue line's length to the green line's length is the slope of the black tangent line and is equal to v(1).

If the number of intervals is increased to 2, you would draw tangents at t=1 and t=2 and treat the velocities for the intervals as constant and equal to the value at the beginning of the interval for the one second duration, you would get the displacement as sum of two terms. The two blue segments represent these terms. It can be seen that the sum of the two red segments, which is represents the error has become smaller. The displacement so evaluated is

, where are the velocities at seconds.

Increasing the number of intervals would decrease the error, and for a sufficiently large number of intervals the error would become inconsequential and can be taken as zero.

for four intervals

for eight intervals

that is , where can be so chosen to obtain to the desired degree of accuracy and is the velocity at the beginning of interval of time, got by finding slopes of x-t graph. Thus is nothing but the derivative of .

If the intervals are made very small this evaluation is and this is equal to ;

What this would mean is if you wanted to evaluate you would find a function whose derivative is and its value at the upper limit minus its value at the lower limit would give us the value of the integral.

Generalizing this