MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: No Subject


In a message dated 1/11/02 6:12:41 AM, Matthias.Bode at oppenheim.de writes:

>Factor[a^2 - b^2] yields - predictably -
>
>(a - b)*(a + b).
>
>The question "what yields the factorization of a^2 + b^2" is not
>far-fetched.
>
>How can I coax MATHEMATICA into giving: (a - I*b)*(a + I*b)?
>Are there more "simple" solutions of the same structure (... - ...)*(...
>+
>...) or some wizardry like (... + or - ...)^t, where t is some composite
>expression ?
>

Factor[Table[a^(2n)+b^(2n), {n, 3}],
 GaussianIntegers -> True]

{(a - I*b)*(a + I*b), (a^2 - I*b^2)*(a^2 + I*b^2),
 
  (a - I*b)*(a + I*b)*(a^2 - I*b*a - b^2)*
   (a^2 + I*b*a - b^2)}


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Nonlinear Regression model
  • Next by Date: Runs on a Ring
  • Previous by thread: Nonlinear Regression model
  • Next by thread: Runs on a Ring