Centroids of two and three dimensional figures

  • Thread starter Thread starter rdajunior95
  • Start date Start date
  • Tags Tags
    Centroids
rdajunior95
Messages
25
Reaction score
0
In my Questions I usually have to calculate the Centroid of a curve whose equation is given!


I don't know the formula which are used it that, and I have searched on google too and couldn't find anything useful. Can someone provide me with formulas for how to calculate centroid of 2 and 3 dimensional figures fr x and y axis?


Any help will be appreciated, :smile:
 
Mathematics news on Phys.org
Please help me someone :D
 
All I can give you is the usual formulas:

In two dimensions, the centroid is given by
\overline{x}= \frac{\int\int x dydx}{\int \int dydx}
\overline{y}= \frac{\int\int y dydx}{\int \int dydx}[/itex]<br /> where the integrals are taken over the two dimensional figure.<br /> <br /> In three dimensions, just exend those formulas:<br /> \overline{x}= \frac{\int\int\int x dzdydx}{\int\int \int dzdydx}<br /> \overline{y}= \frac{\int\int\int y dzdydx}{\int \int\int dzdydx}<br /> \overline{z}= \frac{\int\int\int z dzdydx}{\int\int\int dzdydx}<br /> <br /> where the integrations are not over the three dimensional body. The denominators of those fractions are the area of the two dimensional figure and volume of the three dimensional figure. If they have a reasonable geometry, you might be able to find it without integrating.<br /> <br /> For example, to find the centroid of the triangle with vertices at (0, 0), (a, h), and (b, 0) we take the area to be &quot;one half height times base&quot; or (1/2)bh. <br /> <br /> But we still have to integrate to find the centroid:<br /> \overline{x}= \frac{\int_{y= 0}^h\int_{x= ay/h}^{b-\frac{b-a}{b}y} x dxdy}{bh/2}<br /> \overline{y}= \frac{\int_{y=0}^h\int_{x= ay/h}^{b- \frac{b-a}{b}y} y dx dy}{by/2}<br /> Where the limits on the inner integral are the equations of the lines from (0, 0) to (a, h) and from (a, h) to (b, 0).<br /> <br /> After some tedious computation one can show that centroid is at<br /> \left(\frac{a+ b}{3}, \frac{h}{3}\right)<br /> That is, the coordinates of the centoid are the arthmetic averages of the x and y coordinates of the vertices. That is NOT in general true of figures with more than three sides. You could divide a polygon into triangles but then the centroid of the polygon would be a <b>weighted</b> average of the centroids of the triangles, weighted by their area.
 
\overline{x}= \frac{\int\int x dydx}{\int \int dydx}

In this expression, what do u mean by xdydx.

And by 3d I meant when in xy-plane you rotate the curve about x or y-axis to form a 3d shape. like if you rotate a line y=kx, about the x axis, yo will get a cone so how will you find its centroid?Thanks for the help.
 
Last edited:
rdajunior95 said:
\overline{x}= \frac{\int\int x dydx}{\int \int dydx}

In this expression, what do u mean by xdydx.
I mean to take the integral of the function f(x,y)= x with respect to x and y, over the region. That is, I think, the usual meaning.

And by 3d I meant when in xy-plane you rotate the curve about x or y-axis to form a 3d shape. like if you rotate a line y=kx, about the x axis, yo will get a cone so how will you find its centroid?
Well, that's easier! If you have a curve rotated around the x-axis, say, then by symmetry, you know the centroid, of either the surface swept out by the curve or the solid swept out by the region contained in the curve, is on the x-axis. That is, the y and z coordinates of the centroid are 0.

For this particular problem, I would make use of the symmetry by setting up a polar coordinate system in the yz- axis. Since the equation of the line in the xy-plane is y= kx or x= y/k, rotating around the x-axis makes y= r so the cone is given by x= r/k. Now, I don't know what method you use for getting a "differential of surface area" but for this cone it is
dS= \frac{\sqrt{k^2+ 1}}{k} r dr d\theta[/itex].<br /> <br /> You did not specify an &quot;ending x value&quot; or height for the cone. Calling that h, we have for the surface area of the cone<br /> \frac{\sqrt{k^2+ 1}}{k}\int_{\theta= 0}^{2\pi}\int_{r= 0}^{kh} rdr d\theta= \pi k\sqrt{k^2+ 1}h^2<br /> <br /> The &quot;moment about the x-axis&quot; is given by <br /> \frac{\sqrt{k^+ 1}}{k}\int_{\theta= 0}^{2\pi}\int_{r= 0}^{kn}x rdrd\theta= \frac{\sqrt{k^+ 1}}{k^2}\int_{\theta= 0}^{2\pi}\int_{r= 0}^{kn} r^2 drd\theta= \frac{2}{3}\pi k\sqrt{k^2+ 1}h^3<br /> <br /> The x-coordinate of the centroid is the moment divided by the area:<br /> \frac{\frac{2}{3}\pi k\sqrt{k^2+ 1}h^3}{\pi k\sqrt{k^2+ 1}h^2}= \frac{2}{3}h.<br /> <br /> The centroid of the (slant surface) of the cone is at<br /> \left(\frac{2}{3}h, 0, 0\right)<br /> <br /> <blockquote data-attributes="" data-quote="" data-source="" class="bbCodeBlock bbCodeBlock--expandable bbCodeBlock--quote js-expandWatch"> <div class="bbCodeBlock-content"> <div class="bbCodeBlock-expandContent js-expandContent "> Thanks for the help. </div> </div> </blockquote>
 
