万能公式三角函数怎么用:解三角方程的实战案例


万能公式三角函数怎么用:解三角方程的实战案例

三角函数是数学中极其重要的组成部分,尤其在解决三角方程时,万能公式(即辅助角公式)发挥着关键作用。万能公式将任意角的正弦、余弦和正切表示为单一角度的正切函数,形式如下:

[

sin theta = frac{2t}{1 + t^2}, quad cos theta = frac{1 - t^2}{1 + t^2}, quad tan theta = frac{2t}{1 - t^2}

]

其中,( t = tan frac{theta}{2} )。这一公式在解三角方程时特别有用,因为它可以将复杂的三角方程转化为关于 ( t ) 的代数方程,从而简化求解过程。

一、万能公式的推导

在深入应用之前,有必要简要回顾万能公式的推导过程。考虑半角公式:

[

tan frac{theta}{2} = t

]

利用三角恒等式,可以得到:

[

sin theta = 2 sin frac{theta}{2} cos frac{theta}{2}, quad cos theta = cos^2 frac{theta}{2} - sin^2 frac{theta}{2}

]

通过引入 ( t ),有:

[

sin frac{theta}{2} = frac{t}{sqrt{1 + t^2}}, quad cos frac{theta}{2} = frac{1}{sqrt{1 + t^2}}

]

因此:

[

sin theta = 2 cdot frac{t}{sqrt{1 + t^2}} cdot frac{1}{sqrt{1 + t^2}} = frac{2t}{1 + t^2}

]

[

cos theta = left( frac{1}{sqrt{1 + t^2}} right)^2 - left( frac{t}{sqrt{1 + t^2}} right)^2 = frac{1 - t^2}{1 + t^2}

]

而:

[

tan theta = frac{sin theta}{cos theta} = frac{frac{2t}{1 + t^2}}{frac{1 - t^2}{1 + t^2}} = frac{2t}{1 - t^2}

]

至此,万能公式得以完整推导。

二、实战案例:解三角方程

案例1:解方程 (sin x + cos x = 1)

这是一个典型的三角方程,直接求解较为复杂。利用万能公式,设 ( t = tan frac{x}{2} ),则有:

[

sin x = frac{2t}{1 + t^2}, quad cos x = frac{1 - t^2}{1 + t^2}

]

代入原方程:

[

frac{2t}{1 + t^2} + frac{1 - t^2}{1 + t^2} = 1

]

合并同类项:

[

frac{2t + 1 - t^2}{1 + t^2} = 1

]

交叉相乘:

[

2t + 1 - t^2 = 1 + t^2

]

整理:

[

2t + 1 - t^2 - 1 - t^2 = 0 implies -2t^2 + 2t = 0 implies 2t(1 - t) = 0

]

解得:

[

t = 0 quad text{或} quad t = 1

]

对于 ( t = 0 ):

[

tan frac{x}{2} = 0 implies frac{x}{2} = kpi implies x = 2kpi

]

对于 ( t = 1 ):

[

tan frac{x}{2} = 1 implies frac{x}{2} = frac{pi}{4} + kpi implies x = frac{pi}{2} + 2kpi

]

方程的解为:

[

x = 2kpi quad text{或} quad x = frac{pi}{2} + 2kpi, quad k in mathbb{Z}

]

案例2:解方程 (sin 2x + cos 2x = sqrt{2})

同样利用万能公式,设 ( t = tan x ),则有:

[

sin 2x = frac{2t}{1 + t^2}, quad cos 2x = frac{1 - t^2}{1 + t^2}

]

代入原方程:

[

frac{2t}{1 + t^2} + frac{1 - t^2}{1 + t^2} = sqrt{2}

]

合并同类项:

[

frac{2t + 1 - t^2}{1 + t^2} = sqrt{2}

]

交叉相乘:

[

2t + 1 - t^2 = sqrt{2}(1 + t^2)

]

展开并整理:

[

2t + 1 - t^2 = sqrt{2} + sqrt{2}t^2 implies -t^2 - sqrt{2}t^2 + 2t + 1 - sqrt{2} = 0

]

合并同类项:

[

-(1 + sqrt{2})t^2 + 2t + (1 - sqrt{2}) = 0

]

这是一个关于 ( t ) 的二次方程,利用求根公式:

[

t = frac{-b pm sqrt{b^2 - 4ac}}{2a}

]

其中 ( a = -(1 + sqrt{2}) ),( b = 2 ),( c = 1 - sqrt{2} ),代入得:

[

t = frac{-2 pm sqrt{4 - 4 cdot -(1 + sqrt{2}) cdot (1 - sqrt{2})}}{2 cdot -(1 + sqrt{2})}

]

计算判别式:

[

4 - 4 cdot -(1 + sqrt{2}) cdot (1 - sqrt{2}) = 4 + 4(1 - 2) = 4 - 4 = 0

]

因此:

[

t = frac{-2}{2 cdot -(1 + sqrt{2})} = frac{-2