Question
Question: How do you find the average value of sinx as x varies between \(\left[ 0,\pi \right]\) ....
How do you find the average value of sinx as x varies between [0,π] .
Solution
Now we know that the average value of any function f(x) is given by b−a1∫abf(x)dx . Now we will substitute the values of f(x), a and b and solve the definite integral using the fundamental theorem of calculus. Hence we have the required average value of the given function.
Complete step by step solution:
We can use definite integral to find the average value of the function.
The average value of the function is the length of the rectangle whose area is exactly the area under the curve f(x).
Now for any function f(x) in the interval [a,b] the average value is given by b−a1∫abf(x)dx .
Now here we have the given function is sinx.
And the interval is given as [0,π] hence we have a=0 and b=π .
Hence substituting the values in the given formula we have,
⇒π−01∫0πsinxdx
Now we know that integration of sinx is - cosx.
Hence we have,
⇒π1[−cosx]0π
⇒π1[−cosπ−(−cos0)]
Now we know that cosπ=−1 and cos0=1 hence substituting this values we get,
⇒π1[−(−1)−(−1)]⇒π1[+1+1]⇒π2
Hence the average of the function sinx in the interval [0,π] is π2.
Note: Now if y=f(x) is a continuous function on the interval [a,b] . Then the mean value theorem tells us that in the interval [a,b] we have a point c at which f(x) attains its average value. Hence mean value theorem which states that there exist a point c in the interval such that f(c)=b−a1∫abf(x)dx . Also note that on rearranging the terms of f(c)=b−a1∫abf(x)dx we get f(c)×(b−a)=∫abf(x)dx . Now we can see that LHS is a rectangle of height f(c) and width b−a and RHS is an area of f(x) in the interval [a,b] .