Integrating 1/(1-x)^2 its making me crazy

  • Thread starter Europio2
  • Start date
  • Tags
    Integrating
In summary, this person is trying to solve an equation but is getting confused. He uses a different formula for different exponents and does not properly enter the equation into LaTeX.
  • #1
Europio2
5
0
Member informed about compulsory use of homework template.

Homework Statement



I know its easy, but I'm making a mistake somewhere that is making me crazy. I want to solve \begin{equation} y = \int 1/(1-x)^2 \cdot dx \end{equation}
I use de sixth formula in this PDF, but it does not work http://integral-table.com/downloads/single-page-integral-table.pdf

Homework Equations



\begin{equation} y = \int 1/(1-x)^2 \cdot dx \end{equation}

The Attempt at a Solution



This is what I do.
\begin{equation} y = \int 1/(1-x)^2 \cdot dx = \int (1-x)^{-2} \cdot dx = \frac{(1-x)^{-1}}{-1} = \frac{1}{x-1} \end{equation}

What is wrong?
 
Last edited:
Physics news on Phys.org
  • #2
Europio2 said:
I know its easy, but I'm making a mistake somewhere that is making me crazy. I want to solve ∫1/(1-x)²dx

I use de sixth formula in this PDF, but it does not work http://integral-table.com/downloads/single-page-integral-table.pdf

I know the result is 1/(1-x), but using the formulo I get 1/(x-1)

What is wrong?
Well, you haven't shown your work, so how can anyone say what is wrong?
 
  • Like
Likes Europio2
  • #3
Sorry. This is what I do.
∫1/(1-x)^2dx = ∫(1-x)^-2dx = (1-x)^-1/-1 = 1/(x-1)
 
  • #4
The formula you're trying to use says a+x, not a-x, so you should start with a rewrite that puts a plus sign in front of the x.
 
  • Like
Likes Europio2
  • #5
Fredrik said:
The formula you're trying to use says a+x, not a-x, so you should start with a rewrite that puts a plus sign in front of the x.

But that formula is valid for any other exponent I think.

Look at this (this is correct).

\begin{equation} y = \int 1/(1-x)^5 \cdot dx = \int (1-x)^{-5} \cdot dx = \frac{(1-x)^{-4}}{-4} = \frac{1}{4(x-1)^4} \end{equation}

That's why I am confused.
 
  • #6
Europio2 said:
But that formula is valid for any other exponent I think.

Look at this (this is correct).

\begin{equation} y = \int 1/(1-x)^5 \cdot dx = \int (1-x)^{-5} \cdot dx = \frac{(1-x)^{-4}}{-4} = \frac{1}{4(x-1)^4} \end{equation}

That's why I am confused.

Just a question from me: how do you enter an equation?

And notice that (1-x)^(-4)/(-4) does not equal to the two terms beside it. Basically you did two mistakes that made the sign change twice. [(1-x)^-4 = (x-1)^-4]
 
  • #7
sushichan said:
Just a question from me: how do you enter an equation?
Choose "Help/How-To" on the "Info" menu in the upper right. Then click on "LaTeX Primer".
 
  • Like
Likes sushichan
  • #8
sushichan said:
Just a question from me: how do you enter an equation?

And notice that (1-x)^(-4)/(-4) does not equal to the two terms beside it. Basically you did two mistakes that made the sign change twice. [(1-x)^-4 = (x-1)^-4]

I do this -4*(1-x)^-4 = 4*(x-1)^-4, that's why I change the sign.
 
  • #9
IYour first post is nearly right except there is a simple error in the last step, you have confused rules about straight minuses and minuses in an index it seems.
 
  • Like
Likes Europio2
  • #10
Europio2 said:
I do this -4*(1-x)^-4 = 4*(x-1)^-4, that's why I change the sign.

(1-x)^-4 = (-(x-1))^-4 = (-1)^-4 * (x-1)^-4 = (x-1)^-4
 
  • Like
Likes Europio2
  • #11
epenguin said:
IYour first post is nearly right except there is a simple error in the last step, you have confused rules about straight minuses and minuses in an index it seems.
The last step is correct. It's the one before that (the one where he uses the formula from the pdf) that's wrong.
 
  • Like
