Integration with floor

Calculus Level 3

π π / 2 2 sin x d x = ? \int_{-\pi}^{\pi /2} \lfloor 2 \sin x \rfloor \, dx = \, ?


The answer is -4.18879.

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.

1 solution

Tom Engelsman
Jun 21, 2020

The function f ( x ) = 2 sin ( x ) f(x) = \lfloor 2\sin(x) \rfloor takes on the following values over [ π , π 2 -\pi, \frac{\pi}{2} ]:

2 x = π ; -2 \Rightarrow x = -\pi; (single point only!)

1 x ( π , 5 π 6 ] [ π 6 , 0 ) -1 \Rightarrow x \in (-\pi, -\frac{5\pi}{6}] \cup [-\frac{\pi}{6}, 0) ;

2 x ( 5 π 6 , π 6 ) ; -2 \Rightarrow x \in (-\frac{5\pi}{6}, -\frac{\pi}{6});

0 x [ 0 , π 6 ) ; 0 \Rightarrow x \in [0, \frac{\pi}{6});

1 x [ π 6 , π 2 ) . 1 \Rightarrow x \in [\frac{\pi}{6}, \frac{\pi}{2}).

2 x = π 2 . 2 \Rightarrow x = \frac{\pi}{2}. (single point only!)

The integration can now proceed according to:

π 5 π / 6 1 d x + 5 π / 6 π / 6 2 d x + π / 6 0 1 d x + 0 π / 6 0 d x + π / 6 π / 2 1 d x \int_{-\pi}^{-5\pi/6} -1 dx +\int_{-5\pi/6}^{-\pi/6} -2 dx +\int_{-\pi/6}^{0} -1 dx +\int_{0}^{\pi/6} 0 dx + \int_{\pi/6}^{\pi/2} 1 dx = 4 π 3 . \boxed{-\frac{4\pi}{3}}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...