Evaluate Integral: \int_{-2}^{2} \sqrt{4 - x^2} \ dx

  • Thread starter newabb
  • Start date
  • Tags
    Integral
In summary, the conversation was about evaluating the integral \int_{-2}^{2} \sqrt{4 - x^2} \ dx, using the substitution x = 2sin\theta and finding the limits of integration. The mistake of not changing the limits was pointed out, and the correct limits were determined to be (-\pi/2, \pi/2). The final answer was found to be 2\pi, representing the area of a semicircle with radius 2.
  • #1
newabb
3
0
Hi,

Can anyone tell me if the following of my integration is right or wrong?

[tex]
\int_{-2}^{2} \sqrt{4 - x^2} \ dx
[/tex]

let

[tex]x = 2 sin \theta[/tex]

then

[tex]\frac{dx}{d\theta}=2cos\theta, \ dx=2cos\theta \ d\theta[/tex]

also

[tex]4-x^2 = 4-(2sin\theta)^2
= 4 - 4sin^2\theta = 4(1-sin^2\theta)=4cos^2\theta
[/tex]

thus

[tex]
\sqrt{4-x^2}=\sqrt{4cos^2\theta}
[/tex]

[tex]\int_{-2}^{2} \sqrt{4 - x^2} \ dx[/tex]
[tex]= \int_{-2}^{2} \sqrt{4cos^2\theta} \ (2cos\theta \ d\theta)[/tex]
[tex]= \int_{-2}^{2} 2cos\theta \ (2cos\theta \ d\theta)[/tex]
[tex]= 4\int_{-2}^{2} cos^2\theta \ d\theta[/tex]
[tex]= 4\int_{-2}^{2} \frac{1+cos2\theta}{2} \ d\theta[/tex]
[tex]= \frac{4}{2} \int_{-2}^{2} (1+cos2\theta) \ d\theta[/tex]

let [tex]u=2\theta[/tex] then [tex]\frac{du}{d\theta}=2, \ d\theta = \frac{1}{2}du[/tex]

[tex]= 2 \int_{-2}^{2} (1+cos2\theta) \ d\theta[/tex]
[tex]= 2 \int_{-2}^{2} (1+cos \ u) \ (\frac{1}{2}du)[/tex]
[tex]= \frac{2}{2}\int_{-2}^{2} (1+cos \ u) \ du[/tex]
[tex]= \int_{-2}^{2} (1+cos \ u) \ du[/tex]

[tex]= u + sin \ u]^{2}_{-2}[/tex]

[tex]= 2\theta + sin2\theta]^{2}_{-2}[/tex]

[tex]= [2(2) + sin2(2)] - [2(-2) + sin2(-2)][/tex]

[tex]= (4 + sin4) - [-4 + sin(-4)][/tex]

[tex]= 4 + sin4 + 4 - sin(-4)[/tex]

[tex]= 8 + sin4 - sin(-4)[/tex]

[tex]= 8 + 0.07 - (-0.035)[/tex]

[tex]= 8 + 0.07 + 0.035[/tex]

[tex]= 8 + 0.07 + 0.035[/tex]

[tex]= 8.105[/tex]

Thenk you very much for evaluating
 
Physics news on Phys.org
  • #2
Your integration is wrong, but no worries.

First of all, notice that your integrand is an even function, which means that you can change your integral to [tex]2\int_{0}^{2} \sqrt{4 - x^2} \ dx[/tex] to make things (slightly) easier.

However, the crucial mistake you made is forgetting to change the limits of integration when you switched the variables x and theta. The choice of substitution is fine and your algebra also looks good. Just remember x = 2sin(theta) => theta = arcsin(x/2) so use this to change your limits of integration.

Your final answer should be very nice (a multiple of pi in fact).
 
  • #3
Alternatively, interpret the integral geometrically and the answer is immediate.
 
  • #4
Hi,

Thank you for the tips.

[tex]x = 2 \ sin\theta[/tex]

for [tex]x=2[/tex]:

[tex]2 = 2 \ sin\theta[/tex]

[tex]sin\theta=\frac{2}{2}=1[/tex]

[tex]\theta=sin^{-1}(1)=\frac{\pi}{2}[/tex]

for [tex]x=-2[/tex]

[tex]-2=2 \ sin\theta[/tex]

[tex]sin\theta = \frac{-2}{2}=-1[/tex]

[tex]\theta=sin^{-1}(-1)=-\frac{\pi}{2}[/tex]

Thus

[tex]\int^{2}_{-2}\sqrt{4-x^2} \ dx = 4\int^{\frac{\pi}{2}}_{-\frac{\pi}{2}}cos^2\theta \ d\theta[/tex]

[tex]\vdots[/tex]

[tex]=2\theta+sin2\theta]^{\frac{\pi}{2}}_{-\frac{\pi}{2}}[/tex]

[tex]=[2(\frac{\pi}{2})+sin2(\frac{\pi}{2})]-[2(-\frac{\pi}{2})+sin2(-\frac{\pi}{2})][/tex]

[tex]=(\pi+sin\pi})-[-\pi+sin(-\pi)][/tex]

[tex]=\pi+sin\pi+\pi-sin(-\pi)[/tex]

[tex]=\pi+sin\pi+\pi-(-sin\pi)[/tex]

[tex]=\pi+sin\pi+\pi+sin\pi[/tex]

[tex]=2\pi+2 \ sin\pi[/tex]

[tex]=2\pi+2 \ (0)[/tex]

[tex]=2\pi[/tex]

[tex]=2 \ (180)[/tex]

[tex]=360[/tex]

Would anybody please evaluate it again

Thanks
 
  • #5
If you convert radians to degrees, make it clear because [tex]\pi[/tex] does not equal 180.

Use Anthony's advice to check your answer. Hint: the integral represents a semicircle.
 
  • #6
hmm...

[tex]2\pi = 2\times3.14=6.28[/tex]

Is that correct?

Thanks for your help
 
  • #7
divided by 2 for half the area, so pi
 
Last edited:
  • #8
no lubuntu, he didn't need too, if you look at that integral, it's the area of a semicircle, if he had multiplied by 2 to get a full circle, he would have had to divide by 2, but he didn't, It looks correct as far as I can tell
 
  • #9
newabb said:
hmm...

[tex]2\pi = 2\times3.14=6.28[/tex]

Is that correct?

Thanks for your help

[tex]2\pi[/tex] is correct. The other two are only correct to two decimal places.
 

What is an integral?

An integral is a mathematical concept that represents the area under a curve. It is used to find the total value of a function over a given interval.

How do you evaluate an integral?

To evaluate an integral, you need to find the antiderivative of the function and then plug in the upper and lower limits of the integral into the antiderivative. The result is the value of the integral.

What is the purpose of evaluating an integral?

Evaluating an integral allows us to find the total value of a function over a given interval, which can have many real-world applications such as calculating distance traveled, finding the average value of a function, and determining the area of a region.

What are the different methods for evaluating an integral?

There are several methods for evaluating an integral, including substitution, integration by parts, and trigonometric substitution. The method used depends on the complexity of the integral and the function being integrated.

What are some common mistakes when evaluating an integral?

Some common mistakes when evaluating an integral include forgetting to take into account the constant of integration, incorrect use of substitution or integration by parts, and forgetting to change the limits of integration when using a substitution. It is important to carefully follow the steps and double-check the answer for accuracy.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
677
  • Calculus and Beyond Homework Help
Replies
3
Views
555
  • Calculus and Beyond Homework Help
Replies
3
Views
577
  • Calculus and Beyond Homework Help
Replies
3
Views
873
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
789
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
259
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
Back
Top