Re: Question: inequalities
- To: mathgroup@smc.vnet.net
- Subject: [mg11682] Re: Question: inequalities
- From: Daniel Lichtblau <danl@wolfram.com>
- Date: Sat, 21 Mar 1998 18:35:17 -0500
- Organization: Wolfram Research, Inc.
- References: <6eslt3$61t@smc.vnet.net>
Mike & Lizette Sullivan wrote: > > Hello everyone, I am using Mathematica 2.2: > > I'm taking my old calculus book and going through it again to touch up > on my basics before beginning a Master's degree program in the fall > (I've been out of college for four years). I'm planning on using > mathematica to generate solutions for the book problems that don't come > with solutions, but I've hit a snag in chapter 1.1 :( > > How do I get mathematica to give me a solution set for a inequality? > > For example, lets say I want to get mathematica to solve Abs(2x+1)>5, > where Abs means Absolute Value Of? > > Does mathematica have the capability of giving me a solution set like > (-Infinity, -3) U (2, Infinity) which is the solution to this problem? > > Please help. > > Mike Sullivan > mliz@mingspring.com This cannot be done in version 2.2. In version 3 one can do this as below. In[1]:= <<Algebra`InequalitySolve` In[2]:= InequalitySolve[Abs[2*x+1]>5, x] Out[2]= x < -3 || x > 2 Daniel Lichtblau Wolfram Research