当前位置: 首页 > news >正文

高等数学第四章---不定积分(4.4有理函数的不定积分2)

&4.4有理函数的不定积分2

篇幅有限制,例题的解答会占大量字符,html限制字符为22000个左右。这里继续探讨上文的有理函数的不定积分。

一、三角函数有理式的不定积分

sin ⁡ x \sin x sinx, cos ⁡ x \cos x cosx 以及常数经过有限次加、减、乘、除运算得到的函数,称为三角函数有理式

例如:

  • 1 1 + sin ⁡ x \frac{1}{1 + \sin x} 1+sinx1
  • cos ⁡ x 2 + sin ⁡ x \frac{\cos x}{2 + \sin x} 2+sinxcosx
  • 1 cos ⁡ x ( 1 + cos ⁡ x ) \frac{1}{\cos x (1 + \cos x)} cosx(1+cosx)1
  • tan ⁡ 2 x + sec ⁡ x \tan^2 x + \sec x tan2x+secx

注: 其他三角函数( tan ⁡ x , cot ⁡ x , sec ⁡ x , csc ⁡ x \tan x, \cot x, \sec x, \csc x tanx,cotx,secx,cscx)本身也是由 sin ⁡ x , cos ⁡ x \sin x, \cos x sinx,cosx 通过除法和常数 1 得到的,因此包含它们的有理式也属于三角函数有理式。

  • tan ⁡ x = sin ⁡ x cos ⁡ x \tan x = \frac{\sin x}{\cos x} tanx=cosxsinx
  • cot ⁡ x = cos ⁡ x sin ⁡ x \cot x = \frac{\cos x}{\sin x} cotx=sinxcosx
  • sec ⁡ x = 1 cos ⁡ x \sec x = \frac{1}{\cos x} secx=cosx1
  • csc ⁡ x = 1 sin ⁡ x \csc x = \frac{1}{\sin x} cscx=sinx1

二、三角函数有理式的不定积分计算方法

根据被积函数的具体形式,可以采用不同的技巧。

(一)处理奇次幂情况: ∫ sin ⁡ n x cos ⁡ 2 k + 1 x d x \int \sin^n x \cos^{2k+1} x \, dx sinnxcos2k+1xdx ∫ sin ⁡ 2 k + 1 x cos ⁡ n x d x \int \sin^{2k+1} x \cos^n x \, dx sin2k+1xcosnxdx

特点:被积函数中 sin ⁡ x \sin x sinx cos ⁡ x \cos x cosx 至少有一个是奇数次幂

方法: 提出一个奇次幂的因子,将其余偶数次幂用平方关系转换,然后凑微分。

  • 对于 ∫ sin ⁡ n x cos ⁡ 2 k + 1 x d x \int \sin^n x \cos^{2k+1} x \, dx sinnxcos2k+1xdx cos ⁡ x \cos x cosx 是奇次幂)
    ∫ sin ⁡ n x cos ⁡ 2 k + 1 x d x = ∫ sin ⁡ n x cos ⁡ 2 k x ⋅ cos ⁡ x d x = ∫ sin ⁡ n x ( cos ⁡ 2 x ) k ⋅ cos ⁡ x d x = ∫ sin ⁡ n x ( 1 − sin ⁡ 2 x ) k ⋅ cos ⁡ x d x = ∫ sin ⁡ n x ( 1 − sin ⁡ 2 x ) k d ( sin ⁡ x ) ( 因为  d ( sin ⁡ x ) = cos ⁡ x d x ) \begin{aligned} \int \sin^n x \cos^{2k+1} x \, dx &= \int \sin^n x \cos^{2k} x \cdot \cos x \, dx \\ &= \int \sin^n x (\cos^2 x)^k \cdot \cos x \, dx \\ &= \int \sin^n x (1 - \sin^2 x)^k \cdot \cos x \, dx \\ &= \int \sin^n x (1 - \sin^2 x)^k \, d(\sin x) \quad (\text{因为 } d(\sin x) = \cos x \, dx) \end{aligned} sinnxcos2k+1xdx=sinnxcos2kxcosxdx=sinnx(cos2x)kcosxdx=sinnx(1sin2x)kcosxdx=sinnx(1sin2x)kd(sinx)(因为 d(sinx)=cosxdx)
    t = sin ⁡ x t = \sin x t=sinx,积分变为 ∫ t n ( 1 − t 2 ) k d t \int t^n (1 - t^2)^k \, dt tn(1t2)kdt。这是一个关于 t t t 的多项式积分,积分后将 t t t 换回 sin ⁡ x \sin x sinx

  • 对于 ∫ sin ⁡ 2 k + 1 x cos ⁡ n x d x \int \sin^{2k+1} x \cos^n x \, dx sin2k+1xcosnxdx sin ⁡ x \sin x sinx 是奇次幂)
    ∫ sin ⁡ 2 k + 1 x cos ⁡ n x d x = ∫ sin ⁡ 2 k x cos ⁡ n x ⋅ sin ⁡ x d x = ∫ ( sin ⁡ 2 x ) k cos ⁡ n x ⋅ sin ⁡ x d x = ∫ ( 1 − cos ⁡ 2 x ) k cos ⁡ n x ⋅ sin ⁡ x d x = − ∫ ( 1 − cos ⁡ 2 x ) k cos ⁡ n x d ( cos ⁡ x ) ( 因为  d ( cos ⁡ x ) = − sin ⁡ x d x ) \begin{aligned} \int \sin^{2k+1} x \cos^n x \, dx &= \int \sin^{2k} x \cos^n x \cdot \sin x \, dx \\ &= \int (\sin^2 x)^k \cos^n x \cdot \sin x \, dx \\ &= \int (1 - \cos^2 x)^k \cos^n x \cdot \sin x \, dx \\ &= - \int (1 - \cos^2 x)^k \cos^n x \, d(\cos x) \quad (\text{因为 } d(\cos x) = -\sin x \, dx) \end{aligned} sin2k+1xcosnxdx=sin2kxcosnxsinxdx=(sin2x)kcosnxsinxdx=(1cos2x)kcosnxsinxdx=(1cos2x)kcosnxd(cosx)(因为 d(cosx)=sinxdx)
    t = cos ⁡ x t = \cos x t=cosx,积分变为 − ∫ ( 1 − t 2 ) k t n d t -\int (1 - t^2)^k t^n \, dt (1t2)ktndt。积分后将 t t t 换回 cos ⁡ x \cos x cosx

例 1: 计算 ∫ sin ⁡ 4 x cos ⁡ 3 x d x \int \sin^4 x \cos^3 x \, dx sin4xcos3xdx

解: ( cos ⁡ x \cos x cosx 是奇次幂)
∫ sin ⁡ 4 x cos ⁡ 3 x d x = ∫ sin ⁡ 4 x cos ⁡ 2 x ⋅ cos ⁡ x d x = ∫ sin ⁡ 4 x ( 1 − sin ⁡ 2 x ) cos ⁡ x d x = ∫ sin ⁡ 4 x ( 1 − sin ⁡ 2 x ) d ( sin ⁡ x ) → 令  t = sin ⁡ x ∫ t 4 ( 1 − t 2 ) d t = ∫ ( t 4 − t 6 ) d t = 1 5 t 5 − 1 7 t 7 + C = 1 5 sin ⁡ 5 x − 1 7 sin ⁡ 7 x + C \begin{aligned} \int \sin^4 x \cos^3 x \, dx &= \int \sin^4 x \cos^2 x \cdot \cos x \, dx \\ &= \int \sin^4 x (1 - \sin^2 x) \cos x \, dx \\ &= \int \sin^4 x (1 - \sin^2 x) \, d(\sin x) \\ &\xrightarrow{\text{令 } t = \sin x} \int t^4 (1 - t^2) \, dt \\ &= \int (t^4 - t^6) \, dt \\ &= \frac{1}{5}t^5 - \frac{1}{7}t^7 + C \\ &= \frac{1}{5}\sin^5 x - \frac{1}{7}\sin^7 x + C \end{aligned} sin4xcos3xdx=sin4xcos2xcosxdx=sin4x(1sin2x)cosxdx=sin4x(1sin2x)d(sinx) t=sinx t4(1t2)dt=(t4t6)dt=51t571t7+C=51sin5x71sin7x+C

