Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1992
*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 1992

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

Search the Archive

Symbolic integration of piecewise defined functions

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Symbolic integration of piecewise defined functions
  • From: drebnord at betenoir.syr.edu (David A. Rebnord)
  • Date: Mon, 9 Mar 92 14:17:39 EST

I don't seem to be able to get Mathematica 2.0.2 to integrate  
symbolically functions which are defined piecewise.  A simplified  
example of what I'm trying to do is

Mathematica 2.0 for NeXT
Copyright 1988-91 Wolfram Research, Inc.
 -- NeXT graphics initialized -- 


In[1]:= f[x_] := x /; x <= 1

In[2]:= f[x_] := x^2 /; x >1

In[3]:= Integrate[f[x],x]

Out[3]= Integrate[f[x], x]

In[4]:= Integrate[f[x],{x,0,1}]

Out[4]= Integrate[f[x], {x, 0, 1}]

I've also tried defining f[x] using Switch[] but also with no  
success. Answers and/or suggestions will be most welcome.

---
---------------------------------------------------------------------
Dave Rebnord            drebnord at betenoir.syr.edu (NeXT)
Dept of Mathematics        drebnord at suvm.syr.edu (ascii)
Syracuse University
Syracuse NY 13244-1150





  • Prev by Date: LatticeReduce
  • Next by Date: RE: Partial Fraction Decomposition with imaginary coeff.
  • Previous by thread: Re: LatticeReduce
  • Next by thread: Self destructing definitions