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