axiom-mail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-mail] Factorizing an expression


From: Themos Tsikas
Subject: Re: [Axiom-mail] Factorizing an expression
Date: Wed, 8 Nov 2006 14:44:03 +0000
User-agent: KMail/1.9.1

(1) -> (a/b)^2 + (a/b)*y + 3*(a/b)*x

                          2
        a b y + 3a b x + a
   (1)  -------------------
                  2
                 b
                                            Type: Fraction Polynomial Integer
(2) -> eval(%,[a=b*R])

                      2
   (2)  R y + 3R x + R
                                            Type: Fraction Polynomial Integer
(3) -> factorFraction %

   (3)  R(y + 3x + R)
                                   Type: Fraction Factored Polynomial Integer


The rest is a visual cheat


(4) -> r:Symbol:="a/b"

   (4)  a/b
                                                                 Type: Symbol
(5) -> eval(%% 3,[R=r])

                            2
   (5)  a/b y + 3a/b x + a/b
                                            Type: Fraction Polynomial Integer
(6) -> factorFraction %

   (6)  a/b(y + 3x + a/b)
                                   Type: Fraction Factored Polynomial Integer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]