Ali's Improper Integrals: Problem 1

Calculus Level 3

If a a and b b are positive coprime integers in the following integral:

0 2 x 2 1 x 4 + 5 x 2 + 4 d x = a π b , \int_0^\infty \frac{2x^2-1}{x^4+5x^2+4}dx=\frac{a\pi}{b},

find the value of a + b a+b .


The answer is 5.

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.

3 solutions

Aareyan Manzoor
Nov 22, 2015

as suggested by @Sudeep Salgia ( 2 x 2 1 x 4 + 5 x 2 + 4 = 3 x 2 + 3 x 2 4 x 4 + 4 x 2 + x 2 + 3 = 3 ( x 2 + 1 ) ( x 2 + 4 ) ( x 2 + 4 ) ( x 2 + 1 ) = 3 x 2 + 4 1 x 2 + 1 \begin{array}{c}(\dfrac{2x^2-1}{x^4+5x^2+4}\\ =\dfrac{3x^2+3-x^2-4}{x^4+4x^2+x^2+3}\\ =\dfrac{3(x^2+1)-(x^2+4)}{(x^2+4)(x^2+1)}\\ =\dfrac{3}{x^2+4}-\dfrac{1}{x^2+1}\end{array} hence 0 3 ( x 2 + 1 ) ( x 2 + 4 ) ( x 2 + 1 ) ( x 2 + 4 ) d x = 3 0 1 x 2 + 4 d x 0 1 x 2 + 1 d x \int_0^{\infty}\frac{ 3(x^2 + 1) - (x^2 + 4)}{(x^2+1)(x^2+4)} dx= 3 \int_0^{\infty} \frac{1}{x^2 +4} dx - \int_0^{\infty} \frac{1}{x^2 +1} dx lets solve each integral. 1 x 2 + 4 d x \int \frac{1}{x^2 +4} dx let { u = a r c t a n ( 2 x ) x = 2 t a n ( u ) d x = 2 s e c 2 ( x ) d u \begin{cases} u=arctan(2x)\\x= 2tan(u)\\ dx=2sec^2(x) du\end{cases} so: 1 x 2 + 4 d x = 1 4 t a n 2 ( x ) + 4 2 ( s e c 2 ( x ) ) d u \int \frac{1}{x^2 +4} dx=\int \frac{1}{4tan^2(x) +4} 2(sec^2(x)) du by a fundemental trig identity: = 1 4 s e c 2 ( x ) 2 ( s e c 2 ( x ) ) d u = 1 2 d u =\int \frac{1}{4sec^2(x)} 2(sec^2(x)) du=\int \frac{1}{2} du = 1 2 u + C = a r c t a n ( 2 x ) 2 + C =\dfrac{1}{2}u+C=\dfrac{arctan(2x)}{2}+C great, second part: 1 x 2 + 1 d x \int \frac{1}{x^2 +1}dx so: { u = a r c t a n ( x ) x = t a n ( u ) d x = s e c 2 ( u ) d u \begin{cases} u=arctan(x)\\x=tan(u)\\dx=sec^2(u) du\end{cases} put this in 1 x 2 + 1 d x = 1 t a n 2 ( u ) + 1 s e c 2 ( u ) d u = 1 s e c 2 ( u ) s e c 2 ( u ) d u = d u = u + C = a r c t a n ( x ) + C \int \frac{1}{x^2 +1}dx=\int \dfrac{1}{tan^2(u)+1}sec^2(u)du=\int \dfrac{1}{sec^2(u)}sec^2(u)du =\int du=u+C=arctan(x)+C so we are looking for l i m n [ ( 3 ( a r c t a n ( 2 x ) 2 ) a r c t a n ( x ) ] 0 n = l i m n ( 3 ( a r c t a n ( 2 n ) 2 ) a r c t a n ( n ) 3 0 + 0 ) lim_{n\rightarrow\infty} [(3(\dfrac{arctan(2x)}{2})-arctan(x)]_0^n=lim_{n\rightarrow\infty} (3(\dfrac{arctan(2n)}{2})-arctan(n)-3*0+0) = 3 π 2 2 π 2 = π 4 =3\dfrac{\dfrac{\pi}{2}}{2}-\dfrac{\pi}{2}=\boxed{\dfrac{\pi}{4}}

Shouldn't it be arctan(x/2) in the final solution, not arctan(2x)

Chase Millette - 4 years, 7 months ago

You are elaborating fundamental path. However, many people would refer to standard tables to look for direct answer up to certain extend.

Lu Chee Ket - 5 years, 6 months ago

Log in to reply

He is proving that all the integrals are true. That's a good start to be good at solving integrals.

Pi Han Goh - 5 years, 6 months ago

Log in to reply

70 × \times 7 is quite a great margin.

Lu Chee Ket - 5 years, 6 months ago

Log in to reply

@Lu Chee Ket I have no idea what that number means in this context.

Pi Han Goh - 5 years, 6 months ago

Log in to reply

@Pi Han Goh Bible. Look for those who know about this.

Lu Chee Ket - 5 years, 6 months ago

EDIT: This answer uses the tools of complex analysis to get a result, Sudeep Salgia has a much simpler solution as a comment, please upvote his solution instead!


Let I = 0 2 x 2 1 x 4 + 5 x 2 + 4 d x = 1 2 2 x 2 1 ( x 2 + 1 ) ( x 2 + 4 ) d x I=\int_0^\infty \frac{2x^2-1}{x^4+5x^2+4}dx=\frac12\int_{-\infty}^\infty\frac{2x^2-1}{(x^2+1)(x^2+4)}dx The poles of the integrand are at i i and 2 i 2i , we take the upper semicircle along the real axis, centred at 0 0 of radius R R as our contour. Hence we have that C 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) d z = C 1 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) d z + R R 2 x 2 1 ( x 2 + 1 ) ( x 2 + 4 ) d x 2 I as R \oint_C\frac{2z^2-1}{(z^2+1)(z^2+4)}dz=\int_{C_1}\frac{2z^2-1}{(z^2+1)(z^2+4)}dz+\underbrace{\int_{-R}^R\frac{2x^2-1}{(x^2+1)(x^2+4)}dx}_{2I\ \text{as}\ R\to\infty} where C 1 C_1 is the circular part of the semicircle contour. We evaluate the integral covering C 1 C_1 : Note that C 1 C_1 is given by z = R e i t z=Re^{it} for t [ 0 , π ] t\in[0,\pi] , then d z = i R e i t d t dz=iRe^{it}dt so: C 1 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) d z = 0 π i R ( 2 R e i t 2 1 ) ( ( R e i t ) 2 + 1 ) ( ( R e i t ) 2 + 4 ) d t = 0 π i R 2 ( 2 e i t 2 1 / R ) R 4 ( ( e i t ) 2 + 1 / R 2 ) ( ( e i t ) 2 + 4 / R 2 ) d t \int_{C_1}\frac{2z^2-1}{(z^2+1)(z^2+4)}dz=\int_{0}^\pi\frac{iR(2{Re^{it}}^2-1)}{((Re^{it})^2+1)((Re^{it})^2+4)} dt\\=\int_{0}^\pi\frac{iR^2(2{e^{it}}^2-1/R)}{R^4((e^{it})^2+1/R^2)((e^{it})^2+4/R^2)} dt which clearly goes to 0 0 as R R\to\infty . Now by the Residue Theorem: C 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) d z = 2 π i ( b i + b 2 i ) \oint_C\frac{2z^2-1}{(z^2+1)(z^2+4)}dz=2\pi i (b_{i}+b_{2i}) Where b 1 b_1 and b 2 b_{2} are the residues at i i and 2 i 2i respectively. These are simple poles of f ( z ) = 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) f(z)=\frac{2z^2-1}{(z^2+1)(z^2+4)} which can be written as f ( z ) = ϕ 1 ( z ) z i = ϕ 2 ( z ) z 2 i f(z)=\frac{\phi_1(z)}{z-i}=\frac{\phi_2(z)}{z-2i} so b i = ϕ 1 ( i ) = i / 2 b_i=\phi_1(i)=i/2 and b 2 i = ϕ 2 ( 2 i ) = 3 i / 4 b_{2i}=\phi_2(2i)=-3i/4 hence: C 2 z 2 1 ( z 2 + 1 ) ( z 2 + 4 ) d z = 2 π i ( b i + b 2 i ) = π / 2 \oint_C\frac{2z^2-1}{(z^2+1)(z^2+4)}dz=2\pi i (b_{i}+b_{2i})=\pi/2 and so as R R\to \infty , 2 I = π / 2 I = π / 4 2I=\pi/2\implies \boxed{I=\pi/4}

It is much easier using partial fractions. After the first step, we can write, 0 3 ( x 2 + 1 ) ( x 2 + 4 ) ( x 2 + 1 ) ( x 2 + 4 ) d x = 3 0 1 x 2 + 4 d x 0 1 x 2 + 1 d x = 3 π 4 π 2 = π 4 \displaystyle \int_0^{\infty}\frac{ 3(x^2 + 1) - (x^2 + 4)}{(x^2+1)(x^2+4)} dx = 3 \int_0^{\infty} \frac{1}{x^2 +4} dx - \int_0^{\infty} \frac{1}{x^2 +1} dx = \frac{3 \pi}{4} - \frac{\pi}{2} = \frac{\pi}{4}

Sudeep Salgia - 5 years, 6 months ago

Log in to reply

Much better solution!

A Former Brilliant Member - 5 years, 6 months ago

Just a caution that t a n 1 x 2 tan^{-1}\frac{x}{2} of x \rightarrow \infty equals to π 2 \frac{\pi}{2}

Lu Chee Ket - 5 years, 6 months ago

Log in to reply

That's true. But the integral 1 x 2 + 4 d x = 1 2 arctan ( x 2 ) \displaystyle \int \frac{1}{x^2 + 4} dx = \frac{1}{2} \arctan \left( \frac{x}{2} \right) . So that factor of 1 4 \displaystyle \frac{1}{4} . I have skipped some trivial substitution steps as that was just an alternate method.

Sudeep Salgia - 5 years, 6 months ago

Log in to reply

@Sudeep Salgia Correct! Some more with a 3 for ( 3 2 1 ) π 2 = 1 2 (\frac32 - 1) \frac{\pi}{2} = \frac12 π 2 \frac{\pi}{2} as a whole.

Lu Chee Ket - 5 years, 6 months ago

Your solution is identical to mine or perhaps vice versa. But solution by Ali is has frightened me

Aakash Khandelwal - 5 years, 6 months ago

Log in to reply

Nothing frightening, just using results of complex analysis :)

A Former Brilliant Member - 5 years, 6 months ago
Righved K
Nov 22, 2015

Can't we write 2-1\x^(2)= m(1-2\x^(2))+n(1+2\x^(2)) derivatives of x+2\x and x-2/x I did by this way ... Edit-this trick has been done after multiplying and dividing the integrand by x^(2)

I am unsure about what you are trying to say, could you clarify?

A Former Brilliant Member - 5 years, 6 months ago

Log in to reply

Yes first multiply and divide whole integrand by x^(2) then we can see in the denominator part a square of either x+(2\x) or x-(2\x) can be made and in numerator part we can see that an algebric expression of the differentiation of these two discussed expressions are written from which we can get the integrand of the form f '(x)/f(x)...try iy

Righved K - 5 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...