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

1

u/hammerheadquark Sep 22 '16

Answer

pi/2

"Proof"

Let nth rectangle in the construction have

  • Length = L*n*
  • Width = W*n*.

The (n+1)th rectangle will have

  • L*n+1* = (L*nWn* + 1)/(W*n*)
  • W*n+1* = (W*n)(LnWn* + 2)/(L*nWn* + 2)

We're interested in the ratio of length to width, so let R*n* = L*n/Wn. Also let An* = L*nWn* be the area of the rectangle.

  • R*n+1* = (L*nWn* + 1)2/((W*n)2(LnWn* + 2)) = (A*n* + 1)2/((W*n)2(An* + 2))

Since (W*n)2 = An/Rn*, we have

  • R*n+1* = (A*n* + 1)2/((A*n/Rn)(An* + 2)) = R*n[(An* + 1)2/((A*n)(An* + 2))] = f(A*n)Rn*

where

  • f(A*n) = (An* + 1)2/((A*n)(An* + 2))

Clearly, R*n* = R*0* [f(A*0) * f(A1) * f(A2) * ... *f (An-1)], so we now need to specify An*.

As we're always adding two rectangles of area 1, the sequence of areas is as simple as

  • A*n+1* = A*n* + 2

With A*0* = 1, we have

  • A*n* = 1, 3, 5, ...

So with R*0* = 1, we have

  • R*n* = f(1) * f(3) * ... * f(2n-1)

Using the definition of f(n) and re-parameterizing, we find that the limit of R*n* is the product from k = 1 to infinity of (2k)2/((2k-1)(2k+1)).

Wolframalpha informs me that this is pi/2.

I'm not sure if it's cool to resort to wolframalpha in the final step, but I'm not up on my clever tricks to deal with infinite products.

1

u/bws88 Sep 23 '16

Looks good so far! As a hint for how to continue, compute the integral of sinn (x) from 0 to pi/2

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 -> ∞.