MHB Solving an Indefinite Integral: \frac{3}{x^2-4}dx

Click For Summary
The discussion revolves around solving the indefinite integral ∫(3/(x²-4))dx. Participants suggest using partial fraction decomposition, which simplifies the integration process, and provide a step-by-step method to find constants A and B. Although trigonometric substitution is mentioned as an alternative, it is considered less efficient for this problem. The final solution using partial fractions is presented, yielding the result of (3/4)ln|((x-2)/(x+2))| + C. Overall, the consensus is that partial fractions is the preferred method for this integral.
theakdad
Messages
210
Reaction score
0
I have to calculate the following indefinite integral. i know that i have to do it with substitution,but here's my problem,im not enough good to do it.
So integral is :

$$\int \frac{3}{x^2-4}dx$$
 
Physics news on Phys.org
I would consider using partial fraction decomposition, and then the integration is straightforward.
 
MarkFL said:
I would consider using partial fraction decomposition, and then the integration is straightforward.

it would be good if i would know how to do it...
 
wishmaster said:
it would be good if i would know how to do it...

While there is a shortcut (the Heaviside cover-up method), I recommend you use the following since you are new to it:

First, factor the denominator:

$$\frac{3}{x^2-4}=\frac{3}{(x+2)(x-2)}$$

Next, assume it may be decomposed as follows:

$$\frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}$$

Then, multiply through by the denominator on the left to get:

$$3=A(x-2)+B(x+2)$$

Arrange as follows:

$$0x+3=(A+B)x+(2B-2A)$$

Finally, equate corresponding coefficients to get a 2X2 linear system in $A$ and $B$ which you can then solve.
 
MarkFL said:
While there is a shortcut (the Heaviside cover-up method), I recommend you use the following since you are new to it:

First, factor the denominator:

$$\frac{3}{x^2-4}=\frac{3}{(x+2)(x-2)}$$

Next, assume it may be decomposed as follows:

$$\frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}$$

Then, multiply through by the denominator on the left to get:

$$3=A(x-2)+B(x+2)$$

Arrange as follows:

$$0x+3=(A+B)x+(2B-2A)$$

Finally, equate corresponding coefficients to get a 2X2 linear system in $A$ and $B$ which you can then solve.

What is $A$ and $B$ representing?
 
wishmaster said:
What is $A$ and $B$ representing?

They represent constants, such that:

$$\frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}$$
 
MarkFL said:
They represent constants, such that:

$$\frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}$$

Thanks for that,but as we have done it with substitution,i believe i have to do it so.
 
wishmaster said:
Thanks for that,but as we have done it with substitution,i believe i have to do it so.

Okay, what sort of substitution do you think is appropriate?
 
MarkFL said:
Okay, what sort of substitution do you think is appropriate?

lets say $$u=x^2-4$$
 
  • #10
wishmaster said:
lets say $$u=x^2-4$$

Using this substitution, can you get the correct differential?
 
  • #11
Re: Integral calculationdz

MarkFL said:
Using this substitution, can you get the correct differential?

$$du=2x dz$$ ?
 
  • #12
Re: Integral calculationdz

wishmaster said:
$$du=2x dz$$ ?

I assume you mean:

$$du=2x\,dx$$

Can you write the original integral as:

$$\int f(u)\,du$$ ?

If there was an $x$ as a factor in the numerator of the original integrand, you could, but we don't have that. We are going to need another type of substitution...
 
  • #13
Re: Integral calculationdz

MarkFL said:
I assume you mean:

$$du=2x\,dx$$

Can you write the original integral as:

$$\int f(u)\,du$$ ?

If there was an $x$ as a factor in the numerator of the original integrand, you could, but we don't have that. We are going to need another type of substitution...
Yes,i mean $dx$.
So what kind of substitution do you suggest?
 
  • #14
Re: Integral calculationdz

wishmaster said:
Yes,i mean $dx$.
So what kind of substitution do you suggest?

I suggest:

$$x=2\sin(\theta)$$
 
  • #15
MarkFL said:
While there is a shortcut (the Heaviside cover-up method), I recommend you use the following since you are new to it:

First, factor the denominator:

$$\frac{3}{x^2-4}=\frac{3}{(x+2)(x-2)}$$

Next, assume it may be decomposed as follows:

$$\frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}$$

Then, multiply through by the denominator on the left to get:

$$3=A(x-2)+B(x+2)$$

Arrange as follows:

$$0x+3=(A+B)x+(2B-2A)$$

Finally, equate corresponding coefficients to get a 2X2 linear system in $A$ and $B$ which you can then solve.
Hello,
Basicly this problem subsitute Will NOT give you any progress(there MAY be a way with subsitution (but I Dont think so) AND it can take HUGE time to figoure it out, not worth).. As Mark have helped you it's almost done! You got Two equation (linear)
(1)$$A+B=0$$
(2)$$2B-2A=3$$
From the (1) we get that $$A=-B$$ put that in (2) and solve for B and Then solve for A cause you know $$A=-B$$
Regards,
$$|\pi\rangle$$
 
  • #16
