Finding the centroid of the composition of two functions












2












$begingroup$


I have a solid that is comprised of the "solid of revolution" of two functions. I want to find the centroid of the entire solid. Because it is a solid of revolution, I can assume that the x and z coordinates of the centroid will be 0, so what I'm looking for is just the y coordinate of the centroid.



The two functions, if this matters, can be described as follows (shown below):




  1. f(x): a line from (0, 4) to (3, 0). When revolved around the y-axis, this is just a cone


  2. g(x): a parabola (but note that it is flipped over the x-axis). When revolved around the y-axis, it looks something like a rounded bottle cap.



functions



To find the volume of each, I've used the disc-based method of finding the area of revolution.



To find the y-coordinate of the centroid, I have this formula:



$$
bar y = (1/A) * int^b_a ((1/2)*f(x)^2) dx
$$



This is for a 2D plane, so I'm assuming I can use-- and need to use-- volume instead of area (A). Please correct me if I'm wrong.



(Going forward, note that the density is constant throughout the entire shape.)



Using that formula, I can find the y-coordinate centroid for each of the two solids of revolution. But once I get to that point, how do I get the centroid of the entire shape? Do I just add their centroids and divide by 2? Or is there a complication since g(x) is under the x-axis instead of above it?



Sorry if I provided way more information than is necessary. My secondary goal in asking this is to make sure I'm not making any major conceptual mistakes by using a formula incorrectly or something. :)










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    "Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:32






  • 1




    $begingroup$
    "Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:33
















2












$begingroup$


I have a solid that is comprised of the "solid of revolution" of two functions. I want to find the centroid of the entire solid. Because it is a solid of revolution, I can assume that the x and z coordinates of the centroid will be 0, so what I'm looking for is just the y coordinate of the centroid.



The two functions, if this matters, can be described as follows (shown below):




  1. f(x): a line from (0, 4) to (3, 0). When revolved around the y-axis, this is just a cone


  2. g(x): a parabola (but note that it is flipped over the x-axis). When revolved around the y-axis, it looks something like a rounded bottle cap.



functions



To find the volume of each, I've used the disc-based method of finding the area of revolution.



To find the y-coordinate of the centroid, I have this formula:



$$
bar y = (1/A) * int^b_a ((1/2)*f(x)^2) dx
$$



This is for a 2D plane, so I'm assuming I can use-- and need to use-- volume instead of area (A). Please correct me if I'm wrong.



(Going forward, note that the density is constant throughout the entire shape.)



Using that formula, I can find the y-coordinate centroid for each of the two solids of revolution. But once I get to that point, how do I get the centroid of the entire shape? Do I just add their centroids and divide by 2? Or is there a complication since g(x) is under the x-axis instead of above it?



Sorry if I provided way more information than is necessary. My secondary goal in asking this is to make sure I'm not making any major conceptual mistakes by using a formula incorrectly or something. :)










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    "Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:32






  • 1




    $begingroup$
    "Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:33














2












2








2





$begingroup$


I have a solid that is comprised of the "solid of revolution" of two functions. I want to find the centroid of the entire solid. Because it is a solid of revolution, I can assume that the x and z coordinates of the centroid will be 0, so what I'm looking for is just the y coordinate of the centroid.



The two functions, if this matters, can be described as follows (shown below):




  1. f(x): a line from (0, 4) to (3, 0). When revolved around the y-axis, this is just a cone


  2. g(x): a parabola (but note that it is flipped over the x-axis). When revolved around the y-axis, it looks something like a rounded bottle cap.



functions



To find the volume of each, I've used the disc-based method of finding the area of revolution.



To find the y-coordinate of the centroid, I have this formula:



$$
bar y = (1/A) * int^b_a ((1/2)*f(x)^2) dx
$$



This is for a 2D plane, so I'm assuming I can use-- and need to use-- volume instead of area (A). Please correct me if I'm wrong.



(Going forward, note that the density is constant throughout the entire shape.)



Using that formula, I can find the y-coordinate centroid for each of the two solids of revolution. But once I get to that point, how do I get the centroid of the entire shape? Do I just add their centroids and divide by 2? Or is there a complication since g(x) is under the x-axis instead of above it?



Sorry if I provided way more information than is necessary. My secondary goal in asking this is to make sure I'm not making any major conceptual mistakes by using a formula incorrectly or something. :)










share|cite|improve this question











$endgroup$




I have a solid that is comprised of the "solid of revolution" of two functions. I want to find the centroid of the entire solid. Because it is a solid of revolution, I can assume that the x and z coordinates of the centroid will be 0, so what I'm looking for is just the y coordinate of the centroid.



