MathGroup Archive 2001

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

Search the Archive

RE: Solving for "Invalid" Variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27716] RE: [mg27569] Solving for "Invalid" Variables
  • From: "Higinio Ramos" <higra at gugu.usal.es>
  • Date: Tue, 13 Mar 2001 03:52:36 -0500 (EST)
  • Organization: usal
  • References: <200103070908.EAA05042@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

----- Original Message ----- 
From: Alan <kd7cyb at mac.com>
To: mathgroup at smc.vnet.net
Subject: [mg27716] [mg27569] Solving for "Invalid" Variables


> Is there a way in Mathematica to solve for "invalid" variables? Example:
> 
> Solve[dy+y==dx+x, dy/dx]
> 
> This returns a invalid variable error but I want the result to say dy/dx
> is equal to something. Is there a way to do this with rules or anything
> else I may not know of?
> 
> Thanks,
> Alan
Perhaps this made what you want:
Solve[Map[Apart, Map[#/dx &, dy + y == dx + x, 1], 1] /. dy/dx -> var, 
    var] /. var -> dy/dx

Higinio



  • Prev by Date: ColorFunction
  • Next by Date: Re: How to calculate the area of a polygon?
  • Previous by thread: Solving for "Invalid" Variables
  • Next by thread: Version 4.1 Documentation