例 2: 计算 ∫ sin ⁡ 5 x cos ⁡ 6 x d x \int \sin^5 x \cos^6 x \, dx sin5xcos6xdx

解: ( sin ⁡ x \sin x sinx 是奇次幂)
∫ sin ⁡ 5 x cos ⁡ 6 x d x = ∫ sin ⁡ 4 x cos ⁡ 6 x ⋅ sin ⁡ x d x = ∫ ( sin ⁡ 2 x ) 2 cos ⁡ 6 x ⋅ sin ⁡ x d x = ∫ ( 1 − cos ⁡ 2 x ) 2 cos ⁡ 6 x ⋅ sin ⁡ x d x = − ∫ ( 1 − cos ⁡ 2 x ) 2 cos ⁡ 6 x d ( cos ⁡ x ) → 令  t = cos ⁡ x − ∫ ( 1 − t 2 ) 2 t 6 d t = − ∫ ( 1 − 2 t 2 + t 4 ) t 6 d t = − ∫ ( t 6 − 2 t 8 + t 10 ) d t = − ( t 7 7 − 2 t 9 9 + t 11 11 ) + C = − 1 7 t 7 + 2 9 t 9 − 1 11 t 11 + C = − 1 7 cos ⁡ 7 x + 2 9 cos ⁡ 9 x − 1 11 cos ⁡ 11 x + C \begin{aligned} \int \sin^5 x \cos^6 x \, dx &= \int \sin^4 x \cos^6 x \cdot \sin x \, dx \\ &= \int (\sin^2 x)^2 \cos^6 x \cdot \sin x \, dx \\ &= \int (1 - \cos^2 x)^2 \cos^6 x \cdot \sin x \, dx \\ &= - \int (1 - \cos^2 x)^2 \cos^6 x \, d(\cos x) \\ &\xrightarrow{\text{令 } t = \cos x} - \int (1 - t^2)^2 t^6 \, dt \\ &= - \int (1 - 2t^2 + t^4) t^6 \, dt \\ &= - \int (t^6 - 2t^8 + t^{10}) \, dt \\ &= - \left( \frac{t^7}{7} - \frac{2t^9}{9} + \frac{t^{11}}{11} \right) + C \\ &= -\frac{1}{7}t^7 + \frac{2}{9}t^9 - \frac{1}{11}t^{11} + C \\ &= -\frac{1}{7}\cos^7 x + \frac{2}{9}\cos^9 x - \frac{1}{11}\cos^{11} x + C \end{aligned} sin5xcos6xdx=sin4xcos6xsinxdx=(sin2x)2cos6xsinxdx=(1cos2x)2cos6xsinxdx=(1cos2x)2cos6xd(cosx) t=cosx (1t2)2t6dt=(12t2+t4)t6dt=(t62t8+t10)dt=(7t792t9+11t11)+C=71t7+92t9111t11+C=71cos7x+92cos9x111cos11x+C

(二)处理偶次幂情况: ∫ sin ⁡ 2 n x cos ⁡ 2 k x d x \int \sin^{2n} x \cos^{2k} x \, dx sin2nxcos2kxdx

特点:被积函数中 sin ⁡ x \sin x sinx cos ⁡ x \cos x cosx 都是偶数次幂

方法: 利用降幂公式(或称半角公式)将幂次降低,转化为关于倍角(如 2 x , 4 x , … 2x, 4x, \dots 2x,4x,)的三角函数积分。

  • sin ⁡ 2 x = 1 − cos ⁡ 2 x 2 \sin^2 x = \frac{1 - \cos 2x}{2} sin2x=21cos2x
  • cos ⁡ 2 x = 1 + cos ⁡ 2 x 2 \cos^2 x = \frac{1 + \cos 2x}{2} cos2x=21+cos2x
  • sin ⁡ x cos ⁡ x = 1 2 sin ⁡ 2 x \sin x \cos x = \frac{1}{2} \sin 2x sinxcosx=21sin2x (有时也用)

例 3: 计算 ∫ sin ⁡ 2 x cos ⁡ 2 x d x \int \sin^2 x \cos^2 x \, dx sin2xcos2xdx

解:
方法一:使用 sin ⁡ x cos ⁡ x = 1 2 sin ⁡ 2 x \sin x \cos x = \frac{1}{2} \sin 2x sinxcosx=21sin2x
∫ sin ⁡ 2 x cos ⁡ 2 x d x = ∫ ( sin ⁡ x cos ⁡ x ) 2 d x = ∫ ( 1 2 sin ⁡ 2 x ) 2 d x = 1 4 ∫ sin ⁡ 2 ( 2 x ) d x = 1 4 ∫ 1 − cos ⁡ ( 4 x ) 2 d x ( 降幂公式,注意角度变为  4 x ) = 1 8 ∫ ( 1 − cos ⁡ 4 x ) d x = 1 8 ( ∫ 1 d x − ∫ cos ⁡ 4 x d x ) = 1 8 ( x − 1 4 ∫ cos ⁡ 4 x d ( 4 x ) ) = 1 8 ( x − 1 4 sin ⁡ 4 x ) + C = x 8 − sin ⁡ 4 x 32 + C \begin{aligned} \int \sin^2 x \cos^2 x \, dx &= \int (\sin x \cos x)^2 \, dx \\ &= \int \left(\frac{1}{2} \sin 2x\right)^2 \, dx \\ &= \frac{1}{4} \int \sin^2 (2x) \, dx \\ &= \frac{1}{4} \int \frac{1 - \cos(4x)}{2} \, dx \quad (\text{降幂公式,注意角度变为 } 4x) \\ &= \frac{1}{8} \int (1 - \cos 4x) \, dx \\ &= \frac{1}{8} \left( \int 1 \, dx - \int \cos 4x \, dx \right) \\ &= \frac{1}{8} \left( x - \frac{1}{4} \int \cos 4x \, d(4x) \right) \\ &= \frac{1}{8} \left( x - \frac{1}{4} \sin 4x \right) + C \\ &= \frac{x}{8} - \frac{\sin 4x}{32} + C \end{aligned} sin2xcos2xdx=(sinxcosx)2dx=(21sin2x)2dx=41sin2(2x)dx=4121cos(4x)dx(降幂公式,注意角度变为 4x)=81(1cos4x)dx=81(1dxcos4xdx)=81(x41cos4xd(4x))=81(x41sin4x)+C=8x32sin4x+C
方法二:直接用降幂公式(如原笔记)
∫ sin ⁡ 2 x cos ⁡ 2 x d x = ∫ ( 1 − cos ⁡ 2 x 2 ) ( 1 + cos ⁡ 2 x 2 ) d x = 1 4 ∫ ( 1 − cos ⁡ 2 ( 2 x ) ) d x = 1 4 ∫ sin ⁡ 2 ( 2 x ) d x = 1 4 ∫ 1 − cos ⁡ ( 4 x ) 2 d x = 1 8 ∫ ( 1 − cos ⁡ 4 x ) d x = 1 8 ( x − 1 4 sin ⁡ 4 x ) + C = x 8 − sin ⁡ 4 x 32 + C \begin{aligned} \int \sin^2 x \cos^2 x \, dx &= \int \left(\frac{1 - \cos 2x}{2}\right) \left(\frac{1 + \cos 2x}{2}\right) \, dx \\ &= \frac{1}{4} \int (1 - \cos^2 (2x)) \, dx \\ &= \frac{1}{4} \int \sin^2 (2x) \, dx \\ &= \frac{1}{4} \int \frac{1 - \cos(4x)}{2} \, dx \\ &= \frac{1}{8} \int (1 - \cos 4x) \, dx \\ &= \frac{1}{8} (x - \frac{1}{4}\sin 4x) + C \\ &= \frac{x}{8} - \frac{\sin 4x}{32} + C \end{aligned} sin2xcos2xdx=(21cos2x)(21+cos2x)dx=41(1cos2(2x))dx=41sin2(2x)dx=4121cos(4x)dx=81(1cos4x)dx=81(x41sin4x)+C=8x32sin4x+C