The two functions, if this matters, can be described as follows (shown below):




  1. f(x): a line from (0, 4) to (3, 0). When revolved around the y-axis, this is just a cone


  2. g(x): a parabola (but note that it is flipped over the x-axis). When revolved around the y-axis, it looks something like a rounded bottle cap.



functions



To find the volume of each, I've used the disc-based method of finding the area of revolution.



To find the y-coordinate of the centroid, I have this formula:



$$
bar y = (1/A) * int^b_a ((1/2)*f(x)^2) dx
$$



This is for a 2D plane, so I'm assuming I can use-- and need to use-- volume instead of area (A). Please correct me if I'm wrong.



(Going forward, note that the density is constant throughout the entire shape.)



Using that formula, I can find the y-coordinate centroid for each of the two solids of revolution. But once I get to that point, how do I get the centroid of the entire shape? Do I just add their centroids and divide by 2? Or is there a complication since g(x) is under the x-axis instead of above it?



Sorry if I provided way more information than is necessary. My secondary goal in asking this is to make sure I'm not making any major conceptual mistakes by using a formula incorrectly or something. :)







calculus physics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 2 at 18:33









Glorfindel

3,41981830




3,41981830










asked Nov 10 '11 at 7:57









mathemagician11mathemagician11

10028




10028








  • 1




    $begingroup$
    "Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:32






  • 1




    $begingroup$
    "Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:33














  • 1




    $begingroup$
    "Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:32






  • 1




    $begingroup$
    "Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
    $endgroup$
    – J. M. is not a mathematician
    Nov 10 '11 at 8:33








1




1




$begingroup$
"Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
$endgroup$
– J. M. is not a mathematician
Nov 10 '11 at 8:32




$begingroup$
"Composite" might be a better term than "composition", as the latter term has a different meaning that might be confusing here.
$endgroup$
– J. M. is not a mathematician
Nov 10 '11 at 8:32




1




1




$begingroup$
"Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
$endgroup$
– J. M. is not a mathematician
Nov 10 '11 at 8:33




$begingroup$
"Sorry if I provided way more information than is necessary." - In all honesty, the more common (and IMHO more grievous) fault of some problem posers is that they give too little sundry information!
$endgroup$
– J. M. is not a mathematician
Nov 10 '11 at 8:33










2 Answers
2






active

oldest

votes


















1












$begingroup$

Let a shape $S$ in the $(x,y)$-plane be defined by



$$a(x)leq yleq b(x)qquad(0leq xleq R) .$$



When $S$ is rotated around the $y$-axis we obtain a rotational body $B$. This body can be seen as a union of thin cylindrical shells of radius $x$, height $b(x)-a(x)$, and thickness $dx$. The volume of such a shell is $dV=2pi xbigl(b(x)-a(x)bigr) dx$, and its centroid is on the $y$-axis at level $h(x):={1over2}bigl(a(x)+b(x)bigr)$.



The level $eta$ of the centroid of the full body $B$ is the weighted mean of the levels $h(x)$ of these shells. Therefore



$$eta = {intnolimits _0^R h(x) dV over intnolimits_0^R dV} =
{intnolimits _0^R xbigl(b^2(x)-a^2(x)bigr) dx over 2 intnolimits_0^R xbigl(b(x)-a(x)bigr) dx} .$$



Of course it is easily possible to translate this "stenographic" derivation into a fullfledged proof by partitioning the $x$-interval $[0,R]$ into $N$ equal parts and letting $Ntoinfty$.






share|cite|improve this answer











