### Introduction

We often see in the machine learning studies that people are using proportional symbol $\propto$ instead of equivalence symbol $=$. In this blog post, we will see why we should use it, when we could use it, and how we could understand it.

### Why Should We Use It?

I will use Baye’s theorem as an concrete example first.

Because $p(\theta|x)$ is a probability distribution for random variable $\theta$. The integral of the probability densities should equal to 1.

Therefore,

This means that if we know the closed form $p(x|\theta) p(\theta)$, we know $p(x)$. It it universally true for any probability distribution, and it is not necessary to write the normalizer which is not dependent on the random variable of the distribution.

For any probability distribution $p(\theta)$, if it could be written as

where $g(\eta)$ does not dependent on random variable $\theta$, we could always use the proportional symbol

Because

### When Could We Use It?

For any probability distribution $p(\theta)$, during any step of the derivation, if it could be written as

where $g(\eta)$ does not dependent on random variable $\theta$, we could always remove the term $g(\eta)$ which is not related to $\theta$

### How Could We Understand It?

For any probability distribution $p(\theta)$, if I could be written as

$h(\theta, \eta)$ determines the shape of distribution, and all the terms not related to $\theta$ could be merged to one single term $g(\eta)$. This term is constant to $\theta$ and it is only a scaling factor (normalizer) to the distribution to make sure that after normalization the integral of the distribution sum to 1.

### Final Remarks

The terms in the probability density expression which are not related to the random variable of the probability are usually not important during derivation. We ignore them during derivation, but we can always find it back at the end of derivation.