Just a tangent-ing series

Calculus Level 5

Let tangents be drawn to the curve y = sin x y=\sin x from the origin.

Let the points of contact of these tangents with the curve be ( x k , y k ) (x_k, y_k) , where x k > 0 x_k\gt 0 ; k 1 k \ge 1 such that x k ( π k , ( k + 1 ) π ) x_k\in (\pi k, (k+1)\pi) and a k = x k 2 + y k 2 a_k=\sqrt {x_k^2+y_k^2} , which is the distance between the corresponding point of contact and the origin or the length of tangent from the origin,

If K = k = 1 1 a k 2 \displaystyle K=\sum_{k=1}^{\infty} \frac {1}{a_k^2} , find 100000 K \lfloor 100000K\rfloor .


The answer is 9737.

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

Rohan Shinde
Dec 11, 2018

Hints:

It is quite obvious that x k x_k are the positive roots of the equation tan x = x \tan x= x

Using some coordinate geometry we can find that the locus of points of contact is x 2 y 2 = x 2 y 2 x^2-y^2=x^2y^2

Using this information we see that we need to find k = 1 x k 2 + 1 x k 2 ( x k 2 + 2 ) = 1 2 ( k = 1 1 x k 2 + k = 1 1 x k 2 + 2 ) \sum_{k=1}^{\infty} \frac {x_k^2+1}{x_k^2(x_k^2+2)}=\frac 12\left( \sum_{k=1}^{\infty} \frac {1}{x_k^2} +\sum_{k=1}^{\infty} \frac {1}{x_k^2 +2}\right)

Now writing power series of sin x x cos x x 3 \frac {\sin x-x\cos x}{x^3} about 0 0 will give a polynomial with positive roots of tan x = x \tan x=x . Using Vieta's formula we see that k = 1 1 x k 2 = -Coefficient of x² Constant term = 1 10 \sum_{k=1}^{\infty} \frac {1}{x_k^2}=\frac {\text{ -Coefficient of x²}}{\text {Constant term}}=\frac {1}{10}

Also changing x x 2 x\rightarrow \sqrt {x-2} in the power series and using the same method above gives k = 1 1 x k 2 + 2 = -Coefficient of x Constant term = 5 2 sinh ( 2 ) 6 cosh ( 2 ) 4 ( 2 cosh ( 2 ) 2 sinh ( 2 ) ) \sum_{k=1}^{\infty} \frac {1}{x_k^2+2}=\frac {\text{ -Coefficient of x}}{\text {Constant term}}=\frac {5\sqrt 2\sinh(\sqrt 2)-6\cosh(\sqrt 2)}{4(2\cosh(\sqrt 2)-\sqrt 2\sinh(\sqrt 2))}

You could also also check out another method used by robjohn on My question here

This is really neat - I tried something similar but didn't spot the partial fraction decomposition. I also wasn't sure about using Vieta here - it doesn't always work to assume that power series behave like infinite polynomials, and it can be quite hard to justify (I think the most famous example of this is in Euler's original solution of the Basel problem - the use of this type of approach in that case was only rigorously justified 100 years later by Weierstrass)

One question, though, what happens to the contribution of the negative roots in the Vieta sums?

(by the way - I think you mean "Coefficient of x^2" in your last equation)

Chris Lewis - 2 years, 6 months ago

Log in to reply

