It would be easier to generalize this problem -2

Calculus Level 4

0 π / 2 cos 9 ( x ) d x \large \displaystyle \int_{0}^{{\pi} / {2}} \cos^9(x) \, dx

If the integral above equals to a b \frac ab for coprime positive integers a a and b b , find the value of a b a-b .


The answer is -187.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

7 solutions

0 π / 2 cos 9 x d x = 0 π / 2 ( 1 sin 2 x ) 4 cos x d x = 0 1 ( 1 t 2 ) 4 d t = 0 1 ( 1 4 t 2 + 6 t 4 4 t 6 + t 8 ) d t \begin{aligned} \int_0^{\pi/2}\cos^9x\,\mathrm dx&=\int_0^{\pi/2}(1-\sin^2 x)^4\cos x\,\mathrm dx\\ &=\int_0^{1}(1-t^2)^4\,\mathrm dt\\ &=\int_0^{1}(1-4t^2+6t^4-4t^6+t^8)\,\mathrm dt \end{aligned}

Game Over! \text{Game Over!}

Please tell me what does it's mean " gcd (a,b)=1"?

Diep Eng Phan - 6 years, 4 months ago

Log in to reply

It means that the common greatest common divisor of a and b is 1.

jaiveer shekhawat - 6 years, 1 month ago

It means that the fraction cant be reduced any more as greatest common divisor is 1

Samarth Agarwal - 6 years ago

Solved: a=2; b=5

Diep Eng Phan - 6 years, 4 months ago

\begin{aligned} I & = \int_0^\frac \pi 2 \cos^9 x \ dx \\ & = \int_0^\frac \pi 2 \cos^\color{#3D99F6}{9} x \sin^\color{#3D99F6}{0} x \ dx \\ & = \frac 12 \color{#3D99F6}{B} \left( \frac {\color{#3D99F6}{9}+1}2, \frac {\color{#3D99F6}{0}+1}2 \right) & \small \color{#3D99F6}{B(m,n) \text{ is beta function}} \\ & = \frac 12 B \left( 5, \frac 12 \right) \\ & = \frac {\Gamma (5) \Gamma \left(\frac 12 \right)}{ 2 \Gamma \left(5\frac 12 \right)} & \small \color{#3D99F6}{\Gamma (x) \text{ is gamma function}} \\ & = \frac {4! \sqrt \pi}{2 \cdot \frac 92 \cdot \frac 72 \cdot \frac 52 \cdot \frac 32 \cdot \frac 12 \sqrt \pi } \\ & = \frac {128}{315} \end{aligned}

a b = 128 315 = 187 \implies a-b = 128-315 = \boxed{-187}

Hana Wehbi
Jul 10, 2016

We have Formulas for cosines, called Wallis cosine formulas.

0 π / 2 c o s 2 n + 1 x d x = 2.4.6... ( 2 n ) 1.3.5... ( 2 n + 1 ) = 2 n n ! 2 n ( n 1 / 2 ) ! π = 128 315 f o r n = 4 a b = 128 315 = 187 \large\int_{0}^{\pi/2} cos^{2n+1} x dx= \dfrac{2.4.6...(2n)}{1.3.5...(2n+1)}= \dfrac{2^{n} n!}{2^{n}(n-1/2)!\sqrt{\pi}}=\frac{128}{315} for \ n= 4 \implies a-b=128-315=-187

Prakhar Bindal
Jul 8, 2016

I derived the reduction formula using integration by parts

We consider the general integral

I = cos^n(x) dx

Now separating functions and applying integration by parts using first function as (cosx)^(n-1) and second function as cosx.

We get the general reduction formula

I(n)/I(n-2) =n-1/n

Now rest is trivial its a telescoping product which can be evaluated easily!

Though that would be easy,but still i guess using Walli's formula saves time.

Ayush Agarwal - 4 years, 10 months ago
Aaghaz Mahajan
May 15, 2018

Beta Function kills it........!

We can use Wallis formula in solving this problem..

Keshav Tiwari
Nov 21, 2014

I did it using gamma function .

And I did it using Wallis :)

Deepanshu Gupta - 6 years, 6 months ago

Log in to reply

Can anyone tell what is Gamma function and Wallis formula

Samarth Agarwal - 6 years ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...