Integral part of Sum

Calculus Level 4

Given the sum S = 1 2 + 1 3 + + 1 10 , 000 , \displaystyle S = \frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\dots+\frac{1}{\sqrt{10,000}}, what is S \lfloor S \rfloor ?

Details and assumptions

The function x : R Z \lfloor x \rfloor: \mathbb{R} \rightarrow \mathbb{Z} refers to the greatest integer smaller than or equal to x x . For example 2.3 = 2 \lfloor 2.3 \rfloor = 2 and 5 = 5 \lfloor -5 \rfloor = -5 .


The answer is 197.

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

Mirza Baig
Dec 22, 2013

S = 1 2 + 1 3 + 1 4 + + 1 9999 + 1 10000 S = \dfrac{1}{ \sqrt{2} } + \dfrac{1}{ \sqrt{3} } + \dfrac{1}{ \sqrt{4} } + \dots \dots + \dfrac{1}{ \sqrt{9999} } + \dfrac{1}{ \sqrt{10000} }

Conjecture : k + 1 k < 1 ( 2 × k ) < k k 1 \sqrt{k+1} - \sqrt{k} < \dfrac{1}{( 2 \times \sqrt{k} )} < \sqrt{k} - \sqrt{k-1} for positive k k

Proof : For the left hand side of inequality,

we know that

0 < 1 4 k 2 + k < k 2 + k + 1 4 k ( k + 1 ) < ( k + 1 2 ) 2 0 < \dfrac{1}{4} \Rightarrow k^{2} + k < k^{2} + k + \dfrac{1}{4} \Rightarrow k(k+1) < \bigg ( k + \dfrac{1}{2} \bigg )^{2}

Since both sides are positive we can square root this to get,

k ( k + 1 ) < k + 1 2 k ( k + 1 ) k < 1 2 \sqrt{k(k+1)} < k + \dfrac{1}{2} \Rightarrow \sqrt{k(k+1)} - k < \dfrac{1}{2}

Dividing both sides by k \sqrt{k} we get,

k + 1 k < 1 ( 2 × k ) \sqrt{k+1} - \sqrt{k} < \dfrac{1}{( 2 \times \sqrt{k} )}

For the right hand side of inequality,

we know that

0 < 1 4 k 2 k < k 2 k + 1 4 k ( k 1 ) < ( k 1 2 ) 2 0 < \dfrac{1}{4} \Rightarrow k^{2} - k < k^{2} - k + \dfrac{1}{4} \Rightarrow k(k-1) < \bigg ( k - \dfrac{1}{2} \bigg )^{2}

Since both sides are positive we can square root this to get,

k ( k 1 ) < k 1 2 k k ( k 1 ) > 1 2 \sqrt{k(k-1)} < k - \dfrac{1}{2} \Rightarrow k - \sqrt{k(k-1)} > \dfrac{1}{2}

Dividing both sides by k \sqrt{k} we get,

1 ( 2 × k ) < k k 1 \dfrac{1}{( 2 \times \sqrt{k} )} < \sqrt{k} - \sqrt{k-1}

( Motivation : A few days back, I was asked to proof this conjecture in my class. :) )

Now we can write,

3 2 < 1 2 × 2 < 2 1 \sqrt{3} - \sqrt{2} < \dfrac{1}{2 \times \sqrt{2}} < \sqrt{2} - \sqrt{1}

4 3 < 1 2 × 3 < 3 2 \sqrt{4} - \sqrt{3} < \dfrac{1}{2 \times \sqrt{3}} < \sqrt{3} - \sqrt{2}

5 4 < 1 2 × 4 < 4 3 \sqrt{5} - \sqrt{4} < \dfrac{1}{2 \times \sqrt{4}} < \sqrt{4} - \sqrt{3}

6 5 < 1 2 × 5 < 5 4 \sqrt{6} - \sqrt{5} < \dfrac{1}{2 \times \sqrt{5}} < \sqrt{5} - \sqrt{4}

\dots \dots

\dots \dots

\dots \dots

10000 9999 < 1 2 × 9999 < 9999 9998 \sqrt{10000} - \sqrt{9999} < \dfrac{1}{2 \times \sqrt{9999}} < \sqrt{9999} - \sqrt{9998}

10001 10000 < 1 2 × 10000 < 10000 9999 \sqrt{10001} - \sqrt{10000} < \dfrac{1}{2 \times \sqrt{10000}} < \sqrt{10000} - \sqrt{9999}

This is like a telescoping series and reduces to,

10001 2 < S 2 < 10000 1 \sqrt{10001} - \sqrt{2} < \dfrac{S}{2} < \sqrt{10000} - \sqrt{1}

10001 2 < S 2 < 99 \Rightarrow \sqrt{10001} - \sqrt{2} < \dfrac{S}{2} < 99

Now, 10000 2 < 10001 2 \sqrt{10000} - \sqrt{2} < \sqrt{10001} - \sqrt{2}

100 1.414213... = 98.58578... < 10001 2 \Rightarrow 100 - 1.414213... = 98.58578... < \sqrt{10001} - \sqrt{2}

This means,

98.58578..... < S 2 < 99 98.58578..... < \dfrac{S}{2} < 99

197.171572... < S < 198 \Rightarrow 197.171572... < S < 198

Which means,

S = 197 \lfloor S \rfloor = \boxed{197}

Perfect Solution :)

Sai Nikhil Thirandas - 7 years, 5 months ago

BREATHTAKING

Kalyanasundari Ravichandran - 7 years, 5 months ago

This is phenomenally excellent.

Milly Choochoo - 6 years, 12 months ago

