Solveeit Logo

Question

Question: Let $[x]$ denote the largest whole number that is less than or equal to $x$. For example, $[-\pi] = ...

Let [x][x] denote the largest whole number that is less than or equal to xx. For example, [π]=4[-\pi] = -4. A function f(x)f(x) is defined as follows; if 0<x<20 < x < 2 then

f(x)=(34)[log2(x)]f(x) = (\frac{3}{4})^{[\log_2(x)]}

and f(x)=0f(x) = 0 otherwise. Note that, for example, f(12)=43f(\frac{1}{2}) = \frac{4}{3}. The value of 02f(x)dx\int_0^2 f(x) \, dx is

A

1

B

2

C

3

D

4

E

5

Answer

3

Explanation

Solution

The integral 02f(x)dx\int_0^2 f(x) \, dx is evaluated by splitting the interval (0,2)(0, 2) into sub-intervals where f(x)f(x) is constant. This is determined by the floor function [log2(x)][\log_2(x)].

For 2nx<2n+12^n \le x < 2^{n+1}, [log2(x)]=n[\log_2(x)] = n, and f(x)=(3/4)nf(x) = (3/4)^n.

The integral over such an interval is 2n2n+1(3/4)ndx=(3/4)n(2n+12n)=(3/4)n(2n)=(3/2)n\int_{2^n}^{2^{n+1}} (3/4)^n \, dx = (3/4)^n (2^{n+1} - 2^n) = (3/4)^n (2^n) = (3/2)^n.

The integral from 00 to 22 sums these contributions for n=0,1,2,n = 0, -1, -2, \dots

02f(x)dx=n=0(3/2)n=k=0(3/2)k=k=0(2/3)k\int_0^2 f(x) \, dx = \sum_{n=0}^{-\infty} (3/2)^n = \sum_{k=0}^{\infty} (3/2)^{-k} = \sum_{k=0}^{\infty} (2/3)^k.

This is an infinite geometric series: 1+2/3+(2/3)2+1 + 2/3 + (2/3)^2 + \dots.

The sum is 112/3=11/3=3\frac{1}{1 - 2/3} = \frac{1}{1/3} = 3.