Modular Integral

I = 0 π ( 3 3 2 + 3 3 + 3 2019 ) ( m o d 100 ) ) d x I=\displaystyle\int_0^{\pi}(3-3^2+3^3-\cdots +3^{2019}) \pmod{100} ) \, dx

Compute the value of I I .

Inspired by @Charlton Teo


The answer is 3.14.

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

William Allen
Jul 17, 2019

Let S = ( 3 3 2 + 3 3 + 3 2019 ) ( m o d 100 ) S=(3-3^2+3^3-\cdots +3^{2019})\pmod{100} and 3 n ( m o d 100 ) { 3 , 9 , 27 , 81 , 43 , 29 , 87 , 61 , 83 , 49 , 47 , 41 , 23 , 69 , 7 , 21 , 63 , 89 , 67 , 1 } 3^n \pmod{100} \in \left\{3,9,27,81,43,29,87,61,83,49,47,41,23,69,7,21,63,89,67,1 \right\}

Notice each remainder can be paired with another to make ± 90 \pm 90 , if we keep the signs alternated, then writing in a table looks like this,

1 89 7 83 9 81 3 87 27 63 43 47 29 61 21 69 41 49 23 67 \begin{array}{|c|c|} \hline -1 & -89 \\ \hline 7 & 83 \\ \hline -9 & -81 \\ \hline 3 & 87 \\ \hline 27 & 63 \\ \hline 43 & 47 \\ \hline -29 & -61 \\ \hline -21 & -69 \\ \hline -41 & -49 \\ \hline 23 & 67 \\ \hline \end{array}

As the remainders are in cycles of 20 20 and each cycle, C C , has property C 0 ( m o d 100 ) C\equiv 0 \pmod{100} as there are an equal amount of positive pairings as negative.

2019 ( m o d 20 ) = 19 2019\pmod{20}=19 so only the 2 0 t h 20^{th} element in the cycle, or 1 1 is excluded. We have S 1 ( m o d 100 ) S\equiv 1 \pmod{100}

0 π S d x = 0 π d x = π \implies \displaystyle\int_0^{\pi} S \, dx = \displaystyle\int_0^{\pi} \, dx = \boxed{\pi}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...