Services & Resources / Wolfram Forums
MathGroup Archive
*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: Constant function Integrate Assumption

  • To: mathgroup at
  • Subject: [mg47219] Re: Constant function Integrate Assumption
  • From: "Peter Pein" <no at>
  • Date: Wed, 31 Mar 2004 02:57:43 -0500 (EST)
  • References: <c4bdnf$6tr$>
  • Sender: owner-wri-mathgroup at

"Daryl Reece" <dsr14 at> schrieb im Newsbeitrag
news:c4bdnf$6tr$1 at
> I am trying to use units within an Integration and would like
> Mathematica to understand that the units (Month) are not a function of
> the integration variable, but I have not had any luck with my
> attempts.
> Specifically
> Integrate[UnitStep[t Months], t]
> should yield
> t UnitStep[t]
> but I get the unevaluated form, because Mathematica does not know how to
> assume that Month is not a function of t.
> I've tried Assumptions, SetAttribute, no avail.  I've
> also hunted extensively online (Wolfram, this group and MathGroup)
> without any results, so any help would be greatly appreciated.
> TIA,
> Daryl

In[1]:= Months /: t Months = t;
In[2]:= Integrate[UnitStep[t Months], t]
Out[2]= t UnitStep[t]

Peter Pein, Berlin
StringReplace["petsie at",

  • Prev by Date: Re: Expansion of an exponential expression
  • Next by Date: Re: sort list
  • Previous by thread: Re: Constant function Integrate Assumption
  • Next by thread: Re: Constant function Integrate Assumption