动机
三角运算是否可靠,取决于每一步的逻辑地位是否清楚。恒等式 表示两个表达式在声明的共同定义域内处处相等;方程 则要求找出定义域内使两边相等的输入。恒等式可以改写方程,但解出若干根并不能证明一个恒等式。
定义域也是结论的一部分。例如 1 + tan 2 θ = sec 2 θ 1+\tan^2\theta=\sec^2\theta 1 + tan 2 θ = sec 2 θ 只在
cos θ ≠ 0 \cos\theta\ne0 cos θ = 0 时有意义。分母不为零的限制若没有先写下,清分母、约分或除法就可能增根或漏根。因此,完整解答应先列原方程的定义域,标明每次变形是双向等价还是只产生候选根,再写出全部周期解族,最后回到原式验根。
几何把这些规则连在一起:弧度描述有方向的转动,单位圆终点给出带符号的正弦与余弦坐标;反射产生对称,重复转动产生周期,圆方程产生勾股恒等式。反三角函数只选一个主值,真正的通解还要结合对称性与周期性。
方程及其定义域
设 D D D 是允许的实数输入集合。方程 F ( x ) = G ( x ) F(x)=G(x) F ( x ) = G ( x ) 的解集为
S = { x ∈ D : F ( x ) = G ( x ) } . S=\{x\in D:F(x)=G(x)\}. S = { x ∈ D : F ( x ) = G ( x )} . 若对每个 x ∈ D x\in D x ∈ D ,只要 F ( x ) F(x) F ( x ) 与 G ( x ) G(x) G ( x ) 都有定义便有
F ( x ) = G ( x ) F(x)=G(x) F ( x ) = G ( x ) ,便称它是在 D D D 上的恒等式。含有商、正切、余切、正割或余割时,定义域条件不能省略。
若两个方程在 D D D 中有完全相同的解集,便称它们在 D D D 上等价。使用共同定义域上的恒等式、两边加减同一个有定义的量,或乘除一个已经证明不为零的量,都会保持等价。平方或乘以可能为零的式子通常只能推出候选根;除以可能为零的式子则会丢掉一种情形,必须分类。
计算时保留原方程的定义域,并在需要时写出逆向推理的条件。化简后的式子可能不再显示原来的零分母;一个被排除的角也可能代表整族周期角。因此,候选解必须同时满足原来的定义域限制和原方程。
固定定义域 D D D 。用在 D D D 上成立的恒等式改写、两边加减同一个有定义的量,以及乘除一个已知不为零的量,都保持解集不变。若某一步只有单向蕴含,所得结果必须称为候选集,并代回原方程检验。
反例模式
平方不是保持等价的步骤 一个常见的想法是:把 sin x + cos x = 1 \sin x+\cos x=1 sin x + cos x = 1 两边平方,解集不会改变。平方后得 1 + sin 2 x = 1 1+\sin2x=1 1 + sin 2 x = 1 ,即 sin 2 x = 0 \sin2x=0 sin 2 x = 0 ,故 x = n π / 2 x=n\pi/2 x = nπ /2 。检验一整圈内的候选值:x = 0 x=0 x = 0 与 x = π / 2 x=\pi/2 x = π /2 给出 1 1 1 ,但 x = π x=\pi x = π 与 x = 3 π / 2 x=3\pi/2 x = 3 π /2 给出 − 1 -1 − 1 。平方后的方程同时吸收了 sin x + cos x = − 1 \sin x+\cos x=-1 sin x + cos x = − 1 。修正正是上面的规则:平方后的方程只提供候选解,逐一检验后只剩 x = 2 n π x=2n\pi x = 2 nπ 或 x = π / 2 + 2 n π x=\pi/2+2n\pi x = π /2 + 2 nπ 。
转动、坐标与单位圆恒等式
半径 r > 0 r\gt0 r > 0 的圆上,若圆心角截得的有向弧位移为 s s s ,则其带符号弧度为
θ = s r . \theta=\frac{s}{r}. θ = r s . 逆时针为正,顺时针为负;一周为 2 π 2\pi 2 π ,所以
π 弧度 = 180 ∘ , 1 ∘ = π 180 弧度 . \pi\text{ 弧度}=180^\circ,
\qquad
1^\circ=\frac{\pi}{180}\text{ 弧度}. π 弧度 = 18 0 ∘ , 1 ∘ = 180 π 弧度 . 在有向约定下,s = r θ s=r\theta s = r θ 是有向弧位移,
A signed = 1 2 r 2 θ A_{\text{signed}}=\tfrac12r^2\theta A signed = 2 1 r 2 θ 是带符号的扫过面积。相应的非负总行程弧长与扫过面积分别为 r ∣ θ ∣ r|\theta| r ∣ θ ∣ 与
1 2 r 2 ∣ θ ∣ \tfrac12r^2|\theta| 2 1 r 2 ∣ θ ∣ 。当 ∣ θ ∣ > 2 π |\theta|\gt2\pi ∣ θ ∣ > 2 π 时,它们会把重复转动按次数累计,而不是描述一个简单扇形区域的边界长度或面积。
角的顶点在原点且始边沿正 x x x 轴时,称为标准位置角 。除非另有说明,本节所有角都用弧度表示,并允许任意大小的正、负转动。
角 θ \theta θ 的终边与半径为 r r r 的圆交于 P ( x , y ) P(x,y) P ( x , y ) ,其中
r = x 2 + y 2 r=\sqrt{x^2+y^2} r = x 2 + y 2 。定义
sin θ = y r , cos θ = x r , tan θ = y x , \sin\theta=\frac yr,\qquad
\cos\theta=\frac xr,\qquad
\tan\theta=\frac yx, sin θ = r y , cos θ = r x , tan θ = x y , 以及
csc θ = r y , sec θ = r x , cot θ = x y . \csc\theta=\frac ry,\qquad
\sec\theta=\frac rx,\qquad
\cot\theta=\frac xy. csc θ = y r , sec θ = x r , cot θ = y x . 每个商都要求分母不为零。在单位圆上,终点就是
( cos θ , sin θ ) (\cos\theta,\sin\theta) ( cos θ , sin θ ) 。
所选标准角的函数值为
对半径 r > 0 r\gt0 r > 0 与带符号角 θ \theta θ ,
s = r θ , A signed = 1 2 r 2 θ . s=r\theta,
\qquad
A_{\text{signed}}=\frac12r^2\theta. s = r θ , A signed = 2 1 r 2 θ . 单位圆终点是 ( cos θ , sin θ ) (\cos\theta,\sin\theta) ( cos θ , sin θ ) ;象限决定符号,参考角决定绝对值。
证明: 弧度为何给出弧与有向面积
带符号角 θ \theta θ 占整周的比例是 θ / ( 2 π ) \theta/(2\pi) θ / ( 2 π ) 。乘圆周长
2 π r 2\pi r 2 π r 得 s = r θ s=r\theta s = r θ ,乘圆面积 π r 2 \pi r^2 π r 2 得
A signed = 1 2 r 2 θ A_{\text{signed}}=\tfrac12r^2\theta A signed = 2 1 r 2 θ 。顺时针扫过时,这些带符号量为负;取绝对值得到总行程弧长与非负扫过面积,并按次数累计重复转动。
对任意实数 θ \theta θ ,
sin ( − θ ) = − sin θ , cos ( − θ ) = cos θ , \sin(-\theta)=-\sin\theta,
\qquad
\cos(-\theta)=\cos\theta, sin ( − θ ) = − sin θ , cos ( − θ ) = cos θ , sin ( π − θ ) = sin θ , cos ( π − θ ) = − cos θ , \sin(\pi-\theta)=\sin\theta,
\qquad
\cos(\pi-\theta)=-\cos\theta, sin ( π − θ ) = sin θ , cos ( π − θ ) = − cos θ , sin ( π + θ ) = − sin θ , cos ( π + θ ) = − cos θ , \sin(\pi+\theta)=-\sin\theta,
\qquad
\cos(\pi+\theta)=-\cos\theta, sin ( π + θ ) = − sin θ , cos ( π + θ ) = − cos θ , 余函数关系为
sin ( π 2 − θ ) = cos θ , cos ( π 2 − θ ) = sin θ , \sin\left(\frac\pi2-\theta\right)=\cos\theta,
\qquad
\cos\left(\frac\pi2-\theta\right)=\sin\theta, sin ( 2 π − θ ) = cos θ , cos ( 2 π − θ ) = sin θ , sin ( π 2 + θ ) = cos θ , cos ( π 2 + θ ) = − sin θ . \sin\left(\frac\pi2+\theta\right)=\cos\theta,
\qquad
\cos\left(\frac\pi2+\theta\right)=-\sin\theta. sin ( 2 π + θ ) = cos θ , cos ( 2 π + θ ) = − sin θ . sin ( θ + 2 π ) = sin θ , cos ( θ + 2 π ) = cos θ . \sin(\theta+2\pi)=\sin\theta,
\qquad
\cos(\theta+2\pi)=\cos\theta. sin ( θ + 2 π ) = sin θ , cos ( θ + 2 π ) = cos θ . 在两边都有定义时,tan ( − θ ) = − tan θ \tan(-\theta)=-\tan\theta tan ( − θ ) = − tan θ 、
tan ( π − θ ) = − tan θ \tan(\pi-\theta)=-\tan\theta tan ( π − θ ) = − tan θ 、tan ( θ + π ) = tan θ \tan(\theta+\pi)=\tan\theta tan ( θ + π ) = tan θ ;两个余函数正切值分别为 cot θ \cot\theta cot θ 与 − cot θ -\cot\theta − cot θ ,同样要保留共同定义域。这组关系把任意带符号转角化到参考角,同时保留象限所决定的符号。正割、余割的周期是 2 π 2\pi 2 π ,余切的周期是 π \pi π ,也都只在各自定义域内陈述。
对所有实数 θ \theta θ ,
sin 2 θ + cos 2 θ = 1. \sin^2\theta+\cos^2\theta=1. sin 2 θ + cos 2 θ = 1. 当 cos θ ≠ 0 \cos\theta\ne0 cos θ = 0 时,
1 + tan 2 θ = sec 2 θ ; 1+\tan^2\theta=\sec^2\theta; 1 + tan 2 θ = sec 2 θ ; 当 sin θ ≠ 0 \sin\theta\ne0 sin θ = 0 时,
1 + cot 2 θ = csc 2 θ . 1+\cot^2\theta=\csc^2\theta. 1 + cot 2 θ = csc 2 θ .
证明: 单位圆如何给出对称、周期与勾股关系
角 θ \theta θ 的点为 ( cos θ , sin θ ) (\cos\theta,\sin\theta) ( cos θ , sin θ ) 。关于 x x x 轴反射便是
− θ -\theta − θ ,转一周回到同一点,转半周使两个坐标同时变号,所以
y / x y/x y / x 在有定义时保持不变。单位圆方程 x 2 + y 2 = 1 x^2+y^2=1 x 2 + y 2 = 1 给出第一条勾股恒等式;再除以 cos 2 θ \cos^2\theta cos 2 θ 或 sin 2 θ \sin^2\theta sin 2 θ 时,必须保留相应的非零条件。
例题 1.1.8
(1. 带符号弧度、坐标、弧与面积)
把 − 45 ∘ -45^\circ − 4 5 ∘ 化为弧度:
− 45 ∘ = − 45 π 180 = − π 4 . -45^\circ=-45\frac{\pi}{180}=-\frac\pi4. − 4 5 ∘ = − 45 180 π = − 4 π . 单位圆终点为 ( 2 / 2 , − 2 / 2 ) (\sqrt2/2,-\sqrt2/2) ( 2 /2 , − 2 /2 ) 。若半径为 3 3 3 ,则
s = − 3 π 4 , A signed = − 9 π 8 . s=-\frac{3\pi}{4},
\qquad
A_{\text{signed}}=-\frac{9\pi}{8}. s = − 4 3 π , A signed = − 8 9 π . 普通弧长与扇形面积分别是 3 π / 4 3\pi/4 3 π /4 、9 π / 8 9\pi/8 9 π /8 ;负号只记录顺时针方向,并非物理面积为负。
角的相加与相减
对任意实数 α , β \alpha,\beta α , β ,
sin ( α ± β ) = sin α cos β ± cos α sin β , \sin(\alpha\mathbin{\pm}\beta)
=\sin\alpha\cos\beta\mathbin{\pm}\cos\alpha\sin\beta, sin ( α ± β ) = sin α cos β ± cos α sin β , cos ( α ± β ) = cos α cos β ∓ sin α sin β . \cos(\alpha\mathbin{\pm}\beta)
=\cos\alpha\cos\beta\mathbin{\mp}\sin\alpha\sin\beta. cos ( α ± β ) = cos α cos β ∓ sin α sin β . 正切公式为
tan ( α ± β ) = tan α ± tan β 1 ∓ tan α tan β , \tan(\alpha\mathbin{\pm}\beta)
=\frac{\tan\alpha\mathbin{\pm}\tan\beta}
{1\mathbin{\mp}\tan\alpha\tan\beta}, tan ( α ± β ) = 1 ∓ tan α tan β tan α ± tan β , 但只在 tan α \tan\alpha tan α 、tan β \tan\beta tan β 与
tan ( α ± β ) \tan(\alpha\mathbin{\pm}\beta) tan ( α ± β ) 都有定义的共同定义域成立;此时右边分母也必定不为零。
证明: 由余弦差角公式生成和差角公式
在单位圆上取
A = ( cos α , sin α ) A=(\cos\alpha,\sin\alpha) A = ( cos α , sin α ) 、B = ( cos β , sin β ) B=(\cos\beta,\sin\beta) B = ( cos β , sin β ) ,并以
ϕ ∈ [ 0 , π ] \phi\in[0,\pi] ϕ ∈ [ 0 , π ] 表示 O A OA O A 与 O B OB O B 之间的较小夹角。有向角差
α − β \alpha-\beta α − β 模 2 π 2\pi 2 π 后等于 ϕ \phi ϕ 或 − ϕ -\phi − ϕ ;由余弦的偶对称性与周期性,cos ϕ = cos ( α − β ) \cos\phi=\cos(\alpha-\beta) cos ϕ = cos ( α − β ) 。因此余弦定理给出
A B 2 = 2 − 2 cos ( α − β ) , AB^2=2-2\cos(\alpha-\beta), A B 2 = 2 − 2 cos ( α − β ) ,
坐标距离公式则给出
A B 2 = 2 − 2 cos α cos β − 2 sin α sin β . AB^2=2-2\cos\alpha\cos\beta-2\sin\alpha\sin\beta. A B 2 = 2 − 2 cos α cos β − 2 sin α sin β .
比较两式即得余弦差角公式。以 − β -\beta − β 代替 β \beta β ,再用对称关系,可得余弦和角公式;余函数关系给出正弦公式。用正弦式除以对应余弦式可得正切公式,但除法前要声明所有相关余弦不为零。
证明透视
同一条弦,量两次 整个证明把同一条线段 A B AB A B 用两种方法度量。余弦定理只看两条半径之间的夹角,所以结果只依赖 α − β \alpha-\beta α − β ;距离公式看的是坐标,所以结果含有 cos α , sin α , cos β , sin β \cos\alpha,\sin\alpha,\cos\beta,\sin\beta cos α , sin α , cos β , sin β 四个值。偶对称性与周期性只用了一次,作用是让 α − β \alpha-\beta α − β 的方向变得无关紧要。若 A A A 与 B B B 重合或互为对径点,就没有三角形,但弦长公式仍可直接验证,因为此时 A B AB A B 为 0 0 0 或 2 2 2 。此后的推导都只是代换;只有正切这一步需要新的假设。
利用和差角公式求 sin 15 ∘ \sin15^\circ sin 1 5 ∘ 的精确值。因为 15 ∘ = 45 ∘ − 30 ∘ 15^\circ=45^\circ-30^\circ 1 5 ∘ = 4 5 ∘ − 3 0 ∘ ,
sin 15 ∘ = sin 45 ∘ cos 30 ∘ − cos 45 ∘ sin 30 ∘ = 2 2 3 2 − 2 2 1 2 = 6 − 2 4 . \begin{aligned}
\sin15^\circ
&=\sin45^\circ\cos30^\circ-\cos45^\circ\sin30^\circ\\
&=\frac{\sqrt2}{2}\frac{\sqrt3}{2}
-\frac{\sqrt2}{2}\frac12
=\frac{\sqrt6-\sqrt2}{4}.
\end{aligned} sin 1 5 ∘ = sin 4 5 ∘ cos 3 0 ∘ − cos 4 5 ∘ sin 3 0 ∘ = 2 2 2 3 − 2 2 2 1 = 4 6 − 2 . 结果为正,也与第一象限的小角相符。
设 A , B , C A,B,C A , B , C 为三角形内角,并假设三个正切都有定义。由
A + B + C = π A+B+C=\pi A + B + C = π ,
tan C = − tan ( A + B ) = − tan A + tan B 1 − tan A tan B . \tan C=-\tan(A+B)
=-\frac{\tan A+\tan B}{1-\tan A\tan B}. tan C = − tan ( A + B ) = − 1 − tan A tan B tan A + tan B . 共同定义域排除了直角情形,也保证分母不为零。整理得
tan A + tan B + tan C = tan A tan B tan C . \tan A+\tan B+\tan C=\tan A\tan B\tan C. tan A + tan B + tan C = tan A tan B tan C . 若不写定义域,这句话会错误地看似包含正切无定义的直角三角形。
由和差角公式生成其他恒等式
证明: 倍角、积与和差公式之间的推导链
在和角公式中令 β = α \beta=\alpha β = α 即得倍角公式。把正弦的和角、差角公式相加或相减,可分别分离 2 sin α cos β 2\sin\alpha\cos\beta 2 sin α cos β 与
2 cos α sin β 2\cos\alpha\sin\beta 2 cos α sin β ;对余弦公式做同样处理便得另外两个积化和差公式。反过来令 α = ( A + B ) / 2 \alpha=(A+B)/2 α = ( A + B ) /2 、β = ( A − B ) / 2 \beta=(A-B)/2 β = ( A − B ) /2 ,便得到四条和差化积公式。
对任意实数 α \alpha α ,
sin 2 α = 2 sin α cos α , \sin2\alpha=2\sin\alpha\cos\alpha, sin 2 α = 2 sin α cos α , cos 2 α = cos 2 α − sin 2 α = 2 cos 2 α − 1 = 1 − 2 sin 2 α . \cos2\alpha=\cos^2\alpha-\sin^2\alpha
=2\cos^2\alpha-1=1-2\sin^2\alpha. cos 2 α = cos 2 α − sin 2 α = 2 cos 2 α − 1 = 1 − 2 sin 2 α . 此外
tan 2 α = 2 tan α 1 − tan 2 α \tan2\alpha=\frac{2\tan\alpha}{1-\tan^2\alpha} tan 2 α = 1 − tan 2 α 2 tan α 只在 tan α \tan\alpha tan α 与 tan 2 α \tan2\alpha tan 2 α 都有定义时成立,右边分母也须非零。
对任意实数 α , β \alpha,\beta α , β ,
sin α cos β = 1 2 { sin ( α + β ) + sin ( α − β ) } , \sin\alpha\cos\beta
=\frac12\{\sin(\alpha+\beta)+\sin(\alpha-\beta)\}, sin α cos β = 2 1 { sin ( α + β ) + sin ( α − β )} , cos α sin β = 1 2 { sin ( α + β ) − sin ( α − β ) } , \cos\alpha\sin\beta
=\frac12\{\sin(\alpha+\beta)-\sin(\alpha-\beta)\}, cos α sin β = 2 1 { sin ( α + β ) − sin ( α − β )} , sin α sin β = − 1 2 { cos ( α + β ) − cos ( α − β ) } , \sin\alpha\sin\beta
=-\frac12\{\cos(\alpha+\beta)-\cos(\alpha-\beta)\}, sin α sin β = − 2 1 { cos ( α + β ) − cos ( α − β )} , cos α cos β = 1 2 { cos ( α + β ) + cos ( α − β ) } . \cos\alpha\cos\beta
=\frac12\{\cos(\alpha+\beta)+\cos(\alpha-\beta)\}. cos α cos β = 2 1 { cos ( α + β ) + cos ( α − β )} .
对任意实数 A , B A,B A , B ,
sin A + sin B = 2 sin A + B 2 cos A − B 2 , \sin A+\sin B=2\sin\frac{A+B}{2}\cos\frac{A-B}{2}, sin A + sin B = 2 sin 2 A + B cos 2 A − B , sin A − sin B = 2 cos A + B 2 sin A − B 2 , \sin A-\sin B=2\cos\frac{A+B}{2}\sin\frac{A-B}{2}, sin A − sin B = 2 cos 2 A + B sin 2 A − B , cos A + cos B = 2 cos A + B 2 cos A − B 2 , \cos A+\cos B=2\cos\frac{A+B}{2}\cos\frac{A-B}{2}, cos A + cos B = 2 cos 2 A + B cos 2 A − B , cos A − cos B = − 2 sin A + B 2 sin A − B 2 . \cos A-\cos B=-2\sin\frac{A+B}{2}\sin\frac{A-B}{2}. cos A − cos B = − 2 sin 2 A + B sin 2 A − B .
令 t = tan ( θ / 2 ) t=\tan(\theta/2) t = tan ( θ /2 ) 。有限的 t t t 要求
θ ≢ π ( m o d 2 π ) \theta\not\equiv\pi\pmod{2\pi} θ ≡ π ( mod 2 π ) 。倍角与勾股公式给出
sin θ = 2 t 1 + t 2 , cos θ = 1 − t 2 1 + t 2 . \sin\theta=\frac{2t}{1+t^2},
\qquad
\cos\theta=\frac{1-t^2}{1+t^2}. sin θ = 1 + t 2 2 t , cos θ = 1 + t 2 1 − t 2 . 进一步有
tan θ = 2 t 1 − t 2 , \tan\theta=\frac{2t}{1-t^2}, tan θ = 1 − t 2 2 t , 但这还要求 t ≠ ± 1 t\ne\pm1 t = ± 1 。用半角代换解方程时,必须另外检查遗漏的
θ ≡ π ( m o d 2 π ) \theta\equiv\pi\pmod{2\pi} θ ≡ π ( mod 2 π ) ,并保留原方程的所有分母限制。
主值与完整的周期解族
同一个正弦值或余弦值对应无穷多个角,因此这两个函数在整个 R \mathbb R R 上都没有反函数。限制定义域可以选出一个代表角,再用对称性与周期性找回其余解。
把正弦限制在 [ − π / 2 , π / 2 ] [-\pi/2,\pi/2] [ − π /2 , π /2 ] ,余弦限制在 [ 0 , π ] [0,\pi] [ 0 , π ] ,正切限制在
( − π / 2 , π / 2 ) (-\pi/2,\pi/2) ( − π /2 , π /2 ) ,便得到
sin − 1 : [ − 1 , 1 ] ⟶ [ − π / 2 , π / 2 ] , \sin^{-1}:[-1,1]\longrightarrow[-\pi/2,\pi/2], sin − 1 : [ − 1 , 1 ] ⟶ [ − π /2 , π /2 ] , cos − 1 : [ − 1 , 1 ] ⟶ [ 0 , π ] , tan − 1 : R ⟶ ( − π / 2 , π / 2 ) . \cos^{-1}:[-1,1]\longrightarrow[0,\pi],
\qquad
\tan^{-1}:\mathbb R\longrightarrow(-\pi/2,\pi/2). cos − 1 : [ − 1 , 1 ] ⟶ [ 0 , π ] , tan − 1 : R ⟶ ( − π /2 , π /2 ) . 这里的上标 − 1 -1 − 1 表示反函数,不表示倒数;例如 sin − 1 k \sin^{-1}k sin − 1 k 不是
csc k \csc k csc k 。
设 n ∈ Z n\in\mathbb Z n ∈ Z 。若 k ∈ [ − 1 , 1 ] k\in[-1,1] k ∈ [ − 1 , 1 ] 且 α = sin − 1 k \alpha=\sin^{-1}k α = sin − 1 k ,则
sin θ = k ⟺ θ = α + 2 n π 或 θ = π − α + 2 n π . \sin\theta=k
\quad\Longleftrightarrow\quad
\theta=\alpha+2n\pi
\quad\text{或}\quad
\theta=\pi-\alpha+2n\pi. sin θ = k ⟺ θ = α + 2 nπ 或 θ = π − α + 2 nπ . 若 k ∈ [ − 1 , 1 ] k\in[-1,1] k ∈ [ − 1 , 1 ] 且 α = cos − 1 k \alpha=\cos^{-1}k α = cos − 1 k ,则
cos θ = k ⟺ θ = ± α + 2 n π . \cos\theta=k
\quad\Longleftrightarrow\quad
\theta=\mathbin{\pm}\alpha+2n\pi. cos θ = k ⟺ θ = ± α + 2 nπ . 若 k ∈ R k\in\mathbb R k ∈ R 且 α = tan − 1 k \alpha=\tan^{-1}k α = tan − 1 k ,则
tan θ = k ⟺ θ = α + n π . \tan\theta=k
\quad\Longleftrightarrow\quad
\theta=\alpha+n\pi. tan θ = k ⟺ θ = α + nπ . 端点情形中两个正弦或余弦分支可能重合,这只是重复书写。
证明: 通解为何不能只写主值
水平直线与单位圆通常交于两点,其对应角为 α \alpha α 、
π − α \pi-\alpha π − α ,所以正弦有两个代表角,再加整周;竖直直线也交于两点,其对应角为 α \alpha α 、− α -\alpha − α ,所以余弦也有两支。正切表示斜率,转半周后斜率相同,因此只有
α + n π \alpha+n\pi α + nπ 一族。固定主值范围只是选代表角,并未消除周期性。
求解
1 + tan x 1 − tan x = 1 + sin 2 x . \frac{1+\tan x}{1-\tan x}=1+\sin2x. 1 − tan x 1 + tan x = 1 + sin 2 x . 原定义域要求 cos x ≠ 0 \cos x\ne0 cos x = 0 、tan x ≠ 1 \tan x\ne1 tan x = 1 。令 t = tan x t=\tan x t = tan x ,因此
t ≠ 1 t\ne1 t = 1 ,并用 sin 2 x = 2 t / ( 1 + t 2 ) \sin2x=2t/(1+t^2) sin 2 x = 2 t / ( 1 + t 2 ) 。在这些条件下清分母是等价的:
( 1 + t ) ( 1 + t 2 ) = ( 1 − t ) ( 1 + t 2 ) + 2 t ( 1 − t ) , (1+t)(1+t^2)=(1-t)(1+t^2)+2t(1-t), ( 1 + t ) ( 1 + t 2 ) = ( 1 − t ) ( 1 + t 2 ) + 2 t ( 1 − t ) , 所以 2 t 2 ( 1 + t ) = 0 2t^2(1+t)=0 2 t 2 ( 1 + t ) = 0 。两个候选值 t = 0 , − 1 t=0,-1 t = 0 , − 1 都满足原式,故
x = n π 或 x = − π 4 + n π , n ∈ Z . x=n\pi
\quad\text{或}\quad
x=-\frac\pi4+n\pi,
\qquad n\in\mathbb Z. x = nπ 或 x = − 4 π + nπ , n ∈ Z .
例题 1.1.19
(6. 先因式分解,再限制区间)
利用和差化积及 1 + cos x = 2 cos 2 ( x / 2 ) 1+\cos x=2\cos^2(x/2) 1 + cos x = 2 cos 2 ( x /2 ) ,
cos 2 x + 2 cos 3 x + cos 4 x = 2 cos 3 x cos ( − x ) + 2 cos 3 x = 2 cos 3 x ( cos x + 1 ) = 4 cos 3 x cos 2 x 2 . \begin{aligned}
\cos2x+2\cos3x+\cos4x
&=2\cos3x\cos(-x)+2\cos3x\\
&=2\cos3x(\cos x+1)\\
&=4\cos3x\cos^2\frac x2.
\end{aligned} cos 2 x + 2 cos 3 x + cos 4 x = 2 cos 3 x cos ( − x ) + 2 cos 3 x = 2 cos 3 x ( cos x + 1 ) = 4 cos 3 x cos 2 2 x . 因此零点满足 cos 3 x = 0 \cos3x=0 cos 3 x = 0 或 cos ( x / 2 ) = 0 \cos(x/2)=0 cos ( x /2 ) = 0 。第一支为
x = π / 6 + n π / 3 x=\pi/6+n\pi/3 x = π /6 + nπ /3 ,第二支在 [ 0 , 2 π ] [0,2\pi] [ 0 , 2 π ] 添加 x = π x=\pi x = π 。区间内按大小排列的答案是
{ π 6 , π 2 , 5 π 6 , π , 7 π 6 , 3 π 2 , 11 π 6 } . \left\{\frac\pi6,\frac\pi2,\frac{5\pi}6,\pi,
\frac{7\pi}6,\frac{3\pi}2,\frac{11\pi}6\right\}. { 6 π , 2 π , 6 5 π , π , 6 7 π , 2 3 π , 6 11 π } .
合并正弦项与余弦项
实数 a , b a,b a , b 不同时为零时,令 R = a 2 + b 2 R=\sqrt{a^2+b^2} R = a 2 + b 2 。唯一的
α ∈ [ 0 , 2 π ) \alpha\in[0,2\pi) α ∈ [ 0 , 2 π ) 必须同时满足
R cos α = a , R sin α = b , R\cos\alpha=a,
\qquad
R\sin\alpha=b, R cos α = a , R sin α = b , 于是
a sin θ + b cos θ = R sin ( θ + α ) . a\sin\theta+b\cos\theta=R\sin(\theta+\alpha). a sin θ + b cos θ = R sin ( θ + α ) . 当 a ≠ 0 a\ne0 a = 0 时,比值 tan α = b / a \tan\alpha=b/a tan α = b / a 至多确定相差 π \pi π 的两个方向;正确象限由两条带符号的系数方程共同决定。类似地,若
R sin β = a R\sin\beta=a R sin β = a 、R cos β = b R\cos\beta=b R cos β = b ,便有
a sin θ + b cos θ = R cos ( θ − β ) a\sin\theta+b\cos\theta=R\cos(\theta-\beta) a sin θ + b cos θ = R cos ( θ − β ) 。
把 3 sin θ − cos θ \sqrt3\sin\theta-\cos\theta 3 sin θ − cos θ 化为两种辅助角形式。正弦形式要求
R cos α = 3 , R sin α = − 1. R\cos\alpha=\sqrt3,
\qquad
R\sin\alpha=-1. R cos α = 3 , R sin α = − 1. 故 R = 2 R=2 R = 2 ,余弦正而正弦负,α \alpha α 在第四象限,取
α = 11 π / 6 \alpha=11\pi/6 α = 11 π /6 。余弦形式则要求
R sin β = 3 R\sin\beta=\sqrt3 R sin β = 3 、R cos β = − 1 R\cos\beta=-1 R cos β = − 1 ,所以 β \beta β 在第二象限,取 2 π / 3 2\pi/3 2 π /3 。因此
3 sin θ − cos θ = 2 sin ( θ + 11 π 6 ) = 2 cos ( θ − 2 π 3 ) . \sqrt3\sin\theta-\cos\theta
=2\sin\left(\theta+\frac{11\pi}{6}\right)
=2\cos\left(\theta-\frac{2\pi}{3}\right). 3 sin θ − cos θ = 2 sin ( θ + 6 11 π ) = 2 cos ( θ − 3 2 π ) . 只看正切比值无法排除对面象限的角。
因为
3 cos x − sin x = 2 sin ( x + 2 π 3 ) , \sqrt3\cos x-\sin x
=2\sin\left(x+\frac{2\pi}{3}\right), 3 cos x − sin x = 2 sin ( x + 3 2 π ) , 方程 3 cos x − sin x = 1 \sqrt3\cos x-\sin x=1 3 cos x − sin x = 1 化为
sin ( x + 2 π / 3 ) = 1 / 2 \sin(x+2\pi/3)=1/2 sin ( x + 2 π /3 ) = 1/2 。两支分别给出
x + 2 π 3 = π 6 + 2 n π 或 x + 2 π 3 = 5 π 6 + 2 n π , x+\frac{2\pi}{3}=\frac\pi6+2n\pi
\quad\text{或}\quad
x+\frac{2\pi}{3}=\frac{5\pi}{6}+2n\pi, x + 3 2 π = 6 π + 2 nπ 或 x + 3 2 π = 6 5 π + 2 nπ , 即
x = − π 2 + 2 n π 或 x = π 6 + 2 n π . x=-\frac\pi2+2n\pi
\quad\text{或}\quad
x=\frac\pi6+2n\pi. x = − 2 π + 2 nπ 或 x = 6 π + 2 nπ . 代入 x = π / 6 x=\pi/6 x = π /6 可检验第二支:
3 / 2 − 1 / 2 = 1 3/2-1/2=1 3/2 − 1/2 = 1 。
回到原方程检验
求解
8 cos x = 1 cos x − 3 sin x . 8\cos x=\frac1{\cos x}-\frac{\sqrt3}{\sin x}. 8 cos x = cos x 1 − sin x 3 . 先声明 sin x ≠ 0 \sin x\ne0 sin x = 0 、cos x ≠ 0 \cos x\ne0 cos x = 0 。在此定义域乘
sin x cos x \sin x\cos x sin x cos x 是等价变形。整理并用积化和差得
2 sin 2 x cos x = 1 2 sin x − 3 2 cos x , 2\sin2x\cos x=\frac12\sin x-\frac{\sqrt3}{2}\cos x, 2 sin 2 x cos x = 2 1 sin x − 2 3 cos x , sin 3 x + sin x = 1 2 sin x − 3 2 cos x , \sin3x+\sin x=\frac12\sin x-\frac{\sqrt3}{2}\cos x, sin 3 x + sin x = 2 1 sin x − 2 3 cos x , sin 3 x = sin ( x + 4 π 3 ) . \sin3x=\sin\left(x+\frac{4\pi}{3}\right). sin 3 x = sin ( x + 3 4 π ) . 正弦的两支通解给出
x = 2 π 3 + n π 或 x = − π 12 + n π 2 , n ∈ Z . x=\frac{2\pi}{3}+n\pi
\quad\text{或}\quad
x=-\frac\pi{12}+\frac{n\pi}{2},
\qquad n\in\mathbb Z. x = 3 2 π + nπ 或 x = − 12 π + 2 nπ , n ∈ Z . 两族都不会使正弦或余弦为零,所以都通过原定义域筛选;代回等价的清分母方程即可确认完整性。
常见错误
sin x = 1 / 2 \sin x=1/2 sin x = 1/2 只在解集上成立;sin 2 x + cos 2 x = 1 \sin^2x+\cos^2x=1 sin 2 x + cos 2 x = 1 才是在声明定义域上处处成立。变形前先说明所处理的是哪一种命题。
主值只是代表角。必须利用对称与周期写出全部正弦、余弦或正切解族,然后才限制到题目指定的区间。
正弦、余弦的和差角公式对所有实数角成立;正切公式是商,必须检查两个输入角及其和或差的余弦均不为零。
从 F ( x ) G ( x ) = 0 F(x)G(x)=0 F ( x ) G ( x ) = 0 直接除以 F ( x ) F(x) F ( x ) 会删去 F ( x ) = 0 F(x)=0 F ( x ) = 0 的整种情形。除非已证明非零,否则应使用零乘积法则或分类讨论。
清分母前先写所有分母不为零的条件。最后的解必须经过这些条件筛选,并在原有理三角方程中验根。
有限的 t = tan ( θ / 2 ) t=\tan(\theta/2) t = tan ( θ /2 ) 遗漏
θ ≡ π ( m o d 2 π ) \theta\equiv\pi\pmod{2\pi} θ ≡ π ( mod 2 π ) ;正切的有理式还要求 1 − t 2 ≠ 0 1-t^2\ne0 1 − t 2 = 0 。
正切只能把角确定到模 π \pi π 。必须同时使用
R cos α = a R\cos\alpha=a R cos α = a 、R sin α = b R\sin\alpha=b R sin α = b 的符号来选象限。
角带符号时,1 2 r 2 θ \tfrac12r^2\theta 2 1 r 2 θ 是有向扫过面积;非负扫过面积要使用 ∣ θ ∣ |\theta| ∣ θ ∣ 。多周角会把每次扫过累计起来,而不是描述一个简单扇形区域。
总结
验根不是形式上的附加步骤;它确认定义域、每个分支与等价条件都没有在变形链中丢失。
先声明原方程定义域与分母排除值;标记单向步骤,并在原式验根。
弧度连接有向转动、弧与扫过面积;单位圆给出坐标、符号、对称与周期。
勾股、和差角、倍角、积化和差及和差化积公式可以互相推导;商式必须附共同定义域。
反三角函数提供主值,单位圆对称与周期才产生完整通解。
辅助角的 R = a 2 + b 2 R=\sqrt{a^2+b^2} R = a 2 + b 2 来自系数平方和,象限来自两条带符号的系数方程。
解有理三角方程时,先排除分母零点,再在允许的定义域内变形、求解与核验。
练习
在两边的共同定义域上证明
tan ( A + B ) + tan ( A − B ) = 2 sin 2 A cos 2 A + cos 2 B . \tan(A+B)+\tan(A-B)
=\frac{2\sin2A}{\cos2A+\cos2B}. tan ( A + B ) + tan ( A − B ) = cos 2 A + cos 2 B 2 sin 2 A .
推导
sin 3 θ = 3 sin θ − 4 sin 3 θ , cos 3 θ = 4 cos 3 θ − 3 cos θ . \sin3\theta=3\sin\theta-4\sin^3\theta,
\qquad
\cos3\theta=4\cos^3\theta-3\cos\theta. sin 3 θ = 3 sin θ − 4 sin 3 θ , cos 3 θ = 4 cos 3 θ − 3 cos θ .
证明
4 cos θ cos ( 2 π 3 + θ ) cos ( 2 π 3 − θ ) = cos 3 θ . 4\cos\theta\cos\left(\frac{2\pi}{3}+\theta\right)
\cos\left(\frac{2\pi}{3}-\theta\right)=\cos3\theta. 4 cos θ cos ( 3 2 π + θ ) cos ( 3 2 π − θ ) = cos 3 θ .
证明
sin 2 θ + sin 2 ϕ − sin 2 ( θ − ϕ ) = 2 sin θ sin ϕ cos ( θ − ϕ ) . \sin^2\theta+\sin^2\phi-\sin^2(\theta-\phi)
=2\sin\theta\sin\phi\cos(\theta-\phi). sin 2 θ + sin 2 ϕ − sin 2 ( θ − ϕ ) = 2 sin θ sin ϕ cos ( θ − ϕ ) .
若 A , B , C A,B,C A , B , C 为三角形内角,证明
tan A 2 tan B 2 + tan B 2 tan C 2 + tan C 2 tan A 2 = 1. \tan\frac A2\tan\frac B2
+\tan\frac B2\tan\frac C2
+\tan\frac C2\tan\frac A2=1. tan 2 A tan 2 B + tan 2 B tan 2 C + tan 2 C tan 2 A = 1.
若 A , B , C A,B,C A , B , C 为三角形内角,证明
cos 2 A + cos 2 B + cos 2 C = 1 − 2 cos A cos B cos C . \cos^2A+\cos^2B+\cos^2C
=1-2\cos A\cos B\cos C. cos 2 A + cos 2 B + cos 2 C = 1 − 2 cos A cos B cos C .
对实数 a , b a,b a , b 且 b ≠ 0 b\ne0 b = 0 ,推导
a sin θ + b cos θ = R cos ( θ − α ) a\sin\theta+b\cos\theta=R\cos(\theta-\alpha) a sin θ + b cos θ = R cos ( θ − α ) ,其中 R > 0 R\gt0 R > 0 ,并写出无象限歧义地确定 α ∈ [ 0 , 2 π ) \alpha\in[0,2\pi) α ∈ [ 0 , 2 π ) 的条件。
写出 sin θ = − 1 / 2 \sin\theta=-1/2 sin θ = − 1/2 、cos θ = 2 / 2 \cos\theta=\sqrt2/2 cos θ = 2 /2 与
tan θ = − 3 \tan\theta=-\sqrt3 tan θ = − 3 的全部实数解。
答案与解答
解答 · 解答 1 在所有商都有定义处,通分后分子为
sin ( A + B ) cos ( A − B ) + sin ( A − B ) cos ( A + B ) = sin 2 A \sin(A+B)\cos(A-B)+\sin(A-B)\cos(A+B)=\sin2A sin ( A + B ) cos ( A − B ) + sin ( A − B ) cos ( A + B ) = sin 2 A 。又有
2 cos ( A + B ) cos ( A − B ) = cos 2 A + cos 2 B . 2\cos(A+B)\cos(A-B)=\cos2A+\cos2B. 2 cos ( A + B ) cos ( A − B ) = cos 2 A + cos 2 B . 代入即得所求。共同定义域条件保证两个分母均不为零。
解答 · 解答 2 把 3 θ 3\theta 3 θ 写成 2 θ + θ 2\theta+\theta 2 θ + θ ,使用和角与倍角公式:
sin 3 θ = 2 sin θ cos 2 θ + ( cos 2 θ − sin 2 θ ) sin θ = 3 sin θ − 4 sin 3 θ , \sin3\theta
=2\sin\theta\cos^2\theta
+(\cos^2\theta-\sin^2\theta)\sin\theta
=3\sin\theta-4\sin^3\theta, sin 3 θ = 2 sin θ cos 2 θ + ( cos 2 θ − sin 2 θ ) sin θ = 3 sin θ − 4 sin 3 θ , cos 3 θ = ( cos 2 θ − sin 2 θ ) cos θ − 2 sin 2 θ cos θ = 4 cos 3 θ − 3 cos θ . \cos3\theta
=(\cos^2\theta-\sin^2\theta)\cos\theta
-2\sin^2\theta\cos\theta
=4\cos^3\theta-3\cos\theta. cos 3 θ = ( cos 2 θ − sin 2 θ ) cos θ − 2 sin 2 θ cos θ = 4 cos 3 θ − 3 cos θ .
解答 · 解答 3 积化和差给出
2 cos ( 2 π 3 + θ ) cos ( 2 π 3 − θ ) = cos 4 π 3 + cos 2 θ = − 1 2 + cos 2 θ . 2\cos\left(\frac{2\pi}{3}+\theta\right)
\cos\left(\frac{2\pi}{3}-\theta\right)
=\cos\frac{4\pi}{3}+\cos2\theta
=-\frac12+\cos2\theta. 2 cos ( 3 2 π + θ ) cos ( 3 2 π − θ ) = cos 3 4 π + cos 2 θ = − 2 1 + cos 2 θ . 再乘 2 cos θ 2\cos\theta 2 cos θ ,并用 cos 2 θ = 2 cos 2 θ − 1 \cos2\theta=2\cos^2\theta-1 cos 2 θ = 2 cos 2 θ − 1 ,得到
2 cos θ ( 2 cos 2 θ − 3 2 ) = 4 cos 3 θ − 3 cos θ = cos 3 θ . 2\cos\theta\left(2\cos^2\theta-\frac32\right)
=4\cos^3\theta-3\cos\theta=\cos3\theta. 2 cos θ ( 2 cos 2 θ − 2 3 ) = 4 cos 3 θ − 3 cos θ = cos 3 θ .
解答 · 解答 4 展开 sin ( θ − ϕ ) \sin(\theta-\phi) sin ( θ − ϕ ) ,并用 1 − cos 2 ϕ = sin 2 ϕ 1-\cos^2\phi=\sin^2\phi 1 − cos 2 ϕ = sin 2 ϕ 、1 − cos 2 θ = sin 2 θ 1-\cos^2\theta=\sin^2\theta 1 − cos 2 θ = sin 2 θ 化简左边:
sin 2 θ + sin 2 ϕ − ( sin θ cos ϕ − cos θ sin ϕ ) 2 = 2 sin 2 θ sin 2 ϕ + 2 sin θ cos θ sin ϕ cos ϕ = 2 sin θ sin ϕ ( sin θ sin ϕ + cos θ cos ϕ ) = 2 sin θ sin ϕ cos ( θ − ϕ ) . \begin{aligned}
&\sin^2\theta+\sin^2\phi
-(\sin\theta\cos\phi-\cos\theta\sin\phi)^2\\
&=2\sin^2\theta\sin^2\phi
+2\sin\theta\cos\theta\sin\phi\cos\phi\\
&=2\sin\theta\sin\phi
(\sin\theta\sin\phi+\cos\theta\cos\phi)\\
&=2\sin\theta\sin\phi\cos(\theta-\phi).
\end{aligned} sin 2 θ + sin 2 ϕ − ( sin θ cos ϕ − cos θ sin ϕ ) 2 = 2 sin 2 θ sin 2 ϕ + 2 sin θ cos θ sin ϕ cos ϕ = 2 sin θ sin ϕ ( sin θ sin ϕ + cos θ cos ϕ ) = 2 sin θ sin ϕ cos ( θ − ϕ ) . 第三步提出 2 sin θ sin ϕ 2\sin\theta\sin\phi 2 sin θ sin ϕ ,括号内正是
cos ( θ − ϕ ) \cos(\theta-\phi) cos ( θ − ϕ ) ,故结论成立。
解答 · 解答 5 令 u = A / 2 u=A/2 u = A /2 、v = B / 2 v=B/2 v = B /2 、w = C / 2 w=C/2 w = C /2 ,则 u + v + w = π / 2 u+v+w=\pi/2 u + v + w = π /2 ,且三个余弦均为正。展开和角余弦并提出它们的乘积:
0 = cos u cos v cos w ( 1 − tan u tan v − tan v tan w − tan w tan u ) . 0=\cos u\cos v\cos w
\left(1-\tan u\tan v-\tan v\tan w-\tan w\tan u\right). 0 = cos u cos v cos w ( 1 − tan u tan v − tan v tan w − tan w tan u ) . 所以括号为零,移项即得原式。
解答 · 解答 6 由 C = π − ( A + B ) C=\pi-(A+B) C = π − ( A + B ) 得 cos C = sin A sin B − cos A cos B \cos C=\sin A\sin B-\cos A\cos B cos C = sin A sin B − cos A cos B ,即
cos C + cos A cos B = sin A sin B \cos C+\cos A\cos B=\sin A\sin B cos C + cos A cos B = sin A sin B 。于是
cos 2 A + cos 2 B + cos 2 C + 2 cos A cos B cos C = ( cos C + cos A cos B ) 2 + cos 2 A + cos 2 B − cos 2 A cos 2 B = sin 2 A sin 2 B + cos 2 A + cos 2 B − cos 2 A cos 2 B = 1. \begin{aligned}
&\cos^2A+\cos^2B+\cos^2C+2\cos A\cos B\cos C\\
&=(\cos C+\cos A\cos B)^2
+\cos^2A+\cos^2B-\cos^2A\cos^2B\\
&=\sin^2A\sin^2B+\cos^2A+\cos^2B-\cos^2A\cos^2B=1.
\end{aligned} cos 2 A + cos 2 B + cos 2 C + 2 cos A cos B cos C = ( cos C + cos A cos B ) 2 + cos 2 A + cos 2 B − cos 2 A cos 2 B = sin 2 A sin 2 B + cos 2 A + cos 2 B − cos 2 A cos 2 B = 1. 把乘积项移到右边即可。
解答 · 解答 7 展开
R cos ( θ − α ) = R cos θ cos α + R sin θ sin α . R\cos(\theta-\alpha)
=R\cos\theta\cos\alpha+R\sin\theta\sin\alpha. R cos ( θ − α ) = R cos θ cos α + R sin θ sin α . 比较系数得 R sin α = a R\sin\alpha=a R sin α = a 、R cos α = b R\cos\alpha=b R cos α = b ,平方相加得
R = a 2 + b 2 R=\sqrt{a^2+b^2} R = a 2 + b 2 。tan α = a / b \tan\alpha=a/b tan α = a / b 只给方向;两条系数方程的符号选出 [ 0 , 2 π ) [0,2\pi) [ 0 , 2 π ) 中唯一的角。
解答 · 解答 8 利用主值范围和完整通解公式,
sin θ = − 1 2 : θ = − π 6 + 2 n π 或 θ = 7 π 6 + 2 n π , \sin\theta=-\frac12:
\quad
\theta=-\frac\pi6+2n\pi
\quad\text{或}\quad
\theta=\frac{7\pi}{6}+2n\pi, sin θ = − 2 1 : θ = − 6 π + 2 nπ 或 θ = 6 7 π + 2 nπ , cos θ = 2 2 : θ = ± π 4 + 2 n π , \cos\theta=\frac{\sqrt2}{2}:
\quad
\theta=\mathbin{\pm}\frac\pi4+2n\pi, cos θ = 2 2 : θ = ± 4 π + 2 nπ , tan θ = − 3 : θ = − π 3 + n π , n ∈ Z . \tan\theta=-\sqrt3:
\quad
\theta=-\frac\pi3+n\pi,
\qquad n\in\mathbb Z. tan θ = − 3 : θ = − 3 π + nπ , n ∈ Z .