線が予想どおりに接していない

線が予想どおりに接していない

を中心とする 2 つの同心円をO描きました。大きい方の円の弦LMと は、MN小さい方の円に および で接していますS。とTの寸法は合同で、 の寸法は 80 度です。点のべき乗定理によれば、小さい方の円の半径が、、 の場合、angle{SOM}angle{TOM}r|OM| = r + x|MS| = |MT| = y

y² = x(x + 2r)

したがって、 および の場合、r = 3/4となりますx = 3/2。は と合同なy = (3*sqrt{2})/2ので、は を二等分します。triangle{LOM}triangle{NOM}OMangle{M}

angle{LMO} = angle{SMO} = 180 - (80 + 90) = 10

そして

angle{NMO} = angle{TMO} = 180 - (80 + 90) = 10

これをすべて次の図にコード化しました。弦がとTikZで小さい方の円に接しないのはなぜですか?ST

\documentclass{amsart}
\usepackage{tikz}

\usetikzlibrary{calc,intersections}


\begin{document}

\begin{tikzpicture}

%Two concentric circles are drawn.
%
\coordinate (O) at (0,0);
\draw[fill] (O) circle (1.5pt);
\draw (O) circle (3/4);
\draw (O) circle (9/4);
%
\coordinate (S) at (100:3/4);
\draw[fill] (S) circle (1.5pt);
\coordinate (T) at (-100:3/4);
\draw[fill] (T) circle (1.5pt);
%
\coordinate (M) at (-9/4,0);
%
\coordinate (L) at ($(M) +(20:{3*sqrt(2)})$);
\coordinate (N) at ($(M) +(-20:{3*sqrt(2)})$);
%
\draw (M) -- (L);
\draw (M) -- (N);

%The labels for the points are typeset.
\path node[anchor=west, inner sep=0, font=\footnotesize] at ($(O) +(0.15,0)$){$O$};
\path node[anchor=east, inner sep=0, font=\footnotesize] at ($(M) +(-0.15,0)$){$M$};
\path node[anchor={20+180}, inner sep=0, font=\footnotesize] at ($(L) +(20:0.15)$){$L$};
\path node[anchor={-20+180}, inner sep=0, font=\footnotesize] at ($(N) +(-20:0.15)$){$N$};
\path node[anchor={80-180}, inner sep=0, font=\footnotesize] at ($(S) +(80:0.15)$){$S$};
\path node[anchor={-80+180}, inner sep=0, font=\footnotesize] at ($(T) +(-80:0.15)$){$T$};

\end{tikzpicture}

\end{document}

ここに画像の説明を入力してください

答え1

接線を求める場合、角度 SOM と TOM の開始マジックナンバー 80° は間違っています。接点 S に 1 つの直交角を持つ三角形 OSM を見ると、角度は簡単に計算できます (結果は約 70.5° です)。

また、原点 O を持つ極座標として L と N の座標を計算します。これも、接点 S で直交角を持つ三角形 OLS を調べることで実行できます。

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{calc}

\begin{document}
\begin{tikzpicture}

\pgfmathsetmacro\BigRadius{9/4}
\pgfmathsetmacro\SmallRadius{3/4}
% \Angle is the angle part of the polar coordinate of S with origin O
% 180 - acos(\SmallRadius/\BigRadius} = 109.47102
\pgfmathsetmacro\Angle{180 - acos(1/3)}
\pgfmathsetmacro\AngleTwo{2*\Angle - 180}

% Coordinates
\path
  coordinate (O) at (0, 0)
  coordinate (S) at (\Angle:\SmallRadius)
  coordinate (T) at (-\Angle:\SmallRadius)
  coordinate (M) at (-\BigRadius, 0)
  coordinate (L) at (\AngleTwo:\BigRadius)
  coordinate (N) at (-\AngleTwo:\BigRadius)
;

% Two concentric circles and lines
\draw[line join=bevel]
  (O) circle[radius=\SmallRadius]
  (O) circle[radius=\BigRadius]
  (L) -- (M) -- (N)
;

