What is the slope of this line?

Calculus Level 3

f ( x ) = exp ( k = 1 x 1 k ) f(x) = \exp \left(\sum_{k=1}^{\lceil{x}\rceil} \frac 1k \right) The graph of the above is drawn in red, where exp ( x ) = e x . \exp(x) = e^x. The purple line is a linear function of the form y = m x . y=mx. The value of m m is maximized such that the purple line never intersects one of the red segments.

What is 1000 m ? \lfloor 1000m \rfloor ?


The answer is 1781.

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.

4 solutions

Joseph Newton
Sep 1, 2018

The sum of reciprocals of positive integers (also known as the harmonic numbers ) can be approximated by the following function: k = 1 n 1 k γ + ln ( n ) \sum_{k=1}^n\frac1k\approx\gamma+\ln(n) γ \gamma is the Euler-Mascheroni constant , and roughly equals 0.5772 0.5772 . This approximation becomes more accurate as n n becomes larger.

Since the expression in the question involves x \lceil x\rceil , which is always greater than or equal to x x , we can state that:

exp ( k = 1 x 1 k ) exp ( γ + ln x ) = e γ + ln x = e γ e ln x = e γ x \begin{aligned}\exp\left(\sum_{k=1}^{\lceil x\rceil}\frac1k\right)\geq\exp(\gamma+\ln x)&=e^{\gamma+\ln x}\\&=e^\gamma e^{\ln x}\\&=e^\gamma x\end{aligned}

And so m = e γ 1.781 m=e^\gamma\approx1.781

Exactly same solution, very elegant sir.

Kelvin Hong - 2 years, 9 months ago

You effectively used abuse of notation when you said the slope was parallel and that got me confused. I reached many equations similar to this, but didn't know of the Euler Mascheroni constant so settled on good old high input approximation (I sort of guessed that this was going to be a limit, so simple calculated a difference between f(n+1)-f(n) for n>> (I settled on n=5))

Affan Morshed - 2 years, 9 months ago

Very nice solution. Perhaps the one thing worth expanding on would be showing, or at least noting that k = 1 x γ + l n x \sum_{k=1}^{\lceil{x}\rceil} \geq \gamma + lnx for all x, so that we can be sure that the line never crosses the graph somewhere earlier on.

Kyle Coughlin - 2 years, 9 months ago

Log in to reply

Yes, thank you for pointing this out! The question was originally less specific, so I've updated my solution to match the question.

Joseph Newton - 2 years, 9 months ago

Why is e^gamma times x equal to e^gamma?

Kermit Rose - 2 years, 4 months ago

It isn't, the equation of the line produced is y = e γ x y=e^{\gamma}x , and so the slope is m = e γ m=e^{\gamma} .

Joseph Newton - 2 years, 4 months ago
Vinod Kumar
Sep 11, 2018

Used WolframAlpha script

"find (1/10^10)exp(HarmonicNumber[10^10)])"

to obtain 1.7810.... Multiplying with 1000 and using Floor function, Answer=1781.

D E
Sep 10, 2018

M = y 2 y 1 x 2 x 1 = e ( 1 + 1 2 ) e 1 2 1 = e 3 2 e 1 1 = 1.76 M = \frac{y_2 - y_1}{x_2 - x_1} = \frac{e^{(1+\frac{1}{2})}-e^1}{2-1} =\frac{e^\frac{3}{2}-e^1}{1}=1.76 (2d.p.)

Wieter Jacobs
Sep 11, 2018

I calculated e^(H_200000)/200000 in wolfram

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...