How do I solve for the centroid of a function with a given range?

4 replies · 2K views · last reply
Guillem_dlc
Messages
188
Reaction score
17
Summary:: I'm solving an exercise.

I have the following center of gravity problem:

Having the function Y(x)=96,4*x(100-x) cm, where X is the horizontal axis and Y is the vertical axis, ranged between the interval (0, 93,7) cm. Determine:
a) Area bounded by this function, axis X and the line X=93,7 (in cm2)
b) The bar{x} coordinate of its centroid (in cm)
c) The bar{y} coordinate of its centroid (in cm)
Graph of a curved region under a parabola-shaped arc starting at the origin, with vertical axis A, horizontal axis marked B, and the label y(x)=Ax(100-x).

My attempt at resolution:

Handwritten-style typeset derivation of area and centroid integrals for y = 96,4x(100-x) over 0 to 93,7: part a) area 1588,34 m2, part b) x-bar 49,47 cm, part c) y-bar integral set up in progress.

How can I calculate the last section if I can't clear the x?

Thanks!
 
Guillem_dlc said:
How can I calculate the last section if I can't clear the x?
You are given y as a function of x, ##y = 96.4x(100 - x)##. Solve this equation for x in terms of y.
IOW, you have y = f(x), Solving for x gives you ##x = f^{-1}(y)##.
 
Mark44 said:
You are given y as a function of x, ##y = 96.4x(100 - x)##. Solve this equation for x in terms of y.
IOW, you have y = f(x), Solving for x gives you ##x = f^{-1}(y)##.
Okay perfect thank you!
 
You can do it with the inverse that can sometimes be unwieldy if the function is complicated. You can also find ##\bar{y}## by integrating wrt ##x##. Consider a vertical strip of width ##\delta x## and height ##f(x)##, then the incremental change in the first moment of area in the ##y## direction is

##\delta S_y = \frac{1}{2} {f(x)}^2 \delta x##

and then you can just integrate up over your limits and divide by the total area.
 
Last edited by a moderator:
etotheipi said:
You can do it with the inverse but as an additional point that might sometimes be a little unwieldy if the function is complicated. You can also find ##\bar{y}## by integrating wrt ##x##. Consider a vertical strip of width ##\delta x## and height ##f(x)##, then the incremental change in the first moment of area in the ##y## direction is

##\delta S_y = \frac{1}{2} {f(x)}^2 \delta x##

and then you can just integrate up over your limits and divide by the total area.
Yes, I applied this second method in the end, i.e. integrating with respect to ##x## and considering that ##y## was in the middle of the differential.