Combinatorica`
Combinatorica`
BipartiteQ
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
BipartiteQ[g]
yields True if graph g is bipartite.
Details and Options
- BipartiteQ functionality is now available in the built-in Wolfram Language function BipartiteGraphQ.
- To use BipartiteQ, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Examples
Basic Examples (2)Summary of the most common use cases
In[1]:=1

✖
https://wolfram.com/xid/0lztq4cbao8d73-rmcvi
In[2]:=2

✖
https://wolfram.com/xid/0lztq4cbao8d73-kog7jp
In[3]:=3

✖
https://wolfram.com/xid/0lztq4cbao8d73-c7xwog
Out[3]=3

In[4]:=4

✖
https://wolfram.com/xid/0lztq4cbao8d73-g8ga0g
Out[4]=4

BipartiteQ has been superseded by BipartiteGraphQ:
In[1]:=1

✖
https://wolfram.com/xid/0lztq4cbao8d73-ec1xd2
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0lztq4cbao8d73-gtwffv
Out[2]=2

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