Calculus via Summations

Calculus Level 5

A function f f is defined by f ( x ) = 1 2 r 1 f(x)=\dfrac { 1 }{ { 2 }^{ r - 1 } } for 1 2 r < x 1 2 r 1 \dfrac { 1 }{ { 2 }^{ r } } < x \le \dfrac { 1 }{ { 2 }^{ r -1 } } , where r N r \in \mathbb N . Find the value of 0 1 f ( x ) d x \displaystyle \int _{ 0 }^{ 1 }{ f (x)\ dx } .


The answer is 0.667.

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.

3 solutions

Zico Quintina
May 15, 2018

Since f ( x ) f(x) is non-negative, the value of the integral is the area between f ( x ) f(x) and the x x -axis from x = 0 x=0 to x = 1 x=1 . The graph of f ( x ) f(x) is shown below:

To find the area under the graph we have to add the areas of a series of rectangles.

Starting from the right , the k k th rectangle will have width 1 2 k 1 1 2 k = 1 2 k \dfrac{1}{2^{k-1}} - \dfrac{1}{2^k} = \dfrac{1}{2^k} and height 1 2 k 1 \dfrac{1}{2^{k-1}} , so its area will be 1 2 2 k 1 \dfrac{1}{2^{2k-1}} .

Thus the integral, i.e the area under the graph, will be

0 1 f ( x ) = r = 1 1 2 2 r 1 = r = 1 1 2 ( 1 2 2 r 2 ) = 1 2 r = 1 1 4 r 1 = 1 2 1 1 1 4 = 1 2 4 4 1 = 2 3 \begin{aligned} \int_{0}^{1} f(x) &= \sum_{r=1} \dfrac{1}{2^{2r-1}} \\ \\ &= \sum_{r=1} \dfrac{1}{2} \left( \dfrac{1}{2^{2r-2}} \right) \\ \\ &= \dfrac{1}{2} \ \sum_{r=1} \dfrac{1}{4^{r-1}} \\ \\ &= \dfrac{1}{2} \cdot \dfrac{1}{1-\frac{1}{4}} = \dfrac{1}{2} \cdot \dfrac{4}{4-1} = \boxed{\dfrac{2}{3}} \end{aligned}

Chew-Seong Cheong
May 17, 2018

Note that f ( x ) f(x) is a step function with step height f ( x ) = y = 1 2 r 1 f(x) = y = \dfrac 1{2^{r-1}} and a corresponding step width of Δ x = 1 2 r 1 1 2 r \Delta x = \dfrac 1{2^{r-1}} - \dfrac 1{2^r} , where r N r \in \mathbb N . And x = 1 x=1 when r = 1 r=1 and x = 0 x=0 when r r \to \infty .

0 1 f ( x ) d x = 0 1 y d x = r = 1 y Δ x = r = 1 1 2 r 1 ( 1 2 r 1 1 2 r ) = r = 0 1 2 r ( 1 2 r 1 2 r + 1 ) = r = 0 1 2 × 1 2 2 r = 1 2 r = 0 ( 1 4 ) r = 1 2 ( 1 1 1 4 ) = 2 3 0.667 \begin{aligned} \int_0^1 f(x) \ dx & = \int_0^1 y \ dx = \sum_{r=1}^\infty y \Delta x = \sum_{r=1}^\infty \frac 1{2^{r-1}} \left(\frac 1{2^{r-1}} - \frac 1{2^r} \right) = \sum_{r=0}^\infty \frac 1{2^r} \left(\frac 1{2^r} - \frac 1{2^{r+1}} \right) \\ & = \sum_{r=0}^\infty \frac 12 \times \frac 1{2^{2r}} = \frac 12 \sum_{r=0}^\infty \left(\frac 14\right)^r = \frac 12 \left(\frac 1{1-\frac 14}\right) = \frac 23 \approx \boxed{0.667} \end{aligned}

Priyanshu Mishra
May 15, 2018

I do have a solution, but its not mine.

0 1 f ( x ) d x = r = 1 2 r 2 ( r 1 ) 1 2 r 1 d x = r = 1 1 2 r 1 [ 2 ( r 1 ) 2 r ] = r = 1 2 2 ( r 1 ) r = 1 2 2 r + 1 = ( 2 2 2 ) r = 1 2 2 r = 2 3 \large\ { \displaystyle \int _{ 0 }^{ 1 }{ f\left( x \right) dx } = \sum _{ r=1 }^{ \infty }{ \int _{ { 2 }^{ -r } }^{ { 2 }^{ -(r-1) } }{ \frac { 1 }{ { 2 }^{ r-1 } } dx } } \\ \displaystyle = \sum _{ r=1 }^{ \infty }{ \frac { 1 }{ { 2 }^{ r-1 } } \left[ { 2 }^{ -(r-1) } - { 2 }^{ -r } \right] } \\\displaystyle = \sum _{ r=1 }^{ \infty }{ { 2 }^{ -2(r-1) } - \sum _{ r=1 }^{ \infty }{ { 2 }^{ -2r+1 } } } \\ \displaystyle = \left( { 2 }^{ 2 } - 2 \right) \sum _{ r=1 }^{ \infty }{ { 2 }^{ -2r } } = \boxed { \frac { 2 }{ 3 } } } .

My doubt is how can i convert the definite integral asked into a summation? How can i include summation sign along with integral? Is there any formula to do that?

Basically how i got 2nd step from 1st one?

@Chew-Seong Cheong , @Mark Hennings . Please assist me here.

Basically, you are applying the Monotone Convergence Theorem, which allows you to state that 0 1 f ( x ) d x = lim n 2 n 1 f ( x ) d x \int_0^1 f(x)\,dx \; = \; \lim_{n \to \infty} \int_{2^{-n}}^1 f(x)\,dx The fact that f f is a piecewise function allows you to say that 2 n 1 f ( x ) d x = r = 1 n 2 r 2 1 r f ( x ) d x \int_{2^{-n}}^1 f(x)\,dx \; = \; \sum_{r=1}^n \int_{2^{-r}}^{2^{1-r}}f(x)\,dx and there you are.

Mark Hennings - 3 years ago

Log in to reply

@Mark Hennings , Thanks sir. Where can i learn more about this theorem and applications?

Priyanshu Mishra - 3 years ago

Log in to reply

You will need to study a textbook on Lebesgue Integration. This is an alternative development of integration to the more familiar Riemann Integration, and harder work, but it is more robust, since it permits the proof of many important results (such as, for example, the MCT).

Mark Hennings - 3 years ago

Log in to reply

@Mark Hennings Ok sir. I understood what you explained. Thanks.

Priyanshu Mishra - 3 years ago

Actually, you can do this within Riemann Integration, since f f is a bounded function. You just need to note that 0 1 f ( x ) d x 2 n 1 f ( x ) d x 0 2 n 1 d x = 2 n \left|\int_0^1 f(x)\,dx - \int_{2^{-n}}^1 f(x)\,dx\right| \; \le \; \int_0^{2^{-n}} 1 \,dx \; = \; 2^{-n} and there you are. The expansion of the integral from 2 n 2^{-n} to 1 1 as a sum of integrals is fine in any system of integration.

Mark Hennings - 3 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...