Petrus said:
Hello,
Basicly this problem subsitute Will NOT give you any progress(there MAY be a way with subsitution (but I Dont think so) AND it can take HUGE time to figoure it out, not worth).. As Mark have helped you it's almost done! You got Two equation (linear)
(1)$$A+B=0$$
(2)$$2B-2A=3$$
From the (1) we get that $$A=-B$$ put that in (2) and solve for B and Then solve for A cause you know $$A=-B$$
Regards,
$$|\pi\rangle$$

Hello Petrus! :D

I do agree that partial fractions is much quicker here, but the OP may not have been introduced to this yet. I know when I took Calc II, we were not introduced to partial fractions until after the various substitution methods, although we had seen partial fraction decomposition in Pre-Calculus, we did not apply it to integration until after substitutions.

This integral is doable with the trigonometric substitution I suggested. :D
 
  • #17
Petrus said:
Hello,
Basicly this problem subsitute Will NOT give you any progress(there MAY be a way with subsitution (but I Dont think so) AND it can take HUGE time to figoure it out, not worth).. As Mark have helped you it's almost done! You got Two equation (linear)
(1)$$A+B=0$$
(2)$$2B-2A=3$$
From the (1) we get that $$A=-B$$ put that in (2) and solve for B and Then solve for A cause you know $$A=-B$$
Regards,
$$|\pi\rangle$$

im stuck with it...its for my homework,that i have to give it today,but I am not into integrals very good,so there will be not much points here...
I should take a deep look into books...
 
  • #18
MarkFL said:
Hello Petrus! :D

I do agree that partial fractions is much quicker here, but the OP may not have been introduced to this yet. I know when I took Calc II, we were not introduced to partial fractions until after the various substitution methods, although we had seen partial fraction decomposition in Pre-Calculus, we did not apply it to integration until after substitutions.

This integral is doable with the trigonometric substitution I suggested. :D
Hello,
Ohh ok i learned it a lot early! Well I actually never done trigonometric substitution on this type! Thanks I learned something NEW!:)

Regards,
$$|\pi\rangle$$
 
  • #19
wishmaster said:
im stuck with it...its for my homework,that i have to give it today,but I am not into integrals very good,so there will be not much points here...
I should take a deep look into books...
I suggest you do that subsitute as you have not learned the other, if you are interested here is a explain how it works (it's not hard) Pauls Online Notes : Calculus II - Partial Fractions

ps. My phone is about to die so i want be able to help soon..
Regards,
$$|\pi\rangle$$
 
  • #20
Petrus said:
I suggest you do that subsitute as you have not learned the other, if you are interested here is a explain how it works (it's not hard) Pauls Online Notes : Calculus II - Partial Fractions

ps. My phone is about to die so i want be able to help soon..
Regards,
$$|\pi\rangle$$
I will take a look! Thank you friend!
 
  • #21
wishmaster said:
I have to calculate the following indefinite integral. i know that i have to do it with substitution,but here's my problem,im not enough good to do it.
So integral is :

$$\int \frac{3}{x^2-4}dx$$

I will now write out a solution using both methods I suggested:

i) Partial fractions:

$$\frac{3}{4}\int \frac{1}{x-2}-\frac{1}{x+2}\,dx=\frac{3}{4}\ln\left|\frac{x-2}{x+2} \right|+C$$

ii) Trigonometric substitution:

$$x=2\sin(\theta)\,\therefore\,dx=2\cos(\theta)\, d\theta$$

$$-\frac{3}{4}\int\frac{2\cos(\theta)}{1-\sin^2(\theta)}\,d\theta=-\frac{3}{2}\int \sec(\theta)\,d\theta$$

$$\sec(\theta)\frac{\sec(\theta)+\tan(\theta)}{\sec(\theta)+\tan(\theta)}= \frac{1}{\sec(\theta)+\tan(\theta)} \frac{d}{d\theta}\left(\sec(\theta)+ \tan(\theta) \right)$$

And so we obtain:

$$-\frac{3}{2}\ln\left|\sec(\theta)+\tan(\theta) \right|+C$$

Back substituting for $\theta$, we obtain:

$$-\frac{3}{2}\ln\left|\frac{2}{\sqrt{4-x^2}}+\frac{x}{\sqrt{4-x^2}} \right|+C= -\frac{3}{2}\ln\left|\frac{2+x}{\sqrt{4-x^2}} \right|+C= -\frac{3}{2}\ln\left|\sqrt{\frac{x+2}{x-2}} \right|+C= \frac{3}{4}\ln\left|\frac{x-2}{x+2} \right|+C$$
 

Similar threads

Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K