You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求证积分$I_n = \int \tanh^{n}x$的递推公式$I_n = I_{n-2} - \frac{1}{n-1}\tanh^{n-1}x$

Deriving the Recurrence Relation for $I_n = \int \tanh^n x dx$

No worries, let's walk through this step by step—it's all about cleverly rewriting the integrand and using basic integration techniques.

  1. Rewrite the integrand to link to lower powers
    Start by breaking down $\tanh^n x$ into a product of a lower power of $\tanh x$ and $\tanh^2 x$:
    $$\tanh^n x = \tanh^{n-2} x \cdot \tanh^2 x$$
    We know from hyperbolic identities that $\tanh^2 x = 1 - \text{sech}^2 x$, so substitute that in:
    $$\tanh^n x = \tanh^{n-2} x (1 - \text{sech}^2 x)$$

  2. Split the integral into two parts
    Now expand the integral using this rewritten form:
    $$I_n = \int \tanh^n x dx = \int \tanh^{n-2} x (1 - \text{sech}^2 x) dx = \int \tanh^{n-2} x dx - \int \tanh^{n-2} x \cdot \text{sech}^2 x dx$$
    The first integral here is exactly $I_{n-2}$, so we can rewrite this as:
    $$I_n = I_{n-2} - \int \tanh^{n-2} x \cdot \text{sech}^2 x dx$$

  3. Evaluate the remaining integral with substitution
    Let's focus on the integral $\int \tanh^{n-2} x \cdot \text{sech}^2 x dx$. Use the substitution $u = \tanh x$—notice that the derivative of $\tanh x$ is $\text{sech}^2 x$, so:
    $$du = \text{sech}^2 x dx$$
    Substitute into the integral:
    $$\int u^{n-2} du = \frac{u^{n-1}}{n-1} + C = \frac{\tanh^{n-1} x}{n-1} + C$$

  4. Combine everything to get the recurrence relation
    Plug this result back into our earlier expression for $I_n$:
    $$I_n = I_{n-2} - \frac{1}{n-1}\tanh^{n-1} x + C$$
    Since $I_{n-2}$ already includes the constant of integration (as it's an indefinite integral), we can omit the separate constant term, leaving the final recurrence:
    $$\boxed{I_n = I_{n-2} - \frac{1}{n-1}\tanh^{n-1} x}$$

内容的提问来源于stack exchange,提问作者m.roussev

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:12:53