We can solve this difference equation and output the general solution
perhaps.
Is there a way to solve recurrences in sympy? I searched and found there is
a
function called rsolve() but couldn't find it's documentation.


On Sun, Jun 30, 2013 at 2:30 PM, Thilina Rathnayake
<[email protected]>wrote:

> Looks like we will run into more and more trouble representing the
> solutions.
>
> The latest is that when solving quadratic Diophantine equation,
> A*x**2 + B*x*y + C*y**2 + D*x + E*y + F = 0, for the case B**2 - 4AC > 0,
> when we know a basic solution, all the other solutions can be represented
> as
> a recurrence relation.
>
> Suppose, we find that X0 = 9 and Y0 = 4 is a solution to the given
> equation,
> we can find P, Q, K, R, S, L such that, Xn+1 = PXn + QYn + K and
> Yn+1 = RXn + SYn + L  where Xn+1 and Yn+1 will also be solutions to the
> equation given that Xn and Yn are solutions. How do we represent this in
> the
> solution? Perhaps as a matrix?
>
> Regards,
> Thilina
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to