(三)处理正切、正割特定次幂情况: ∫ sec ⁡ n x tan ⁡ 2 k + 1 x d x \int \sec^n x \tan^{2k+1} x \, dx secnxtan2k+1xdx ∫ sec ⁡ 2 k x tan ⁡ n x d x \int \sec^{2k} x \tan^n x \, dx sec2kxtannxdx

特点: tan ⁡ x \tan x tanx 是奇次幂 sec ⁡ x \sec x secx 是偶数次幂

方法: 利用 1 + tan ⁡ 2 x = sec ⁡ 2 x 1 + \tan^2 x = \sec^2 x 1+tan2x=sec2x 以及 sec ⁡ x \sec x secx tan ⁡ x \tan x tanx 的微分关系 d ( sec ⁡ x ) = sec ⁡ x tan ⁡ x d x d(\sec x) = \sec x \tan x \, dx d(secx)=secxtanxdx d ( tan ⁡ x ) = sec ⁡ 2 x d x d(\tan x) = \sec^2 x \, dx d(tanx)=sec2xdx

  • 对于 ∫ sec ⁡ n x tan ⁡ 2 k + 1 x d x \int \sec^n x \tan^{2k+1} x \, dx secnxtan2k+1xdx ( tan ⁡ x \tan x tanx 是奇次幂)
    提出一个 sec ⁡ x tan ⁡ x \sec x \tan x secxtanx 因子凑 d ( sec ⁡ x ) d(\sec x) d(secx),将其余 tan ⁡ 2 x \tan^2 x tan2x 换成 sec ⁡ 2 x − 1 \sec^2 x - 1 sec2x1
    ∫ sec ⁡ n x tan ⁡ 2 k + 1 x d x = ∫ sec ⁡ n − 1 x tan ⁡ 2 k x ⋅ ( sec ⁡ x tan ⁡ x ) d x = ∫ sec ⁡ n − 1 x ( tan ⁡ 2 x ) k ⋅ ( sec ⁡ x tan ⁡ x ) d x = ∫ sec ⁡ n − 1 x ( sec ⁡ 2 x − 1 ) k d ( sec ⁡ x ) ( 因为  d ( sec ⁡ x ) = sec ⁡ x tan ⁡ x d x ) \begin{aligned} \int \sec^n x \tan^{2k+1} x \, dx &= \int \sec^{n-1} x \tan^{2k} x \cdot (\sec x \tan x) \, dx \\ &= \int \sec^{n-1} x (\tan^2 x)^k \cdot (\sec x \tan x) \, dx \\ &= \int \sec^{n-1} x (\sec^2 x - 1)^k \, d(\sec x) \quad (\text{因为 } d(\sec x) = \sec x \tan x \, dx) \end{aligned} secnxtan2k+1xdx=secn1xtan2kx(secxtanx)dx=secn1x(tan2x)k(secxtanx)dx=secn1x(sec2x1)kd(secx)(因为 d(secx)=secxtanxdx)
    t = sec ⁡ x t = \sec x t=secx,积分变为 ∫ t n − 1 ( t 2 − 1 ) k d t \int t^{n-1} (t^2 - 1)^k \, dt tn1(t21)kdt

  • 对于 ∫ sec ⁡ 2 k x tan ⁡ n x d x \int \sec^{2k} x \tan^n x \, dx sec2kxtannxdx ( sec ⁡ x \sec x secx 是偶数次幂, k ≥ 1 k \ge 1 k1)
    提出一个 sec ⁡ 2 x \sec^2 x sec2x 因子凑 d ( tan ⁡ x ) d(\tan x) d(tanx),将其余 sec ⁡ 2 x \sec^2 x sec2x 换成 1 + tan ⁡ 2 x 1 + \tan^2 x 1+tan2x
    ∫ sec ⁡ 2 k x tan ⁡ n x d x = ∫ sec ⁡ 2 k − 2 x tan ⁡ n x ⋅ sec ⁡ 2 x d x = ∫ ( sec ⁡ 2 x ) k − 1 tan ⁡ n x ⋅ sec ⁡ 2 x d x = ∫ ( 1 + tan ⁡ 2 x ) k − 1 tan ⁡ n x d ( tan ⁡ x ) ( 因为  d ( tan ⁡ x ) = sec ⁡ 2 x d x ) \begin{aligned} \int \sec^{2k} x \tan^n x \, dx &= \int \sec^{2k-2} x \tan^n x \cdot \sec^2 x \, dx \\ &= \int (\sec^2 x)^{k-1} \tan^n x \cdot \sec^2 x \, dx \\ &= \int (1 + \tan^2 x)^{k-1} \tan^n x \, d(\tan x) \quad (\text{因为 } d(\tan x) = \sec^2 x \, dx) \end{aligned} sec2kxtannxdx=sec2k2xtannxsec2xdx=(sec2x)k1tannxsec2xdx=(1+tan2x)k1tannxd(tanx)(因为 d(tanx)=sec2xdx)
    t = tan ⁡ x t = \tan x t=tanx,积分变为 ∫ ( 1 + t 2 ) k − 1 t n d t \int (1 + t^2)^{k-1} t^n \, dt (1+t2)k1tndt

例 4: 计算 ∫ tan ⁡ 3 x sec ⁡ x d x \int \tan^3 x \sec x \, dx tan3xsecxdx

解: ( tan ⁡ x \tan x tanx 是奇次幂)
∫ tan ⁡ 3 x sec ⁡ x d x = ∫ tan ⁡ 2 x ⋅ ( sec ⁡ x tan ⁡ x ) d x = ∫ ( sec ⁡ 2 x − 1 ) d ( sec ⁡ x ) → 令  t = sec ⁡ x ∫ ( t 2 − 1 ) d t = 1 3 t 3 − t + C = 1 3 sec ⁡ 3 x − sec ⁡ x + C \begin{aligned} \int \tan^3 x \sec x \, dx &= \int \tan^2 x \cdot (\sec x \tan x) \, dx \\ &= \int (\sec^2 x - 1) \, d(\sec x) \\ &\xrightarrow{\text{令 } t = \sec x} \int (t^2 - 1) \, dt \\ &= \frac{1}{3}t^3 - t + C \\ &= \frac{1}{3}\sec^3 x - \sec x + C \end{aligned} tan3xsecxdx=tan2x(secxtanx)dx=(sec2x1)d(secx) t=secx (t21)dt=31t3t+C=31sec3xsecx+C

