Informação Mútua I(X;Y)

H(X) − H(X|Y).
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

I bits
0,7000

About this calculator

Mutual Information, denoted as I(X;Y), is a fundamental measure in information theory that quantifies the amount of information one random variable contains about another. It is calculated as the difference between the entropy of variable X, denoted as H(X), and the conditional entropy of X given Y, denoted as H(X|Y). This provides a way to understand how knowledge of one variable reduces the uncertainty about the other.

The formula for Mutual Information is I(X;Y) = H(X) − H(X|Y). This means that if knowing Y significantly reduces the uncertainty about X, then I(X;Y) will be large. Conversely, if knowing Y does not significantly alter the uncertainty about X, then I(X;Y) will be close to zero. This measure is symmetric, i.e., I(X;Y) = I(Y;X), reflecting the idea that the information X contains about Y is the same as Y contains about X.

Mutual Information is used in various applications, such as analyzing dependency between variables, signal processing, pattern recognition, and machine learning. It helps identify complex relationships between variables, going beyond simple linear correlations. However, caution is needed in interpretation when variables have non-linear relationships or when there are variables with complex probability distributions.

It's crucial to note that Mutual Information does not establish causality between variables; it only quantifies informational association. Therefore, it should be used judiciously, understanding the limits of its interpretation in the specific context of application.

Frequently asked questions

What does Mutual Information close to zero mean?

Mutual Information close to zero means that knowing one variable does not significantly alter the uncertainty about the other variable. This suggests that the variables are independent or have little informational relationship.

Can Mutual Information be negative?

No, by definition, Mutual Information is not negative. It is zero if the variables are independent and positive otherwise.

How to interpret Mutual Information in continuous variables?

For continuous variables, Mutual Information is calculated slightly differently, considering probability densities. The interpretation remains similar: it quantifies the reduction of uncertainty of one variable about the other.

Is Mutual Information used in Machine Learning?

Yes, Mutual Information is used in Machine Learning for feature selection, dependency analysis between variables, and in learning algorithms.

Other Info Theory calculators