A nonlinear difference equation

asmani
Messages
104
Reaction score
0
Consider the equation
\frac{a_n-a_{n-1}}{1+a_na_{n-1}}=\frac{1}{2n^2}
I know one special solution is
a_n=\frac{n}{n+1}
But how to solve and find the general solution?

Thanks in advance.
 
Physics news on Phys.org
hi asmani! :smile:

hint: trig substitution :wink:
 
Thank you tiny-tim. I don't think that works, since the the equation is actually coming from trigonometry!

Mathematica gives the following solution:

a_n=\frac{a_0+\left (1+a_0 \right )n}{1+\left ( 1-a_0 \right )n}

But I don't know how to derive this solution analytically.

P.S. The original problem was to show that:

\sum_{n=1}^{\infty}\tan^{-1}\left (\frac{1}{2n^2} \right )=\frac{\pi}{4}
 
asmani said:
Thank you tiny-tim. I don't think that works …

yes it does!

try it! :smile:
 
a_n=\tan\theta_n? Another hint please!
 
asmani said:
a_n=\tan\theta_n?

yes! :biggrin:

so the LHS of the original equation is … ? :smile:
 
I think I get it, Thanks a lot.

\tan \left (\theta_n-\theta_{n-1} \right )=\frac{1}{2n^2}
and then
\theta_n =\tan^{-1}\left (\frac{1}{2n^2} \right )+\theta_{n-1}
and then
\theta_n =\theta_{0}+\sum_{k=1}^{n}\tan^{-1}\left (\frac{1}{2k^2} \right )
By knowing that special solution mentioned in post #1, I can derive the formula in post #3. What If I didn't know that special solution?
 
Last edited:
hmm :confused:

putting ao = 0 or 1 gives an = 1 + 2n or -1/(1 + 2n)

and putting ao = ±i looks interesting :rolleyes: (i haven't followed it through :redface:) …

do either of those help? :smile:
 
Putting a0=0 in which equation?
 
  • #10
Mathematica's …
a_n=\frac{a_0+\left (1+a_0 \right )n}{1+\left ( 1-a_0 \right )n}
 
  • #11
OK. So far, first I 'guessed' a special solution, then I derived the general solution by using that special solution. Is there any analytic way to find (not guess) a special solution?
 

Similar threads

Back
Top