例 5: 计算 ∫ sec ⁡ 6 x d x \int \sec^6 x \, dx sec6xdx

解: ( sec ⁡ x \sec x secx 是偶数次幂, tan ⁡ n x \tan^n x tannx n = 0 n=0 n=0)
∫ sec ⁡ 6 x d x = ∫ sec ⁡ 4 x ⋅ sec ⁡ 2 x d x = ∫ ( sec ⁡ 2 x ) 2 ⋅ sec ⁡ 2 x d x = ∫ ( 1 + tan ⁡ 2 x ) 2 d ( tan ⁡ x ) → 令  t = tan ⁡ x ∫ ( 1 + t 2 ) 2 d t = ∫ ( 1 + 2 t 2 + t 4 ) d t = t + 2 3 t 3 + 1 5 t 5 + C = tan ⁡ x + 2 3 tan ⁡ 3 x + 1 5 tan ⁡ 5 x + C \begin{aligned} \int \sec^6 x \, dx &= \int \sec^4 x \cdot \sec^2 x \, dx \\ &= \int (\sec^2 x)^2 \cdot \sec^2 x \, dx \\ &= \int (1 + \tan^2 x)^2 \, d(\tan x) \\ &\xrightarrow{\text{令 } t = \tan x} \int (1 + t^2)^2 \, dt \\ &= \int (1 + 2t^2 + t^4) \, dt \\ &= t + \frac{2}{3}t^3 + \frac{1}{5}t^5 + C \\ &= \tan x + \frac{2}{3}\tan^3 x + \frac{1}{5}\tan^5 x + C \end{aligned} sec6xdx=sec4xsec2xdx=(sec2x)2sec2xdx=(1+tan2x)2d(tanx) t=tanx (1+t2)2dt=(1+2t2+t4)dt=t+32t3+51t5+C=tanx+32tan3x+51tan5x+C

(四)处理不同频率乘积: ∫ sin ⁡ ( A x ) cos ⁡ ( B x ) d x \int \sin(Ax) \cos(Bx) \, dx sin(Ax)cos(Bx)dx, ∫ sin ⁡ ( A x ) sin ⁡ ( B x ) d x \int \sin(Ax) \sin(Bx) \, dx sin(Ax)sin(Bx)dx, ∫ cos ⁡ ( A x ) cos ⁡ ( B x ) d x \int \cos(Ax) \cos(Bx) \, dx cos(Ax)cos(Bx)dx

方法: 利用积化和差公式将乘积转化为和差,然后分别积分。

  • cos ⁡ ( A x ) cos ⁡ ( B x ) = 1 2 [ cos ⁡ ( ( A − B ) x ) + cos ⁡ ( ( A + B ) x ) ] \cos(Ax) \cos(Bx) = \frac{1}{2}[\cos((A - B)x) + \cos((A + B)x)] cos(Ax)cos(Bx)=21[cos((AB)x)+cos((A+B)x)]
  • sin ⁡ ( A x ) sin ⁡ ( B x ) = 1 2 [ cos ⁡ ( ( A − B ) x ) − cos ⁡ ( ( A + B ) x ) ] \sin(Ax) \sin(Bx) = \frac{1}{2}[\cos((A - B)x) - \cos((A + B)x)] sin(Ax)sin(Bx)=21[cos((AB)x)cos((A+B)x)]
  • sin ⁡ ( A x ) cos ⁡ ( B x ) = 1 2 [ sin ⁡ ( ( A + B ) x ) + sin ⁡ ( ( A − B ) x ) ] \sin(Ax) \cos(Bx) = \frac{1}{2}[\sin((A + B)x) + \sin((A - B)x)] sin(Ax)cos(Bx)=21[sin((A+B)x)+sin((AB)x)]
  • cos ⁡ ( A x ) sin ⁡ ( B x ) = 1 2 [ sin ⁡ ( ( A + B ) x ) − sin ⁡ ( ( A − B ) x ) ] \cos(Ax) \sin(Bx) = \frac{1}{2}[\sin((A + B)x) - \sin((A - B)x)] cos(Ax)sin(Bx)=21[sin((A+B)x)sin((AB)x)]

例 6: 计算 ∫ cos ⁡ ( 3 x ) cos ⁡ ( 2 x ) d x \int \cos(3x) \cos(2x) \, dx cos(3x)cos(2x)dx

解: ( A = 3 , B = 2 A=3, B=2 A=3,B=2)
∫ cos ⁡ ( 3 x ) cos ⁡ ( 2 x ) d x = ∫ 1 2 [ cos ⁡ ( ( 3 − 2 ) x ) + cos ⁡ ( ( 3 + 2 ) x ) ] d x = 1 2 ∫ ( cos ⁡ x + cos ⁡ 5 x ) d x = 1 2 ( ∫ cos ⁡ x d x + ∫ cos ⁡ 5 x d x ) = 1 2 ( sin ⁡ x + 1 5 ∫ cos ⁡ 5 x d ( 5 x ) ) = 1 2 ( sin ⁡ x + 1 5 sin ⁡ 5 x ) + C = 1 2 sin ⁡ x + 1 10 sin ⁡ 5 x + C \begin{aligned} \int \cos(3x) \cos(2x) \, dx &= \int \frac{1}{2}[\cos((3 - 2)x) + \cos((3 + 2)x)] \, dx \\ &= \frac{1}{2} \int (\cos x + \cos 5x) \, dx \\ &= \frac{1}{2} \left( \int \cos x \, dx + \int \cos 5x \, dx \right) \\ &= \frac{1}{2} \left( \sin x + \frac{1}{5} \int \cos 5x \, d(5x) \right) \\ &= \frac{1}{2} \left( \sin x + \frac{1}{5} \sin 5x \right) + C \\ &= \frac{1}{2}\sin x + \frac{1}{10}\sin 5x + C \end{aligned} cos(3x)cos(2x)dx=21[cos((32)x)+cos((3+2)x)]dx=21(cosx+cos5x)dx=21(cosxdx+cos5xdx)=21(sinx+51cos5xd(5x))=21(sinx+51sin5x)+C=21sinx+101sin5x+C

(五)一般情况:万能代换

对于任何三角函数有理式 R ( sin ⁡ x , cos ⁡ x ) R(\sin x, \cos x) R(sinx,cosx) 的不定积分 ∫ R ( sin ⁡ x , cos ⁡ x ) d x \int R(\sin x, \cos x) \, dx R(sinx,cosx)dx,都可以通过万能代换(Universal Trigonometric Substitution) 转化为有理函数 r ( t ) r(t) r(t) 的积分 ∫ r ( t ) d t \int r(t) \, dt r(t)dt

代换关系:
t = tan ⁡ ( x 2 ) t = \tan\left(\frac{x}{2}\right) t=tan(2x)。则:

  • x = 2 arctan ⁡ t x = 2 \arctan t x=2arctant
  • d x = 2 1 + t 2 d t dx = \frac{2}{1 + t^2} \, dt dx=1+t22dt
  • sin ⁡ x = 2 t 1 + t 2 \sin x = \frac{2t}{1 + t^2} sinx=1+t22t
  • cos ⁡ x = 1 − t 2 1 + t 2 \cos x = \frac{1 - t^2}{1 + t^2} cosx=1+t21t2
  • tan ⁡ x = 2 t 1 − t 2 \tan x = \frac{2t}{1 - t^2} tanx=1t22t

