Entropy
✖
Entropy
Details and Options

- Entropy[string] computes the information entropy of the characters in string.
- Entropy can handle symbolic data.
- With the option setting SameTest->f, Entropy[list,…] applies f to pairs of elements in list to determine whether they should be considered equivalent.
- The default setting for SameTest is SameQ.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0dqvkcjfkpc-buhmi5
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0dqvkcjfkpc-bh23ce
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0dqvkcjfkpc-cyaad0
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0dqvkcjfkpc-iqpb7i
Out[2]=2

Entropy of a random list of zeros and ones:
In[1]:=1

✖
https://wolfram.com/xid/0dqvkcjfkpc-dotwsy
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0dqvkcjfkpc-zwd5k
Out[2]=2

Scope (1)Survey of the scope of standard use cases
Calculate the entropy of an EventSeries:
In[2]:=2

✖
https://wolfram.com/xid/0dqvkcjfkpc-1e2x8p
In[3]:=3

✖
https://wolfram.com/xid/0dqvkcjfkpc-tfcic5
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0dqvkcjfkpc-4wf0h0
Out[4]=4

Applications (1)Sample problems that can be solved with this function
Calculate the entropy for a path of a TelegraphProcess:
In[7]:=7

✖
https://wolfram.com/xid/0dqvkcjfkpc-n27fuj
Out[7]=7

In[8]:=8

✖
https://wolfram.com/xid/0dqvkcjfkpc-0f5e1f
Out[8]=8

In[9]:=9

✖
https://wolfram.com/xid/0dqvkcjfkpc-4ghk00
Out[9]=9

Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.
✖
Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.
Text
Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.
✖
Wolfram Research (2008), Entropy, Wolfram Language function, https://reference.wolfram.com/language/ref/Entropy.html.
CMS
Wolfram Language. 2008. "Entropy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Entropy.html.
✖
Wolfram Language. 2008. "Entropy." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Entropy.html.
APA
Wolfram Language. (2008). Entropy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Entropy.html
✖
Wolfram Language. (2008). Entropy. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Entropy.html
BibTeX
✖
@misc{reference.wolfram_2025_entropy, author="Wolfram Research", title="{Entropy}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/Entropy.html}", note=[Accessed: 04-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_entropy, organization={Wolfram Research}, title={Entropy}, year={2008}, url={https://reference.wolfram.com/language/ref/Entropy.html}, note=[Accessed: 04-June-2025
]}