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

MathGroup Archive 2009

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

Search the Archive

simplifying quotient of piecewise functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96966] simplifying quotient of piecewise functions
  • From: Tom Roche <tlroche at gmail.com>
  • Date: Sat, 28 Feb 2009 06:43:17 -0500 (EST)

I'm solving some conditional probability density functions. One
solution involves a division such that the numerator is

(1) \[Piecewise]1/5 (2 \[Chi]+\[Psi])	{0<=\[Chi]<=2,0<=\[Psi]<=1}

and the denominator is

(2) \[Piecewise]((2 (2+\[Psi]))/5)	0<=\[Psi]<=1

For the quotient, Mathematica 7 is just giving me (1) over (2), rather
than

(3) \[Piecewise]((2 \[Chi]+\[Psi])/(2 (2+\[Psi])))
      {0<=\[Chi]<=2,0<=\[Psi]<=1}

even when I append

// Simplify

and re-evaluate. Am I using the wrong syntax to get the simplified
quotient? or am I wrong to expect (3)?


  • Prev by Date: Re: question about simplify function
  • Next by Date: Re: question about simplify function
  • Previous by thread: Need some help on Integration
  • Next by thread: wrong solution for double integral of piecewise function?