Power series approximation of ∫₀^(1/3) x² arctan(x⁴) dx

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 22K views
DivGradCurl
Messages
364
Reaction score
0
I think I got pretty close to the answer to this problem. However, I just can't obtain the right approximation at the end. Please, help me find where I made a mistake.

Thanks.

--------------------------------------------------------------

Use a power series to approximate the definite integral to six decimal places.

[tex]\int _0 ^{1/3} x^2 \arctan \left( x^4 \right) dx[/tex]

--------------------------------------------------------------

[tex]\frac{d}{dx} \left[ \arctan \left( x^4 \right) \right] = \frac{4x^3}{1+x^8}[/tex]

[tex]\frac{1}{1+x^8}=\frac{1}{1-\left( -x^8 \right) } = \sum _{n=0} ^{\infty} \left( -x^8 \right) = \sum _{n=0} ^{\infty} \left( -1 \right) ^n x^{8n}[/tex]

[tex]\frac{d}{dx} \left[ \arctan \left( x^4 \right) \right] = 4 \sum _{n=0} ^{\infty} \left( -1 \right) ^n x^{8n+3}[/tex]

[tex]\arctan \left( x^4 \right) = 4 \sum _{n=0} ^{\infty} \int \left( -1 \right) ^n x^{8n+3} dx = \mathrm{C} + \sum _{n=0} ^{\infty} \frac{\left( -1 \right) ^n x^{8n+4}}{8n+4}[/tex]

[tex]x^2 \arctan \left( x^4 \right) dx = \mathrm{C} + \sum _{n=0} ^{\infty} \frac{\left( -1 \right) ^n x^{8n+6}}{8n+4}[/tex]

[tex]\int x^2 \arctan \left( x^4 \right) dx = \mathrm{C} + \sum _{n=0} ^{\infty} \int \frac{\left( -1 \right) ^n x^{8n+6}}{8n+4} = \mathrm{C} + \sum _{n=0} ^{\infty} \frac{\left( -1 \right) ^n x^{8n+7}}{\left( 8n+4 \right) \left( 8n+7 \right)} = \mathrm{C} + \frac{x^7}{28} - \frac{x^{15}}{180} + \frac{x^{23}}{460} - \frac{x^{31}}{868} + \cdots[/tex]

[tex]\int _0 ^{1/3} x^2 \arctan \left( x^4 \right) dx = \left[ \frac{x^7}{28} - \frac{x^{15}}{180} + \frac{x^{23}}{460} - \frac{x^{31}}{868} + \cdots \right] _0 ^{1/3} = \frac{1}{2^2\cdot 3^7\cdot 7} - \frac{1}{2^2\cdot 3^{17} \cdot 5} + \frac{1}{2^2\cdot 3^{23} \cdot 5 \cdot 23} - \frac{1}{2^2 \cdot 3^{31} \cdot 7 \cdot 31} + \cdots[/tex]

[tex]b_1 = \frac{1}{2^2\cdot 3^{17} \cdot 5} \approx 3.9 \times 10^{-10} < 10^{-6} \Longrightarrow \int _0 ^{1/3} x^2 \arctan \left( x^4 \right) dx \approx \frac{1}{2^2\cdot 3^7\cdot 7} - \frac{1}{2^2\cdot 3^{17} \cdot 5} \approx 0.000016[/tex]

The correct answer would be [tex]0.000065[/tex].
 
Physics news on Phys.org
You appear to be ignoring the [tex]x^2[/tex] when you're determining the coefficients for your power series.
 
Oh... I did not keep the 4 factor all the way down. Thanks.
 
thiago_j said:
I think I got pretty close to the answer to this problem. However, I just can't obtain the right approximation at the end. Please, help me find where I made a mistake.

Thanks.

--------------------------------------------------------------

Use a power series to approximate the definite integral to six decimal places.

[tex]\int _0 ^{1/3} x^2 \arctan \left( x^4 \right) dx[/tex]

--------------------------------------------------------------

[tex]\frac{d}{dx} \left[ \arctan \left( x^4 \right) \right] = \frac{4x^3}{1+x^8}[/tex]

[tex]\frac{1}{1+x^8}=\frac{1}{1-\left( -x^8 \right) } = \sum _{n=0} ^{\infty} \left( -x^8 \right) = \sum _{n=0} ^{\infty} \left( -1 \right) ^n x^{8n}[/tex]

[tex]\frac{d}{dx} \left[ \arctan \left( x^4 \right) \right] = 4 \sum _{n=0} ^{\infty} \left( -1 \right) ^n x^{8n+3}[/tex]

[tex]\arctan \left( x^4 \right) = 4 \sum _{n=0} ^{\infty} \int \left( -1 \right) ^n x^{8n+3} dx = \mathrm{C} + \sum _{n=0} ^{\infty} \frac{\left( -1 \right) ^n x^{8n+4}}{8n+4}[/tex]



[tex]x^2 \arctan \left( x^4 \right) dx = \mathrm{C} + \sum _{n=0} ^{\infty} \frac{\left( -1 \right) ^n x^{8n+6}}{8n+4}[/tex]

Why not simply use the Taylor series of Arctan? It's simply

[itex]ArcTan (x^4) = x^4 - {x^{12} \over 3} + {x^{20} \over 5} - {x^{28} \over 7} + \ldots[/itex]



Notice that you willl run into a probllem with your constant of integration "C" since it will get multiplied by [itex]x^2[/itex] later and you would have to integrate it as well! So you must get rid of it. The way to do so is of course to impose that Arctan(0) =0.

But again, using the Taylor series of ArcTan seems simpler to me.


Pat