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

In summary, the conversation discussed the best method for calculating the given indefinite integral. The expert suggested using partial fraction decomposition or a trigonometric substitution. The person struggling with the problem was not familiar with these methods and was hesitant to try them. The expert provided steps for both methods and recommended using the linear system method for partial fraction decomposition. The conversation ended with the expert suggesting that the integral could be solved with a trigonometric substitution.
  • #1
theakdad
211
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 :

\(\displaystyle \int \frac{3}{x^2-4}dx\)
 
Physics news on Phys.org
  • #2
I would consider using partial fraction decomposition, and then the integration is straightforward.
 
  • #3
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...
 
  • #4
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:

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

Next, assume it may be decomposed as follows:

\(\displaystyle \frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}\)

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

\(\displaystyle 3=A(x-2)+B(x+2)\)

Arrange as follows:

\(\displaystyle 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.
 
  • #5
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:

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

Next, assume it may be decomposed as follows:

\(\displaystyle \frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}\)

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

\(\displaystyle 3=A(x-2)+B(x+2)\)

Arrange as follows:

\(\displaystyle 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?
 
  • #6
wishmaster said:
What is $A$ and $B$ representing?

They represent constants, such that:

\(\displaystyle \frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}\)
 
  • #7
MarkFL said:
They represent constants, such that:

\(\displaystyle \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.
 
  • #8
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?
 
  • #9
MarkFL said:
Okay, what sort of substitution do you think is appropriate?

lets say \(\displaystyle u=x^2-4\)
 
  • #10
wishmaster said:
lets say \(\displaystyle 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?

\(\displaystyle du=2x dz\) ?
 
  • #12
Re: Integral calculationdz

wishmaster said:
\(\displaystyle du=2x dz\) ?

I assume you mean:

\(\displaystyle du=2x\,dx\)

Can you write the original integral as:

\(\displaystyle \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:

\(\displaystyle du=2x\,dx\)

Can you write the original integral as:

\(\displaystyle \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:

\(\displaystyle 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:

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

Next, assume it may be decomposed as follows:

\(\displaystyle \frac{3}{x^2-4}=\frac{A}{x+2}+\frac{B}{x-2}\)

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

\(\displaystyle 3=A(x-2)+B(x+2)\)

Arrange as follows:

\(\displaystyle 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)\(\displaystyle A+B=0\)
(2)\(\displaystyle 2B-2A=3\)
From the (1) we get that \(\displaystyle A=-B\) put that in (2) and solve for B and Then solve for A cause you know \(\displaystyle A=-B\)
Regards,
\(\displaystyle |\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)\(\displaystyle A+B=0\)
(2)\(\displaystyle 2B-2A=3\)
From the (1) we get that \(\displaystyle A=-B\) put that in (2) and solve for B and Then solve for A cause you know \(\displaystyle A=-B\)
Regards,
\(\displaystyle |\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)\(\displaystyle A+B=0\)
(2)\(\displaystyle 2B-2A=3\)
From the (1) we get that \(\displaystyle A=-B\) put that in (2) and solve for B and Then solve for A cause you know \(\displaystyle A=-B\)
Regards,
\(\displaystyle |\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,
\(\displaystyle |\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,
\(\displaystyle |\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,
\(\displaystyle |\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 :

\(\displaystyle \int \frac{3}{x^2-4}dx\)

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

i) Partial fractions:

\(\displaystyle \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:

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

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

\(\displaystyle \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:

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

Back substituting for $\theta$, we obtain:

\(\displaystyle -\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\)
 

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

What is an indefinite integral?

An indefinite integral is a mathematical operation that involves finding the antiderivative of a function. It is also known as the inverse operation of differentiation.

How do you solve an indefinite integral?

To solve an indefinite integral, you need to use integration techniques such as substitution, integration by parts, or partial fractions. The goal is to find the antiderivative of the given function.

What is the given function in this indefinite integral?

The given function is \frac{3}{x^2-4} .

How do you choose the appropriate integration technique for solving an indefinite integral?

The appropriate integration technique is chosen based on the form of the given function. For example, if the function is a rational function, partial fractions may be used, while if the function involves trigonometric functions, substitution may be used.

Can you check your answer to an indefinite integral?

Yes, you can check your answer by differentiating the antiderivative that you found. If the result is equal to the original function, then your answer is correct.

Similar threads

Replies
4
Views
2K
Replies
6
Views
659
Replies
1
Views
1K
Replies
6
Views
2K
Replies
6
Views
1K
Replies
2
Views
2K
Back
Top