Question
Question: Given \[f'\left( x \right) = \dfrac{{\cos x}}{x}\], \[f\left( {\dfrac{\pi }{2}} \right) = a\], and \...
Given f′(x)=xcosx, f(2π)=a, and f(23π)=b, find the value of π/2∫3π/2f(x)dx.
Solution
Here, we need to find the value of the definite integral. We will integrate the given function by parts. Then, we will simplify the expression using the given values. We will again substitute the limits into the expressions and simplify the expression to obtain the required value of the integral.
Formula Used: Using integration by parts, the integral of the product of two differentiable functions of x can be written as ∫uvdx=u∫vdx−∫(dxd(u)×∫vdx)dx, where u and v are the differentiable functions of x.
Complete step by step solution:
We will integrate the given definite integral using integration by parts.
Using integration by parts, the integral of the product of two differentiable functions of x can be written as ∫uvdx=u∫vdx−∫(dxd(u)×∫vdx)dx, where u and v are the differentiable functions of x.
Rewriting the given integral, we get
π/2∫3π/2f(x)dx=π/2∫3π/2f(x)×1dx
Let u be f(x) and v be 1.
Therefore, by integrating π/2∫3π/2f(x)dx by parts, we get
π/2∫3π/2f(x)×1dx=[f(x)∫(1)dx−∫(dxd(f(x))×∫(1)dx)dx]π/23π/2 ⇒π/2∫3π/2f(x)dx=[f(x)∫(1)dx−∫(dxd(f(x))×∫(1)dx)dx]π/23π/2
We know that the derivative of the function f(x) is f′(x).
Also, we know that the integral of a constant ∫(1)dx is x.
Therefore, we can simplify the integral as
⇒π/2∫3π/2f(x)dx=[f(x)x−∫(f′(x)×x)dx]π/23π/2
Substitute f′(x)=xcosx in the expression, we get
⇒π/2∫3π/2f(x)dx=[f(x)x−∫(xcosx×x)dx]π/23π/2 ⇒π/2∫3π/2f(x)dx=[xf(x)−∫cosxdx]π/23π/2
Integrating the function cosx, we get
⇒π/2∫3π/2f(x)dx=[xf(x)−sinx]∣π/23π/2
Now, we will substitute the limits into the expressions.
Therefore, we get
⇒π/2∫3π/2f(x)dx=(23πf(23π)−sin23π)−(2πf(2π)−sin2π)
We know that sin2π=1 and sin23π=−1.
Thus, the integral becomes
⇒π/2∫3π/2f(x)dx=(23πf(23π)−(−1))−(2πf(2π)−1) ⇒π/2∫3π/2f(x)dx=(23πf(23π)+1)−(2πf(2π)−1) ⇒π/2∫3π/2f(x)dx=23πf(23π)+1−2πf(2π)+1 ⇒π/2∫3π/2f(x)dx=23πf(23π)−2πf(2π)+2
Substituting f(2π)=a and f(23π)=b, we get
⇒π/2∫3π/2f(x)dx=23πb−2πa+2
Taking 2π common, we get
∴π/2∫3π/2f(x)dx=2π(3b−a)+2
Therefore, the value of the definite integral π/2∫3π/2f(x)dx is 2π(3b−a)+2.
Note:
We have used integration by parts to simplify the integral π/2∫3π/2f(x)dx. A common mistake we can make is to first integrate f′(x)=xcosx to find f(x), and then substitute it into the integral π/2∫3π/2f(x)dx. We will avoid doing this because f′(x)=xcosx cannot be integrated using any elementary functions (it can be integrated in terms of infinite series, using Taylor series expansion of cosx).