Re: Expanding Integrals with constants and 'unknown' functions
- To: mathgroup at smc.vnet.net
- Subject: [mg110078] Re: Expanding Integrals with constants and 'unknown' functions
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 1 Jun 2010 04:22:43 -0400 (EDT)
- References: <htvbct$ofo$1@smc.vnet.net>
Hi Jesse,
with
Distribute[Integrate[a + z + s[z], {z, clow, chigh}]]
you get:
chigh^2/2 + a*(chigh - clow) - clow^2/2 + Integrate[s[z], {z, clow,
chigh}]
Peter
Am Mon, 31 May 2010 03:45:33 +0000 (UTC) schrieb Jesse Perla
<jesseperla at gmail.com>:
> I have an integral involving constants and an 'unknown' function. I
> would like to expand it out to solve for the constants and keep the
> integrals of the unknown function as expected.
> i.e.
> Integrate[a + z + s[z], {z, clow, chigh}]
>
> I want to get out:
> (a*chigh + chigh^2/2 - a*clow - clow^2/2) + Integrate[s[z], {z, clow,
> chigh}]
>
> However, FullSimplify, etc. don't seem to do anything with this. Any
> ideas?
>