Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Help with map /@

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128596] Re: Help with map /@
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 8 Nov 2012 02:10:06 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20121107055615.6E1DC684C@smc.vnet.net>

On Nov 7, 2012, at 12:56 AM, KFUPM <hussain.alqahtani at gmail.com> wrote:

> I have a this expression:
>
> Ex= T1[x]+T2[y]+T3[z];
>
> I want to integrate the first term with respect to x, the second w.r.t y and the third with respect to z and then sum them all. I want to use the map function (/@) or similar to do that for me automatically. Your help is really appreciated.

We may need more information:

 (1) do you literally want T1[x], T2[y], T3[z]? or are these actual defined functions. If the latter, then there's the difficulty of the way Mathematica reorders expressions automatically -- e.g.:

     T1[x_]:=x^2
     T2[x_]:=Sin[x]
     T3[x_]:=Exp[x]

     T1[x] + T2[y] + T3[z]
Exp[z] + x^2 + Sin[y]

Thus we no longer know which function is which!

 (2) Does each of T1[x], T2[y], T3[z] depend on _only_ the one indicated variable x, y, z or, to the contrary, does T2[y], say, also involve x and or z?

---
Murray Eisenberg                                    
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305








  • Prev by Date: Quirks of EventHandler
  • Next by Date: NonlinearModelFit properties are (suddenly) Missing[]
  • Previous by thread: Re: Help with map /@
  • Next by thread: Re: Help with map /@