Getting the image of integration

2 replies · 2K views · last reply
farmd684
Messages
48
Reaction score
0
How can i get the image of a integral. Say i have a integral function like this
[tex] \int_{\pi/2}^{\pi} \int_{0}^{2} r\sqrt{4-r^2} drd\theta [/tex]

Now i want to see what volume the integral giving me. Which software i have to use for this purpose.

Thanks
 
For this particular integral, you can use any software that plots functions of two variables. In this case, I am assuming the third variable is z, as in cylindrical coordinates, and the integral is evaluating the volume under this surface:
Mathematica Plot3D output of z = sqrt(4(x^2 + y^2) - (x^2 + y^2)^2) times a Boole condition restricting to x^2 + y^2 <= 4, shown as a surface over x from -2 to 0 and y from 0 to 2, z from 0 to 2.

A lot of free software offers this capability, including GraphCalc and Maxima. Note that you can replace r with [itex]\sqrt{x^2+y^2}[/itex] in order to enter the equation as z = f(x, y) if necessary.
 
Attachments
  • Mathematica 3D surface plot of z = sqrt(4(x^2+y^2) - (x^2+y^2)^2) restricted to x^2+y^2 <= 4, over x from -2 to 0 and y from 0 to 2, shown as a curved blue mesh surface.
    section_1.png
    14.4 KB · Views: 695
farmd684 said:
How can i get the image of a integral. Say i have a integral function like this
[tex] \int_{\pi/2}^{\pi} \int_{0}^{2} r\sqrt{4-r^2} drd\theta [/tex]

Now i want to see what volume the integral giving me. Which software i have to use for this purpose.

Thanks
That's in polar coordinates with [itex]\theta[/itex] going from [itex]\pi/2[/itex] to [itex]\pi[/itex]- in Cartesian coordinates, that is the second quadrant. r ranges from 0 to 2 so, within the second quadrant, we are within a circle of radius 2. Finally, the upper boundary is [itex]r\sqrt{4- r^2}[/itex] we can put that in Cartesian Coordinates by setting [itex]= \sqrt{x^2+ y^2}[/itex] so that [itex]z= r\sqrt{4- r^2}= \sqrt[x^2+ y^2}\sqrt{4- x^2- y^2}[/itex]. I doubt that is any 'standard' figure.