Contents

The Yin-Yang Symbol: The Philosophy of Duality

This article discusses the philosophy and mathematical structure of the Yin-Yang symbol and demonstrates how to draw it precisely and beautifully using LaTeX TikZ.


Note
Note: This article was generated with the help of AI technology and has been manually reviewed to ensure accuracy and clarity.

The Yin-Yang symbol (☯) is one of the most recognizable icons in Eastern philosophy, particularly within Taoism. It represents the unity of two opposing yet complementary forces:

  • Yin symbolizes darkness, passivity, femininity, and coldness.
  • Yang symbolizes brightness, activity, masculinity, and warmth. This symbol is not only aesthetically balanced but also a mathematical visualization of equilibrium. Using LaTeX TikZ, we can recreate the Yin-Yang symbol with geometric precision and artistic harmony.

Below is the complete LaTeX code to draw the Yin-Yang symbol using TikZ:

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}

  % Color half of the circle
  \begin{scope}
    \clip (0,0) circle (1cm);
    \fill[black] (0cm,1cm) rectangle (-1cm, -1cm);
  \end{scope}

  % Fill the heads
  \fill[black] (0,0.5) circle (0.5cm);
  \fill[white] (0,-0.5) circle (0.5cm);

  % Fill the eyes
  \fill[white] (0,0.5) circle (0.1cm);
  \fill[black] (0,-0.5) circle (0.1cm);

  % Outer circle
  \draw (0,0) circle (1cm);

\end{tikzpicture}

\end{document}
\documentclass{article}
\usepackage{tikz}
  • article defines the basic document type.
  • tikz enables vector-based drawing directly within LaTeX.

\begin{tikzpicture} ... \end{tikzpicture}
\begin{scope}
  \clip (0,0) circle (1cm);
  \fill[black] (0cm,1cm) rectangle (-1cm, -1cm);
\end{scope}
  • \clip restricts the drawing area to a circle with a 1 cm radius.
  • The rectangle filled with black creates the left half of the symbol. The right half remains white, forming the Yang.

\fill[black] (0,0.5) circle (0.5cm);
\fill[white] (0,-0.5) circle (0.5cm);
  • A black circle on top represents Yang within Yin.
  • A white circle on the bottom represents Yin within Yang. Together, they illustrate balance and transformation.

\fill[white] (0,0.5) circle (0.1cm);
\fill[black] (0,-0.5) circle (0.1cm);
  • The white dot in the black area and the black dot in the white area symbolize that each element contains the seed of its opposite — the core principle of Yin-Yang philosophy.

\draw (0,0) circle (1cm);
ElementColorSymbolic MeaningGeometric Form
Left halfBlack (Yin)Darkness, night, introspectionHalf circle
Right halfWhite (Yang)Light, day, actionHalf circle
White dot in YinYang energy in YinSmall white circle
Black dot in YangYin energy in YangSmall black circle
The two sides do not conflict destructively; they complement each other.
This symbol also embodies the idea of dynamic equilibrium — nothing is entirely black or white.

You can modify the parameters in TikZ for creative exploration:

ElementModificationVisual Effect
Color\fill[blue] or \fill[red]Changes symbolic mood
SizeChange (1cm) to (2cm)Enlarges the entire figure
PositionAdjust (0,0) coordinatesMoves the symbol on the canvas
Line styleAdd [thick, dashed]Creates a calligraphic aesthetic
Example variation:
\fill[blue!50!black] (0,0.5) circle (0.5cm);

The Yin-Yang symbol bridges philosophy, mathematics, and art:

  • Philosophy: Represents harmony in opposites.
  • Geometry: Built from perfect circles and symmetrical relationships.
  • Art: A timeless visual balance of contrast and unity.
  • Education: Ideal for demonstrating geometric symmetry and cultural meaning in LaTeX TikZ.

  1. Lao Tzu. Tao Te Ching. Trans. D. C. Lau. Penguin Classics, 1963.
  2. Needham, J. (1954). Science and Civilization in China. Cambridge University Press.
  3. PGF/TikZ Manual, Version 3.1.10 (2023).
  4. Li, X. (2018). Yin-Yang Theory and Its Mathematical Interpretation. Beijing University Press.

Written by: Aan Triono License: CC BY-SA 4.0

Related Content