Centroid of a Region Calculator

Type a curve, or two curves, and an interval to find the centre of mass of the region.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

A number such as 0 or 1/2, pi, e, inf or -inf.

A number larger than the lower limit, pi, e, inf or -inf.

Try

Result

You entered(xˉ, yˉ)\left(\bar{x},\ \bar{y}\right)

(xˉ, yˉ)=(34, 310)\displaystyle \left(\bar{x},\ \bar{y}\right) = \left(\frac{3}{4},\ \frac{3}{10}\right)

Area

13\displaystyle \frac{1}{3}

Moments

My=14, Mx=110\displaystyle M_y = \frac{1}{4},\ M_x = \frac{1}{10}
Show the work
  1. Centroid of a region

    The centroid is the balance point of the region. Its coordinates are the moments about the y-axis and the x-axis, each divided by the area.

    Using xˉ=MyA,yˉ=MxA\bar{x} = \frac{M_y}{A},\quad \bar{y} = \frac{M_x}{A}

    A=∫01x2 dxMy=∫01x3 dxMx=∫01x42 dx\begin{gathered} A = \int_{0}^{1} x^{2}\,dx \\ M_y = \int_{0}^{1} x^{3}\,dx \\ M_x = \int_{0}^{1} \frac{x^{4}}{2}\,dx \end{gathered}
  2. Why these integrals

    A thin strip at xx has area (f−g) dx(f - g)\,dx (with g=0g = 0) and its own centre at height f+g2\tfrac{f + g}{2}, so My=∫x(f−g) dxM_y = \int x(f - g)\,dx and Mx=∫12(f2−g2) dxM_x = \int \tfrac{1}{2}(f^2 - g^2)\,dx.

  3. Area

    Integrate the height of the region.

    A=13A = \frac{1}{3}
  4. Moments

    Integrate each moment.

    My=14Mx=110\begin{gathered} M_y = \frac{1}{4} \\ M_x = \frac{1}{10} \end{gathered}
  5. Result

    Divide each moment by the area.

    xˉ=1413=34yˉ=11013=310\begin{gathered} \bar{x} = \frac{\frac{1}{4}}{\frac{1}{3}} = \frac{3}{4} \\ \bar{y} = \frac{\frac{1}{10}}{\frac{1}{3}} = \frac{3}{10} \end{gathered}
01
The area between y = x^2 and the x-axis from x = 0 to x = 1

Worked examples