sin ⁡ x \sin x sinx, cos ⁡ x \cos x cosx, d x dx dx 全部用 t t t 的表达式代入原积分,即可得到关于 t t t 的有理函数积分。然后使用上一讲的有理函数积分方法(部分分式分解)计算,最后将 t t t 替换回 tan ⁡ ( x / 2 ) \tan(x/2) tan(x/2)

优点: 理论上可以解决所有三角函数有理式的积分。
缺点: 计算量通常较大,得到的关于 t t t 的有理函数可能很复杂。优先考虑前面几种特殊方法,只有在它们不适用时才考虑万能代换。

例 7: 计算 ∫ 1 1 + cos ⁡ x d x \int \frac{1}{1 + \cos x} \, dx 1+cosx1dx

解: (方法一:万能代换)
t = tan ⁡ ( x / 2 ) t = \tan(x/2) t=tan(x/2)
∫ 1 1 + cos ⁡ x d x = ∫ 1 1 + 1 − t 2 1 + t 2 ⋅ ( 2 1 + t 2 d t ) = ∫ 1 ( 1 + t 2 ) + ( 1 − t 2 ) 1 + t 2 ⋅ 2 1 + t 2 d t = ∫ 1 2 1 + t 2 ⋅ 2 1 + t 2 d t = ∫ 1 + t 2 2 ⋅ 2 1 + t 2 d t = ∫ 1 d t = t + C = tan ⁡ ( x 2 ) + C \begin{aligned} \int \frac{1}{1 + \cos x} \, dx &= \int \frac{1}{1 + \frac{1 - t^2}{1 + t^2}} \cdot \left(\frac{2}{1 + t^2} \, dt\right) \\ &= \int \frac{1}{\frac{(1 + t^2) + (1 - t^2)}{1 + t^2}} \cdot \frac{2}{1 + t^2} \, dt \\ &= \int \frac{1}{\frac{2}{1 + t^2}} \cdot \frac{2}{1 + t^2} \, dt \\ &= \int \frac{1 + t^2}{2} \cdot \frac{2}{1 + t^2} \, dt \\ &= \int 1 \, dt \\ &= t + C \\ &= \tan\left(\frac{x}{2}\right) + C \end{aligned} 1+cosx1dx=1+1+t21t21(1+t22dt)=1+t2(1+t2)+(1t2)11+t22dt=1+t2211+t22dt=21+t21+t22dt=1dt=t+C=tan(2x)+C

解: (方法二:利用半角公式,更简单)
∫ 1 1 + cos ⁡ x d x = ∫ 1 2 cos ⁡ 2 ( x 2 ) d x ( 因为  1 + cos ⁡ x = 2 cos ⁡ 2 ( x / 2 ) ) = 1 2 ∫ sec ⁡ 2 ( x 2 ) d x = ∫ sec ⁡ 2 ( x 2 ) d ( x 2 ) ( 因为  d ( x / 2 ) = 1 2 d x ) = tan ⁡ ( x 2 ) + C \begin{aligned} \int \frac{1}{1 + \cos x} \, dx &= \int \frac{1}{2 \cos^2\left(\frac{x}{2}\right)} \, dx \quad (\text{因为 } 1 + \cos x = 2 \cos^2(x/2)) \\ &= \frac{1}{2} \int \sec^2\left(\frac{x}{2}\right) \, dx \\ &= \int \sec^2\left(\frac{x}{2}\right) \, d\left(\frac{x}{2}\right) \quad (\text{因为 } d(x/2) = \frac{1}{2} dx) \\ &= \tan\left(\frac{x}{2}\right) + C \end{aligned} 1+cosx1dx=2cos2(2x)1dx(因为 1+cosx=2cos2(x/2))=21sec2(2x)dx=sec2(2x)d(2x)(因为 d(x/2)=21dx)=tan(2x)+C
(注: 这个例子说明,即使万能代换可行,也应优先寻找更简洁的方法。**)

例 8: 计算 ∫ 1 + sin ⁡ x sin ⁡ x ( 1 + cos ⁡ x ) d x \int \frac{1 + \sin x}{\sin x (1 + \cos x)} \, dx sinx(1+cosx)1+sinxdx

解: (这种复杂形式通常需要万能代换)
t = tan ⁡ ( x / 2 ) t = \tan(x/2) t=tan(x/2)。代入 sin ⁡ x = 2 t 1 + t 2 \sin x = \frac{2t}{1+t^2} sinx=1+t22t, cos ⁡ x = 1 − t 2 1 + t 2 \cos x = \frac{1-t^2}{1+t^2} cosx=1+t21t2, d x = 2 1 + t 2 d t dx = \frac{2}{1+t^2} dt dx=1+t22dt
分子部分:  1 + sin ⁡ x = 1 + 2 t 1 + t 2 = 1 + t 2 + 2 t 1 + t 2 = ( 1 + t ) 2 1 + t 2 分母的第一个因子:  sin ⁡ x = 2 t 1 + t 2 分母的第二个因子:  1 + cos ⁡ x = 1 + 1 − t 2 1 + t 2 = 1 + t 2 + 1 − t 2 1 + t 2 = 2 1 + t 2 没有dx的被积函数:  ( 1 + t ) 2 1 + t 2 2 t 1 + t 2 ⋅ 2 1 + t 2 = ( 1 + t ) 2 1 + t 2 ⋅ ( 1 + t 2 ) 2 4 t = ( 1 + t ) 2 ( 1 + t 2 ) 4 t \begin{aligned} \text{分子部分: } & 1 + \sin x = 1 + \frac{2t}{1+t^2} = \frac{1+t^2+2t}{1+t^2} = \frac{(1+t)^2}{1+t^2} \\ \text{分母的第一个因子: } & \sin x = \frac{2t}{1+t^2} \\ \text{分母的第二个因子: } & 1 + \cos x = 1 + \frac{1-t^2}{1+t^2} = \frac{1+t^2+1-t^2}{1+t^2} = \frac{2}{1+t^2} \\ \text{没有dx的被积函数: } & \frac{\frac{(1+t)^2}{1+t^2}}{\frac{2t}{1+t^2} \cdot \frac{2}{1+t^2}} = \frac{(1+t)^2}{1+t^2} \cdot \frac{(1+t^2)^2}{4t} = \frac{(1+t)^2 (1+t^2)}{4t} \end{aligned} 分子部分分母的第一个因子分母的第二个因子没有dx的被积函数1+sinx=1+1+t22t=1+t21+t2+2t=1+t2(1+t)2sinx=1+t22t1+cosx=1+1+t21t2=1+t21+t2+1t2=1+t221+t22t1+t221+t2(1+t)2=1+t2(1+t)24t(1+t2)2=4t(1+t)2(1+t2)

