Rectangular spiral

Calculus Level 4

Starting at ( 0 , 0 ) (0,0) , we draw line segment #1 of length 1 1 to the right; turning 9 0 90^\circ counterclockwise, we draw line segment #2 of length 1 2 \tfrac12 upward; turning 9 0 90^\circ counterclockwise again, we draw line segment #3 of length 1 3 \frac13 to the left; and so on: line segment # n n has length 1 / n 1/n . The spiral converges to point ( x , y ) (x,y) .

Characterize x x and y y by two digits, using the following code.

  • 0 = rational number
  • 1 = natural logarithm of a rational number
  • 2 = natural logarithm of a square root of a rational number
  • 3 = rational multiple of e e
  • 4 = rational multiple of π \pi
  • 5 = irrational square root of a rational number
  • 6 = none of the above

For instance, if x x is a rational multiple of e e and y y is the natural logarithm of a rational number, give your answer as 31 31 .


The answer is 42.

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.

2 solutions

Chew-Seong Cheong
Aug 18, 2017

Using complex number z = x + y i z=x+yi . we note that z 1 = 1 z_1 = 1 , z 2 = 1 + i 2 z_2 = 1 + \dfrac i2 , z 3 = 1 + i 2 + i 2 3 z_3 = 1 + \dfrac i2 + \dfrac {i^2}3 , implies that:

z = 1 + i 2 + i 2 3 + i 3 4 + = 1 i ( i + i 2 2 + i 3 3 + i 4 4 + ) Note that ln ( 1 x ) = k = 1 x k k = 1 i ln ( 1 i ) = i ln ( 2 ( 1 2 i 2 ) ) By Euler’s formula e θ = cos θ + i sin θ = i ln ( 2 e π 4 i ) = i ( ln 2 π 4 i ) = π 4 + i ln 2 \begin{aligned} z_\infty & = 1 + \frac i2 + \frac {i^2}3 + \dfrac {i^3}4 + \cdots \\ & = \frac 1i \left(i + \frac {i^2}2 + \frac {i^3}3 + \dfrac {i^4}4 + \cdots \right) & \small \color{#3D99F6} \text{Note that } - \ln (1-x) = \sum_{k=1}^\infty \frac {x^k}k \\ & = - \frac 1i \ln (1-i) \\ & = i \ln \left( \sqrt 2 \left(\frac 1{\sqrt 2}- \frac i{\sqrt 2}\right)\right) & \small \color{#3D99F6} \text{By Euler's formula }e^\theta = \cos \theta + i\sin \theta \\ & = i \ln \left( \sqrt 2 e^{-\frac \pi 4i}\right) \\ & = i \left( \ln \sqrt 2 - \frac \pi 4i\right) \\ & = \frac \pi 4 + i \ln \sqrt 2 \end{aligned}

x = π 4 \implies x = \dfrac \pi 4 code: 4; y = ln 2 y = \ln \sqrt 2 code: 2. Therefore, the answer is 42 \boxed{42} .

This approach with complex numbers suggests a way to transform this rectangular spiral into a smooth curve, defining z t = 0 t i t t + 1 d t = 0 t exp ( ln ( t + 1 ) + π t 2 i ) d t . z_t = \int_0^t \frac{i^t}{t+1}\:dt = \int_0^t \exp\left(-\ln (t+1) + \frac{\pi t }2 i\right)\:dt. The curve obtained in this way looks like this: Its also converges, and also slowly... any idea to what point?

Arjen Vreugdenhil - 3 years, 9 months ago

Your solution is brilliant! All encapsulated into one series. I would've never thought of that. I wonder if Arjen chose 42 on purpose btw. You know, "the answer to life, the universe and everything?"

James Wilson - 3 years, 9 months ago

Log in to reply

Yes, that was on purpose. Good catch :D

Arjen Vreugdenhil - 3 years, 9 months ago

I believe you meant pi/2 in the exponent, Arjen. How should I address you by the way?

James Wilson - 3 years, 9 months ago

Log in to reply

Thanks for being so observant, James. I'll fix that. "Arjen" is just fine, btw.

Arjen Vreugdenhil - 3 years, 9 months ago

I have to go, but I'm going to attempt this one tomorrow.

James Wilson - 3 years, 9 months ago

So far I've gotten it down to solving the cos(x)/x and sin(x)/x integrals from pi/2 to infinity. I'm now working on finding the antiderivative of exp(bpi/2)b/(b^2+1).

James Wilson - 3 years, 9 months ago

Log in to reply

For ( cos x ) / x d x \int (\cos x)/x\:dx and ( sin x ) / x d x \int (\sin x)/x\:dx , see sine integrals , or Dirichlet integral .

Arjen Vreugdenhil - 3 years, 9 months ago

Log in to reply

For sure. But I'm going to see what I can do on my own first. I'm a bit distracted right now. 4 people texting me.

James Wilson - 3 years, 9 months ago

Thanks for the links. I used integral-calculator.com to approximate the integrals and I got 0.20003 for the x-value and 0.47200 for the y-value. That's interesting, considering it's off-center from where the spiral looks like it's headed looking at your graph (unless that's due to roundoff error).

James Wilson - 3 years, 9 months ago

Log in to reply

I generated my graph using a simple numerical integration in Excel. The step-size was not super small, so there may well be some rounding error.

Arjen Vreugdenhil - 3 years, 9 months ago
Arjen Vreugdenhil
Aug 18, 2017

We have x = 1 1 3 + 1 5 1 7 + = 1 1 1 1 3 3 + 1 5 5 1 7 7 + = arc tg 1 = π 4 0.7854 ; x = 1 - \frac13 + \frac15 - \frac17 +-\cdots \\ = \frac{1^1}1 - \frac{1^3}3 + \frac{1^5}5 - \frac{1^7}7 +- \cdots \\ = \text{arc tg}\ 1 = \frac \pi 4\approx 0.7854; and y = 1 2 1 4 + 1 6 1 8 + = 1 2 ( 1 1 1 1 2 2 + 1 3 3 1 4 4 + ) = 1 2 ln ( 1 + 1 ) = 1 2 ln 2 = ln 2 0.3466. y = \frac12 - \frac14 + \frac16 - \frac 18 +-\cdots \\ = \frac12\left(\frac {1^1}1 - \frac{1^2}2 + \frac{1^3}3 - \frac{1^4}4 +-\cdots\right) \\ = \frac12\cdot \ln (1+1) = \frac12\ln 2 = \ln\sqrt 2 \approx 0.3466. Thus x x is a rational multiple of π \pi (option 4) and y y is the natural logarithm of the square root of a rational number (option 2). The solution is 42 \boxed{42} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...