Unwanted constants after integration

  • Context: Undergrad 
  • Thread starter Thread starter Cyosis
  • Start date Start date
  • Tags Tags
    Constants Integration
Click For Summary
SUMMARY

The discussion centers on the integration of the rational function \(\int \frac{x^2}{(1+x)^2}\,dx\) using the substitution \(u=x+1\). The integration process reveals an unwanted constant of 1 after substituting back to \(x\), which contrasts with results from Mathematica that omit this constant. The key conclusion is that without specified integration boundaries, an integration constant is expected, and the extra constant can be absorbed into a new constant \(C'\). Specifying boundaries resolves the issue, as the constant is adjusted accordingly during substitution.

PREREQUISITES
  • Understanding of integral calculus and substitution methods
  • Familiarity with rational functions and their integration
  • Knowledge of logarithmic functions and their properties
  • Experience using computational tools like Mathematica for verification
NEXT STEPS
  • Study the properties of definite integrals and their relationship to integration constants
  • Learn about the method of substitution in integral calculus
  • Explore the use of Mathematica for symbolic integration and comparison with manual calculations
  • Investigate how integration boundaries affect the outcome of indefinite integrals
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus, as well as anyone using computational tools for integration verification.

Cyosis
Homework Helper
Messages
1,495
Reaction score
5
While integrating a rational function I stumbled upon the following problem (In the calculation of the integral the substitution [tex]u=x+1, du=d(x+1)=dx[/tex] was used).

[tex] \begin{align}<br /> \int \frac{x^2}{(1+x)^2}\,dx &= \int \frac{(u-1)^2}{u^2}\,du<br /> \\<br /> &= \int du+\int \frac{du}{u^2}\ -2 \int \frac{du}{u}\<br /> \\<br /> &= u-\frac{1}{u}- 2 \log(u)<br /> \\<br /> &=1+x - \frac{1}{1+x}-2 \log(1+x)<br /> \end{align}[/tex]

The problem now is that if I substitute x back into the integral during step (2) I get [tex]x - \frac{1}{1+x}-2 \log(1+x)[/tex].

Obviously taking the derivative of both primitives yields the same integrand.

My problem with this is that instead of getting an unknown constant I get this unwanted extra 1. Secondly if I plug this integral into mathematica it gives the result without the constant 1.

So my question is why do I get different functions without having specified the integration constant?
 
Physics news on Phys.org
You didn't specify the integration boundaries, so you will get an integration constant. So instead of (3), you get u - 1/u - 2 log(u) + C and instead of (4) you get 1 + x - 1/(1 + x) - 2 log(1 + x) + C.

The extra 1 you have can simply be absorbed in C, i.e. define C' = C - 1 or something like that.

Once you specify the integration boundaries (x from a to b) the extra constant term will be absorbed by the change of boundaries in the substitution (i.e. the u-integral will run from a + 1 to b + 1).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K