Symmetric Interval Integral with Exponential Logistic Denominator

Board: JEE Foundation | Grade: Class 12 | Chapter: Definite Integrals

Problem

Evaluate the definite integral: $$I = \int_{-2}^{2} \frac{|x| + x^2}{1 + e^{x^3 + x}},dx.$$

Step-by-Step Textbook Solution

Step 1: Apply King's Property on $[-a, a]$
Replacing $x$ by $(-2 + 2 - x) = -x$: $$I = \int_{-2}^{2} \frac{|-x| + (-x)^2}{1 + e^{(-x)^3 + (-x)}},dx = \int_{-2}^{2} \frac{|x| + x^2}{1 + e^{-(x^3 + x)}},dx.$$ Multiply numerator and denominator by $e^{x^3 + x}$: $$I = \int_{-2}^{2} \frac{(|x| + x^2)e^{x^3 + x}}{e^{x^3 + x} + 1},dx.$$

Step 2: Add the two expressions
$$2I = \int_{-2}^{2} \frac{(|x| + x^2)(1 + e^{x^3 + x})}{1 + e^{x^3 + x}},dx = \int_{-2}^{2} \left(|x| + x^2\right),dx.$$

Step 3: Use even symmetry
Since $|x| + x^2$ is an even function on $[-2, 2]$: $$2I = 2 \int_0^2 (x + x^2),dx \implies I = \left[\frac{x^2}{2} + \frac{x^3}{3}\right]_0^2 = 2 + \frac{8}{3} = \frac{14}{3}.$$

Final Answer: $\frac{14}{3}$.

NityaDhi Solution (Intuitive Method)

NityaDhi Logistic Cancellation Theorem:
For any even function $E(x)$ and any odd function $O(x)$: $$\int_{-a}^{a} \frac{E(x)}{1 + e^{O(x)}},dx = \int_0^a E(x),dx.$$ Why? Because $\frac{1}{1+e^u} + \frac{1}{1+e^{-u}} = 1$. Simply drop the denominator and halve the interval to $[0, 2]$!

Common Mistakes to Avoid

  • Trying to integrate by substitution $u = x^3 + x$, which fails completely.
  • Forgetting that $|x|$ is even, or dropping the factor of $2$ when folding $[-2, 2]$ to $2\int_0^2$.