# Integration Involving the Absolute Function

How do I integrate the double integral of the form $|x^2-y|$ with the boundaries $-1\leq x\leq 1$ and $-1\leq y\leq 1$?

-

1
Separate the integral into two regions, one with $x^2>y$ and one with $x^2 \leq y$. – copper.hat Feb 11 at 21:28

## 1 Answer

You can break it into two integrals, one inside the parabola where $y \gt x^2$ and one outside where $y \lt x^2$ So $$\int_{-1}^1\int_{-1}^1 |x^2-y|\; dy \; dx=\\ \int_{-1}^1\int_{-1}^{x^2}x^2-y \;dy \; dx+\int_{-1}^1\int_{x^2}^{1}y-x^2 \;dy \; dx$$

-

Sweet! Thanks for that! – user61881 Feb 11 at 22:25
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 7, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.8438381552696228, "perplexity_flag": "middle"}