How to transform a probability density function?

Click For Summary

Discussion Overview

The discussion revolves around the transformation of a probability density function (PDF) defined in Maple notation. Participants explore how to apply a linear transformation to the variable x while ensuring that the new function remains a valid PDF. The conversation includes technical details about the transformation process and the resulting functions.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant presents a probability density function f(x) = (1 / ((3/2) * Pi)) * (sin(x)) ** 2 with support [0; 3 * Pi] and seeks to transform it to a new range.
  • Another participant suggests a linear transformation approach, providing a formula for transforming x and the differential dx to preserve the integral.
  • A third participant shares the transformed function g(x) and notes that it coincides with another function h(x), raising a question about the nature of their equivalence despite differing forms.
  • One participant introduces a trigonometric identity related to sin²(x) but does not elaborate on its relevance to the previous points.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the equivalence of the functions g(x) and h(x), and the discussion remains unresolved regarding the implications of their coincidence.

Contextual Notes

The discussion involves assumptions about the transformation process and the properties of probability density functions. The equivalence of the two functions is not fully explored, leaving potential gaps in understanding their relationship.

Ad VanderVen
Messages
169
Reaction score
13
TL;DR
Transforming a trimodal probability density function with support [0;3*Pi] to a trimodal probability density function with support [(3/2)*Pi;(15/2)*Pi] .
I have the following probability density function (in Maple notation):

f (x) = (1 / ((3/2) * Pi)) * (sin (x)) ** 2 with support [0; 3 * Pi]

Now I want to transform x so that

0 -> (3/2) * Pi
and
3 * Pi -> (15/2) * Pi

and the new function is still a probability density function.

How should I do that transformation?
 
Physics news on Phys.org
Hi,
Ad VanderVen said:
0 -> (3/2) * Pi
and
3 * Pi -> (15/2) * Pi
It is a simple linear transformation.
So if we define ##x_0=0,\ x_1 = {3\over 2}\pi,\quad x_0'= 3\pi,\ x_1'={15\over2}\pi \;,\ ## then: $$x'= {x-x_0\over x_1-x_0} (x_1'-x'_0) \ \ {\sf and} \ \ dx'= {x'_1-x'_0\over x_1-x_0}\ dx$$

So you substitute ##\displaystyle {x = {x' - x_0'\over x_1'-x_0'}(x_1-x_0)}## and

with a simple factor ##{dx/ dx'}## you preserve the integral.

1591797960062.png
 
  • Like
Likes   Reactions: Dale
Thanks a lot for your clear answer.

I have performed the transformation and I got (in Maple notation):

g (x) = (1/2) * (1 / ((3/2) * Pi)) * (sin ((1/2) * (x- (3/2) * Pi))) ** 2

with support [(3/2) * Pi; (15/2) * Pi)]

but this function coincides completely with the following function:

h (x) = (1 / (6 * Pi)) * (sin (x) +1)

also with support [(3/2) * Pi; (15/2) * Pi)]

Now g (x) is a quadratic function and h (x) is not. How can they coincide?
 
sin2(x) = 1/2*(1 - cos(2x))
 
Thank you very much. :bow:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • Poll Poll
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K