Video: APCALC02AB-P1A-Q11-184194976279

Calculate โˆซ_0^4 (2 + |๐‘ฅ โˆ’ 1|) d๐‘ฅ.

04:02

Video Transcript

Calculate the integral from zero to four of two plus the absolute value of ๐‘ฅ minus one with respect to ๐‘ฅ.

Now we can see that the integrand here involves an absolute value or modulus function. And you may be thinking, โ€œWell, how do I integrate such a function?โ€ What weโ€™re going to do is to try and write this as a piecewise function instead of a function involving the absolute value. Weโ€™ll define the entire integrand to be ๐‘“ of ๐‘ฅ. And what weโ€™re going to do is think about intervals over which ๐‘ฅ minus one โ€” thatโ€™s the part inside the absolute value function โ€” is positive or negative.

The point at which this function ๐‘ฅ minus one changes from negative to positive is when ๐‘ฅ minus one is equal to zero which is when ๐‘ฅ is equal to one. So the two intervals we will consider are ๐‘ฅ is greater than one and ๐‘ฅ is less than one. When ๐‘ฅ is greater than or equal to one, ๐‘ฅ minus one is greater than or equal to zero; itโ€™s positive or zero. And so, the absolute value of ๐‘ฅ minus one is just ๐‘ฅ minus one itself. However, when ๐‘ฅ is less than one, ๐‘ฅ minus one is negative. And so, the absolute value of ๐‘ฅ minus one will be the negative of ๐‘ฅ minus one.

We, therefore, defined ๐‘“ of ๐‘ฅ as a piecewise function as two plus ๐‘ฅ minus one for ๐‘ฅ greater than or equal to one and two plus negative ๐‘ฅ minus one for ๐‘ฅ less than one. This simplifies to one plus ๐‘ฅ for ๐‘ฅ greater than or equal to one and three minus ๐‘ฅ for ๐‘ฅ less than one. We can also consider what the graph of ๐‘“ of ๐‘ฅ will look like.

The graph of the absolute value of ๐‘ฅ is shown in orange and our function will be a translation of the absolute value of ๐‘ฅ one unit in the positive ๐‘ฅ-direction and two units in the positive ๐‘ฆ-direction. Thatโ€™s the graph shown in blue. We can see that the area below this graph between zero and four which is whatโ€™s defined by the integral weโ€™ve been asked to calculate will be made up of two areas: the area below the graph between zero and one and the area between one and four.

Weโ€™ll, therefore, be able to split this integral of the absolute value function into the sum of two integrals of our piecewise function: an integral with limits of zero and one and an integral with limits of one and four. We have then that this integral is equal to the integral from zero to one of three minus ๐‘ฅ with respect to ๐‘ฅ plus the integral from one to four of one plus ๐‘ฅ with respect to ๐‘ฅ. Weโ€™ve split the area up into two separate areas. And in each case, weโ€™re integrating the piecewise function in that interval.

Now, we can perform an integration, remembering that when we integrate powers of ๐‘ฅ, we increase the power by one and then divide by it provided the power is not equal to negative one. Our first integral will therefore be equal to three ๐‘ฅ minus ๐‘ฅ squared over two with lower limit of zero and an upper limit of one. Our second integral will be equal to ๐‘ฅ plus ๐‘ฅ squared over two with a lower limit of one and an upper limit of four. Remember we donโ€™t need a constant of integration as these are definite integrals.

We now substitute the limits into our first integral, giving three multiplied by one minus one squared over two minus three multiplied by zero minus zero squared over two. Thatโ€™s just three minus a half which is equal to two and a half. For our second integral, we have four plus four squared over two minus one plus one squared over two. Thatโ€™s four plus eight minus one minus a half which is equal to 10 and a half. Adding the two evaluated integrals together gives two and a half plus 10 and a half which is equal to 13.

So by splitting this absolute value function up into a piecewise function, weโ€™ve found that the integral from zero to four of two plus the absolute value of ๐‘ฅ minus one with respect to ๐‘ฅ is equal to 13.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.