Re: Factor, Expand. Daytime Hours.
- To: mathgroup at smc.vnet.net
- Subject: [mg32321] Re: Factor, Expand. Daytime Hours.
- From: lalu_bhatt at yahoo.com (Bhuvanesh)
- Date: Tue, 15 Jan 2002 02:29:57 -0500 (EST)
- References: <a1p2gh$6vq$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Matthias.Bode at oppenheim.de wrote:
> 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 ?
In[1]:= Factor[a^2 + b^2, GaussianIntegers->True]
Out[1]= (a - I b) (a + I b)
In[2]:= Factor[a^2 + b^2, Extension->{I}]
Out[2]= (a - I b) (a + I b)
Bhuvanesh.
Disclaimer: Any and all opinions expressed are those of the author.