question
that is the greatest integer function btw..
how do i start?
Consider splitting up the integral.
how do i split it up?
\[ \int_0^k \lfloor x \rfloor\;dx=\int_0^1 \lfloor x \rfloor\;dx+\int_1^k \lfloor x \rfloor\;dx = \int_0^1x\;dx+\int_1^k \lfloor x \rfloor\;dx \]
Doing it a second time \[ \int_1^2\lfloor x\rfloor \;dx = \int_1^2 x- 1 \;dx = \int_0^1 x \;dx \]
If you do it \(k\) times you end up with: \[ \int_0^k \lfloor x\rfloor \;dx= k\int_0^1x\;dx \]
how did you come up with the \(2\)? replace it with the \(k\)?
No, I split up the integral like so:\[ \int_0^k=\underbrace{\int_0^1+\int_1^2+\int_2^3+\ldots + \int_{k-2}^{k-1}+\int_{k-1}^k}_{k} \]
okay, i got it, how did you get the \(x-1\) when you did it the second time?
Then I look at any arbitrary integral in there: \[ \int_a^{a+1}\lfloor x \rfloor \;dx = \int_a^{a+1}a\;dx \]
I suppose each term actually becomes: \[ ax\Bigg|_a^{a+1} \]
@mathsnerd101 I suppose I was a bit wrong earlier.
the first step was wrong?
Evaluating any of those integrals gives you \[ \int_a^{a+1}\lfloor x\rfloor\;dx=a(a+1)-a(a) = a \]
but it's \(k\) on top..
So you really just end up with: \[ \int_0^k\lfloor x\rfloor \;dx = \sum_{a=0}^k a \]
@mathsnerd101 I know, but you want to integrate between each single integer.
The reason why is because the greatest integer function is only continuous between two integers, and you can only integrate on continuous intervals.
so you cant integrate it?
No, you can integrate it, but you have to split up the integral like I did.
and integrate it one by one?
You can integrate between 4 and 5, but not between 3 and 5
Yes, that's why I integrate by a and a+1
why not 3 and 5?
Because at 3, 4, and 5, it is discontinuous. You cant have that discontinuity of 4 right in the middle
ok, i got it, thank you!
Join our real-time social learning platform and learn together with your friends!