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π/200π/2(3cos3x+2cos2x)dx=2π(0π/23cos3xdx+0π/22cos2xdx).

For the first integral, we write cos3(x)=cos2x.cosx=(1sin2x)cosx,, and use the substitution u=sinx, for which du=cosxdx; we note that the endpoints x=0 and x=π2 become u=0 and u=1, respectively. So,

0π/23cos3xdx=0π/23(1sin2x)cosxdx=01(33u2)du=(3uu3)|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.