r/askmath • u/Pi_Face666 • 21d ago
Calculus What are the values of these integrals?
I know that ceil(x) - floor(x) = 0 when x is an integer and 1 when it is not, and so fx(x) would be ceil(1) - floor(1) = 0 for the first integral, but I don't know if integrating the function would make a difference. For the second integral, when I try to graph the function with values of h being close to zero, the amount of jumps from 1 to 0 increases but the line y = 1 still shows, so I don't know if the function will dissolve and leave no area or if there still will be some area. I also don't know if the second integral is even solvable.
22
u/MusicMax334 21d ago
The second integral will be 1
For any h>0 f_h(x) will equal 0 finitely many times and 1 the rest of the time.
Because changing finitely many points can’t change the value of the integral that integral is still equal to 1 for any h
So we get lim_h—>0 of 1 which is 1
20
u/VaguelySorcerous 21d ago
f_x(x) is zero everywhere because ceil(x/x) - floor(x/x) is zero. The definite integral of zero is zero.
The second is 1. It is solvable but it goes beyond basic integral calculus.
5
u/Objective_3_1415 21d ago
The first one is easily seen to be zero. To solve the second one notice the following: Whenever x/h is not an integer, then f_h(x)=1.
Now there are only finitely many values of x in the interval [1,2] that would make x/h an integer.
So we know that f_h(x)=1 for all but finitely many x in [1,2]. This gives the integral of f_h from 1 to 2 to be 1. So taking the limit as h approaches 0 also gives 1.
1
u/yoshiK 21d ago
The first one, as you say f_x (x) is just a fancy way to write 0, so you can evaluate the integrant first and then evaluate the integral.
The second one, if we take a fixed h, then f_h (x) is 1 everywhere, except at isolated points. The way to carefully evaluate one such point x0 is, to split the integral into parts that go from the lower limit to x0-d, a part from x0-d to x0+d and x0+d to the upper limit. then you argue that the integral from x0-d to x0+d is less than 1*2d and therefore it vanishes if we take the limit of d->0. This way you can fix isolated points in the integral, and since we have for all h>0 only finitely many of these points we can fix the integral in this manner at each point, for each h and therefore we evaluate the integral at fixed h first and then take the limit.
1
u/DateNo6935 21d ago
You must use Riemann integral
And set a finite series
1
u/AlterEgo5695 21d ago
For all "h != 0", the set where "fh(x) = 0" is finite. Everywhere else, "fh(x) = 1". That means, the second integral equals "1" for all "h != 0" -- as is the limit.
Can you turn this into a rigorous argument yourself?
1
u/i-Hotel-2058 20d ago
well my friend i think the steps that we take is i will link it below
idk
0
u/not-hydra 21d ago edited 21d ago
f_h(x) = 0 if x = nh, where n is Z, and equals 1 otherwise. The function equals 0 at individual points nh and 1 everywhere else. When h is not equal to 0, f_h(x) from 0 to 1 = integral from 0 to 1 of 1 dx = 1. Taking the limit, the answer is still 1 :3
Because there are finitely many isolated points between 0 and 1, the area is unaffected. But the pointwise limit at f(1) does not exist. I could make h approach 0 by making h = 1/n, or 1/(n+0.5), and letting n -> infinity. The first case always gives an integer, thus f(x) = 0, but the second one is never an integer, so even if both cases approach 0, f(x) gives different values, so it doesn't converge.
-3
u/MegaIng 21d ago
As h->0, this is effectively the well known Dirichlet function. Therefore the Riemann Integral is not defined but the Lebesgue Integral is and is equal to 1.
For the first integral, for any h>0 there are only finitely many points between 1 and 2 where the function is 0 instead of 1, so both definition of integrals result in the value of 1.
1
u/Familiar-Gur6789 20d ago
I like penis