Note this is not a homework assignment. I was generally learning about integrating volumes and thought that after being able to integrate the volume of a cylinder(adsbygoogle = window.adsbygoogle || []).push({});

[tex]\int^{L}_{0}\pi r^{2} dL[/tex]

That I maybe could integrate the volume of a cube in a simple way:

[tex]\int^{s}_{0}s^{2} ds[/tex]

Yet that results in [tex]\frac{s^{3}}{3}[/tex] and not the correct [tex]s^{3}[/tex]

I don't understand why. I am taking the area of a slice of infinitesmall thickness (ds) and integrating it over the length of the cube. Seems to me to be the technique of integration for volumes. Where does my thinking go wrong?

Please note that I do realize the main difference between the integration of the volume of a cylinder and a cube is that the length of the cylinder is a seperate variable from its radius. Despite being aware of this key difference, I still do not understand why the cube integration would not work even though the same variable is used.

Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Volume of a cube

**Physics Forums | Science Articles, Homework Help, Discussion**