Re: Factor.....
- To: mathgroup at smc.vnet.net
- Subject: [mg70986] Re: Factor.....
- From: dh <dh at metrohm.ch>
- Date: Fri, 3 Nov 2006 01:39:41 -0500 (EST)
- References: <eicnmq$g3i$1@smc.vnet.net>
Hi,
you have to tell Mathematica what form you want.
Assume e.g. that we want the form (A^2 + a1 A + a0)(A^2 + b1 A + b0).
Then we expand, equate the coefficients of A and solve for a0,a1,b0,b1:
r1=CoefficientList[(A^2+A a1+a0)(A^2+b1 A+ b0)//Expand,A]
r2=CoefficientList[A^4+3+y^2,A]
Solve[Thread[r1==r2],{a0,a1,b0,b1}]
this gives several possible expansions.
Daniel
gtsavdar at auth.gr wrote:
> How can i factor A^4 + 3 + y^2 (A,y reals) for example with
> Mathematica.....?
>
>
> (
> In order to have:
> (A^2 + SQRT(y^2+3) + A·SQRT(2*SQRT(y^2+3))) · (A^2 + SQRT(y^2+3) -
> A·SQRT(2*SQRT(y^2+3)))
> )
>
> (
> OR:
> (y^2 - i·SQRT(A^4+3)) · (y^2 + i·SQRT(A^4+3))
> )
>
>
> Thanks....
>