Quote (feanur @ Nov 19 2014 04:59am)
Let I = ∫(-1 to 1) ∫(0 to 1-x²) ∫(0 to √y) x²y²z² dzdydz
Step 1 : assume that x,y are constant, and integrate in regards to z :
I = ∫(-1 to 1) ∫(0 to 1-x²) x²y² ∫(0 to √y) z²dzdydz
(z^3) / 3 is an anti-derivative of z², hence :
∫(0 to √y) z²dz = [ (z^3/3 ] = (√y)^3 / 3
Giving you :
I = ∫(-1 to 1) ∫(0 to 1-x²) x²y² (√y)^3 / 3 dydz
I =(1/3) ∫(-1 to 1) ∫(0 to 1-x²) x²y^(7/2) dydx
since y² (√y)^3 = y^(7/2)
Step 2, assume that x is a constant :
I =(1/3) ∫(-1 to 1) x²∫(0 to 1-x²) y^(7/2) dydx
and (2/9) y^(9/2) is an anti-derivative of y^(7/2) :
∫(0 to 1-x²) y^(7/2) dy = (2/9) [ y^(9/2) ] = (2/9).(1-x²)^(9/2)
Leaving you with :
I =(2/27) ∫(-1 to 1) x²(1-x²)^(9/2)dx
I =(4/27) ∫(0 to 1) x²(1-x²)^(9/2)dx
because the function is even.
Step 3 : Integrate by parts : let F = x, G' = x(1-x²)^(9/2)
I =(4/27) { [ FG ] - ∫ F' G }
I = (4/27) { 0 +(1/11) ∫ (0 to 1) (1-x²)^(11/2) dx }
I = (4/297) ∫ (0 to 1) (1-x²)^(11/2) dx
Step 4 : Now let
x = sin u
dx / du = cos u
dx = cos u du
(1-x²) = 1 - sin² u = cos² u
I =(4/297) ∫(0 to pi/2) (cos² u)^(11/2) cos u du
I =(4/297) ∫(0 to pi/2) (cos u)^12 du
Step 5 : Now it's time for Pascal's triangle : we want to express cos u^12 in terms of cos(12u), cos(10u), cos(8u) ...
cos u ^ 12 = [ ( exp iu + exp -iu ) / 2 ]^12
cos u ^ 12 = (1/2^12).{ exp 12iu + 12.exp 10iu + 66.exp 8iu + 220. exp 6iu + 395.exp 4iu + 792.exp 2iu + 924 + 792.exp -2iu + 395.exp -4iu + 220.exp -6iu + 66.exp -8iu + 12.exp -10iu + exp -12iu }
cos u ^ 12 = (1/2^13).{ cos 12u + 12.cos 10u + 66.cos 8u + 220.cos 6u + 395.cos 4u + 792.cos 2u + 1848 }
∫ cos u ^ 12 du = (1/2^13).{ -(sin 12u)/12 - (12/10).sin 10u - (66/8).sin 8u - (220/6).sin 6u - (395/4).sin 4u + (792/2).sin 2u + 1848.u }
Taking the value between 0 and pi/2 leaves us with (1/2^13)*1848*pi/2 = 1848.pi/16384 = 231.pi/2048
Notice that every (sin pu), when p is even, gives 0 between 0 and pi/2, so in practise, you don't even need to know the coefficients. Only the constant term 1848 is useful.
And in the end, I = (4/297)*(231.pi/2048) = 7.pi / 4608
I'm not sure there's any faster way... but I could be wrong !
thanks. could you explain the pascals triangle part a bit more?
This post was edited by 2wo1ne on Nov 19 2014 08:24pm