Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Re: How to Integrate[Abs[x]]?

  • To: mathgroup at
  • Subject: [mg91643] Re: [mg91624] How to Integrate[Abs[x]]?
  • From: Bob Hanlon <hanlonr at>
  • Date: Sat, 30 Aug 2008 01:53:00 -0400 (EDT)
  • Reply-to: hanlonr at

Integrate[Abs[x], x, Assumptions -> Element[x, Reals]]

Piecewise[{{-(x^2/2), x <= 0}}, x^2/2]

Bob Hanlon

---- Thomas Dybdahl Ahle <lobais at> wrote: 

On my Ti calculater |x| is easily integrated to |x|*x/2, but when I type Integrate[Abs[x],x] in mathematica, it seams like it can't find the solution.
Is there anything I'll have to do, to make mathematica find the solution?

  • Prev by Date: Re: unwanted Complex result
  • Next by Date: animated faces of polygon
  • Previous by thread: Re: How to Integrate[Abs[x]]?
  • Next by thread: Re: How to Integrate[Abs[x]]?