现在进行积分:
∫ 1 + sin ⁡ x sin ⁡ x ( 1 + cos ⁡ x ) d x = ∫ ( ( 1 + t ) 2 ( 1 + t 2 ) 4 t ) ⋅ ( 2 1 + t 2 d t ) = ∫ ( 1 + t ) 2 ⋅ 2 4 t d t = 1 2 ∫ ( 1 + t ) 2 t d t = 1 2 ∫ 1 + 2 t + t 2 t d t = 1 2 ∫ ( 1 t + 2 + t ) d t = 1 2 ( ln ⁡ ∣ t ∣ + 2 t + t 2 2 ) + C = 1 2 ln ⁡ ∣ t ∣ + t + 1 4 t 2 + C = 1 2 ln ⁡ ∣ tan ⁡ x 2 ∣ + tan ⁡ x 2 + 1 4 tan ⁡ 2 x 2 + C \begin{aligned} \int \frac{1 + \sin x}{\sin x (1 + \cos x)} \, dx &= \int \left( \frac{(1+t)^2 (1+t^2)}{4t} \right) \cdot \left( \frac{2}{1+t^2} \, dt \right) \\ &= \int \frac{(1+t)^2 \cdot 2}{4t} \, dt \\ &= \frac{1}{2} \int \frac{(1+t)^2}{t} \, dt \\ &= \frac{1}{2} \int \frac{1 + 2t + t^2}{t} \, dt \\ &= \frac{1}{2} \int \left( \frac{1}{t} + 2 + t \right) \, dt \\ &= \frac{1}{2} \left( \ln|t| + 2t + \frac{t^2}{2} \right) + C \\ &= \frac{1}{2}\ln|t| + t + \frac{1}{4}t^2 + C \\ &= \frac{1}{2}\ln\left|\tan\frac{x}{2}\right| + \tan\frac{x}{2} + \frac{1}{4}\tan^2\frac{x}{2} + C \end{aligned} sinx(1+cosx)1+sinxdx=(4t(1+t)2(1+t2))(1+t22dt)=4t(1+t)22dt=21t(1+t)2dt=21t1+2t+t2dt=21(t1+2+t)dt=21(lnt+2t+2t2)+C=21lnt+t+41t2+C=21ln tan2x +tan2x+41tan22x+C

相关文章:

高等数学第四章---不定积分(4.4有理函数的不定积分2)

&4.4有理函数的不定积分2 篇幅有限制,例题的解答会占大量字符,html限制字符为22000个左右。这里继续探讨上文的有理函数的不定积分。 一、三角函数有理式的不定积分 由 sin ⁡ x \sin x sinx, cos ⁡ x \cos x cosx 以及常数经过有限次加、减、…...

C++中指针使用详解(4)指针的高级应用汇总

