Question Video: Finding the Average Value of a Function on a Given Interval Involving Using Integration by Substitution | Nagwa Question Video: Finding the Average Value of a Function on a Given Interval Involving Using Integration by Substitution | Nagwa

Question Video: Finding the Average Value of a Function on a Given Interval Involving Using Integration by Substitution Mathematics

Find the average value of 𝑓(𝑑) = 𝑒^(sin 𝑑) cos 𝑑 on the interval [0, πœ‹/2].

05:12

Video Transcript

Find the average value of the function 𝑓 of 𝑑 is equal to 𝑒 to the power of sin 𝑑 times the cos of 𝑑 on the closed interval from zero to πœ‹ by two.

The question gives us a function 𝑓 of 𝑑. And it wants us to find the average value of this function on the closed interval from zero to πœ‹ by two. Let’s start by recalling what the average value of a function on a closed interval is. We say if 𝑓 is continuous on the closed interval from π‘Ž to 𝑏, then the average value of 𝑓 on this interval is equal to one divided by 𝑏 minus π‘Ž times the integral from π‘Ž to 𝑏 of 𝑓 of π‘₯ with respect to π‘₯. In our case, we’re finding the average value of 𝑓 of 𝑑 is equal to 𝑒 to the power of sin 𝑑 times the cos of 𝑑 on the closed interval from zero to πœ‹ by two. So our function 𝑓 is 𝑒 to the sin 𝑑 times the cos of 𝑑. We have π‘Ž is equal to zero and 𝑏 is equal to πœ‹ by two.

The first thing we need to use this formula is that our function is continuous on this interval. And we can see this directly from our definition of 𝑓 of 𝑑. First, both the cos of 𝑑 and the sin of 𝑑 are continuous for all real values of 𝑑. Next, we also know the exponential function is continuous for all real values of 𝑑. So our function 𝑓 of 𝑑 is the composition of continuous functions and the product of continuous functions. So our function 𝑓 of 𝑑 is continuous for all real values of 𝑑. In particular, this means it’s continuous on the closed interval from zero to πœ‹ by two.

So we can use this formula to find the average value of our function on this interval. We get 𝑓 average is equal to one divided by πœ‹ by two minus zero times the integral from zero to πœ‹ by two of 𝑒 to the power of sin 𝑑 times the cos of 𝑑 with respect to 𝑑. And it’s worth noting it doesn’t matter if we use our variable of 𝑑 or π‘₯. But since the question uses 𝑑, we’ll continue to use 𝑑.

So to evaluate this, we need to find an integral of 𝑒 to the power of sin 𝑑 times the cos of 𝑑. There’s actually several different ways of evaluating this integral. For example, we could differentiate 𝑒 to the power of sin 𝑑 by using the chain rule. And if we did this, we know the derivative of the sin of 𝑑 is the cos of 𝑑 and the derivative of 𝑒 to the power of 𝑑 is just 𝑒 to the power of 𝑑. So the derivative of 𝑒 to the power of sin 𝑑 is 𝑒 to the power of sin 𝑑 times the cos of 𝑑. And this is actually equal to our integrand, so our integrand is a derivative.

In other words, we’ve shown 𝑒 to the power of sin 𝑑 is the antiderivative of our integrand. So 𝑓 average is equal to one divided by πœ‹ by two minus zero times 𝑒 to the power of sin 𝑑 evaluated at the limits of our integral, zero and πœ‹ by two. But finding antiderivatives in this manner can be difficult, so we’ll show a second method to evaluate this integral. We’ll do this by using a substitution. In particular, we want to notice that cos of 𝑑 is the derivative of the sin of 𝑑. This gives us our hint of using 𝑒 is equal to the sin of 𝑑 as our substitution.

We differentiate both sides of this substitution with respect to 𝑑. We get d𝑒 by d𝑑 is equal to the cos of 𝑑. And although d𝑒 by d𝑑 is not a fraction, when we’re using integration by substitution, we can treat it a little bit like a fraction. This gives us the equivalent statement d𝑒 is equal to the cos of 𝑑 d𝑑. And the cos of 𝑑 d𝑑 appears in our integrand. So we could just replace this with d𝑒.

However, before we do this, there’s one last thing we need to do. Remember, we’re evaluating a definite integral, so we need to calculate the new limits of our integral. Let’s start with the upper limit 𝑑 is equal to πœ‹ by two. We get that 𝑒 is then equal to the sin of πœ‹ by two, which is equal to one. And for our lower limit, when 𝑑 is equal to zero, we get that 𝑒 is equal to the sin of zero, which is equal to zero. So by using the substitution 𝑒 is equal to the sin of 𝑑, we’ve rewritten 𝑓 average as one divided by πœ‹ by two minus zero times the integral from zero to one of 𝑒 to the 𝑒 with respect to 𝑒. And this is now in a form which we can integrate. The integral of the exponential function is just equal to the exponential function plus a constant of integration 𝑐.

So let’s start simplifying this expression. First, one divided by πœ‹ by two minus zero is the same as one divided by πœ‹ by two. And, of course, one over πœ‹ by two is the reciprocal of πœ‹ by two, which is two over πœ‹. Next, the integral of 𝑒 to the power of 𝑒 is 𝑒 to the power of 𝑒 plus 𝑐. But this is a definite integral, so we don’t need our constant of integration. Therefore, 𝑓 average is equal to two over πœ‹ times 𝑒 to the power of 𝑒 evaluated at the limits of our integral, 𝑒 is equal to zero and 𝑒 is equal to one.

Now, all we need is to evaluate this at the limits of our integral. We get two over πœ‹ times 𝑒 to the first power minus 𝑒 to the zeroth power. And 𝑒 to the first power is equal to 𝑒, and 𝑒 to the zeroth power is equal to one. So this gives us two over πœ‹ times 𝑒 minus one. And we can distribute this over our parentheses and rearrange to get negative two over πœ‹ plus two 𝑒 over πœ‹. And this gives us our final answer.

Therefore, we’ve shown the average value of the function 𝑓 of 𝑑 is equal to 𝑒 to the power of sin 𝑑 times the cos of 𝑑 on the closed interval from zero to πœ‹ by two is equal to negative two over πœ‹ plus two 𝑒 over πœ‹.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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