Stranded on an Island

Calculus Level 3

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 10 x + 2 2 d x \int_0^{10} {\lfloor x+2 \rfloor}^2 \, dx

What is the value of this integral?

Bonus : And why were you rescued?

Notation : \lfloor \cdot \rfloor denotes the floor function .


The answer is 505.

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.

7 solutions

Michael Ng
Oct 22, 2014

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 505 \boxed{505} .

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

Sharky Kesa - 6 years, 7 months ago

I LOLed

Calvin Lin Staff - 6 years, 7 months ago

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.

Niaz Ghumro - 6 years, 7 months ago

But can you tell me when expanded and integrated I get 573 1/3 as the answer but how is it 505

Harish Krishnan - 6 years, 7 months ago

@Harish Krishnan @Gaurav Kakked @Niaz Ghumro Note the integrand is x + 2 2 \lfloor x + 2 \rfloor ^2 , as opposed to ( x + 2 ) 2 ( x + 2)^2 .

Your answers disagree due to this difference.

Calvin Lin Staff - 6 years, 7 months ago

I als get 573 but ur is 505??????

Niaz Ghumro - 6 years, 7 months ago

sorry your answer is correct one. 505 sum of all the areas of strips is 4+16+25+...+121=505. Hurrah ! Igot it.

Niaz Ghumro - 6 years, 7 months ago

plz give stepwise solution..

Habeeba Khan - 6 years, 7 months ago

Log in to reply

I've posted a solution under the question, please have a look.

Wee Xian Bin - 6 years, 7 months ago

LOLME TOjknsjknf

Horla asd - 6 years, 7 months ago

Pagla hai ka

Yashvardhan Gaur - 6 years, 7 months ago

answer is 573.33 ..505 is WRONG...

Gaurav Kakked - 6 years, 7 months ago

Log in to reply

Its the floor function, not parentheses... :-)

Jesper Angelo - 6 years, 7 months ago
Wee Xian Bin
Oct 25, 2014

The reason many people get 573 1/3 is because they integrated x = 0 10 ( x + 2 ) 2 d x \int _{x=0}^{10}{(x+2)^2 dx} not x = 0 10 x + 2 2 d x \int _{ x=0 }^{ 10 }{ { \left\lfloor x+2 \right\rfloor }^{ 2 } dx } 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 f(x)=\left\lfloor x+2 \right\rfloor from x = 0 x=0 to x = 10 x=10 and observe that f ( x ) = ( n + 2 ) 2 f(x)=(n+2)^2 for n < = x < n + 1 n<=x<n+1 and n n is an integer. Hence notice that the integral is the area of 10 rectangles all of width 1 and height 2 2 2^2 , 3 2 3^2 , 4 2 4^2 , ..., 1 0 2 10^2 and 1 1 2 11^2 respectively. Therefore the value of the integral = 2 2 + 3 2 + 4 2 + . . . + 1 0 2 + 1 1 2 = 505 = 2^2+3^2+4^2+...+10^2+11^2=505 .

Hope this would clear any conceptual misunderstanding that many appear to have.

Very good explanation

Baneasa Vlad - 5 years, 4 months ago

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.

Ryan Kelly - 4 years, 10 months ago

Hahaha Lol.. I just solved it by instinct I got 573 1/3 too, but it was wrong

Fajar Perdana - 6 years, 7 months ago

Answer is 573.33 ..505 is wrong

Gaurav Kakked - 6 years, 7 months ago

Log in to reply

can you even read?

Jack Lam - 6 years, 7 months ago

Log in to reply

@Jack Lam That's what I'm thinking as well.

Wee Xian Bin - 6 years, 7 months ago

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..

Hafizh Ahsan Permana - 6 years, 7 months ago

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.

Michael Ng - 6 years, 7 months ago

I think there are already some fine approaches suggested. I played with the problem this way:

If i 0 i \geq 0 is some integer, we note that

i i + 1 x + 2 2 d x = i i + 1 ( i + 2 ) 2 d x \int_{i}^{i+1} \! \lfloor x + 2 \rfloor ^2 \, \mathrm{d} x = \int_{i}^{i+1} \! (i + 2)^2 \, \mathrm{d} x

So for some integer n 0 n \geq 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 \int_{0}^{n} \! \lfloor i + 2 \rfloor ^2 \, \mathrm{d} x = \sum_{i=0}^{n-1} \int_{i}^{i+1} \! (i + 2)^2 \, \mathrm{d} x = \sum_{i=0}^{n-1} (i + 2)^2

Recall the formula for pyramid numbers, and rewrite the sum

i = 0 n 1 ( i + 2 ) 2 = 1 6 n ( 2 n 2 + 9 n + 13 ) \sum_{i=0}^{n-1} (i + 2)^2 = \frac{1}{6} n (2 n^2 + 9 n + 13)

For the question at hand, we let n = 10 n = 10 and get the result 505 505 .

A natural extension of the above would be: "What would happen if n n were some real number?"

So beutiful!

Mathias Kux - 5 years, 4 months ago
Stevaan Hall
Oct 25, 2014

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?

Ahaan Rungta - 6 years, 7 months ago

Yes, you've missed out the floor function. Expressions wrapped in floor, ceiling or modulus functions cannot be integrated directly.

Wee Xian Bin - 6 years, 7 months ago

but steps should be mentioned!

Niaz Ghumro - 6 years, 7 months ago

Log in to reply

@Niaz Ghumro, I've posted a solution under the question, please have a look.

Wee Xian Bin - 6 years, 7 months ago
Bill Bell
Oct 28, 2014

Here's a graph of the integrand.

Made using Sage Made using Sage

Antonio Fanari
Oct 26, 2014

0 10 x + 2 2 d x = k = 2 11 k 2 1 = 11 ( 11 + 1 ) ( 2 × 11 + 1 ) 6 1 = 505 \int_0^{10} {\lfloor {x+2}\rfloor}^2dx = {\sum\limits_{k=2}^{11} {k^2}}-1=\frac {11(11+1)(2\times {11} + 1)} 6 - 1 = \boxed {505}

Anna Anant
Nov 16, 2014

(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

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...