Sangakus

Sangaku or San Gaku are colorful wooden tablets which were hung often in shinto shrines and sometimes in buddhist temples in Japan and posing typical and elegant mathematical problems. The problems featured on the sangaku are problems of japanese mathematics (wasan). The earliest sangaku found date back to the beginning of the 17th century.

Example 1


[PDF] [TEX]
\documentclass[border=10]{standalone}
\usepackage{tkz-euclide} 

\begin{document}

\begin{tikzpicture}[scale = 1.75]
   \tkzInit[xmax = 8,ymax=8] \tkzClip
   \tkzDefPoint(0,0){B} 
   \tkzDefPoint(0,8){A} 
   \tkzDefSquare(A,B)
   \tkzGetPoints{C}{D}
   \tkzDrawSquare(A,B)
   \tkzClipPolygon(A,B,C,D)
   \tkzDefPoint(4,8){F}
   \tkzDefPoint(4,0){E}
   \tkzDefPoint(4,4){Q}
   \tkzFillPolygon[color = green](A,B,C,D)
   \tkzDrawCircle[fill = orange](B,A)
   \tkzDrawCircle[fill = purple](E,B)  
   \tkzTgtFromP(F,A)(B)
   \tkzInterLL(F,tkzFirstPointResult)(C,D)
   \tkzInterLL(A,tkzPointResult)(F,E) 
   \tkzDrawCircle[fill = yellow](tkzPointResult,Q)  
   \tkzDefPointBy[projection= onto B--A](tkzPointResult)
   \tkzDrawCircle[fill = blue!50!black](tkzPointResult,A)
\end{tikzpicture}

\end{document}

Example 2

Example 2.

[PDF] [TEX]
\documentclass[border=10]{standalone}
\usepackage{tkz-euclide} 

\begin{document}

\begin{tikzpicture}[scale = 1.5]
 \tkzInit[xmax = 8,ymax=8] \tkzClip
 \tkzDefPoint(0,0){B} \tkzDefPoint(8,0){C}
 \tkzDefPoint(0,8){A} \tkzDefPoint(8,8){D}
 \tkzDefSquare(B,C)   \tkzGetPoints{D}{A}
 \tkzDrawPolygon(B,C,D,A)
 \tkzClipPolygon(A,B,C,D) 
 \tkzFillPolygon[color = blue!50!black](A,B,C,D)
 \tkzDefTriangle[equilateral](B,C) \tkzGetPoint{M}
 \tkzFillPolygon[color = purple](B,C,M)
 \tkzInterLL(D,M)(A,B)   \tkzGetPoint{N}
 \tkzDefPointBy[rotation=center N angle -60](D) 
 \tkzGetPoint{L}
 \tkzDefLine[bisector](C,B,M) \tkzGetPoint{x}
 \tkzDefLine[bisector](N,L,B) \tkzGetPoint{y}
 \tkzInterLL(L,y)(B,x)  \tkzGetPoint{H}
 \tkzDefLine[bisector](M,C,D)  \tkzGetPoint{u}
 \tkzDefLine[bisector](L,D,C)   \tkzGetPoint{v}
 \tkzDefPointBy[projection=onto C--B](H) \tkzGetPoint{I}
 \tkzFillPolygon[color = orange,opacity = .5](D,N,L) 
 \tkzFillCircle[color = yellow](H,I)
 \tkzInterLL(C,u)(D,v)  \tkzGetPoint{K}
 \tkzDefPointBy[projection=onto C--D](K) \tkzGetPoint{J}
 \tkzDefPointBy[projection=onto B--C](M) \tkzGetPoint{E}
 \tkzFillCircle[color = yellow](K,J) 
\end{tikzpicture}


\end{document}