A nonlinear difference equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
10 replies · 3K views
asmani
Messages
104
Reaction score
0
Consider the equation
[tex]\frac{a_n-a_{n-1}}{1+a_na_{n-1}}=\frac{1}{2n^2}[/tex]
I know one special solution is
[tex]a_n=\frac{n}{n+1}[/tex]
But how to solve and find the general solution?

Thanks in advance.
 
Physics news on Phys.org
Thank you tiny-tim. I don't think that works, since the the equation is actually coming from trigonometry!

Mathematica gives the following solution:

[tex]a_n=\frac{a_0+\left (1+a_0 \right )n}{1+\left ( 1-a_0 \right )n}[/tex]

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

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

[tex]\sum_{n=1}^{\infty}\tan^{-1}\left (\frac{1}{2n^2} \right )=\frac{\pi}{4}[/tex]
 
[itex]a_n=\tan\theta_n[/itex]? Another hint please!
 
I think I get it, Thanks a lot.

[tex]\tan \left (\theta_n-\theta_{n-1} \right )=\frac{1}{2n^2}[/tex]
and then
[tex]\theta_n =\tan^{-1}\left (\frac{1}{2n^2} \right )+\theta_{n-1}[/tex]
and then
[tex]\theta_n =\theta_{0}+\sum_{k=1}^{n}\tan^{-1}\left (\frac{1}{2k^2} \right )[/tex]
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:
Putting a0=0 in which equation?
 
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?