∫IntegralPasoEspañol
Integration techniques

Absolute values and piecewise functions

Material by the IntegralPaso project. Conditions and limits are stated in each guide; external teaching review is pending.

∫abf=∑j∫cjcj+1fj\int_a^bf=\sum_j\int_{c_j}^{c_{j+1}}f_j

Locate formula or sign changes and split the interval. Integrate each expression on its own piece and add the results. For continuous global primitives adjust constants between pieces when possible.

Common mistake

Do not remove |x| as if x were always positive.

Step-by-step example

  1. Split where the sign changes.

    ∫−12∣x∣ dx=∫−10(−x) dx+∫02x dx\int_{-1}^2|x|\,dx=\int_{-1}^0(-x)\,dx+\int_0^2x\,dx
  2. Evaluate each piece separately.

    I=1/2+2I=1/2+2
  3. Add the positive areas.

    I=5/2I=5/2
Solve