Re: solve for a squared variable

*To*: mathgroup at smc.vnet.net*Subject*: [mg60459] Re: [mg60424] solve for a squared variable*From*: Bob Hanlon <hanlonr at cox.net>*Date*: Fri, 16 Sep 2005 05:36:37 -0400 (EDT)*Reply-to*: hanlonr at cox.net*Sender*: owner-wri-mathgroup at wolfram.com

As the error message states, x^2 is not a variable (Symbol) x^2/.Solve[x^2+y==1,x] // Union {1-y} z /. Solve[x^2+y==1/.x^2->z,z] {1-y} Bob Hanlon > > From: "Ruth Lazkoz" <ruth.lazkoz at ehu.es> To: mathgroup at smc.vnet.net > Date: 2005/09/16 Fri AM 03:49:04 EDT > Subject: [mg60459] [mg60424] solve for a squared variable > > Hi everyone, > > Why does > > Solve[x^2 + y == 1, x^2] > > give and error message? How can I solve for x^2? > > Thanks, > > Ruth > >

**Follow-Ups**:**Integration problem***From:*Heidi.Foerster@physics.unige.ch