Likes Europio2
  • #12
Fredrik said:
The last step is correct. It's the one before that (the one where he uses the formula from the pdf) that's wrong.

¿Do you mean that?

\begin{equation} y = -\int -1/(1-x)^2 \cdot dx = -\int -(1-x)^{-2} \cdot dx = -\frac{(1-x)^{-1}}{-1} = \frac{1}{1-x} \end{equation}

But if I change the exponent to 5, as in the other post, and I do the same, I don't get the correct one.

\begin{equation} y = -\int -1/(1-x)^5 \cdot dx = -\int -(1-x)^{-5} \cdot dx = -\frac{(1-x)^{-4}}{-4} = \frac{1}{4*(1-x)^4} \end{equation}I'm missed up :(
 
  • #13
Those extra two minus signs in the first calculation don't help. What I wanted you to do is to find a way to rewrite ##\frac{1}{(1-x)^2}## in the form ##\frac{a}{(b+x)^2}##. You need a plus sign directly in front of the x before you can apply the formula.

Edit: My first version of this post contained an additional statement that was wrong. If you saw it, just ignore it. You should do a rewrite of the type described above at the start of both of these calculations. If you do, the results should be OK.
 
Last edited:
  • #14
Europio2 said:
¿Do you mean that?
I interpreted this as a question about the calculations in post #12, but since you were quoting me, I guess you were asking if I'm sure that the comment I had made earlier (the one you quoted) is right. I have checked it again, and I still say that you're using formula (6) wrong in post #1.

I will rephrase my comment about the rewrite you should do. If you want to be able to find primitive functions of ##\frac{1}{(1-x)^n}## for arbitrary n, you should rewrite ##\int\frac{1}{(1-x)^n}dx## in the form ##b\int(x+a)^m dx## and then use formula (6) to find ##\int(x+a)^m dx##. In fact, I think you should leave n arbitrary (except for the requirement ##n\neq 1##) and try this exact thing.

What you did in post #1 was to assume that you would end up with the right-hand side of formula (6) even though what you had didn't match the left-hand side. What you did in post #12 was to assume that the answer would be wrong by a factor of -1 regardless of what the exponent is. Both of these assumptions are wrong.
 
Last edited:
  • #15
I would add that, unless the OP was required to use a table for this problem for some reason, he shouldn't use the table in the first place. Just do a substitution ##u=1-x##. He might even have gotten the correct answer the first time.
 

FAQ: Integrating 1/(1-x)^2 its making me crazy

How do I integrate 1/(1-x)^2?

The integral of 1/(1-x)^2 can be solved using the substitution method. Let u = 1-x, then du = -dx. Substituting these values into the integral, we get -∫1/u^2 du. This can be easily integrated using the power rule to get -1/u + C. Finally, substituting back u = 1-x, the final answer is 1/(1-x) + C.

Can I use partial fractions to integrate 1/(1-x)^2?

Yes, you can use partial fractions to integrate 1/(1-x)^2. Write the expression as 1/((1-x)(1-x)) and perform partial fraction decomposition to get 1/(1-x) - 1/(1-x)^2. Both these terms can be integrated using the power rule to get -ln|1-x| + 1/(1-x) + C.

Is there another method to integrate 1/(1-x)^2?

Yes, you can also use the method of trigonometric substitution to solve the integral. Let x = sinθ, then dx = cosθ dθ. Substituting this into the integral, we get ∫1/(1-sinθ)^2 cosθ dθ. This can be solved using the power rule and trigonometric identities to get 2tanθ - cscθ + C. Substituting back x = sinθ, the final answer is 2tan(sin^-1x) - csc(sin^-1x) + C.

Can I use integration by parts to solve this integral?

No, integration by parts cannot be used to directly solve the integral of 1/(1-x)^2. This method is used for integrating products of two functions, but in this case we only have one function.

How do I handle indefinite integrals with limits when integrating 1/(1-x)^2?

For indefinite integrals, you can simply add the constant of integration at the end. However, for definite integrals with limits, you need to substitute the limits into the integral to get the definite integral. Then, you can add the constant of integration if needed.

Back
Top