Finding the center of mass of a piecewise function

AI Thread Summary
To find the center of mass (COM) of a piecewise function, the shape can be divided into simpler components like parallelograms and triangles. While calculating the COM for each shape is possible, integrating the equations directly may provide a more accurate result. The discussion emphasizes that even if the shapes are not perfect parallelograms, they can still be treated as point masses for COM calculations. There is some confusion regarding how integration relates to finding the COM versus just calculating area. Clarification is needed on the necessary multipliers for the integration process to accurately determine the COM.
JorkThePork
Messages
3
Reaction score
0
Homework Statement
Find the center of mass of the "lightning bolt" shaped piecewise function as shown below (or in the desmos project: https://www.desmos.com/calculator/g6crwsecp1)
Relevant Equations
Xcm = A^-1 * ∫ a b x * (f(x) - g(x)) d x

Ycm = A^-1 * ∫ a b .5((f(x)^2 - g(x)^2) d x
desmos-graph.png
I understand that I can divide this shape into a few parallelograms and a triangle and calculate the center of mass of each, but am confused as to what I should do after that. My physics teacher also wants us to use integrals, but I'm assuming I can calculate the COM of each parallelogram and triangle by simply integrating.
 
Physics news on Phys.org
You can find the CM of the two parallelograms and the half-parallelogram which will give you 3 point masses at the locations of these CMs. Then you can find the CM of the 3 point masses the usual way.
 
kuruman said:
You can find the CM of the two parallelograms and the half-parallelogram which will give you 3 point masses at the locations of these CMs. Then you can find the CM of the 3 point masses the usual way.
the two seemingly big parallelograms actually are not parallelograms because of how I designed the lightning bolt (the equations I used are here https://www.desmos.com/calculator/g6crwsecp1). However, I could break the shape up into 2 big parallelograms, 2 very thin parallelograms, and a triangle. I'm assuming I could still then find the CM of the 5 point masses the usual way.
 
JorkThePork said:
the two seemingly big parallelograms actually are not parallelograms because of how I designed the lightning bolt (the equations I used are here https://www.desmos.com/calculator/g6crwsecp1). However, I could break the shape up into 2 big parallelograms, 2 very thin parallelograms, and a triangle. I'm assuming I could still then find the CM of the 5 point masses the usual way.
Yes, you can carve it up into simple non overlapping shapes, but since you have equations why not just integrate them and add the (signed) results?
 
haruspex said:
Yes, you can carve it up into simple non overlapping shapes, but since you have equations why not just integrate them and add the (signed) results?
Sorry, I’m a little confused how this would give me the center of mass. wouldn’t this just give the area?
 
JorkThePork said:
Sorry, I’m a little confused how this would give me the center of mass. wouldn’t this just give the area?
So what do you need to multiply the expressions by before integrating?
 
Last edited:
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
TL;DR Summary: Find Electric field due to charges between 2 parallel infinite planes using Gauss law at any point Here's the diagram. We have a uniform p (rho) density of charges between 2 infinite planes in the cartesian coordinates system. I used a cube of thickness a that spans from z=-a/2 to z=a/2 as a Gaussian surface, each side of the cube has area A. I know that the field depends only on z since there is translational invariance in x and y directions because the planes are...
Back
Top