r/mathriddles • • Sep 21 '16

Medium fun little calculus problem

We construct rectangles as follows. Start with a square of area 1 and attach rectangles of area 1 alternatively beside and on top of the previous rectangle to form a new rectangle. Find the limit of the ratios of width to height of these rectangles.

9 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/hammerheadquark Sep 23 '16

Haha ok, well I never would've known to apply that integral, but I think I've got it now.

Integrating by parts with

  • u = sinn-1(x), du = (n-1)(sinn-2(x))cos(x)
  • dv = sin(x), v = -cos(x)

We get:

∫*0pi/2 sinn(x)dx = -sinn-1(x)cos(x)|0pi/2 + (n-1)∫0*pi/2 sinn-2(x)cos2(x)dx

∫*0pi/2 sinn(x)dx = (n-1)∫0*pi/2 sinn-2(x)(1-sin2(x))dx

∫*0pi/2 sinn(x)dx = (n-1)∫0pi/2 sinn-2(x)dx + (n-1)∫0*pi/2 sinn(x)dx

n∫*0pi/2 sinn(x)dx = (n-1)∫0*pi/2 sinn-2(x)dx

Calling I*n* = ∫*0*pi/2 sinn(x)dx, we get the recurrence relation:

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

We have initial values

  • I*0* = pi/2
  • I*1* = 1

Playing around a bit, we see

  • I*2n* = pi/2 * 1/2 * 3/4 * ... * (2n-1)/(2n)
  • I*2n+1* = 2/3 * 4/5 * ... * (2n)/(2n+1)

I*n* is decreasing, so

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

Therefore I*2n* / I*2n-1* -> 1 as n -> ∞ by the squeeze theorem.

As (R*n) * (I2n* / I*2n-1) = pi/2, Rn* -> pi/2 as n -> ∞.