C 中指针的高级应用非常丰富,掌握这些内容能让你写出更高性能、更底层控制力强的代码。下面是应用模块梳理和例子讲解。 目录预览 函数指针与回调机制指针数组 vs 数组指针指针与类成员函数(成员函数指针)智能指针(unique_ptr, s…...

Java 8 非对称加密代码示例

以下是使用Java 8实现RSA非对称加密的完整代码示例,包括密钥生成、加密和解密过程。 1. 生成RSA密钥对 import java.security.*; import java.security.spec.PKCS8EncodedKeySpec; import java.security.spec.X509EncodedKeySpec; import java.util.Base64; impor…...

Linux环境基础与开发工具使用

1. Linux编译器vim 1.1 vim的基本概念讲解 vim有很多种模式,我们初学者常用的就是命令模式(command mode)、插入模式(Insert mode)和底行模式(last line mode)。 命令/正常模式(Normal mode) …...

【BUG】‘DetDataSample‘ object has no attribute ‘_gt_sem_seg‘

问题: 使用mmdetection框架使用COCO格式训练自定义数据集时,其中模型使用HTC模型时出现如下问题: AttributeError: ‘DetDataSample’ object has no attribute ‘_gt_sem_seg’. Did you mean: ‘gt_sem_seg’? results self(**data, mode…...

C# Winforms 本地化 多语言支持 字符串资源

初级代码游戏的专栏介绍与文章目录-CSDN博客 我的github:codetoys,所有代码都将会位于ctfc库中。已经放入库中我会指出在库中的位置。 这些代码大部分以Linux为目标但部分代码是纯C的,可以在任何平台上使用。 源码指引:github源…...

ts bug 找不到模块或相应类型的声明,@符有红色波浪线

解决方法&#xff1a;在env.d.ts文件中添加以下代码&#xff0c;这段代码是一个 TypeScript 的声明文件&#xff0c;用于让 TypeScript 知道如何处理 Vue 单文件组件&#xff08;.vue 文件&#xff09;的导入。 /// <reference types"vite/client" /> // 声明…...

赛灵思 XCZU11EG-2FFVC1760I XilinxFPGAZynq UltraScale+ MPSoC EG

XCZU11EG-2FFVC1760I 是 Zynq UltraScale MPSoC EG 系列中性能最强的器件之一&#xff0c;集成了四核 ARM Cortex-A53 应用处理器、双核 Cortex-R5 实时处理器与 Mali-400 MP2 GPU&#xff0c;并结合了 653,100 个逻辑单元与丰富的片上存储资源&#xff0c;可满足高性能计算、A…...

VSCode|IDEA|PyCharm无缝接入DeepSeek R1实现AI编程

文章目录 前言一、流程简介1. 获取DeepSeek R1的API密钥2. 在编程软件中下载安装 Continue 插件**IDEA**PyCharm 3. 配置Continue文件 二、使用体验利用 DeepSeek R1进行 AI 编程 前言 本文将介绍如何在 VSCode|IDEA|PyCharm 软件中接入 DeepSeek R1 实现 AI 编程&#xff0c;…...

深入浅出 PostgreSQL:从历史演进到高阶优化技术

引言 PostgreSQL 是一个免费开源的对象关系型数据库&#xff0c;既支持传统的 SQL 查询&#xff0c;也支持 JSON 等非关系数据类型&#xff0c;因其高度可扩展性和社区活跃度&#xff0c;已成为众多互联网、金融和企业级应用的首选数据库 (Introduction to PostgreSQL - W3Sch…...

塔能水泵节能方案:精准驱动工厂能耗优化

在工厂的能源消耗体系中&#xff0c;水泵作为关键的动力设备&#xff0c;其运行效率直接关系到整体能耗水平。传统水泵在长期运行中&#xff0c;受设计局限、工艺成本约束等因素影响&#xff0c;普遍存在效率低下、能源浪费严重的问题。塔能科技针对这一痛点&#xff0c;推出了…...

SSCLMD模型代码实现详解

SSCLMD模型代码实现详解 1. 项目源码结构 SSCLMD项目的源码结构如下&#xff1a; SSCLMD-main/ ├── README.md ├── ST4.xlsx ├── Supplementary File.docx ├── code/ │ ├── calculating_similarity.py │ ├── data_preparation.py │ ├── data_…...

【coze】故事卡片(图片、音频、文字)

【coze】故事卡片&#xff08;图片、音频、文字&#xff09; 1、创建智能体2、添加人设与回复逻辑3、添加工作流&#xff08;1&#xff09;创建工作流&#xff08;2&#xff09;添加大模型节点&#xff08;3&#xff09;添加提示词优化节点&#xff08;4&#xff09;添加豆包图…...

限免开关实施版本保护措施,保证项目灰度发布安全

迭代用户限免权限校验业务 新增限免开关实现普通用户权益更新&#xff0c;实施版本保护措施&#xff0c;保证项目灰度发布安全&#xff1b; // 是否展示限免标识 func (t *BasePrivilegeService) IsPromotionFree(p consumParams) bool {// 限免开关isFreeUseOpen : p.cfg.Vip…...

C#中从本地(两个路径文件夹)中实时拿图显示到窗口中并接收(两个tcp发送的信号)转为字符串显示在窗体中实现检测可视化

多窗口源码 C#中从本地&#xff08;两个路径文件夹&#xff09;中实时拿图显示到窗口中并接收&#xff08;两个tcp发送的信号&#xff09;转为字符串显示在窗体中实现检测可视化资源-CSDN文库 读图结果展示 字符串结果展示 利用TCP调试工具创建两个tcp 再次启动程序 就链接…...

了解一下OceanBase中的表分区

OceanBase 是一个高性能的分布式关系型数据库&#xff0c;它支持 SQL 标准的大部分功能&#xff0c;包括分区表。分区表可以帮助管理大量数据&#xff0c;提高查询效率&#xff0c;通过将数据分散到不同的物理段中&#xff0c;可以减少查询时的数据扫描量。 在 OceanBase 中操…...

生成了一个AI算法

import torch import torch.nn as nn import torch.optim as optim from torchvision import datasets, transforms # 1. 数据预处理 transform transforms.Compose([ transforms.ToTensor(), transforms.Normalize((0.5,), (0.5,)) # MNIST单通道归一化 ]) train_da…...

C# 使用SunnyUI控件 (VS 2019)

前言&#xff1a;建议下载源码&#xff0c;源码中包含了各种控件的用法案例。 下载 帮助文档: 文档预览 - Gitee.comGitee: SunnyUI: SunnyUI.NET 是基于.NET Framework 4.0、.NET8、.NET9 框架的 C# WinForm UI、开源控件库、工具类库、扩展类库、多页面开发框架。GitHub: h…...

在 Win11 下安装 Wireshark 的详细步骤

目录 一、了解 Wireshark1. 作用和功能2. 使用步骤 二、下载安装包三、运行安装包四、使用 Wireshark1. 抓包2. 窗口介绍3. 过滤器&#xff08;显示 / 捕获过滤器&#xff09;4. 保存过滤后的报文1&#xff09;显示过滤器表达式2&#xff09;过滤表达式的规则 5. 封包列表6. 封…...

【AI提示词】六顶思考帽工具专家

提示说明 提供专业的六顶思考帽工具应用服务&#xff0c;帮助用户从多角度进行创新性问题解决。 提示词 # Role: 六顶思考帽工具专家## Profile - language: 中文 - description: 提供专业的六顶思考帽工具应用服务&#xff0c;帮助用户从多角度进行创新性问题解决 - backgr…...

解锁RAG:AI 2.0时代的“知识外挂”是如何炼成的?

——从原理到实战&#xff0c;揭秘检索增强生成如何颠覆传统AI 引言&#xff1a;当AI学会“开卷考试” 如果传统大模型是“闭卷学霸”&#xff0c;那RAG&#xff08;Retrieval-Augmented Generation&#xff0c;检索增强生成&#xff09;就是那个考试时带着“百科全书”的超级…...

使用 ANSYS SIwave 求解器在 ANSYS AEDT 中预测串行通道性能并生成眼图

PCB 仿真 如今&#xff0c;无线射频设备日益复杂&#xff0c;对大型复杂 PCB 设计进行准确、高效仿真的需求也随之增加。在设计流程的早期识别和预测潜在问题可以节省资源、时间和金钱。SIwave 可帮助您对现代高性能电子产品中典型的高速通道和完整的输电系统进行建模、仿真和…...

启发式算法-模拟退火算法

模拟退火算法是一种基于概率的启发式优化算法&#xff0c;用于解决大规模组合优化问题&#xff0c;其灵感来源于金属退火过程中的物理现象。其基本原理是从一个初始解开始&#xff0c;然后在当前解的邻域内随机生成一个新解&#xff0c;如果新解的目标函数值优于当前解&#xf…...

机器视觉框架源码——解读3(常用的资源和样式)

这是关于框架解读的第三篇文章,将结合理论和框架代码进行讲解。 WPF中的各类工件元素,都可以设置其样式,如: 字体(FontFamily) 字体大小(FontSize) 背景颜色(Backgroud) 字体颜色(Foreground) 边距(Margin) 水平位置(HorizontalAlignment) 垂直位置(VerticalAlignment) 而样…...

勒索病毒肆虐时代:数据库加密存储的实践指南

在2025年第一季度&#xff0c;全球勒索攻击损失突破150亿美元&#xff0c;某跨国制造企业因数据库未加密被勒索3000枚比特币&#xff0c;某省级医保系统遭攻击导致参保人信息泄露……当医疗数据、金融资产、知识产权成为黑客的提款机&#xff0c;数据库加密已从技术选项升级为生…...

next中的server comonent中如何共享session

在 Next.js 的服务器组件&#xff08;Server Components&#xff09;里共享会话&#xff08;session&#xff09;&#xff0c;可以借助第三方库&#xff08;如 next-auth 或 express-session 结合自定义 API 路由&#xff09;来实现&#xff0c;下面为你详细介绍这两种常见的实…...

Desfire Ev1\Ev2\Ev3卡DES\3K3DES\AES加解密读写VB.Net示例源码

本示例使用发卡器&#xff1a;https://item.taobao.com/item.htm?spma21dvs.23580594.0.0.1d292c1bSxJTb6&ftt&id917152255720 Public Class Form1Public Declare Function pcdbeep Lib "OUR_MIFARE.dll" (ByVal xms As Integer) As BytePublic Declare Fu…...

商业实战将归巢网内容构建为本地RAG模型的完整指南01-优雅草卓伊凡

商业实战将归巢网内容构建为本地RAG模型的完整指南01-优雅草卓伊凡 今天卓伊凡收到了老客户归巢网关于对本地RAG模型建立的咨询&#xff0c;这点也让卓伊凡得深入研究下&#xff0c;毕竟老客户肯定不是说着玩的&#xff0c;主要最终实现目的是建立模型开始使用AI智能问答。 一…...

langchain4j整合springboot

环境介绍 JDK17Spring Boot: 3.0.2 创建springboot工程 IDEA新建一个springboot项目&#xff0c;使用Spring lnitializr快速构建。 选择Spring Boot: 3.0.2以及Spring Web依赖 添加maven依赖 创建完springboot项目之后&#xff0c;在pom中添加关键依赖 <properties&g…...

在线时间戳转换工具

给大家推荐一个在线时间戳转换工具 点击跳转-鸽鸽在线工具 这个工具除了时间戳转换&#xff0c;到首页还能选择使用很多其他小工具&#xff0c;欢迎使用...

Codeforces Round 1023 (Div. 2) (A-D)

每周至少五篇博客&#xff1a;(1/5) A. LRC and VIP 题意 您有一个大小 n n n 的数组 a a a - a 1 , a 2 , … a n a_1, a_2, \ldots a_n a1​,a2​,…an​ 。 您需要将 n n n 元素分为 2 2 2 序列 B B B 和 C C C &#xff0c;以满足以下条件&#xff1a; 每个元素…...

[Survey]Remote Sensing Temporal Vision-Language Models: A Comprehensive Survey

BaseInfo TitleRemote Sensing Temporal Vision-Language Models: A Comprehensive SurveyAdresshttps://arxiv.org/abs/2412.02573Journal/Time2024 arxivAuthor北航 上海AI LabCodehttps://github.com/Chen-Yang-Liu/Awesome-RS-Temporal-VLM 1. Introduction 传统遥感局限…...

Linux56 YUM源配置

epel未启动 显示系统未通过注册 配置YUM仓库 本地YUM仓库 1.备份 tar -zcf repo.tar.gz *.repo 2.挂载 mount -o ro /dev/sr0 /mnt 3.开机自启 chmod x /etc/rc.local echo ‘mount -o ro /dec/sr0 /mnt’ /etc/rc.local 4.编写本地YUM仓库 local.repo [local] namelocal yum …...

mysql 如何查询数据库链接日志

1&#xff0c;查看是否开启日志 SHOW GLOBAL VARIABLES LIKE general_log; -- 查看是否开启通用查询日志&#xff08;包括连接记录&#xff09; 1.1&#xff0c;假如没开启&#xff0c;可以临时开启&#xff0c;做测试&#xff1b;服务重启&#xff0c;配置失效&#xf…...

Element-Plus-X开源程序是Vue3 + Element-Plus 开箱即用的企业级AI组件库前端的解决方案

​一、软件介绍 文末提供程序和源码下载 Element-Plus-X开源程序是Vue3 Element-Plus 开箱即用的企业级AI组件库前端的解决方案。 二、核心特性 ✨ 企业级 AI 组件&#xff1a;内置聊天机器人、语音交互等场景化组件&#x1f680; 零配置集成&#xff1a;基于 Element-Plus …...

基于DevSecOps敏捷框架的数字供应链安全应解决方案

基于DevSecOps敏捷框架的数字供应链安全应解决方案是以“AI智能代码疫苗技术”深度赋能原创专利级“多模态SCADevSecOpsSBOM情报预警”的第四代DevSecOps数字供应链安全管理体系,在DevSecOps敏捷安全体系建设、数字供应链安全审查、开源供应链安全治理和云原生安全体系建设四大…...

2025年北京市职工职业技能大赛第六届信息通信行业网络安全技能大赛初赛-wp

- -考试当场没做出来 后面做的 misc ❯ cd misc ❯ ls num.docx num.zip ❯ unzip num.docx Archive: num.docxinflating: [Content_Types].xmlinflating: _rels/.relsinflating: word/document.xmlinflating: word/_rels/document.xml.relsextracting: word/media/image1.jp…...

2、实验室测控系统 - /自动化与控制组件/lab-monitoring-system

76个工业组件库示例汇总 实验室测控系统开发组件 这是一个专为实验室设备数据采集与分析设计的可视化测控系统组件。采用工业风格界面设计&#xff0c;提供了丰富的动态数据展示与分析功能&#xff0c;可应用于各类实验室环境中的设备监控和数据处理。 功能特点 多设备管理…...

Blender插件机制设计与Python实现

Blender插件机制设计与Python实现 Blender的插件机制是其强大扩展性的核心&#xff0c;允许开发者通过Python创建自定义功能。下面我将详细介绍Blender插件系统的设计原理&#xff0c;并提供一个完整的示例。 Blender插件系统设计原理 模块化架构&#xff1a;Blender将插件作…...

自定义一个 Spring Boot Starter -笔记

SpringBoot Starter的介绍参考&#xff1a; Spring Boot Starter简介-笔记-CSDN博客。这里介绍如何自定义一个springBoot Starter。 1. 项目结构 创建一个 Maven 项目&#xff0c;结构如下&#xff1a; custom-spring-boot-starter-demo/ ├── custom-hello-jdk/ # jdk模…...

【Part 2安卓原生360°VR播放器开发实战】第三节|实现VR视频播放与时间轴同步控制

《VR 360全景视频开发》专栏 将带你深入探索从全景视频制作到Unity眼镜端应用开发的全流程技术。专栏内容涵盖安卓原生VR播放器开发、Unity VR视频渲染与手势交互、360全景视频制作与优化&#xff0c;以及高分辨率视频性能优化等实战技巧。 &#x1f4dd; 希望通过这个专栏&am…...

读 书 说

好久没有坐下来手敲打字去输出或者记录分享一些比较正式的事情。 今天节后综合征&#xff0c;虽然我已经加了两天班了&#xff0c;但是还是不想加班便准点下班了。 今天来聊聊看书。 为什么会看书&#xff1f;最开始正如我之前提到过&#xff0c;人脉资源不多&#xff0c;也不…...

DOCX转PDF怎么操作最简单?快速将DOCX转换为专业PDF文档

在日常办公或学习中&#xff0c;我们经常需要将 Word 文档&#xff08;.docx格式&#xff09;转换为 PDF 文件。这不仅有助于保持文档格式的一致性&#xff0c;还能确保接收者无需特定软件即可查看文件内容。本文将详细介绍几种常见的方法来实现从 DOCX 到 PDF 的转换&#xff…...

免费轻量化办公pdf修改软件 一键格式转换基础修改到高级加密

各位办公软件小能手们&#xff01;今天咱来聊聊一款超厉害的 PDF 编辑软件——PDFXEdit。你知道吗&#xff0c;这软件就像个 PDF 处理的超级魔法师&#xff0c;能全方位搞定 PDF 文档。下面我就给大家详细说说它的那些功能和适用场景。 首先是基础编辑功能。这软件在文本与图像…...

【HFP】蓝牙语音通信高级功能解析:快速拨号与呼叫等待协议实现

在蓝牙语音通信系统中&#xff0c;除了基础的通话建立与控制流程&#xff0c;高级功能如快速拨号&#xff08;内存拨号、最后号码重拨&#xff09;和呼叫等待通知的实现&#xff0c;直接影响着用户体验的便捷性与系统的实用性。这些功能依赖于蓝牙协议中特定的 AT 命令交互、状…...

CVE-2025-24813:Apache Tomcat RCE 漏洞分析

CVE-2025-24813 是 Apache Tomcat 中的一个严重远程代码执行 (RCE) 漏洞,源于路径等效缺陷,允许攻击者绕过安全约束并远程执行任意代码。 CYFIRMA 的研究发现了一些活跃的漏洞利用,一些 PoC 漏洞在地下论坛上流传。攻击者利用基于 HTTP PUT 的任意文件上传、NTFS 连接漏洞利…...

神经网络之训练的艺术:反向传播与常见问题解决之道

神经网络训练的艺术&#xff1a;反向传播与常见问题解决之道 摘要 神经网络是现代机器学习的核心工具之一&#xff0c;而反向传播则是其训练过程中不可或缺的算法。本文深入探讨了反向传播的工作原理以及在训练过程中常见的问题&#xff0c;如梯度消失、梯度爆炸、死 ReLU 单…...

小土堆pytorch--transform

torchvision中的transform torchvision中的transform1. transforms的使用1.1 transforms的结构及用法理论1.2 相应代码1.3 对上述代码的解释 2. 常见的transforms2.1 python 的call函数2.2 ToTensor的使用2.3 Normalize的使用2.4 Resize的使用2.5 Compose的使用2.6 RandomCrop的…...

【Django】REST 常用类

ModelSerializer serializers.ModelSerializer 是 Django REST framework&#xff08;DRF&#xff09;里的一个强大工具&#xff0c;它能极大简化序列化和反序列化 Django 模型实例的流程。下面从多个方面详细介绍它&#xff1a; 1. 基本概念 序列化是把 Django 模型实例转化…...

PyTorch常用命令详解:助力深度学习开发

&#x1f4cc; 友情提示&#xff1a; 本文内容由银河易创AI&#xff08;https://ai.eaigx.com&#xff09;创作平台的gpt-4-turbo模型生成&#xff0c;旨在提供技术参考与灵感启发。文中观点或代码示例需结合实际情况验证&#xff0c;建议读者通过官方文档或实践进一步确认其准…...