$endgroup$





















    0












    $begingroup$

    The centre of mass is the "average" position, that is, the mass-weighted integral over the position divided by the integral of the mass, which is the total mass:



    $$bar r=frac{int rho(r)rmathrm dr}{int rho(r)mathrm dr}=frac{int rho(r)rmathrm dr}M;.$$



    For the centroid, the density is constant and drops out, and you have



    $$bar r=frac{int rho rmathrm dr}{int rhomathrm dr}=frac{int rmathrm dr}{int mathrm dr}=frac{int rmathrm dr}V;.$$



    Both the numerator and the denominator are linear, so if you have two bodies, you get their centroid by adding the numerators and denominators:



    $$bar r_{AB}=frac{int_{AB} rmathrm dr}{int_{AB} mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{int_A mathrm dr+int_B mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{V_A+V_B}=frac{V_Abar r_A+V_Bbar r_B}{V_A+V_B};.$$



    Thus, the easiest way to do this is to add the numerators and denominators before forming the centroids and then dividing. If you happen to have the centroids of two bodies, you can still calculate the centroid of the combined body, but you need to "undo" the division by the volume and use the last expression, which is the weighted average of the centroids, weighted with the volumes. (The analogous formula with masses applies for the centre of mass when the density isn't constant.)






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
      $endgroup$
      – mathemagician11
      Nov 10 '11 at 19:12












    • $begingroup$
      @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
      $endgroup$
      – joriki
      Nov 10 '11 at 19:20












    • $begingroup$
      So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
      $endgroup$
      – mathemagician11
      Nov 10 '11 at 19:29










    • $begingroup$
      @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
      $endgroup$
      – joriki
      Nov 10 '11 at 19:46










    • $begingroup$
      Now I'm even more confused...
      $endgroup$
      – mathemagician11
      Nov 10 '11 at 19:52











    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "69"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f80787%2ffinding-the-centroid-of-the-composition-of-two-functions%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    Let a shape $S$ in the $(x,y)$-plane be defined by



    $$a(x)leq yleq b(x)qquad(0leq xleq R) .$$



    When $S$ is rotated around the $y$-axis we obtain a rotational body $B$. This body can be seen as a union of thin cylindrical shells of radius $x$, height $b(x)-a(x)$, and thickness $dx$. The volume of such a shell is $dV=2pi xbigl(b(x)-a(x)bigr) dx$, and its centroid is on the $y$-axis at level $h(x):={1over2}bigl(a(x)+b(x)bigr)$.



    The level $eta$ of the centroid of the full body $B$ is the weighted mean of the levels $h(x)$ of these shells. Therefore



    $$eta = {intnolimits _0^R h(x) dV over intnolimits_0^R dV} =
    {intnolimits _0^R xbigl(b^2(x)-a^2(x)bigr) dx over 2 intnolimits_0^R xbigl(b(x)-a(x)bigr) dx} .$$



    Of course it is easily possible to translate this "stenographic" derivation into a fullfledged proof by partitioning the $x$-interval $[0,R]$ into $N$ equal parts and letting $Ntoinfty$.






    share|cite|improve this answer











    $endgroup$


















      1












      $begingroup$

      Let a shape $S$ in the $(x,y)$-plane be defined by



      $$a(x)leq yleq b(x)qquad(0leq xleq R) .$$



      When $S$ is rotated around the $y$-axis we obtain a rotational body $B$. This body can be seen as a union of thin cylindrical shells of radius $x$, height $b(x)-a(x)$, and thickness $dx$. The volume of such a shell is $dV=2pi xbigl(b(x)-a(x)bigr) dx$, and its centroid is on the $y$-axis at level $h(x):={1over2}bigl(a(x)+b(x)bigr)$.



      The level $eta$ of the centroid of the full body $B$ is the weighted mean of the levels $h(x)$ of these shells. Therefore



      $$eta = {intnolimits _0^R h(x) dV over intnolimits_0^R dV} =
      {intnolimits _0^R xbigl(b^2(x)-a^2(x)bigr) dx over 2 intnolimits_0^R xbigl(b(x)-a(x)bigr) dx} .$$



      Of course it is easily possible to translate this "stenographic" derivation into a fullfledged proof by partitioning the $x$-interval $[0,R]$ into $N$ equal parts and letting $Ntoinfty$.






      share|cite|improve this answer











      $endgroup$
















        1












        1








        1





        $begingroup$

        Let a shape $S$ in the $(x,y)$-plane be defined by



        $$a(x)leq yleq b(x)qquad(0leq xleq R) .$$



        When $S$ is rotated around the $y$-axis we obtain a rotational body $B$. This body can be seen as a union of thin cylindrical shells of radius $x$, height $b(x)-a(x)$, and thickness $dx$. The volume of such a shell is $dV=2pi xbigl(b(x)-a(x)bigr) dx$, and its centroid is on the $y$-axis at level $h(x):={1over2}bigl(a(x)+b(x)bigr)$.



        The level $eta$ of the centroid of the full body $B$ is the weighted mean of the levels $h(x)$ of these shells. Therefore



        $$eta = {intnolimits _0^R h(x) dV over intnolimits_0^R dV} =
        {intnolimits _0^R xbigl(b^2(x)-a^2(x)bigr) dx over 2 intnolimits_0^R xbigl(b(x)-a(x)bigr) dx} .$$



        Of course it is easily possible to translate this "stenographic" derivation into a fullfledged proof by partitioning the $x$-interval $[0,R]$ into $N$ equal parts and letting $Ntoinfty$.






        share|cite|improve this answer











        $endgroup$



        Let a shape $S$ in the $(x,y)$-plane be defined by



        $$a(x)leq yleq b(x)qquad(0leq xleq R) .$$



        When $S$ is rotated around the $y$-axis we obtain a rotational body $B$. This body can be seen as a union of thin cylindrical shells of radius $x$, height $b(x)-a(x)$, and thickness $dx$. The volume of such a shell is $dV=2pi xbigl(b(x)-a(x)bigr) dx$, and its centroid is on the $y$-axis at level $h(x):={1over2}bigl(a(x)+b(x)bigr)$.



        The level $eta$ of the centroid of the full body $B$ is the weighted mean of the levels $h(x)$ of these shells. Therefore



        $$eta = {intnolimits _0^R h(x) dV over intnolimits_0^R dV} =
        {intnolimits _0^R xbigl(b^2(x)-a^2(x)bigr) dx over 2 intnolimits_0^R xbigl(b(x)-a(x)bigr) dx} .$$



        Of course it is easily possible to translate this "stenographic" derivation into a fullfledged proof by partitioning the $x$-interval $[0,R]$ into $N$ equal parts and letting $Ntoinfty$.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Dec 10 '11 at 11:20

























        answered Dec 10 '11 at 10:18









        Christian BlatterChristian Blatter

        175k8115327




        175k8115327























            0












            $begingroup$

            The centre of mass is the "average" position, that is, the mass-weighted integral over the position divided by the integral of the mass, which is the total mass:



            $$bar r=frac{int rho(r)rmathrm dr}{int rho(r)mathrm dr}=frac{int rho(r)rmathrm dr}M;.$$



            For the centroid, the density is constant and drops out, and you have



            $$bar r=frac{int rho rmathrm dr}{int rhomathrm dr}=frac{int rmathrm dr}{int mathrm dr}=frac{int rmathrm dr}V;.$$



            Both the numerator and the denominator are linear, so if you have two bodies, you get their centroid by adding the numerators and denominators:



            $$bar r_{AB}=frac{int_{AB} rmathrm dr}{int_{AB} mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{int_A mathrm dr+int_B mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{V_A+V_B}=frac{V_Abar r_A+V_Bbar r_B}{V_A+V_B};.$$



            Thus, the easiest way to do this is to add the numerators and denominators before forming the centroids and then dividing. If you happen to have the centroids of two bodies, you can still calculate the centroid of the combined body, but you need to "undo" the division by the volume and use the last expression, which is the weighted average of the centroids, weighted with the volumes. (The analogous formula with masses applies for the centre of mass when the density isn't constant.)






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:12












            • $begingroup$
              @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:20












            • $begingroup$
              So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:29










            • $begingroup$
              @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:46










            • $begingroup$
              Now I'm even more confused...
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:52
















            0












            $begingroup$

            The centre of mass is the "average" position, that is, the mass-weighted integral over the position divided by the integral of the mass, which is the total mass:



            $$bar r=frac{int rho(r)rmathrm dr}{int rho(r)mathrm dr}=frac{int rho(r)rmathrm dr}M;.$$



            For the centroid, the density is constant and drops out, and you have



            $$bar r=frac{int rho rmathrm dr}{int rhomathrm dr}=frac{int rmathrm dr}{int mathrm dr}=frac{int rmathrm dr}V;.$$



            Both the numerator and the denominator are linear, so if you have two bodies, you get their centroid by adding the numerators and denominators:



            $$bar r_{AB}=frac{int_{AB} rmathrm dr}{int_{AB} mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{int_A mathrm dr+int_B mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{V_A+V_B}=frac{V_Abar r_A+V_Bbar r_B}{V_A+V_B};.$$



            Thus, the easiest way to do this is to add the numerators and denominators before forming the centroids and then dividing. If you happen to have the centroids of two bodies, you can still calculate the centroid of the combined body, but you need to "undo" the division by the volume and use the last expression, which is the weighted average of the centroids, weighted with the volumes. (The analogous formula with masses applies for the centre of mass when the density isn't constant.)






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:12












            • $begingroup$
              @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:20












            • $begingroup$
              So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:29










            • $begingroup$
              @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:46










            • $begingroup$
              Now I'm even more confused...
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:52














            0












            0








            0





            $begingroup$

            The centre of mass is the "average" position, that is, the mass-weighted integral over the position divided by the integral of the mass, which is the total mass:



            $$bar r=frac{int rho(r)rmathrm dr}{int rho(r)mathrm dr}=frac{int rho(r)rmathrm dr}M;.$$



            For the centroid, the density is constant and drops out, and you have



            $$bar r=frac{int rho rmathrm dr}{int rhomathrm dr}=frac{int rmathrm dr}{int mathrm dr}=frac{int rmathrm dr}V;.$$



            Both the numerator and the denominator are linear, so if you have two bodies, you get their centroid by adding the numerators and denominators:



            $$bar r_{AB}=frac{int_{AB} rmathrm dr}{int_{AB} mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{int_A mathrm dr+int_B mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{V_A+V_B}=frac{V_Abar r_A+V_Bbar r_B}{V_A+V_B};.$$



            Thus, the easiest way to do this is to add the numerators and denominators before forming the centroids and then dividing. If you happen to have the centroids of two bodies, you can still calculate the centroid of the combined body, but you need to "undo" the division by the volume and use the last expression, which is the weighted average of the centroids, weighted with the volumes. (The analogous formula with masses applies for the centre of mass when the density isn't constant.)






            share|cite|improve this answer









            $endgroup$



            The centre of mass is the "average" position, that is, the mass-weighted integral over the position divided by the integral of the mass, which is the total mass:



            $$bar r=frac{int rho(r)rmathrm dr}{int rho(r)mathrm dr}=frac{int rho(r)rmathrm dr}M;.$$



            For the centroid, the density is constant and drops out, and you have



            $$bar r=frac{int rho rmathrm dr}{int rhomathrm dr}=frac{int rmathrm dr}{int mathrm dr}=frac{int rmathrm dr}V;.$$



            Both the numerator and the denominator are linear, so if you have two bodies, you get their centroid by adding the numerators and denominators:



            $$bar r_{AB}=frac{int_{AB} rmathrm dr}{int_{AB} mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{int_A mathrm dr+int_B mathrm dr}=frac{int_A rmathrm dr+int_B rmathrm dr}{V_A+V_B}=frac{V_Abar r_A+V_Bbar r_B}{V_A+V_B};.$$



            Thus, the easiest way to do this is to add the numerators and denominators before forming the centroids and then dividing. If you happen to have the centroids of two bodies, you can still calculate the centroid of the combined body, but you need to "undo" the division by the volume and use the last expression, which is the weighted average of the centroids, weighted with the volumes. (The analogous formula with masses applies for the centre of mass when the density isn't constant.)







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Nov 10 '11 at 8:33









            jorikijoriki

            171k10188349




            171k10188349












            • $begingroup$
              I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:12












            • $begingroup$
              @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:20












            • $begingroup$
              So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:29










            • $begingroup$
              @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:46










            • $begingroup$
              Now I'm even more confused...
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:52


















            • $begingroup$
              I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:12












            • $begingroup$
              @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:20












            • $begingroup$
              So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:29










            • $begingroup$
              @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
              $endgroup$
              – joriki
              Nov 10 '11 at 19:46










            • $begingroup$
              Now I'm even more confused...
              $endgroup$
              – mathemagician11
              Nov 10 '11 at 19:52
















            $begingroup$
            I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:12






            $begingroup$
            I'm confused about what these variables are... r is the mass of one of the two shapes? p(r) is p*r, not r as a function of p, right? So r bar would be the average mass? What do A and B signify?
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:12














            $begingroup$
            @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
            $endgroup$
            – joriki
            Nov 10 '11 at 19:20






            $begingroup$
            @mathemagician11: Sorry, I should have been more explicit. $r$ is the position vector. $rho$ is the mass density, and $rho(r)$ is the mass density at $r$. So $bar r$ is the weighted average of the position, weighted with the mass density. $A$ and $B$ are the two component bodies, as indices marking the corresponding quantities and as integral subscripts marking the integration domains for the bodies.
            $endgroup$
            – joriki
            Nov 10 '11 at 19:20














            $begingroup$
            So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:29




            $begingroup$
            So r bar = (integral of f(x) + integral of g(x)) / (volume of solid of f(x) + volume of solid of g(x)) ?
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:29












            $begingroup$
            @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
            $endgroup$
            – joriki
            Nov 10 '11 at 19:46




            $begingroup$
            @mathemagician11: Well, schematically, yes, if by "integral of $f(x)$" you mean an integral over an appropriate integrand to integrate the position vector over the solid of revolution formed by $f(x)$.
            $endgroup$
            – joriki
            Nov 10 '11 at 19:46












            $begingroup$
            Now I'm even more confused...
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:52




            $begingroup$
            Now I'm even more confused...
            $endgroup$
            – mathemagician11
            Nov 10 '11 at 19:52


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f80787%2ffinding-the-centroid-of-the-composition-of-two-functions%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Cabo Verde

            Karlovacs län

            Gyllenstierna