首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> TeX >> PGF
Questions in category: PGF (PGF).

[TikZ]三阶行列式的对角线法则

Posted by haifeng on 2011-08-19 22:01:08 last update 2011-08-19 22:01:08 | Answers (0)


\documentclass{article}

\usepackage{tikz}
\begin{document}

\begin{tikzpicture}%[scale=3]
\draw[very thick] (-1.5,1.5) -- (-1.5,-1.5);
\draw[very thick] (1.5,1.5) -- (1.5,-1.5);
%-----------------------------
\draw[blue] (-1,1) -- (2,-1.6);
\draw[blue] (0,1) -- (1.5,-0.5);
\draw[blue] (1,1) -- (2,0);
\draw[blue] (-1,0) -- (0.5,-1.5);
\draw[blue] (-1,-1) -- (0,-2);
\draw[blue,rotate=45](1.414,-1.414) arc (360:180:1.06 and 0.5);
\draw[blue,rotate=45](-1.414,-1.414) arc (180:360:1.06 and 0.5);
%-----------------------------
\draw[red,dashed] (1,1) -- (-2,-1.6);
\draw[red,dashed] (0,1) -- (-1.5,-0.5);
\draw[red,dashed] (-1,1) -- (-2,0);
\draw[red,dashed] (1,0) -- (-0.5,-1.5);
\draw[red,dashed] (1,-1) -- (0,-2);
\draw[red,dashed,rotate=45](-1.414,1.414) arc (90:270:0.5 and 1.06);
\draw[red,dashed,rotate=45](-1.414,-1.414) arc (270:90:0.5 and 1.06);
%-----------------------------
\path (-1,1) node [fill=white]{\color{orange} $a_{11}$}
       (0,1) node [fill=white]{\color{orange} $a_{12}$}
       (1,1) node [fill=white]{\color{orange} $a_{13}$}
      (-1,0) node [fill=white]{\color{orange} $a_{21}$}
       (0,0) node [fill=white]{\color{orange} $a_{22}$}
       (1,0) node [fill=white]{\color{orange} $a_{23}$}
     (-1,-1) node [fill=white]{\color{orange} $a_{31}$}
      (0,-1) node [fill=white]{\color{orange} $a_{32}$}
      (1,-1) node [fill=white]{\color{orange} $a_{33}$};

\end{tikzpicture}

\end{document}