[Math] Improper integral of a function involving square root and absolute value.

calculusimproper-integrals

$$\int_{-2}^{8}\dfrac{dx}{\sqrt{|2x\|}}$$

I understand that you have to split this into two integrals because at $x=0$, the function is not defined. The example showed that they split up the integral like this:

$$\lim_{b\to0^{-}}\int_{-2}^{b}\dfrac{dx}{\sqrt{-2x}}+\lim_{c\to0^{+}}\int_{c}^{8}\dfrac{dx}{\sqrt{2x}}$$

I understand how they split up the integral but why is the denominator different in each one? I figured that the first integral has negative limits of integration so a negative has to be put in the square root to make it positive. The integral on the right hand side remains positive because the limits are never negative. Is this the right assumption?

If my assumption is correct, is there a general rule for dealing with absolute values in problems like these? I appreciate anyone that would take the time to explain this to me. Thank you in advance!

Best Answer

If the integral involves $|x|$, we split the interval of integration by $0$, and unwind the definition of $|x|$ on each part: $|x|=x$ on the positive part, $|x|=-x$ on the negative. Then integrate and add the results. If only the convergence of an improper integral is of interest, we don't calculate the values, but only check whether each part converges.

More generally: if the integral involves $|g(x)|$ where $g$ is some function of $x$, the interval of integration is split by the points where $g(x)$ changes sign.

Related Question