it's a very good solution but can u please tell how did u think of the conjecture at first place, how did u manipulate the question to get the conjecture since its the main part of the question. also since it appeared in a olympiad it was difficult to form such conjecture without prior knowledge of the same. so can u tell how one should go about to solve this using the same procedure using the same conjecture without knowing it before. @Calvin Lin @Mirza Baig @Svatejas Shivakumar

SOUVIK PAL - 4 years, 9 months ago
DreamRunner Moshi
Dec 21, 2013

This is mainly a summation of series : i = 2 10000 1 x \sum_{i=2}^{10000}\frac{1}{\sqrt{x}} This can be written as : 2 10000 1 x d x \int\limits_2^{10000}\frac{1}{\sqrt{x}}\mathrm{d}x

By integrating :

2 x 2 10000 2\left.\sqrt{x}\right|_2^{10000}

By evaluating 197.17157287525382 \left \lfloor{197.17157287525382 }\right \rfloor answer is 197 \boxed{197} .

Important to note that the expression is an approximation of the sum. This is essentially replacing a LRAM approximation with Δ x = 1 \Delta x = 1 with an actual integral. Since 1 x \frac{1}{\sqrt{x}} is decreasing, we find that this is an underapproximation of the value (In fact, WA yields S = 197.5446454495237... S = 197.5446454495237... . )

That said, how can you know that your approximation is accurate enough that the integer part of both sums are equal? An argument dealing with error margins won't suffice in this case because even if it underapproximates the sum by 0.001 0.001 , if the real sum is 197.00005 197.00005 it would not suffice.

Michael Tong - 7 years, 5 months ago

Cauchy's Integral test gives the upper bound to the sum as 197.87 and the lower bound as 197.17. So greatest integer lesser equal to S has to be 197

Shivin Srivastava - 7 years, 5 months ago
Mark Kong
Jun 1, 2014

For positive a and b, 1 a 1 b = b a a b \frac { 1 }{ \sqrt { a } } -\frac { 1 }{ \sqrt { b } } =\frac { \sqrt { b } -\sqrt { a } }{ \sqrt { ab } } , which is positive if and only if b>a. Hence, f ( x ) = 1 x f\left( x \right) =\frac { 1 }{ \sqrt { x } } is a monotonically decreasing function for positive x.

1 x = 2 x \int{\frac{1}{\sqrt{x}}}=2\sqrt{x}

S < 1 10000 1 x = 2 10000 2 1 = 200 2 = 198 S < \int_{1}^{10000}{\frac{1}{\sqrt{x}}}=2\sqrt{10000}-2\sqrt{1}=200-2=198 because the right riemann sum of a monotonically decreasing function is an underestimation.

S > 2 10000 1 x = 2 10000 2 2 > 200 2 ( 1.5 ) = 200 3 = 197 S > \int_{2}^{10000}{\frac{1}{\sqrt{x}}}=2\sqrt{10000}-2\sqrt{2}>200-2(1.5)=200-3=197 because the left riemann sum of a monotonically decreasing function is an overestimation.

Therefore, 197 < S < 198 197 < S < 198 , so S = 197 \left\lfloor S \right\rfloor =\boxed { 197 } .

Opel Berlin
Dec 22, 2013

I used this well-known inequality

2sqrt{ n + 1 n+1 } - 2sqrt{ n n } < 1/sqrt n n < 2sqrt{ n n } - 2sqrt{ n 1 n-1 } 2sqrt{ m + 1 m+1 } - 2sqrt{ k k } < sigma[i=k to m] 1/sqrt n n < 2sqrt{ m m } - 2sqrt{ k 1 k-1 }

then, we know that S S = 1/sqrt 2 2 + 1/sqrt 3 3 + ... + 1/sqrt 10000 10000 = sigma[i=2 to 10000], substitute the value s s to the inequality we get

2sqrt{ 10001 10001 } - 2sqrt{ 2 2 } < sigma[i=2 to 10000] 1/sqrt n n < 2sqrt{ 10000 10000 } - 2sqrt{ 1 1 } --> 2sqrt{ 10001 10001 } - 2sqrt{ 2 2 } < 1/sqrt 2 2 + 1/sqrt 3 3 + ... + 1/sqrt 10000 10000 < 2sqrt{ 10000 10000 } - 2sqrt{ 1 1 } --> 197,18157 < S < 198

So the value of floor{ S S } is 197

Use "\sqrt{number}" for square roots, "\frac{numerator}{denominator}" for fractions, "\sum_{variable = starting value}^{end value} Expression," use "\to" or "\rightarrow" or right arrows, and for floor use "\lfloor number \rfloor"

Michael Tong - 7 years, 5 months ago
Milly Choochoo
Jan 18, 2014

The summation can be written as

S = i = 2 10000 i 1 2 S = \sum\limits_{i=2}^{10000} i^{-\frac{1}{2}}

Now we can approximate it my representing it as a definite integral which is written as follows:

2 10000 x 1 2 d x = 2 x 2 10000 197.17 \int\limits_{2}^{10000} x^{-\frac{1}{2}} \,dx = 2 \sqrt{x} |_{2}^{10000} \approx 197.17

So the floor of that value is 197 \boxed{197} .

I honestly feel like I just got lucky with that solution.

Ahmed Taha
Jan 7, 2014

Using the Riemann sums for the definite integrals of 1/sqrt(x) from 2 to 10000 & from 2 to 10001 gives us an inequality of S Hence we deduce that the answer is 197

Dominic Jobin
Jan 5, 2014

IntegralPartofSum.py

s = 0

for n in range(2,10001):
    s += 1/n**0.5

print int(s)

Returns: 197. Q.E.D.

lol I use exact the same method. Only in R instead. I know I use do the calculus. But I could figure it out

Narisa Thamveerapong - 7 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...