看完不会?让 AI 一步步解给你看
Trigonometry · real student question

解方程 cos t = −tan(x) 乘 tan(x),求 x,并说明何时有解。

Question

解关于 xx 的方程:

cos⁡t=−tan⁡(x)tan⁡(x)\cos t=-\tan(x)\tan(x)

Step-by-step solution

  1. 先把重复出现的因子并起来。 右边是同一个量与自身相乘:

    tan⁡(x)tan⁡(x)=tan⁡2(x)⇒cos⁡t=−tan⁡2(x)\tan(x)\tan(x)=\tan^2(x)\quad\Rightarrow\quad \cos t=-\tan^2(x)

  2. 用 tan⁡2\tan^2 的取值范围判断到底何时可能有解。 实数的平方永不为负,所以 tan⁡2(x)≥0\tan^2(x)\ge 0,从而 −tan⁡2(x)≤0-\tan^2(x)\le 0。左边必须与之匹配,于是得到有解条件

    cos⁡t≤0⟺t∈[π2+2kπ, 3π2+2kπ]\cos t\le 0\quad\Longleftrightarrow\quad t\in\left[\tfrac{\pi}{2}+2k\pi,\ \tfrac{3\pi}{2}+2k\pi\right]

    若 cos⁡t>0\cos t>0,那就不存在任何实数 xx —— 先把这一步查清楚,可以省下去解一个根本无解的方程的功夫。

  3. 把平方项单独留下。

    tan⁡2(x)=−cos⁡t\tan^2(x)=-\cos t

    在上述条件下右边 ≥0\ge 0,所以开平方是合法的。

  4. 把两个平方根都取上。

    tan⁡(x)=±−cos⁡t\tan(x)=\pm\sqrt{-\cos t}

    两个符号都保留是关键:丢掉负的那一支,就丢掉了一半的解系。

  5. 在完整周期上反解正切。 正切的周期是 π\pi(不是 2π2\pi),而 arctan⁡\arctan 是奇函数,所以两支可以合成一个公式:

    x=±arctan⁡(−cos⁡t)+kπ,k∈Zx=\pm\arctan\left(\sqrt{-\cos t}\right)+k\pi,\qquad k\in\mathbb{Z}

  6. 取两个有代表性的 tt 检验一下。 若 cos⁡t=0\cos t=0(比如 t=π2t=\tfrac{\pi}{2}),公式给出 x=kπx=k\pi,而确实有 −tan⁡2(0)=0=cos⁡π2-\tan^2(0)=0=\cos\tfrac{\pi}{2} ✓。若 t=πt=\pi,则 cos⁡t=−1\cos t=-1,于是 tan⁡2x=1\tan^2 x=1,x=±π4+kπx=\pm\tfrac{\pi}{4}+k\pi;代入验证,−tan⁡2 ⁣(π4)=−1=cos⁡π-\tan^2\!\left(\tfrac{\pi}{4}\right)=-1=\cos\pi ✓。

Answer

x=±arctan⁡(−cos⁡t)+kπ, k∈Z(仅当 cos⁡t≤0)x=\pm\arctan\left(\sqrt{-\cos t}\right)+k\pi,\ k\in\mathbb{Z}\qquad(\text{仅当 }\cos t\le 0)

Need to solve a different problem like this? Open the solver →