4

How to evaluate the integral $$\int_{x=0}^{x=10}x^{2}d\left\{x+\frac{1}{2}\right\}$$

This is one another integral which I am having doubt. This integral is also from MIT Quarterfinals $2025$.

My Thoughts :

First of all it took me $2$ days to think for this integral.

But still I thought of only $4$ steps.

Let me explain my thoughts.

I assumed the given integral as $I$. That is I got

$$I=\int_{x=0}^{x=10}x^{2}d\left\{x+\frac{1}{2}\right\}$$

Now I wrote this given integral in the form of

$$I=\int_{x=0}^{x=10}x^{2}dx×\frac{d}{dx}\left(\left\{x+\frac{1}{2}\right\}\right)$$

I really don't know whether this step is correct or wrong.

Now the next step is that I wrote $$\left\{x+\frac{1}{2}\right\}$$ as $$\left(x+\frac{1}{2}\right)-\lfloor{x+\frac{1}{2}\rfloor}$$

Now we can easily say that

$\frac{d}{dx}\left(\left\{x+\frac{1}{2}\right\}\right)=\frac{d}{dx}\left((x+\frac{1}{2})-\lfloor{x+\frac{1}{2}\rfloor}\right)$

Now it is very clear to me that $$\frac{d}{dx}\left(\left\{x+\frac{1}{2}\right\}\right)=1$$ because $\lfloor{x+\frac{1}{2}\rfloor}$ is a constant and its derivative with respect to $x$ will result in $0$.

Therefore finally the integral is turning out as $$\int_{x=0}^{x=10}x^{2}dx$$ which yields the answer to be $\frac{1000}{3}$

But the correct answer mentioned is $\frac{5}{6}$.

Please rectify my mistake.

enter image description here

Dev
  • 1,260
  • Ok. Thank you very much @BrianMoehring. But I am skipping this integral as of now because it is out of my level as I am an undergraduate student. But still thank you for helping me out. – Dev Feb 06 '25 at 19:13
  • Actually I thought the solution would be as per my thought but actually it is beyond my level. – Dev Feb 06 '25 at 19:14
  • Why are you replying to @Brian Moehring under the question instead of the answer? – Integreek Feb 07 '25 at 09:26
  • Just I replied. Ok next time I will reply under the answer @MathGuy. Sometimes it may happen that comments under the answer may be overlooked but comments under the question don't get overlooked. – Dev Feb 08 '25 at 07:43
  • Isn’t $\dfrac{\mathrm d}{\mathrm dx}\left{x+\frac12\right}$ not defined for half-integral values of $x$? You’ve stated that it is always $1$. – Integreek Feb 08 '25 at 07:54
  • No. Why $1$ because ${x}=x-\lfloor{x}\rfloor$ and derivative of $x$ w.r.t. $x$ is $1$ and derivative of $\lfloor{x}\rfloor$ w.r.t. $x$ is $0$ since $\lfloor{x}\rfloor$ is a constant. – Dev Feb 08 '25 at 09:13
  • You missed that $\lfloor{x}\rfloor$ is discontinuous $\forall, x\in\mathbb Z$, so it's not differentiable for integral values of $x$. – Integreek Feb 08 '25 at 09:35

3 Answers3

9

This integral must be interpreted as a Riemann-Stieltjes integral. Toward that end, note that $\{x+\frac12\}$ is a function which is differentiable with derivative $1$ whenever $x +\frac12 \not\in \mathbb{Z}$, and at the points where $x+\frac12\in\mathbb{Z}$, it has a jump of $-1$.

Together, this means $$\begin{align*} \int_0^{10} x^2\,\mathrm{d}\{x+\frac12\} &= \int_0^{10} x^2 \,\mathrm{d}x - \sum_{0 < x < 10 \\ x+\frac12 \in \mathbb{Z}}x^2 \\ &= \frac{1000}{3} - \sum_{n=0}^9(n+\frac12)^2 \\ &= \frac56 \end{align*}$$

5

Probably a little advance and even too slow for a Integration bee constest, but here is another solution based on integration by parts.

The functions $G(t)=\{t+\frac12\}$ and $F(t)=t^2$ are right-continuous and of local bounded variation. Integration by parts gives \begin{align} \int_{(a,b]}F(t)\,dG(t)&=F(b)G(b)- F(a)G(a)-\int_{(a,b]}G(t-)\,dF(t)\\ &=F(b)G(b)- F(a)G(a)-\int_{(a,b]}G(t)\,dF(t)\\ &=b^2\{b+\tfrac12\}-a^2\{a+\tfrac12\}-\int^b_a \{t+\tfrac12\} 2t\,dt \end{align} For $a=0$ and $b=10$ this is \begin{align} \int_{(0,10]}t^2\,d\{t+\tfrac12\}=50-2\int_{(0,10]}\{t+\tfrac12\}t\,dt \end{align}

The integral on the right-hand-side is \begin{align} \int_{(0,10]}\{t+\tfrac12\}t\,dt&=\int_{(\frac12,\frac{21}{2}]}\{t\}(t-\tfrac12)\,dt\\ &=\int^1_{1/2}t(t-\tfrac12)\,dt+\int^{\frac{21}{2}}_{10} (t-10)(t-\tfrac12)\,dt +\sum^9_{n=1}\int^{n+1}_n(t-n)(t-\tfrac12)\,dt\\ &=\frac43+\int^{10}_1\Big(t^2-\tfrac{t}{2}\Big)\,dt-\sum^9_{n=1}n^2=\frac{295}{12} \end{align}

Thus,

\begin{align} \int_{(0,10]}\{t+\tfrac12\}t\,dt=50-2\frac{295}{12}=\frac56 \end{align}

Mittens
  • 46,352
  • 6
    It might be slower to calculate, but perhaps more accessible to OP since integration by parts reduces the problem to more familiar territory of the usual Riemann integral. – Ennar Feb 06 '25 at 23:10
0

$$\int_0^{10}x^2d\{x+\frac12\}=\int_0^{10}x^2\frac{d\{x+\frac12\}}{dx}dx$$Where the derivative,

$$\frac{d\{x+\frac12\}}{dx}=\begin{cases}1, \text{if } x\neq n-\frac12\\-\infty , \text{if } x=n-\frac12\end{cases} $$Thus , $$I=\int_0^{10}x^2dx+\sum_{n=1}^{10}\int_0^{10}x^2\left(-\delta\left(n-\frac12\right)\right)dx=\int_0^{10}x^2dx-\sum_{n=1}^{10}\left(n-\frac12\right)^2=\frac56.$$Where , $\delta(\cdot)$ is the delta Dirac function.

Antony Theo.
  • 4,716