Question
Question: How do you evaluate the definite integral \[\int {\left| {{x^2} - 4} \right|} dx\]from \[\left[ {0,3...
How do you evaluate the definite integral ∫x2−4dxfrom [0,3]?
Solution
We will open the modulus and break the integration of the function into a sum of two integration functions with different limits. Use the general formula of integration and solve the two integrals from given limits.
Modulus of a function ‘x’ opens up as \left| x \right| = \left\\{ {\begin{array}{*{20}{c}}
x&{;x \geqslant 0} \\\
{ - x}&{;x < 0}
\end{array}} \right.
∫xndx=n+1xn+1+C
Complete step-by-step solution:
We have to solve the definite integral ∫x2−4dx from [0,3]
We will break the function of modulus i.e. x2−4 between the limits from 0 to 3
We equate the function inside the modulus to 0
⇒x2−4=0
Shift constant value to right hand side of the equation
⇒x2=4
Take square root on both sides of the equation
⇒x2=4
⇒x2=22
Cancel square root by square power on both sides of the equation
⇒x=±2
Since we have to separate limits between 0 and 3, we will ignore the value -2
So, we can break down the limit [0,3]into two parts i.e. [0,2]and [2,3].
From [0,2]:
⇒x2−4=−(x2−4).............… (1)
From [2,3]:
⇒x2−4=(x2−4)...............… (2)
From equations (1) and (2) we can write the function \left| {{x^2} - 4} \right| = \left\\{ {\begin{array}{*{20}{c}}
{ - ({x^2} - 4)}&{;x \in \left[ {0,2} \right]} \\\
{({x^2} - 4)}&{;x \in \left[ {2,3} \right]}
\end{array}} \right.
So, we can write the definite integral as
⇒0∫3x2−4dx=0∫2−(x2−4)dx+2∫3(x2−4)dx
We can bring out the negative sign from the integration on right hand side of the equation
⇒0∫3x2−4dx=−0∫2(x2−4)dx+2∫3(x2−4)dx
Now we use the general integration formula i.e.∫xndx=n+1xn+1+C
⇒0∫3x2−4dx=−[2+1x2+1−4x]02+[2+1x2+1−4x]23
Add the terms in power on right hand side of the equation
⇒0∫3x2−4dx=−[3x3−4x]02+[3x3−4x]23
Apply limits on both brackets i.e. substitute the value of x as limits.
⇒0∫3x2−4dx=−[(323−4×2)−(303−4×0)]+[(333−4×3)−(323−4×2)]
⇒0∫3x2−4dx=−(323−8)+(333−12)−(323−8)
Calculate cube values on right hand side of the equation
⇒0∫3x2−4dx=−(38−8)+(327−12)−(38−8)
Cancel possible terms from numerator and denominator on right hand side of the equation
⇒0∫3x2−4dx=−(38−8)+(9−12)−(38−8)
⇒0∫3x2−4dx=−(38−8)+(−3)−(38−8)
Open all the brackets on right hand side of the equation
⇒0∫3x2−4dx=−38+8−3−38+8
Add the positive values
⇒0∫3x2−4dx=16−(38+3+38)
Take LCM of negative terms on right hand side of the equation
⇒0∫3x2−4dx=16−(38+8+9)
⇒0∫3x2−4dx=16−(38+8+9)
⇒0∫3x2−4dx=16−325
Take LCM of terms on right hand side of the equation
⇒0∫3x2−4dx=348−25
⇒0∫3x2−4dx=323
∴The value of definite integral ∫x2−4dx from [0,3] is 323.
Note: Many students make the mistake of ignoring the modulus sign and directly solve the integral which ends up giving the value -3 which is wrong. Keep in mind we break the interval according to the modulus function and then apply integration to it. Also, when adding or subtracting the terms in the end, always apply the BODMAS rule and collect addition and subtraction separately.