∫Calc Practice
Home›Calculus 2›Partial fractions›Problem 4.794

Integral of \( \displaystyle \frac{1}{\left(3 x + 1\right) \left(3 x + 2\right)^{2}} \)

Problem 4.794 · medium

Find \( \displaystyle \int \frac{1}{\left(3 x + 1\right) \left(3 x + 2\right)^{2}} \, dx \). (Omit the constant of integration.)
  1. \[ \int \frac{1}{\left(3 x + 1\right) \left(3 x + 2\right)^{2}}\, dx \]
    integralStart with the integral of the given function.✓ Proved
  2. \[ = \int \frac{1}{3 x + 1}\, dx - \int \frac{1}{\left(3 x + 2\right)^{2}}\, dx - \int \frac{1}{3 x + 2}\, dx \]
    partial-fractions rewriteDecompose the integrand using partial fraction decomposition. Rewrite the power for easier integration.≈ Checked numerically
  3. \[ = \frac{\ln{\left(3 x + 1 \right)}}{3} - \frac{\ln{\left(3 x + 2 \right)}}{3} - \int \frac{1}{\left(3 x + 2\right)^{2}}\, dx \]
    antiderivativeIntegrate the first two terms.✓ Proved
  4. \[ = \frac{\ln{\left(3 x + 1 \right)}}{3} - \frac{\ln{\left(3 x + 2 \right)}}{3} + \frac{1}{3 \left(3 x + 2\right)} \]
    antiderivativeIntegrate the power term using the power rule.✓ Proved
  5. \[ = \frac{\ln{\left(3 x + 1 \right)}}{3} - \frac{\ln{\left(3 x + 2 \right)}}{3} + \frac{1}{9 x + 6} \]
    simplifySimplify the expression.✓ Proved
Answer \( \frac{\ln{\left(x + \frac{1}{3} \right)}}{3} - \frac{\ln{\left(x + \frac{2}{3} \right)}}{3} + \frac{1}{9 x + 6} + C \)

Lines: 5 proved, 2 checked numerically. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt.

The full receipt
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0line 1 is the problem as stated
2≈ Checked numericallysympy 1.14.0sympy 1.14.0: simplify left log(x + 1/3)/3 - log(x + 2/3)/3 - log(3*x + 1)/3 + log(3*x + 2)/3; numeric agreement only, at 24 of 24 sampled points
undefined where 3*x + 2 = 0
undefined where 3*x + 1 = 0
3✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
undefined where 3*x + 2 = 0
undefined where 3*x + 1 = 0
4✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
undefined where 3*x + 2 = 0
undefined where 3*x + 1 = 0
log is undefined for non-positive arguments
5✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
log is undefined for non-positive arguments
undefined where 3*x + 2 = 0
6✓ Provedsympy 1.14.0simplify(a - b) reduced to 0
log is undefined for non-positive arguments
undefined where 3*x + 2 = 0
undefined where 9*x + 6 = 0
answer≈ Checked numericallysympy 1.14.0sympy 1.14.0: final line against the stated answer: simplify left -log(x + 1/3)/3 + log(x + 2/3)/3 + log(3*x + 1)/3 - log(3*x + 2)/3; numeric agreement only, at 24 of 24 sampled points
log is undefined for non-positive arguments
undefined where 9*x + 6 = 0
answer, a second way✓ Provedsympy 1.14.0SymPy differentiated the stated antiderivative back to the integrand

Reviewers

  • gpt-oss:20b: fail (error) — Step 2 applies partial‑fractions but omits the term B/(3*x+2); the decomposition is incomplete and the subsequent integrals are incorrect.
  • qwen3.6:27b-mlx: pass — The solution correctly applies partial fraction decomposition and integrates each term. The steps adhere to the one-change-per-step rule, and the labels accurately describe the operations performed.
Every verdict on record (4)
  • gpt-oss:20b: fail (error) 2026-10-10 — Step 2 applies partial‑fractions but omits the term B/(3*x+2); the decomposition is incomplete and the subsequent integrals are incorrect.
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly applies partial fraction decomposition and integrates each term. The steps adhere to the one-change-per-step rule, and the labels accurately describe the operations performed.
  • gpt-oss:20b: fail (error) 2026-10-10 — The partial‑fraction decomposition in step 2 is incorrect. The integrand 1/((3x+1)(3x+2)^2) does not decompose as A/(3x+1)+B/(3x+2)+C/(3x+2)^2 with A=1, B=−1, C=−1; solving for the coefficients shows a different combination is required. This makes the subsequent integration steps invalid.
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly applies partial fraction decomposition and integrates each term. The steps adhere to the one-change-per-step rule, and the labels accurately describe the operations performed.

Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence, not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by gemma4:26b, checked 2026-10-10 with SymPy 1.14.0.