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

如何通过换元法求解积分∫1/(x²+x+1)dx?

Hey there! Let’s walk through solving the integral I = ∫1/(x²+x+1)dx using substitution, step by step. The key here is first simplifying the quadratic denominator so we can leverage a standard integral formula after substitution.

Step 1: Complete the square for the denominator

First, we need to rewrite the quadratic in the denominator into a form that’s easier to work with via substitution. Completing the square is the perfect tool here:

x² + x + 1 = x² + x + (1/4) + 1 - (1/4)

The first three terms form a perfect square: (x + 1/2)², and the constants simplify to 3/4 (which we can write as (√3/2)²). Now our denominator looks like:

(x + 1/2)² + (√3/2)²
Step 2: Choose the substitution

Let’s set u = x + 1/2. Taking the derivative of both sides gives du = dx — ideal, since it directly replaces the dx in our integral. This substitution transforms the denominator into the familiar form u² + a², where a = √3/2.

Step 3: Rewrite the integral in terms of u

Substitute u and du into the original integral:

I = ∫1/(u² + (√3/2)²) du
Step 4: Apply the standard integral formula

We know the standard result for integrals of the form ∫1/(u² + a²) du is (1/a)arctan(u/a) + C. Plugging in a = √3/2:

I = (1/(√3/2)) arctan(u/(√3/2)) + C

Simplify the coefficients: 1/(√3/2) = 2/√3, and u/(√3/2) = 2u/√3. This simplifies to:

I = (2/√3) arctan(2u/√3) + C

For a cleaner, rationalized form, we can rewrite 2/√3 as 2√3/3:

I = (2√3/3) arctan(2u/√3) + C
Step 5: Substitute back to x

Now replace u with our original substitution u = x + 1/2:

I = (2√3/3) arctan( (2(x + 1/2))/√3 ) + C

Simplify the numerator inside the arctangent: 2(x + 1/2) = 2x + 1. So our final result is:

I = (2√3/3) arctan( (2x + 1)/√3 ) + C

Quick sanity check: If you differentiate this result with respect to x, you should end up back with 1/(x²+x+1) — that’s a great way to confirm you didn’t make any arithmetic errors along the way.

内容的提问来源于stack exchange,提问作者user518960

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.19 03:38:53