#19112: Add a function "isometry" to the quadratic forms package.
-------------------------------------+-------------------------------------
       Reporter:  tgaona             |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  minor              |    Milestone:  sage-6.10
      Component:  quadratic forms    |   Resolution:
       Keywords:  isometry           |    Merged in:
        Authors:  Tyler Gaona        |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/tgaona/ticket/19112              |  9e211fecd4b525ad30276d37d442a68ce9bec8f0
   Dependencies:  #18669             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 About solving quadratic forms:

 Suppose you want to solve `Q(x) = c`. Consider the quadratic form `Q(x) -
 c*z^2 = 0`, where `z` is an extra variable. Find a solution `(x,z)` to
 this quadratic form using `qfsolve()`.

 '''Case 1''': If `z != 0`, then `Q(x/z) = c`.

 '''Case 2''': We found a solution `Q(x) = 0`. Let `e` be any vector such
 that `B(x,e) != 0`, where `B` is the bilinear form corresponding to `Q`.
 To find `e`, just try all unit vectors `(0,..0,1,0...0)`. Let `a = (c -
 Q(e))/B(x,e)` and let `y = e + a*x`. Then `Q(y) = c`.

 It would be great if you could implement this on a separate ticket.

--
Ticket URL: <http://trac.sagemath.org/ticket/19112#comment:12>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to