To introduce integrals, GeoGebra offers the possibility to visualise lower and upper sums of a function as rectangles. Type the following lines into the input field and press the Enter key after each line.
f(x) = x^2/4 + 2
a = 0
b = 2
n = 5
L = LowerSum[f, a, b, n]
U = UpperSum[f, a, b, n]
By modifying a, b, or n
(see Animation; see mode Slider)
you can see the impact of these parameters on the upper and lower sum. In order
to change the increment of number n to 1 you can right click (MacOS: Apple
+ click) on number n and select Properties.
The definite integral can be shown using the command Integral[f, a, b], while the antiderivative F is created using F = Integral[f].
Related Topics