Jump to content

Science:Math Exam Resources/Courses/MATH101/April 2016/Question 07/Solution 1

From UBC Wiki

By definition, the average value of the function f(x) equals to

1π/2−0∫0π/2(3cos3x+2cos2x)dx=2π(∫0π/23cos3xdx+∫0π/22cos2xdx).

For the first integral, we write cos3(x)=cos2x.cos⁡x=(1−sin⁡2x)cos⁡x,, and use the substitution u=sin⁡x, for which du=cos⁡xdx; we note that the endpoints x=0 and x=π2 become u=0 and u=1, respectively. So,

∫0π/23cos3xdx=∫0π/23(1−sin2x)cos⁡xdx=∫01(3−3u2)du=(3u−u3)|01=2.

For the second integral, we use the trigonometric identity cos2x=1+cos⁡(2x)2 to get

∫0π/22cos2xdx=∫0π/2(1+cos⁡(2x))dx=(x+12sin⁡(2x))|0π/2=π2.

Therefore,

The average value of the function f(x) = 2π(∫0π/23cos3xdx+∫0π/22cos2xdx)=2π(2+π2)=4π+1.