% Points
\fill[radius=1.5pt]
  \foreach \p in {O, S, T, M, L, N} { (\p) circle[] }
;

% The labels
\path[inner sep=0pt, node font=\footnotesize]
  node[anchor=west] at ($(O) +(0.1,0)$){$O$}
  node[anchor=east] at ($(M) +(-0.15,0)$){$M$}
  node[anchor={\AngleTwo+180}] at ($(L) +(20:0.15)$){$L$}
  node[anchor={-\AngleTwo+180}] at ($(N) +(-20:0.15)$){$N$}
  node[anchor={\Angle-180}] at ($(S) +(80:0.15)$){$S$}
  node[anchor={-\Angle+180}] at ($(T) +(-80:0.15)$){$T$}
;
\end{tikzpicture}
\end{document}

結果

大きな半径と角度が与えられている

小さな半径は直角三角形 MSO で計算できます。上記の例ではマクロを使用しているため、 と のマクロ定義のみを\Angle変更\SmallRadiusする必要があります。

\def\Angle{100}
\pgfmathsetmacro\BigRadius{9/4}
% \Angle is the angle part of the polar coordinate of S with origin O
% Then the small radius can be calculated:
% \SmallRadius = \BigRadius * cos(180 - \Angle) = 0.3907
\pgfmathsetmacro\SmallRadius{\BigRadius * cos(180 - \Angle)}
\pgfmathsetmacro\AngleTwo{2*\Angle - 180}

角度100の結果

答え2

以下は私の投稿のコードの編集版です。Heiko Oberdiek が見つけた計算のエラーを修正しました。

\documentclass{amsart}
\usepackage{tikz}

\usetikzlibrary{calc,intersections}


\begin{document}


\begin{tikzpicture}

%Two concentric circles are drawn. $\angle{LMN}$ is an angle inscribed in the bigger circle; its measure is
%20 degrees. The chords are tangent to the smaller circle at S and T. $\triangle{OSM}$ and $\triangle{OTM}$
%are congruent, right triangles. So, OM bisects $\angle{LMN}$, and $\angle{LMO}$ and $\angle{NMO}$ both
%have measure 10 degrees.
%
%r is the radius of the smaller circle. According to the Law of Sines, |OM| = r/sin(10). By the Pythagorean Theorem,
%|MS| = |MT| = (r/sin(10))sqrt{1-sin^{2}(10)} = r*cot(10).
%
\coordinate (O) at (0,0);
\draw[fill] (O) circle (1.5pt);
\draw (O) circle (1);
\draw (O) circle ({cot(10)});
%
\coordinate (S) at (100:1);
\draw[fill] (S) circle (1.5pt);
\coordinate (T) at (-100:1);
\draw[fill] (T) circle (1.5pt);
%
\coordinate (M) at ({-cot(10)},0);
%
\coordinate (L) at ($(M) +(10:{2*cot(10)})$);
\coordinate (N) at ($(M) +(-10:{2*cot(10)})$);
%
\draw (M) -- (L);
\draw (M) -- (N);

%The labels for the points are typeset.
\path node[anchor=west, inner sep=0, font=\footnotesize] at ($(O) +(0.15,0)$){$O$};
\path node[anchor=east, inner sep=0, font=\footnotesize] at ($(M) +(-0.15,0)$){$M$};
\path let \p1=($(L)-(M)$), \n1={atan(\y1/\x1)} in node[anchor={\n1+180}, inner sep=0, font=\footnotesize] at ($(L) +({\n1}:0.15)$){$L$};
\path let \p1=($(M)-(N)$), \n1={atan(\y1/\x1)} in node[anchor={\n1+180}, inner sep=0, font=\footnotesize] at ($(N) +({\n1}:0.15)$){$N$};
\path node[anchor={80-180}, inner sep=0, font=\footnotesize] at ($(S) +(80:0.15)$){$S$};
\path node[anchor={-80+180}, inner sep=0, font=\footnotesize] at ($(T) +(-80:0.15)$){$T$};

\end{tikzpicture}

\end{document}

ここに画像の説明を入力してください

関連情報