
What is the value of \[\int\limits_{ - 2}^2 {\left| x \right|dx} \]?
A. 0
B. 1
C. 2
D. 4
Answer
216.3k+ views
Hint: First we will find where the \[\left| x \right|\] is positive and negative in the interval \[ - 2 < x < 2\]. Then we will break the interval of the integration according to the positive and negative of \[\left| x \right|\]. Then solve it to get solution.
Formula Used:Absolute value function:
\[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{{\rm{if }}\,x < 0}\\x&{{\rm{if }}x > 0}\end{array}} \right.\]
Integration formula:
\[\int {xdx} = \dfrac{{{x^2}}}{2} + c\]
Complete step by step solution:Given integration is
\[\int\limits_{ - 2}^2 {\left| x \right|dx} \]
We know that, \[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{{\rm{if }}\,x < 0}\\x&{{\rm{if }}x > 0}\end{array}} \right.\]
Rewrite the equation when \[ - 2 < x < 2\]
\[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{ - 2 < \,x < 0}\\x&{0 < x < 0}\end{array}} \right.\]
Now we will break the interval of the integration into two intervals those are -2 to 0 and 0 to 2.
Therefore, \[\int\limits_{ - 2}^2 {\left| x \right|dx} \]
\[ = \int\limits_{ - 2}^0 {\left( { - x} \right)dx} + \int\limits_0^2 {xdx} \]
Now applying integration formula:
\[ = \left[ { - \dfrac{{{x^2}}}{2}} \right]_{ - 2}^0 + \left[ {\dfrac{{{x^2}}}{2}} \right]_0^2\]
Now putting lower limit and upper limit:
\[ = \left[ { - \dfrac{{{0^2}}}{2} + \dfrac{{{2^2}}}{2}} \right] + \left[ {\dfrac{{{2^2}}}{2} - \dfrac{{{0^2}}}{2}} \right]\]
Simplify the above expression:
\[ = \left[ {0 + 2} \right] + \left[ {2 - 0} \right]\]
= 4
Option ‘D’ is correct
Additional Information:An absolute value function is a function that contains an expression in absolute value symbol that is ||.
Note: Students often make mistakes when they integrate an absolute function. They don’t consider the positive value and negative value of \[\left| x \right|\]. They take only positive value and solve it. To integrate an absolute function we have to follow the condition for absolute function.
Formula Used:Absolute value function:
\[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{{\rm{if }}\,x < 0}\\x&{{\rm{if }}x > 0}\end{array}} \right.\]
Integration formula:
\[\int {xdx} = \dfrac{{{x^2}}}{2} + c\]
Complete step by step solution:Given integration is
\[\int\limits_{ - 2}^2 {\left| x \right|dx} \]
We know that, \[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{{\rm{if }}\,x < 0}\\x&{{\rm{if }}x > 0}\end{array}} \right.\]
Rewrite the equation when \[ - 2 < x < 2\]
\[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{ - 2 < \,x < 0}\\x&{0 < x < 0}\end{array}} \right.\]
Now we will break the interval of the integration into two intervals those are -2 to 0 and 0 to 2.
Therefore, \[\int\limits_{ - 2}^2 {\left| x \right|dx} \]
\[ = \int\limits_{ - 2}^0 {\left( { - x} \right)dx} + \int\limits_0^2 {xdx} \]
Now applying integration formula:
\[ = \left[ { - \dfrac{{{x^2}}}{2}} \right]_{ - 2}^0 + \left[ {\dfrac{{{x^2}}}{2}} \right]_0^2\]
Now putting lower limit and upper limit:
\[ = \left[ { - \dfrac{{{0^2}}}{2} + \dfrac{{{2^2}}}{2}} \right] + \left[ {\dfrac{{{2^2}}}{2} - \dfrac{{{0^2}}}{2}} \right]\]
Simplify the above expression:
\[ = \left[ {0 + 2} \right] + \left[ {2 - 0} \right]\]
= 4
Option ‘D’ is correct
Additional Information:An absolute value function is a function that contains an expression in absolute value symbol that is ||.
Note: Students often make mistakes when they integrate an absolute function. They don’t consider the positive value and negative value of \[\left| x \right|\]. They take only positive value and solve it. To integrate an absolute function we have to follow the condition for absolute function.
Recently Updated Pages
JEE Atomic Structure and Chemical Bonding important Concepts and Tips

JEE Amino Acids and Peptides Important Concepts and Tips for Exam Preparation

Electricity and Magnetism Explained: Key Concepts & Applications

Chemical Properties of Hydrogen - Important Concepts for JEE Exam Preparation

JEE Energetics Important Concepts and Tips for Exam Preparation

JEE Isolation, Preparation and Properties of Non-metals Important Concepts and Tips for Exam Preparation

Trending doubts
JEE Main 2026: Application Form Open, Exam Dates, Syllabus, Eligibility & Question Papers

Derivation of Equation of Trajectory Explained for Students

Hybridisation in Chemistry – Concept, Types & Applications

Understanding the Angle of Deviation in a Prism

Understanding Collisions: Types and Examples for Students

How to Convert a Galvanometer into an Ammeter or Voltmeter

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

Ideal and Non-Ideal Solutions Explained for Class 12 Chemistry

Degree of Dissociation: Meaning, Formula, Calculation & Uses

Understanding Electromagnetic Waves and Their Importance

Understanding the Electric Field of a Uniformly Charged Ring

Understanding Average and RMS Value in Electrical Circuits

