Centroid and moment of inertia of sections
To know how much a beam bends or when it buckles, the area of its section is not enough: where the material is matters. The centroid says where the «center» of the area is —the neutral axis passes through it in bending— and the moment of inertia (second moment of area) measures how much material lies far from that axis, which is what resists bending. Here you will see where the formulas come from, how a composite section is solved with the textbook table and the parallel-axis theorem, what the principal axes are, and how to use the simulator to check each step.
The centroid: the balance point of the area
Cut the section out of cardboard of uniform thickness and rest it on the tip of a pencil: there is a single point where it balances. That point is the centroid C. Since the cardboard is uniform, the weight of each piece is proportional to its area, so the centroid depends only on the geometry: it is the center of gravity of a thin, homogeneous plate of that shape.
Balance is written with the first moment of area: each element times its lever arm. About the axis the arm is , and about the axis it is . The centroid is the point where, concentrating all the area , you get the same first moment:
Two consequences used all the time: the first moment about an axis through the centroid is zero (what lies on one side balances the other), and if the shape has an axis of symmetry, the centroid lies on it (each has a twin with the opposite arm).
From the integral to the sum: composite sections
If the section is split into simple parts of areas whose centroids are known, the integral splits into one integral per part and each equals (that is the definition of the part's centroid):
The tilde marks each part's centroid and the bar the whole section's. Coordinates are measured from an origin O of your choice: O changes the intermediate numbers, but not where C is within the section.
A centroid by integration: the triangle
For a right triangle of base and height , a horizontal strip at height has width and thickness :
The centroid is a third of the height from the base, where there is more area, not halfway. The same method gives the of the semicircle and the quarter circle (table below).
Holes: negative area
A hole, or the empty inside of a box section, is treated as a part of negative area: material taken away from a part that was counted whole. It enters with a minus sign in the area, in the first moment and in the inertia. Example: the 200 × 300 mm box with 10 mm walls is the outer rectangle minus the inner one.
If the hole is not centered, the centroid moves away from the hole and each part needs its own parallel-axis transfer (example 2).
A hole only removes material that is there
The minus sign is bookkeeping: «I counted this region as material and now I take it back». If part of the hole lies outside the solid parts, nothing was counted there, and subtracting it would leave a «negative material» that does not exist: the area would come out smaller than the real one and the centroid would shift the wrong way. That is why the simulator clips the hole with the solid parts and subtracts only the piece inside, with its own area and centroid; if the hole lies wholly outside, it subtracts nothing. In both cases it warns you.
The moment of inertia: resistance to bending
Bend a plastic ruler: flat, it curves under one finger; on edge, it barely moves. The area is the same; what changes is how far the material is from the axis it bends about. In bending the stress grows linearly with the distance from the neutral axis () and each force has a lever arm : each element adds to the resisting moment in proportion to . That sum is the second moment of area, or area moment of inertia:
Where bh³/12 comes from
Rectangle of base and height , axis horizontal through its centroid. A strip at distance , of thickness , has area :
The depth is cubed: doubling the depth multiplies the inertia by 8, doubling the width only by 2. About the base (integrating from 0 to ) you get , four times more: the centroidal axis has the least inertia of all parallel axes, as the parallel-axis theorem confirms.
The simulator's shapes
Integrals like this give the properties of the simulator's five shapes, about their own centroidal axes (parallel to and ). Those of the triangle and the quarter circle are for the orientation drawn: if the shape is mirrored, the sign of changes.
| Shape | Area | Centroid | |||
|---|---|---|---|---|---|
| Rectangle | , from a corner | 0 | |||
| Circle of diameter | the center | 0 | |||
| Right triangle, legs , (towards , ) | , from the right angle | ||||
| Semicircle of radius (round side up) | from the diameter | 0 | |||
| Quarter circle of radius (upper right) | from each straight side | same as |
The parallel-axis theorem (Steiner)
The table gives each part's inertia about its own centroid, but to add them all they must refer to the same axis: the one through the centroid C of the whole section. Let be a part's centroidal axis and a parallel axis at distance . Each element's distance to is :
The middle term is zero because is measured from the part's centroid (its first moment vanishes). For the product of inertia it comes out the same, with signs: . Since , the centroidal axis has the least inertia of its whole family of parallel axes.
With numbers: in the T-section, mm⁴. About its base, mm⁴, more than six times as much. Using that inertia in would give a stress six times smaller than the real one.
The tabular method
In textbooks and exams the calculation is arranged in a table with one row per part, and the simulator builds it the same way in its Calculation table. It is filled from left to right: first the centroid is closed (without , there are no distances ), then the inertias.
| Column | What it is | What for |
|---|---|---|
| A, , ỹ | area and centroid of each part from O (holes with negative A) | ΣA is the area of the section |
| A·, A·ỹ | first moments of each part | , |
| Īx, Īy | own inertias (table of shapes) | starting point of Steiner |
| dy = ỹ − ȳ, dx = − x | signed distance from the part's centroid to the section's | squared in Steiner; signed in the product |
| Īx + A dy², Īy + A dx² | each part moved to the x, ȳ axes (with − for a hole) | their sum is , |
| Īxy + A dxdy | product of each part on the axes through C | its sum is |
Product of inertia and symmetry
The product of inertia measures how the area is spread among the quadrants: elements in quadrants I and III ( and of the same sign) add and those in II and IV subtract. It can be positive, negative or zero, and has the same units as .
If or is an axis of symmetry, each at has a match at or at and the products cancel: as soon as one of the two axes is an axis of symmetry. That is why I, T, channel, box and circular sections have , and angles, Z-sections and triangles do not.
Principal axes and moments
If we turn the axes by an angle (counter-clockwise), each element's coordinates become and . Squaring and integrating, with :
These are the plane-stress transformation equations, with playing the role of . As the axes turn, goes through a maximum and a minimum on two perpendicular axes, the principal axes, on which the product of inertia is zero. Differentiating and setting it to zero:
The tangent gives two angles 90° apart; to know which one is the axis of , substitute one into or look at the circle. If the section has an axis of symmetry, and the , axes are already principal.
Mohr's circle of inertia
As with stresses, the equations describe a circle in the plane: center on the horizontal axis and radius . The axis is the point and the axis the point , at the ends of a diameter. With positive upward, turning the axes counter-clockwise moves the point the same way; the ends of the horizontal diameter are and .
What are they for? Axis 2 has the least inertia and the least radius of gyration: a column buckles about it (an angle buckles turning about an inclined axis, neither nor ). And if a beam with an unsymmetric section is loaded in a plane that is not principal, besides going down it also moves sideways: this is unsymmetric bending.
Radius of gyration, section modulus and polar moment
Radius of gyration
is the distance at which all the area, in a thin strip, would have to be concentrated to give the same inertia. It has units of length and lets you compare sections of different size. In buckling, the slenderness is and the least radius of gyration governs, .
Section modulus and bending stress
In bending the stress is largest at the fiber farthest from the neutral axis, at distance from the centroid: , with the section modulus (length³). If the section is not symmetric about the bending axis there are two, and , and the smaller one (farthest fiber) gives the larger stress.
In the T-section, MPa and MPa. If the material is weak in tension (cast iron, concrete), the tension side should be the one closer to the axis.
| Same area: 7200 mm² | (mm⁴) | (mm³) | (mm) | (mm⁴) |
|---|---|---|---|---|
| Square of 84.85 mm | 4.32 × 10⁶ | 101.8 × 10³ | 24.49 | 4.32 × 10⁶ |
| Plate on edge 20 × 360 | 77.76 × 10⁶ | 432 × 10³ | 103.9 | 240 × 10³ |
| I-section 150 × 300 (flanges 15, web 10) | 107.9 × 10⁶ | 719.1 × 10³ | 122.4 | 8.46 × 10⁶ |
The I-section puts the material far from the axis: 25 times the inertia of the square for the same weight. The plate on edge also has a lot of , but almost no : it would tip over and buckle sideways. The I-section keeps some lateral stiffness.
Polar moment
With : about the centroid (perpendicular-axis theorem), and it does not change when the axes turn. For a solid circular shaft, (twice ) and gives the torsional stress . For non-circular sections (rectangles, open profiles) torsion is not computed with but with a much smaller torsion constant: the simulator gives as a geometric property.
Using the simulator
Open Engineering → Centroid and inertia. The data are on the left; on the right, the figure, the result cards, the table and the step by step. Everything is recomputed as you type.
The «Section» and «Parts» panels
- Load an example: T-section, I-section, channel, equal- and unequal-leg angles, hollow box, plate with a hole, mixed shape and square minus a quarter circle.
- Length unit: mm, cm or m (with US in the header, in or ft). Changing it converts the sizes and the section stays the same. Areas come out in unit², inertias in unit⁴ and large numbers as in the books: «28.8 × 10⁶».
- Each card in Parts is a numbered part: choose its type (Rectangle, Circle, Right triangle, Semicircle or Quarter circle), tick Hole to subtract it and press × to remove it.
- Sizes: Width b and Height h, Diameter d, Radius r or Leg b (horiz.) and Leg h (vert.). The position x, y is that of a point that depends on the shape, and the grey line on the card reminds you: lower-left corner of the rectangle, center of the circle, right-angle corner of the triangle, center of the diameter of the semicircle and center of the circle for the quarter circle.
- Orientation: Legs go (triangle), Round side (semicircle) and Quadrant (quarter circle). The + Rectangle, + Circle… buttons add a part to the right of the section.
The figure, the warnings and the cards
- In Composite section, C is the centroid with its coordinates; in red, the centroidal axes x and ȳ; in purple, the principal axes 1 (I₁) and 2 (I₂), only when they differ from x, ȳ. Holes are hatched, with a dashed outline.
- Click a part to edit it (its card and its table row are highlighted) or drag it to move it: it moves in round steps and its x, y update.
- Warnings (⚠) below the figure: solid parts that overlap (that region would count twice; if you meant a hole, tick «Hole»), holes that overlap inside the material (subtracted twice), a hole partly or wholly outside the solid parts (only what is inside is subtracted: informative) and «No material is left».
| Card | What it gives |
|---|---|
| Area | , holes subtracted, and the number of parts |
| Centroid x, Centroid ȳ | coordinates of C measured from O |
| Inertia Ix, Inertia Iȳ | moments about the axes through C, with and below |
| Product Ixȳ | «x and ȳ are already principal» when zero; otherwise «not principal axes» |
| Principal moments, Principal axis 1 | and , and the angle of the axis of «from x, counter-clockwise» |
| Section modulus Sx, Sy | the smaller of each pair (farthest fiber) and both below: top · bottom, right · left |
| Polar moment J |
The Calculation table is the textbook one, row by row (clicking a row selects its part). The Step by step writes the same arithmetic with its substitutions. Detailed solution (PDF) builds a document to study or hand in: statement, formulas of each shape (with the derivation of and of Steiner), centroid, Steiner part by part, principal axes with Mohr's circle of inertia, radii of gyration, moduli, , checks with the invariants () and a summary.
Common mistakes
- Using in the inertia about the base or another axis that misses the centroid.
- Measuring to the origin O or to the base, instead of to the centroid C of the section.
- Applying Steiner between two non-centroidal axes, or twice in a row.
- Mixing up and , or using (triangle) for a rectangle.
- Forgetting the hole's sign in or in , or subtracting a whole hole when part of it lies outside.
- Losing the sign of in the product of inertia, or taking the angle from without checking which one is the axis of .
- Mixing units: if the sizes are in mm, the inertias come out in mm⁴ ().
Worked examples
Example 1T-section: centroid, inertias and section moduli
Solution
- Parts: flange mm² with mm; web mm² with mm. The section is symmetric about the axis: .
- mm.
- Flange: mm⁴, mm, mm⁴.
- Web: mm⁴, mm, mm⁴. Sum: mm⁴.
- About both centroids lie on the axis (): mm⁴.
- Extreme fibers: mm and mm, so mm³ and mm³. Radii of gyration: mm and mm.
Solve it in Simuveliq
- In Engineering → Centroid and inertia, Load an example → «T-section (flange 200 × 20, web 20 × 180)», with the Length unit in mm.
- Cards: Centroid ȳ = 142.6 mm, Inertia Ix = 28.8 × 10⁶ mm⁴ (rx = 61.56 mm), Inertia Iȳ = 13.45 × 10⁶ mm⁴ (ry = 42.07 mm) and Section modulus Sx = 201.9 × 10³ mm³, with «top 502 × 10³ · bottom 201.9 × 10³» below.
- In the Calculation table, the «Īx + A dy²» column has 9.108 × 10⁶ and 19.69 × 10⁶ (steps 3 and 4) and the Σ row, 28.8 × 10⁶. The Product Ixȳ is 0: «x and ȳ are already principal».
- Try it: in part 1 change Width b to 300 and watch C rise and grow; or drag the flange upward in the figure.
Example 2Plate with a hole: the centroid moves away from it
Solution
- Plate: mm² at (100, 50). Hole: mm² at (60, 50). Net area: mm².
- mm and mm (symmetry). The centroid shifts 6.59 mm to the right, away from the hole.
- : both centroids lie on (), so they subtract directly: mm⁴.
- with Steiner: plate ; hole , which is subtracted: mm⁴.
- The axis is an axis of symmetry, so and the axes are already principal. Since , the one of largest inertia () is the vertical one.
Solve it in Simuveliq
- Load an example → «Plate with a circular hole». Part 2 is a Circle with Hole ticked; its x, y is the center, (60, 50).
- Cards: Area 17170 mm² (four digits), Centroid x 106.6 mm, Centroid ȳ 50 mm, Inertia Ix 16.03 × 10⁶ and Inertia Iȳ 60.76 × 10⁶ mm⁴. Principal axis 1 reads −90°: the vertical axis ȳ.
- In the table, the «2. Circle (hole)» row has the area and inertias with a minus sign (−2827, −6.772 × 10⁶ in «Īy + A dx²»).
- Drag the hole to the right: C moves to the left, always away from the hole. If the hole leaves the plate, the warning of example 5 appears.
Example 3Lifting lug: Steiner with the table (exam type)
Solution
- Parts (the section is symmetric about , so mm): 1) rectangle mm², mm; 2) semicircle mm², mm; 3) hole mm², mm.
- mm² and mm.
- Rectangle: , mm, mm⁴.
- Semicircle (own axis parallel to the diameter): , mm, mm⁴.
- Hole: , mm, mm⁴, which is subtracted. Sum: mm⁴.
- About () the three centroids lie on the axis and no Steiner is needed: mm⁴.
- Fibers: top mm and bottom mm: mm³ and mm³.
Solve it in Simuveliq
- The button opens the lug with three parts. To build it yourself, from a rectangle with Width b 120 and Height h 80 at (0, 0): + Semicircle with Radius r = 60, x = 60, y = 80 and Round side «upwards»; + Circle with Diameter d = 40 at (60, 80) and Hole ticked.
- The Calculation table reproduces steps 3 to 5: the «Īx + A dy²» column gives 10.13 × 10⁶, 11.69 × 10⁶ and −495.1 × 10³, and the Σ row, 21.33 × 10⁶. The cards: Area 14000 mm², Centroid ȳ 62.85 mm, Inertia Iȳ 16.48 × 10⁶ mm⁴ and Section modulus Sx 276.5 × 10³ mm³.
- The hole lies half in the rectangle and half in the semicircle, but wholly inside the material: there is no warning and it is subtracted whole.
- Press Detailed solution (PDF) to see the semicircle's formulas with these numbers and the check of the invariants.
Example 4Unequal-leg angle: principal axes and moments
Solution
- mm² at (6, 75) and mm² at (51, 6). mm², mm, mm.
- Distances to the centroid: part 1, and mm; part 2, and mm.
- mm⁴ and mm⁴.
- Product: the rectangles have no of their own, only : mm⁴. Negative, because the area lies in quadrants II and IV of C.
- Circle center and radius mm⁴: and mm⁴.
- , and counter-clockwise from . Check in with : , the maximum: it is the axis of .
- Least radius of gyration: mm, smaller than mm. A column of this angle would buckle about axis 2, not about .
Solve it in Simuveliq
- Load an example → «Unequal-leg angle 150 × 90 × 12».
- Cards: Product Ixȳ = −1.912 × 10⁶ mm⁴ («not principal axes»), Principal moments I₁ = 7.012 × 10⁶ and I₂ = 1.049 × 10⁶ mm⁴ and Principal axis 1 = 19.95° «from x, counter-clockwise». The figure shows axes 1 and 2 in purple.
- In the table, the last column «Īxy + A dxdy» has −654.1 × 10³ and −1.258 × 10⁶ (step 4). The cards only give rx and ry: r₂ is computed from I₂ and the area, as in step 7.
- The Detailed solution (PDF) draws Mohr's circle of inertia for this angle. Compare with «Angle L 100 × 100 × 10»: with equal legs, and the principal axes lie at 45°.
Example 5A hole that runs off the plate
Solution
- Only the left half of the hole falls inside the plate: the material removed is a semicircle of radius 30 mm with its diameter on the edge. mm², with its centroid mm from the edge: mm.
- mm² and mm; mm by symmetry.
- : the semicircle has its diameter vertical and its centroid on ; about that horizontal axis it is half a disk, . mm⁴.
- Subtracting the whole circle (wrong): mm² and mm, almost 10 mm left of the true value and 1414 mm² short of what is there. The outer half is not material: subtracting it is like adding «negative material» outside the plate.
Solve it in Simuveliq
- The button opens the plate with a Circle of Diameter d 60 at (200, 50) with Hole ticked. The warning reads «Hole 2 lies partly outside the solid parts: only the part inside the material is subtracted (1414 of its 2827 mm²)».
- Cards: Area 18590 mm², Centroid x 93.36 mm and Inertia Ix 16.35 × 10⁶ mm⁴. In the figure only the inner half is emptied; the outer half keeps a dashed outline. The table row reads «2. Circle (hole, only the part inside)», with = 187.3.
- Drag the hole to the right until it is wholly out: the warning changes to «…there is no material to take away, so it subtracts nothing» and the area goes back to 20000. Type x = 170 (or less) and the hole lies wholly inside: it is subtracted whole and the warning disappears.