Formula and Method for the Stiffness Matrix
In matrix structural analysis and the finite element method (FEM), the stiffness matrix K of an elastic element relates the forces applied at its nodes to the resulting nodal displacements through {F} = [K]{u}. The simplest and most fundamental case is a 2-node axial element — a bar, spring, or pin-jointed truss member — loaded only along its own axis. For that element the local stiffness matrix is a 2×2 matrix: K = (AE/L) × [1, −1; −1, 1], where A is the cross-sectional area, E is Young's modulus of the material, and L is the element's length between its two nodes.
How the calculation works
Enter the cross-sectional area, Young's modulus, and length, each with its own unit selector; the calculator converts every value to consistent SI units (m², Pa, m) before computing. It first finds the scalar axial stiffness k = AE/L, which has units of force per unit length (N/m). This single number becomes every entry of the 2×2 matrix: the diagonal terms K11 = K22 = k, and the off-diagonal terms K12 = K21 = −k. This comes directly from Hooke's law applied at each node — displacing node 1 by u1 while holding node 2 fixed stretches the element by u1, producing an internal force k·u1 that pulls node 1 back and pulls node 2 forward by the same amount, so F1 = k·u1 − k·u2 and F2 = −k·u1 + k·u2.
Assembling a global stiffness matrix
A single element rarely tells the whole story. In the direct stiffness method, each element's local 2×2 matrix is mapped into a larger global matrix using its two global node numbers, and contributions from every element sharing a node are added together (superposition). Supports and fixed degrees of freedom are then applied by removing the corresponding rows and columns (or using penalty/elimination methods) before solving [K]{u} = {F} for the unknown displacements. The same AE/L building block extends directly to plane trusses and 3D truss elements once local stiffness is transformed into global coordinates with the element's direction cosines.
Practical notes and common mistakes
- Unit consistency: mixing E in GPa with A in mm² and L in inches without converting first is the most common source of wrong stiffness values — always reduce to one consistent unit system before trusting a hand calculation.
- Singular unrestrained matrix: the 2×2 matrix above is singular (determinant = 0) because an unsupported element can translate rigidly with zero net force; a real structure needs boundary conditions before [K] can be inverted.
- This is the axial (bar) matrix only: beam elements that resist bending and shear use a larger 4×4 (or 6×6 with rotation) stiffness matrix built from EI/L³ terms — a different, more elaborate formulation than the simple axial case here.
- Stiffness vs. flexibility: the stiffness matrix maps displacements to forces; its inverse, the flexibility matrix, maps forces to displacements and is only defined once rigid-body motion has been restrained.
Frequently Asked Questions
What is a stiffness matrix?
Why is the off-diagonal term negative?
How is a global stiffness matrix assembled from element matrices?
Is the stiffness matrix always symmetric?
Common Tip Percentages
| Service | Typical Tip Range | Notes |
|---|---|---|
| Restaurant (sit-down) | 15–20% | 20%+ for exceptional service |
| Food delivery | 10–20% | Consider extra for long distances |
| Taxi / rideshare | 10–20% | More for assistance with luggage |
| Hotel housekeeping | $2–5/night | Leave daily, not just at checkout |
| Barber / hair salon | 15–20% | On pre-discount total |
| Pizza delivery | 10–15% or $3–5 minimum | Higher in bad weather |
General Household Budget Ratios (50/30/20 Rule)
| Category | % of Net Income | Examples |
|---|---|---|
| Needs | 50% | Rent, groceries, utilities, insurance |
| Wants | 30% | Dining out, entertainment, hobbies |
| Savings / Debt | 20% | Emergency fund, retirement, extra payments |
Common Measurement Conversions for Everyday Use
| Quantity | US / Imperial | Metric Equivalent |
|---|---|---|
| 1 cup | 8 fl oz | 237 mL |
| 1 pint | 16 fl oz | 473 mL |
| 1 quart | 32 fl oz | 946 mL |
| 1 gallon | 128 fl oz | 3.785 L |
| 1 lb | 16 oz | 453.6 g |
| 1 ft | 12 in | 30.48 cm |