Function As Integral
Author: Doug Kuhlmann

Plot F(x)=Int(f(t)dt,a,b) for several values of a

a

x

Lower limit

Upper limit

Change lower limit by entering a=... in Input field

to avoid extraneous tracings.

Then move or animate x to see graph of

Show Instructions

k(x) = 2.0 - x
h(x) = 1.0
g(x) = x
a = 0 (slider from -5 to 5, step 0.1)
f = Function(If[x < -1.0, g(x) + 2.0, If[x < 1.0, h(x), k(x)]], -5.0, 5.0)
b = -5 (slider from -5 to 5, step 0.1)
Integ = Integral(f(x), a, b)
F: (b, Integ)
A: (a, 0.0)
B: (b, 0.0)
u = Vector(A, B)
c = true
text6: "x = " + b
text5: "F(x) = \[\int_{a}^{x} {f(t)dt}
\] = \[\int_{" + a + "}^{" + b + "} {f(t)dt}
\] = " + Integ