Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: New user: Abs[] problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50128] Re: New user: Abs[] problem
  • From: Janusz Kawczak <jkawczak at math.uncc.edu>
  • Date: Mon, 16 Aug 2004 06:45:35 -0400 (EDT)
  • References: <cfka7r$f7u$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Because you have infinite (uncountable) number of solutions. One way of
approaching this kind of problems is to use Reduce in the following way:

Reduce[x + 1 - Abs[2x - 4] + Abs[5 - x] == 0 && x \[Element] Reals, x]

Of course, you can play with the domain of x. If left unspecified, it
takes
values from the complex domain.

Also, to see some of the answers you may like to play with FindInstance,
FindRoot and so on.

Best, Janusz.

Edson, Brusque wrote:

> Hello,
>
>      I'm starting Electrical Engineering and using Mathematica for
> helping me in Calculus e Algebra studies.
>
>      I'm trying to solve this equation on Mathematica:
>          x + 1 - |2x - 4| + |5 - x| = 0
>
>      on the Math* notebook I'm typing:
>          Solve[x + 1 - Abs[2x - 4] + Abs[5 - x] == 0,x]
>
>      but only got an empty output: {{}}
>
>      Someone please can help me get Math* to solve this?
>
>      Thank you very much,
>
>      Edson Brusque
>
> ---------------------------------------------------------------------
> Edson Brusque                     C.I.Tronics Lighting Designers Ltda
> Research and Development                   Blumenau  -  SC  -  Brazil
> http://www.suporte.ind.br/ryan/netiqueta.htm     www.citronics.com.br
> ---------------------------------------------------------------------


  • Prev by Date: Re: Re: New user: Abs[] problem
  • Next by Date: Re: Smallest enclosing circle
  • Previous by thread: Re: Re: New user: Abs[] problem
  • Next by thread: Re: Re: New user: Abs[] problem