You are stranded on an island when a boat full of mathematicians floats past. You want to be rescued so you put this integral on a large sign:
∫ 0 1 0 ⌊ x + 2 ⌋ 2 d x
What is the value of this integral?
Bonus : And why were you rescued?
Notation : ⌊ ⋅ ⌋ denotes the floor function .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Wow! I didn't even bother figuring out the integral. I just thought of some things I would put on a sign to signify 'HELP!'. SOS = 505. TROLOLOLOLOLOLOLOLOLOLOLOLOL
I LOLed
Log in to reply
sorry your answer is correct one. 505 sum of all the areas of strips is 4+16+25+...+121=505. Hurrah ! Igot it.
But can you tell me when expanded and integrated I get 573 1/3 as the answer but how is it 505
@Harish Krishnan @Gaurav Kakked @Niaz Ghumro Note the integrand is ⌊ x + 2 ⌋ 2 , as opposed to ( x + 2 ) 2 .
Your answers disagree due to this difference.
I als get 573 but ur is 505??????
sorry your answer is correct one. 505 sum of all the areas of strips is 4+16+25+...+121=505. Hurrah ! Igot it.
plz give stepwise solution..
Log in to reply
I've posted a solution under the question, please have a look.
LOLME TOjknsjknf
Pagla hai ka
answer is 573.33 ..505 is WRONG...
Log in to reply
Its the floor function, not parentheses... :-)
The reason many people get 573 1/3 is because they integrated ∫ x = 0 1 0 ( x + 2 ) 2 d x not ∫ x = 0 1 0 ⌊ x + 2 ⌋ 2 d x as wanted in the question.
The rule of thumb for integration involving any floor, ceiling, modulus functions is never to treat them as brackets and never to continue integrating as normal.
For these type of integrals it is best to draw the graph of the integrand, and then rewrite the integrals without using of the abovementioned types of functions before proceeding to integrate.
So the solution is as such: Draw the graph of f ( x ) = ⌊ x + 2 ⌋ from x = 0 to x = 1 0 and observe that f ( x ) = ( n + 2 ) 2 for n < = x < n + 1 and n is an integer. Hence notice that the integral is the area of 10 rectangles all of width 1 and height 2 2 , 3 2 , 4 2 , ..., 1 0 2 and 1 1 2 respectively. Therefore the value of the integral = 2 2 + 3 2 + 4 2 + . . . + 1 0 2 + 1 1 2 = 5 0 5 .
Hope this would clear any conceptual misunderstanding that many appear to have.
Very good explanation
Thank you. I knew it couldn't be the same, but I didn't know if there was some trick to integrating those types of functions. Very good practical solution though.
Hahaha Lol.. I just solved it by instinct I got 573 1/3 too, but it was wrong
Answer is 573.33 ..505 is wrong
Log in to reply
can you even read?
Log in to reply
@Jack Lam That's what I'm thinking as well.
Log in to reply
@Wee Xian Bin – What i don't understand is why 12^2 does'nt included? n<=x and when x=10, y=12^2 i thought..
Log in to reply
@Hafizh Ahsan Permana – If you draw the graph you will see that the rectangular step of the graph of 12^2 has 0 width because the limit is at 10. Hence it has 0 area and is not included.
I think there are already some fine approaches suggested. I played with the problem this way:
If i ≥ 0 is some integer, we note that
∫ i i + 1 ⌊ x + 2 ⌋ 2 d x = ∫ i i + 1 ( i + 2 ) 2 d x
So for some integer n ≥ 0 , we get
∫ 0 n ⌊ i + 2 ⌋ 2 d x = ∑ i = 0 n − 1 ∫ i i + 1 ( i + 2 ) 2 d x = ∑ i = 0 n − 1 ( i + 2 ) 2
Recall the formula for pyramid numbers, and rewrite the sum
∑ i = 0 n − 1 ( i + 2 ) 2 = 6 1 n ( 2 n 2 + 9 n + 1 3 )
For the question at hand, we let n = 1 0 and get the result 5 0 5 .
A natural extension of the above would be: "What would happen if n were some real number?"
So beutiful!
Am I missing something here? Expand then integrate gets (1/3)x^3+2x^2+4x which gives 573 1/3 when evaluated.
How did you manage to get it correct and post here if you got it wrong?
Yes, you've missed out the floor function. Expressions wrapped in floor, ceiling or modulus functions cannot be integrated directly.
but steps should be mentioned!
Log in to reply
@Niaz Ghumro, I've posted a solution under the question, please have a look.
Here's a graph of the integrand.
∫ 0 1 0 ⌊ x + 2 ⌋ 2 d x = k = 2 ∑ 1 1 k 2 − 1 = 6 1 1 ( 1 1 + 1 ) ( 2 × 1 1 + 1 ) − 1 = 5 0 5
(1) (floor(0+2)^2) = 4 (1) (floor(1+2)^2) = 9 (1) (floor(2+2)^2) = 16 (1) (floor(3+2)^2) = 25 (1) (floor(4+2)^2) = 36 (1) (floor(5+2)^2) = 49 (1) (floor(6+2)^2) = 64 (1) (floor(7+2)^2) = 81 (1) (floor(8+2)^2) = 100 (1) (floor(9+2)^2) = 121 Sum of area of rectangles = 50
Problem Loading...
Note Loading...
Set Loading...
The graph of the function is composed of steps; a block of width 1 and height 4 from 0 to 1 and so on. Then the integral is simply the sum of the squares from 4 to 121 inclusive. Therefore the answer is 5 0 5 .