tangent 75°の図形的計算

三角関数
作者

Ryo Nakagami

公開

2025-02-27

練習 1

tan 75 を求めよ

ノート解1: 加法定理を用いる場合

$$ \begin{align} \tan {45}^\circ &= 1\\ \tan {30}^\circ &= \frac{\sqrt{3}}{3} \end{align} $$

より,加法定理を用いて

$$ \begin{align} \tan {75}^\circ &= \frac{\tan{30}^\circ + \tan{45}^\circ}{1 - \tan{30}^\circ\tan{45}^\circ}\\ &= \frac{1 + \frac{\sqrt{3}}{3}}{1 - \frac{\sqrt{3}}{3}}\\ &= 2 + \sqrt{3} \end{align} $$

ノート解2: 平面幾何的に求める場合

A = 30, ∠B = 90, ∠C = 60ABC を考えたとき,A の斜辺 AC を用いて 直角二等辺三角形 ACD をまず作成します.

この点 D を通るように AB と平行な線を引き,長方形 AEFB を以下のように作成します.

コード
import shapely.plotting
import matplotlib.pyplot as plt
from shapely.geometry import Polygon
import numpy as np

A = (0, 0)
B = (1, 0)
C = (1, np.sin(np.radians(30)))
D = (np.sqrt(2) * np.cos(np.radians(75)), np.sqrt(2) * np.sin(np.radians(75)))
E = (0, np.sqrt(2) * np.sin(np.radians(75)))
F = (1, np.sqrt(2) * np.sin(np.radians(75)))

polygon1 = Polygon([A, B, C])
polygon2 = Polygon([A, C, D])
polygon3 = Polygon([A, E, D])
polygon4 = Polygon([C, D, F])

fig, ax = plt.subplots(figsize=(6, 6))

shapely.plotting.plot_polygon(polygon1, ax=ax)
shapely.plotting.plot_polygon(polygon2, alpha=0.5, facecolor='none', ax=ax)
shapely.plotting.plot_polygon(polygon3, alpha=0.5, facecolor='red', ax=ax)
shapely.plotting.plot_polygon(polygon4, ax=ax)

# 軸の範囲を設定
plt.xlim(-0.1, 1.45)
plt.ylim(-0.1, 1.45)

# add label
plt.text(A[0], A[1] - 0.05, 'A')
plt.text(B[0]+0.02, B[1] - 0.05, 'B')
plt.text(C[0]+0.02, C[1], 'C')
plt.text(D[0], D[1] + 0.02, 'D')
plt.text(E[0], E[1] + 0.02, 'E')
plt.text(F[0], F[1] + 0.02, 'F')

# Add Angles
ax.text(A[0] + 0.06, A[1], f"{30}°", fontsize=10)
ax.text(A[0] + 0.06, A[1] + 0.1, f"{45}°", fontsize=10)
ax.text(B[0] - 0.09, B[1], f"{90}°", fontsize=10)
ax.text(C[0] - 0.1, C[1], f"{90}°", fontsize=10)
ax.text(C[0] - 0.1, C[1] + 0.14, f"{30}°", fontsize=10)
ax.text(C[0] - 0.1, C[1] - 0.1, f"{60}°", fontsize=10)

# Add length
ax.text(0.5, -0.08, "$\sqrt{3}$", fontsize=12, color="black", horizontalalignment="center")
ax.text(0.5, 0.3, "2", fontsize=12, color="black", horizontalalignment="center")
ax.text(0.5, 1.0, "2", fontsize=12, color="black", horizontalalignment="center")
ax.text(1.05, 0.2, "1", fontsize=12, color="black", horizontalalignment="left")
ax.text(1.05, 1.0, "$\sqrt{3}$", fontsize=12, color="black", horizontalalignment="left")
ax.text((D[0] + F[0])/2, 1.37,  "1", fontsize=12, color="black", horizontalalignment="center")
ax.text((D[0] + E[0])/2, 1.37,  "$\sqrt{3} - 1$", fontsize=12, color="black", horizontalalignment="center")


plt.show()
<>:46: SyntaxWarning: invalid escape sequence '\s'
<>:50: SyntaxWarning: invalid escape sequence '\s'
<>:52: SyntaxWarning: invalid escape sequence '\s'
<>:46: SyntaxWarning: invalid escape sequence '\s'
<>:50: SyntaxWarning: invalid escape sequence '\s'
<>:52: SyntaxWarning: invalid escape sequence '\s'
/tmp/ipykernel_4782/1066725690.py:46: SyntaxWarning: invalid escape sequence '\s'
  ax.text(0.5, -0.08, "$\sqrt{3}$", fontsize=12, color="black", horizontalalignment="center")
/tmp/ipykernel_4782/1066725690.py:50: SyntaxWarning: invalid escape sequence '\s'
  ax.text(1.05, 1.0, "$\sqrt{3}$", fontsize=12, color="black", horizontalalignment="left")
/tmp/ipykernel_4782/1066725690.py:52: SyntaxWarning: invalid escape sequence '\s'
  ax.text((D[0] + E[0])/2, 1.37,  "$\sqrt{3} - 1$", fontsize=12, color="black", horizontalalignment="center")

図 1

このとき, CFD ≡ △ABC なので

  • $AE = 1 + \sqrt{3}$
  • $DE = \sqrt{3} - 1$

であることがわかります.ACD は直角二等辺三角形なので ADC = 45.従って,

ADE = 75

よって,

$$ \begin{align} \tan{75}^\circ &= \frac{1 + \sqrt{3}}{\sqrt{3} - 1} \\ &= \frac{4 + 2\sqrt{3}}{2}\\ &= 2 + \sqrt{3} \end{align} $$