Nope I mean coefficient of x x Only because I changed x x 2 x\rightarrow \color{#D61F06}{\sqrt {x-2}} so it would not be the coefficient of x²

Rohan Shinde - 2 years, 6 months ago
Chris Lewis
Dec 11, 2018

For the tangent to the curve y = f ( x ) y=f(x) at ( t , f ( t ) ) (t,f(t)) to pass through O O , we need

f ( t ) = f ( t ) t \begin{aligned} f'(t)=\frac{f(t)}{t} \end{aligned}

In this case, this becomes t = tan t t=\tan t . The x k x_k are the positive roots of this equation. It didn't seem likely that I would get anywhere with this analytically, so I proceeded numerically from here.

My idea was to use Newton's method to solve t tan t = 0 t-\tan t=0 in the intervals ( k π , ( k + 1 ) π ) (k\pi,(k+1)\pi) to work out the x k x_k , which would then give a k a_k . However, the gradients involved in the tan \tan formulation are very large near the roots, so this iteration scheme is not numerically stable.

I therefore set up Newton's method for the (equivalent) equation t cos t sin t = 0 t\cos t - \sin t=0 .

This gives as a scheme for iteration

t 0 = k π + π 2 t n + 1 = t n + t n cos t n sin t n t n sin t n = t n 1 t n + cot t n \begin{aligned} t_0 &= k\pi+\frac{\pi}{2} \\ t_{n+1} &= t_n + \frac{t_n\cos {t_n} - \sin {t_n}}{t_n\sin {t_n}} = t_n - \frac{1}{t_n}+\cot{t_n} \end{aligned}

which converges rapidly to x k x_k .

The first few roots are below:

k k x k x_k
1 4.4934 4.4934\ldots
2 7.7253 7.7253\ldots
3 10.9041 10.9041\ldots
4 14.0662 14.0662\ldots
5 17.2208 17.2208\ldots

We can then calculate the corresponding values of a k a_k . If we let S N = k = 1 N 1 a k 2 S_N=\sum_{k=1}^N \frac{1}{a_k^2} (so the answer we want is S S_{\infty} ), we have the following partial sums:

N N S N S_N
10 10 0.0881673 0.0881673\ldots
100 100 0.0963714 0.0963714\ldots
1000 1000 0.0972734 0.0972734\ldots
10000 10000 0.0973645 0.0973645\ldots
100000 100000 0.0973736 0.0973736\ldots
1000000 1000000 0.0973745 0.0973745\ldots

We could stop here, but the partial sums converge quite slowly in this case. It's worth noting that we can approximate the error term S S N S_\infty-S_N as well: note that for large k k , the tangents occur nearer and nearer to the peaks and troughs of the sine curve, so that x k k π + π 2 x_k\approx k\pi+\frac{\pi}{2} and y k ± 1 y_k\approx\pm1 and a k 2 1 + ( k π + π 2 ) 2 a_k^2\approx 1+(k\pi+\frac{\pi}{2})^2

If we define

T N = k = 0 N 1 1 + ( k π + π 2 ) 2 \begin{aligned} T_N=\sum_{k=0}^N \frac{1}{1+(k\pi+\frac{\pi}{2})^2} \end{aligned}

(note the changed lower limit of the sum - to be explained in a moment) then S S N T T N S_\infty-S_N \approx T_\infty-T_N

The reason for the change of lower limit is that with this definition, we can use the (remarkable) identity T = tanh 1 2 T_\infty=\frac{\tanh {1}}{2} (I can't claim credit for this - thank you, Wolfram|Alpha!)

So S N = S N + tanh 1 2 T N S^*_N = S_N+\frac{\tanh {1}}{2}-T_N should be an even better approximation to S S_\infty . Indeed, we get

N N S N S^*_N
10 10 0.0973695 0.0973695\ldots
100 100 0.0973746 0.0973746\ldots
1000 1000 0.0973746 0.0973746\ldots
10000 10000 0.0973746 0.0973746\ldots
100000 100000 0.0973746 0.0973746\ldots
1000000 1000000 0.0973746 0.0973746\ldots

which clearly converges rapidly, giving the answer 9737 \boxed{9737} .

I'd be really interested (1) if someone has a non-numerical (or better numerical) way of doing this and (2) what the inspiration for this problem was!

Chris Lewis - 2 years, 6 months ago

Log in to reply

@Chris Lewis You can check out my answer I have posted it now.

Rohan Shinde - 2 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...