$$$\sin{\left(x^{2} - 4 \right)}$$$ 的積分
您的輸入
求$$$\int \sin{\left(x^{2} - 4 \right)}\, dx$$$。
解答
重寫被積函數:
$${\color{red}{\int{\sin{\left(x^{2} - 4 \right)} d x}}} = {\color{red}{\int{\left(\sin{\left(x^{2} \right)} \cos{\left(4 \right)} - \sin{\left(4 \right)} \cos{\left(x^{2} \right)}\right)d x}}}$$
逐項積分:
$${\color{red}{\int{\left(\sin{\left(x^{2} \right)} \cos{\left(4 \right)} - \sin{\left(4 \right)} \cos{\left(x^{2} \right)}\right)d x}}} = {\color{red}{\left(- \int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x} + \int{\sin{\left(x^{2} \right)} \cos{\left(4 \right)} d x}\right)}}$$
套用常數倍法則 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$,使用 $$$c=\cos{\left(4 \right)}$$$ 與 $$$f{\left(x \right)} = \sin{\left(x^{2} \right)}$$$:
$$- \int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x} + {\color{red}{\int{\sin{\left(x^{2} \right)} \cos{\left(4 \right)} d x}}} = - \int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x} + {\color{red}{\cos{\left(4 \right)} \int{\sin{\left(x^{2} \right)} d x}}}$$
此積分(菲涅耳正弦積分)不存在閉式表示:
$$- \int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x} + \cos{\left(4 \right)} {\color{red}{\int{\sin{\left(x^{2} \right)} d x}}} = - \int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x} + \cos{\left(4 \right)} {\color{red}{\left(\frac{\sqrt{2} \sqrt{\pi} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2}\right)}}$$
套用常數倍法則 $$$\int c f{\left(x \right)}\, dx = c \int f{\left(x \right)}\, dx$$$,使用 $$$c=\sin{\left(4 \right)}$$$ 與 $$$f{\left(x \right)} = \cos{\left(x^{2} \right)}$$$:
$$\frac{\sqrt{2} \sqrt{\pi} \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2} - {\color{red}{\int{\sin{\left(4 \right)} \cos{\left(x^{2} \right)} d x}}} = \frac{\sqrt{2} \sqrt{\pi} \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2} - {\color{red}{\sin{\left(4 \right)} \int{\cos{\left(x^{2} \right)} d x}}}$$
此積分(菲涅耳餘弦積分)不存在閉式表示:
$$\frac{\sqrt{2} \sqrt{\pi} \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2} - \sin{\left(4 \right)} {\color{red}{\int{\cos{\left(x^{2} \right)} d x}}} = \frac{\sqrt{2} \sqrt{\pi} \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2} - \sin{\left(4 \right)} {\color{red}{\left(\frac{\sqrt{2} \sqrt{\pi} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2}\right)}}$$
因此,
$$\int{\sin{\left(x^{2} - 4 \right)} d x} = - \frac{\sqrt{2} \sqrt{\pi} \sin{\left(4 \right)} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2} + \frac{\sqrt{2} \sqrt{\pi} \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)}{2}$$
化簡:
$$\int{\sin{\left(x^{2} - 4 \right)} d x} = \frac{\sqrt{2} \sqrt{\pi} \left(- \sin{\left(4 \right)} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right) + \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)\right)}{2}$$
加上積分常數:
$$\int{\sin{\left(x^{2} - 4 \right)} d x} = \frac{\sqrt{2} \sqrt{\pi} \left(- \sin{\left(4 \right)} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right) + \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)\right)}{2}+C$$
答案
$$$\int \sin{\left(x^{2} - 4 \right)}\, dx = \frac{\sqrt{2} \sqrt{\pi} \left(- \sin{\left(4 \right)} C\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right) + \cos{\left(4 \right)} S\left(\frac{\sqrt{2} x}{\sqrt{\pi}}\right)\right)}{2} + C$$$A