Can you tell me a generalized method to find the centroid when a curve in x-y plane is rotated about the x or[b/] y axis.

And one last thing is that how can I use <br /> \overline{y}= \frac{\int\int y dydx}{\int \int dydx}<br /> and <br /> \overline{x}= \frac{\int\int x dydx}{\int \int dydx}<br /> to find the centroid of the curve with equation y=(sin x)^4 from 0 to 3

Thanks again.
 
Suppose the curve is given by y= f(x) and it is rotated around the x-axis. Then the y and z coordinates of its centroid are 0.

Take x and \theta, the angle of rotation, as parameters. Then we can write y= f(x)cos(\theta) and z= f(x)sin(\theta) so that the "position vector" of a point on the surface is \vec{r}(x, \theta)= x\vec{i}+ y\vec{j}+ z\vec{k}= x\vec{i}+ f(x)cos(\theta)\vec{j}+ f(x)sin(\theta)\vec{k}.

The derivatives of that position vector, with respect to x and \theta are:
\vec{r}_x= \vec{j}+ f&#039;(x)cos(\theta)\vec{j}+ f&#039;(x)sin(\theta)\vec{k}
and
\vec{r}_\theta= -f(x) sin(\theta)\vec{j}+ f(x)cos(\theta)\vec{k}

The "fundamental vector product" for this surface is the cross product of those:
\left|\begin{array}\vec{i} &amp; \vec{j} &amp; \vec{k} \\ 1 &amp; f&#039;(x)cos(\theta) &amp; f&#039;(x)sin(\theta) \\ 0 &amp; -f(x)sin(\theta) &amp; f(x) cos(\theta)\end{array}\right|
= f&#039;(x)f(x)\vec{i}- f(x)cos(\theta)\vec{j}- f(x)sin(\theta)\vec{k}

It's magnitude,
\sqrt{f&#039;^2(x)f^2(x)+ f^2(x)}= f(x)\sqrt{f&#039;(x)^2+ 1}
gives the "differential of surface area"
f(x)\sqrt{f&#039;^2(x)+ 1}dxd\theta[/itex]<br /> <br /> Assuming our original curve extends from x= a to x= b, the surface area is given by <br /> \int_{\theta}= 0^\2\pi \int_{x= a}^b f(x)\sqrt{f&amp;#039;^2(x)+1}dxd\theta= 2\pi\int_a^b f(x)\sqrt{f&amp;#039;^2(x)+ 1} dx<br /> <br /> The x coordinate of the centroid is <br /> \e\pi\int_a^b x f(x)\sqrt{f&amp;#039;^2(x)+ 1}dx<br /> divided by that area:<br /> <br /> The centroid is at \left(\overline{x}, 0, 0\right) where<br /> \overline{x}= \frac{\int_a^b x f(x)\sqrt{f&amp;#039;^2(x)+ 1}dx}{\int_a^b f(x)\sqrt{f&amp;#039;^3(x)+ 1} dx}<br /> <br /> For the last problem, are you talking about the <b>curve</b> or the surface created by rotating the curve around the x-axis.<br /> <br /> If you mean the curve itself, You <b>don&#039;t</b> use those formulas. They are for the centroid of a surface. For the curve, you use <br /> \overline{x}= \frac{\int xd\sigma}{\int d\sigma}<br /> and<br /> \overline{y}= \frac{\int yd\sigma}{\int d\sigma}<br /> <br /> where &quot;d\sigma&quot; is the differential of arc length.<br /> <br /> For y= sin^4(x), dy/dx= 4sin^3(x) cos(x)so &amp;lt;br /&amp;gt; d\sigma= \sqrt{1+ \left(\frac{dy}{dx}\right)^2} dx= \sqrt{1+ 16sin^6(x)cos^2(x)}dx&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; If you are talking about the centroid of the surface of rotation, use the formulas above with f(x)= sin^4(x), f&amp;amp;amp;#039;(x)= 4 sin^3(x)cos(x):&amp;lt;br /&amp;gt; &amp;lt;br /&amp;gt; \overline{x}= \frac{\int_0^3 x sin^3(x)\sqrt{16 sin^6(x)cos^2(x)+ 1}dx}{\int_0^3 sin^4(x)\sqrt{16sin^6(x)cos^2(x)+ 1} dx}
 
Back
Top