Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Probability density function

  1. Oct 25, 2007 #1
    if x is a continuous random variable from -1 to 1...how do you find c:

    f(x) = c + x , -1 < x < 0
    c - x, 0 < x < 1

    Do I integrate each one? Where do I go from there? Thanks!
  2. jcsd
  3. Oct 25, 2007 #2


    User Avatar
    Science Advisor

    You should know that the integral of a probability density, over the entire interval, is 1: something has to happen so the probability over all possible outcomes has to be 1.
    What do you get if you integrate f(x) from -1 to 1 (do as to separate parts and add them- the answer will depend on c). Set that equal to 1 and solve for c.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook