Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Re: right hand side

  • To: mathgroup at
  • Subject: [mg93568] Re: [mg93530] right hand side
  • From: Bob Hanlon <hanlonr at>
  • Date: Sat, 15 Nov 2008 06:02:24 -0500 (EST)
  • Reply-to: hanlonr at

aa = 2*x + 5*y == 1;

y /. Solve[aa, y][[1]]

(1/5)*(1 - 2*x)

Last[Reduce[aa, y]] // Simplify

(1/5)*(1 - 2*x)

An alternate way to extract the results of Reduce

y /. ToRules[Reduce[aa, y]] // Simplify

(1/5)*(1 - 2*x)

Bob Hanlon

---- magdamoczydlowska at wrote: 

Hello Everyone!

I suppose that my question can be very easy. I will translate it on
simple equation,
aa = 2*x + 5*y == 1, I need to plot this equation so i take Reduce
[aa,y], the result is following y == 1/5 - (2 x)/5. Now I would like
to take right side of equation to plot 1/5-(2x)/5. However I do not
know how to do it.

Thank you for help,


Bob Hanlon

  • Prev by Date: Re: Minimize
  • Next by Date: Re: Minimize
  • Previous by thread: RE: right hand side
  • Next by thread: specify a color for ErrorBar and remove the point in the middle