solve x



>My guess is the OP wants to restrict the domain so that the LHS of his
equation involves only real-valued functions. 

yes (sorry, I have difficult with english technically math terms)



--- Mar 27/11/12, Leo Butler <l_butler at users.sourceforge.net> ha scritto:

> Da: Leo Butler <l_butler at users.sourceforge.net>
> Oggetto: Re: [Maxima] solve x
> A: "Barton Willis" <willisb at unk.edu>
> Cc: antoniolapira at yahoo.it, maxima at math.utexas.edu
> Data: Marted? 27 novembre 2012, 14:21
> Barton Willis <willisb at unk.edu>
> writes:
> 
> > [1:multipart/alternative Hide]
> >
> >
> > [1/1:text/plain Hide]
> >
> >
> >> ok, it works
> >
> >> but it seems a bit weird:
> >> (%i2) to_poly_solve([-sqrt(x^2+3*x)+sqrt(2*x+2)=0]
> , [x]);
> >> (%o2) %union([x = - 2], [x = 1])
> >
> >> (%i3) subst(-2, x, sqrt(2*x+2)-sqrt(x^2+3*x)=0);
> >> (%o3) 0 = 0
> >
> > Exactly what seems weird? If it's the %union object,
> consider:
> 
> I think his example is meant to indicate what is weird:
> x=-2 => sqrt(-2)-sqrt(-2) which simplifies to 0.
> 
> My guess is the OP wants to restrict the domain so that the
> LHS of his
> equation involves only real-valued functions. 
> 
> -- 
> Leo Butler? ? ? ? ? ? ?
> ? <l_butler at users.sourceforge.net>
> SDF Public Access UNIX System -???http://sdf.lonestar.org
>