Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

Black Friday Scholarship – IIT Jammu & IIT Roorkee

The best Black Friday deal isn't a gadget. It's your next career move.

Get up to ₹60,000 Black Friday Scholarship on our PG programs with IIT Jammu and iHUB DivyaSampark, IIT Roorkee. IIT certification, 12 live sessions with IIT faculty and 100% placement assistance.

Only 52 seats left. Offer ends Fri, 27 Nov, 11:59 pm IST

3,905 engineers placed since 2019 · 1,276 hiring companies

By submitting you agree to our Terms and Privacy Policy.

Your free demo class is requested

Browse courses

Kinematics and Dynamics of Machines: Concepts and Worked Examples

Kinematics describes how machine parts move; dynamics finds the forces that motion needs. The difference, Grashof's law and degrees of freedom, with worked four-bar and slider-crank examples.

Kinematics and Dynamics of Machines: Concepts and Worked Examples

In short

  • Kinematics of machines is the geometry of motion: positions, velocities and accelerations of links, worked out without asking what forces cause them. Dynamics of machines adds mass and forces: inertia forces, torques, flywheels, balancing, governors, gyroscopes and vibration.
  • Every analysis starts with mobility. By the Grübler-Kutzbach formula a four-bar linkage and a slider-crank have 1 degree of freedom, a five-bar has 2 and a pin-jointed triangle has 0, which makes it a structure, not a mechanism.
  • Worked four-bar (40/120/80/100 mm, crank at 60° and 10 rad/s): the rocker turns at 4.57 rad/s and its tip moves at 0.366 m/s. Over one turn the rocker swings 73.8°, with a time ratio of 1.356.
  • Worked slider-crank (45 mm crank, 150 mm rod, 3,000 rpm): piston acceleration at top dead centre is 5,774 m/s², about 589 g. A 0.6 kg piston assembly then needs a force of 3,464 N just to reverse direction. Every number here was computed by Skill-Lync with a short Python script and cross-checked numerically.
  • In the five GATE Mechanical papers Skill-Lync has solved (2022 sets 1 and 2, 2024, 2025 and 2026), Theory of Machines and Vibrations carried 7 to 10 marks out of 100 per paper.

Kinematics and dynamics of machines are the two halves of the subject engineers call the Theory of Machines. Kinematics describes how the parts of a machine move: where each link is, how fast it moves and how fast that speed changes, all found from geometry alone. Dynamics then asks what forces and torques that motion needs or creates, so you can size bearings, flywheels, counterweights and motors.

This guide works through both halves on real numbers. It covers links, pairs and mechanisms, degrees of freedom, Grashof's law, velocity and acceleration of a four-bar linkage, piston motion in a slider-crank, inertia forces, and a flywheel sizing example. It ends with how simulation software splits kinematic and dynamic runs, and how much the subject is worth in GATE. Each figure is drawn from the same verified calculations, so the text, the diagrams and the maths agree.

What is the difference between kinematics and dynamics of machines?

Kinematics of machines studies the motion of machine parts (displacement, velocity and acceleration) from geometry alone, ignoring forces and mass. Dynamics of machines studies the forces and torques that act because of that motion, using mass and inertia. Kinematics tells you how a linkage moves; dynamics tells you what loads it must carry to move that way.

In practice they come as a pair. You cannot work out the inertia force on a piston until you know its acceleration, and that is a kinematics result. Courses often teach the kinematics half first and the dynamics half after it. The GATE Mechanical syllabus puts both under one heading, "Theory of Machines".

QuestionKinematics of machinesDynamics of machines
What it findsPosition, velocity and acceleration of each linkForces, torques, power, and the motion that results from them
Needs mass?No: link lengths and the input motion are enoughYes: masses, centres of gravity, moments of inertia
Typical topicsMobility, Grashof's law, inversions, instant centres, velocity and acceleration analysis, cams, gear-train ratiosInertia forces, turning-moment diagrams, flywheels, governors, balancing, gyroscopes, vibration
Typical design outputStroke, swing angle, time ratio, transmission angle, speed ratioBearing loads, crank torque, flywheel size, counterweights, natural frequency
Software runKinematic analysis (model with zero degrees of freedom, motion imposed)Dynamic analysis (one or more degrees of freedom, equations of motion integrated)

What are links, kinematic pairs, mechanisms and machines?

A link is a rigid part of a machine that moves relative to other parts. Two links joined so that they can move relative to each other form a kinematic pair. A chain of links and pairs with one link fixed becomes a mechanism. A mechanism that transmits useful work, not just motion, is a machine.

The vocabulary you need for the rest of this guide:

  • Lower pair: the links touch over a surface. A revolute (pin) joint and a prismatic (sliding) joint each allow one relative motion, so their freedom is 1.
  • Higher pair: the links touch at a point or along a line, as a cam touches its follower or one gear tooth touches another. Rolling with slipping allows two relative motions. Our cam and follower guide covers this pair in detail.
  • Kinematic chain: links joined by pairs into a closed loop. The four-bar chain is the simplest closed chain that can move.
  • Structure: a chain that cannot move at all, such as a pin-jointed triangle. It has zero degrees of freedom.
  • Inversion: the mechanism you get by fixing a different link of the same chain. Fixing each of the four links of the slider-crank chain in turn gives the reciprocating engine, the Whitworth quick-return (used on shapers), the oscillating-cylinder engine and the hand or pendulum pump. Textbooks number these inversions differently, so learn them by which link is fixed.

How do you find the degrees of freedom of a mechanism?

Use the Grübler-Kutzbach formula for planar linkages: , where N is the number of links including the fixed frame, j the number of joints and fi the freedom of each joint. M = 1 means one input drives the whole mechanism. M = 0 means a structure.

The idea behind it: every free body in a plane has 3 degrees of freedom (two translations and a rotation). Fix one link as the frame and you have 3(N − 1). Each joint with freedom f removes 3 − f of them. Rearranged, that is:

Four planar linkages with their mobility: four-bar with 4 links and 4 pins has M = 1, five-bar with 5 links and 5 pins has M = 2, a pin-jointed triangle with 3 links has M = 0, and a slider-crank with 4 links has M = 1.
Mobility of four common linkages. The fixed frame counts as a link in N. Drawn by script.

Worked through for the linkages you meet first (all joints are pins or sliders, f = 1, unless stated):

LinkageNjΣfMMeaning
Four-bar4441One crank drives everything
Slider-crank4441Engine, compressor, press
Five-bar5552Needs two inputs (used in some robot arms)
Pin-jointed triangle3330A structure: no motion
Watt or Stephenson six-bar6771One input, more complex output path
Roller cam and translating follower4452One real input plus the roller's free spin

The last row is a classic exam trap. The formula gives 2 because the roller can spin on its own pin without changing anything else. That spin is a redundant (idle) freedom, so the useful mobility is still 1. The opposite trap is the overconstrained linkage: special geometry, such as the parallel links of a double parallelogram, lets a mechanism move even though the formula predicts M = 0. Multibody software has the same problem with redundant constraints, which our post on constraints, degrees of freedom and joint types explains.

What is Grashof's law and how do you apply it?

Grashof's law says a four-bar linkage has at least one link that can rotate fully only if , where s is the shortest link, l the longest and p, q the other two. The fixed link then decides the type: crank-rocker, double-crank or double-rocker. A linkage failing the test is always a double-rocker.

Take the linkage used in the rest of this guide: crank a = 40 mm, coupler b = 120 mm, rocker c = 80 mm and ground d = 100 mm.

  • s + l = 40 + 120 = 160 mm, and p + q = 80 + 100 = 180 mm. Since 160 ≤ 180, the linkage is Grashof.
  • The shortest link (40 mm) is next to the fixed link, so the shortest link turns fully and the opposite link rocks: a crank-rocker.
  • Fix the shortest link itself and the same chain becomes a double-crank (drag link). Fix the link opposite the shortest and it becomes a double-rocker.

When s + l = p + q exactly, the linkage is a "change-point" mechanism. It can fold flat, and at that point the output can go either way, so designers avoid it unless they add a guide.

How do you find the velocity and acceleration of a four-bar linkage?

Write the loop-closure equation (the link vectors add to zero around the loop), solve it for the coupler and rocker angles, then differentiate once for angular velocities and twice for angular accelerations. Graphical velocity polygons and instant centres give the same answers. Exams use them; code and simulation software use the loop equations.

The loop for our linkage is . With the crank at θ2 = 60°, the open (uncrossed) solution is θ3 = 18.4° and θ4 = 64.9°. Differentiating the loop once gives the angular velocities:

With the crank turning at a steady ω2 = 10 rad/s anticlockwise:

  • ω4 = (40 × 10 / 80) × sin 41.6° / sin 46.6° = 4.57 rad/s anticlockwise.
  • ω3 = −0.396 rad/s, so the coupler turns slowly clockwise at this instant.
  • Velocity of the crank pin A: a ω2 = 40 mm × 10 rad/s = 0.400 m/s. Velocity of the rocker tip B: c ω4 = 80 mm × 4.57 rad/s = 0.366 m/s.
  • Differentiating again (with zero crank acceleration) gives α3 = 26.7 rad/s² and α4 = 32.0 rad/s².
Four-bar crank-rocker drawn to scale: ground 100 mm, crank 40 mm at 60 degrees turning at 10 rad/s, coupler 120 mm at 18.4 degrees, rocker 80 mm at 64.9 degrees turning at 4.57 rad/s. Velocity of A is 0.400 m/s and of B is 0.366 m/s.
The worked four-bar at θ2 = 60°, drawn to scale with velocity arrows (0.1 mm of arrow per mm/s). Skill-Lync checked the analytic ω4 and α4 against a numerical derivative of the position solution: they agree to 0.0001 rad/s and 0.02 rad/s².

The instant-centre route. Every pair of links has one instant centre, the point about which one link momentarily rotates relative to the other, so an n-link mechanism has n(n − 1)/2 of them: 6 for a four-bar. The Aronhold-Kennedy theorem says that the three instant centres of any three links lie on one straight line. That lets you locate the two centres that are not at pins and read velocities off the drawing. It is the fastest method in a GATE paper, where a single position is asked.

How do the rocker angle, time ratio and transmission angle change over one turn?

A crank-rocker's output is not uniform. The rocker swings between two toggle positions, where crank and coupler line up, and the crank needs different angles for the outward and return swings. That difference is the time ratio. The transmission angle, between coupler and rocker, tells you how well force gets through.

Three plots against crank angle for the 40/120/80/100 mm crank-rocker: rocker angle swings 73.8 degrees between toggles at crank angles 24.2 and 231.3 degrees; rocker angular velocity ranges from minus 9.58 to plus 5.41 rad/s; transmission angle ranges from 26.4 to 86.4 degrees, below 40 degrees near crank angle zero.
One crank revolution of the worked linkage at 10 rad/s. Toggle positions are dashed. Computed every 0.25° by script.
  • Swing angle: the rocker moves between 54.9° (crank and coupler extended in line, 160 mm apart) and 128.7° (folded, 80 mm apart), a swing of 73.8°.
  • Time ratio: the crank turns 207.2° (from 24.2° to 231.3°) for the outward swing and 152.8° for the return. Time ratio = 207.2 / 152.8 = 1.356. The return is faster than the outward swing, which is the principle behind quick-return mechanisms in shapers.
  • Transmission angle: 46.6° at our 60° position, but it ranges from 86.4° (crank at 180°) down to 26.4° (crank at 0°). A common design target keeps the minimum above about 40° to 45°. Below that, most of the coupler force goes into the bearings instead of turning the rocker. So this linkage moves correctly, but it would be a poor choice for carrying load near θ2 = 0°. Making it better means changing the link lengths, which is a synthesis problem.

Notice that the fastest rocker motion (−9.58 rad/s) happens on the return swing, not the outward one. Peak speeds, not average speeds, set the inertia loads you will meet in dynamics.

How fast does a piston accelerate in a slider-crank?

Piston acceleration peaks at top dead centre, at , where r is the crank radius, l the connecting-rod length and ω the crank speed. For a 45 mm crank, 150 mm rod and 3,000 rpm, that is 5,774 m/s², about 589 times gravity. At bottom dead centre it is lower, 3,109 m/s².

The exact piston position measured from the crank centre, with θ measured from top dead centre (TDC), is:

Differentiate twice and expand the square root (the binomial series in r/l) to get the textbook two-term form, with n = l/r:

Worked example: r = 45 mm (so the stroke is 90 mm), l = 150 mm (n = 3.33) and 3,000 rpm, so ω = 2π × 3,000 / 60 = 314.16 rad/s.

  • At TDC: a = 0.045 × 314.16² × (1 + 0.3) = 5,774 m/s², towards the crank.
  • At BDC: a = 0.045 × 314.16² × (1 − 0.3) = 3,109 m/s². The two ends differ because the rod swings: that is the obliquity effect.
  • Mean piston speed = 2 × stroke × rpm / 60 = 2 × 0.09 × 50 = 9.00 m/s. Peak piston speed is 14.76 m/s, reached at 74.5° after TDC, not at 90°.
  • The two-term approximation stays within 64 m/s² of the exact value over the whole turn, 1.1% of the peak, which is why textbooks use it.
Piston velocity and acceleration over one crank revolution for a 45 mm crank, 150 mm rod at 3000 rpm. Peak velocity 14.76 m/s at 74.5 degrees. Acceleration 5774 m/s squared at TDC and 3109 at BDC. The two-term approximation overlaps the exact curve; the primary-only cosine curve does not.
Exact piston acceleration (solid), the two-term approximation (dashed) and the primary term alone (dotted). The gap between the solid and dotted curves is the secondary term, which repeats twice per revolution.

Where does dynamics begin: inertia forces, balancing and flywheels?

Dynamics begins when you multiply kinematic results by mass. By d'Alembert's principle, an accelerating part can be treated as if a reversed "inertia force" m·a acted on it, which turns a moving mechanism into a static force problem you can solve link by link for bearing loads and crank torque.

Inertia force on the piston. Take a reciprocating mass of 0.6 kg (piston, pin and the share of the connecting rod usually lumped with them) in the slider-crank above:

  • At TDC the inertia force is 0.6 × 5,774 = 3,464 N, roughly the weight of 350 kg, reversing direction every revolution.
  • Split by the two-term formula: the primary part m r ω² cos θ peaks at 2,665 N at crank frequency (50 Hz). The secondary part (m r ω² / n) cos 2θ peaks at 799 N at twice crank frequency (100 Hz).
  • A counterweight on the crank can cancel rotating unbalance, but it cannot cancel a reciprocating force in the line of stroke. That is why a single-cylinder engine is never perfectly balanced, and why multi-cylinder layouts or balance shafts are used to cancel primary and secondary forces.

Sizing a flywheel. An engine or press does not deliver a steady torque, so its speed rises and falls within each cycle. The flywheel's job is to keep that swing small. If ΔE is the largest fluctuation of energy in a cycle (the biggest area on the turning-moment diagram above or below the mean torque), ω the mean speed and Cs the allowed coefficient of fluctuation of speed, then:

Worked: ΔE = 1,800 J, mean speed 600 rpm (ω = 62.83 rad/s), speed allowed to vary ±1% (Cs = 0.02, so between 594 and 606 rpm):

  • I = 1,800 / (62.83² × 0.02) = 22.8 kg·m².
  • As a rim with radius of gyration 0.5 m, that is m = I / k² = 22.8 / 0.25 = 91.2 kg.
  • Check: ½ I (ωmax² − ωmin²) at 606 and 594 rpm gives back exactly 1,800 J.

The rest of dynamics of machines builds on the same idea. A governor controls the mean speed over many cycles, where a flywheel only smooths speed within one cycle. A gyroscopic couple appears when a spinning rotor is turned about another axis: a ship turning, an aircraft engine during a turn. Vibration analysis finds the natural frequencies a running machine must avoid. To see gears in this framework, try the planetary gear calculator. For pure linkage kinematics in a vehicle, the steering geometry calculator works out inner and outer wheel angles from the steering linkage dimensions.

How is a kinematic simulation different from a dynamic simulation?

In multibody software a kinematic analysis runs when the model has zero degrees of freedom: imposed motions fully define how everything moves, and forces come out afterwards. A dynamic analysis runs when one or more degrees of freedom remain, so the solver integrates the equations of motion and mass, springs and loads change the result.

Altair MotionSolve's documentation states the rule directly: transient runs on systems with zero degrees of freedom use kinematic simulation, and systems with more use dynamic simulation. In a kinematic run the reaction forces are calculated from the prescribed motion using the masses and inertias you supply. Wrong masses therefore still give correct motion but wrong forces, and nothing in the animation will warn you. SOLIDWORKS splits the same idea into three motion-study types. Animation ignores mass. Basic Motion approximates gravity, springs and contact. Motion Analysis, which needs the SOLIDWORKS Motion add-in, computes forces, springs, dampers and friction properly.

The hand methods above are how you check a simulation. If the software's rocker speed at θ2 = 60° is not 4.57 rad/s for this linkage, the model is wrong, not the maths. Skill-Lync's Multibody Dynamics using SolidWorks course builds these models (four-bars, piston-crank assemblies, planetary gear sets) on industry projects. The MotionView and MotionSolve course takes them into suspensions and steering, and you can compare Skill-Lync's vehicle dynamics courses side by side. If you are unsure which fits your background, book a free counselling call.

How many marks does Theory of Machines carry in GATE Mechanical?

In the five GATE ME papers Skill-Lync has solved against the official answer keys (2022 sets 1 and 2, 2024, 2025 and 2026), Theory of Machines and Vibrations carried 7, 7, 10, 9 and 7 marks out of 100. That is 26 questions in all, and mechanisms with velocity analysis alone gave 2 to 3 marks in every paper.

Stacked bar chart of GATE ME Theory of Machines and Vibrations marks per paper: 2022 set 1: 7, 2022 set 2: 7, 2024: 10, 2025: 9, 2026: 7, split into mechanisms and velocity analysis, gears and gear trains, flywheel governor balancing gyroscope and brakes, and vibrations.
Source: Skill-Lync's question-by-question analysis of official GATE ME papers and keys (IIT Kharagpur 2022, IISc Bengaluru 2024, IIT Roorkee 2025, IIT Guwahati 2026). GATE 2023 is not counted yet. Filing a question under a sub-topic is our judgement; the marks come from the official keys.

Across those 26 questions: mechanisms and velocity analysis carried 12 marks, vibrations 12, gears and gear trains 8, and flywheels, governors, balancing, gyroscope and brakes 8. The GATE 2026 syllabus (IIT Guwahati) lists Theory of Machines as "displacement, velocity and acceleration analysis of plane mechanisms; dynamic analysis of linkages; cams; gears and gear trains; flywheels and governors; balancing of reciprocating and rotating masses; gyroscope". It lists vibrations of single-degree-of-freedom systems separately. All 26 questions, solved step by step, are on our GATE Theory of Machines and Vibrations page. For dates, pattern and a study plan, see the GATE 2027 Mechanical guide.

How should you study kinematics and dynamics of machines?

  1. Mobility first. Count N, j and Σf for every mechanism you meet until it is automatic, and learn the two exceptions (idle freedoms and overconstrained linkages).
  2. One linkage, all methods. Solve the same four-bar position by loop closure, a velocity polygon and instant centres, and make the three agree. The worked example above gives you a ready answer key. If instant centres are new to you, the rigid-body chapter of the Engineering Mechanics book lets you slide a ladder down a wall and watch its instantaneous centre move.
  3. Slider-crank to dynamics. Go from piston acceleration to inertia force to crank torque, then to the turning-moment diagram and the flywheel. That chain is most of a Dynamics of Machinery course.
  4. Code it. A short Python script that sweeps the crank through 360° teaches more about toggles and transmission angle than ten single-position problems. It is also how you will check simulation output at work.
  5. Then simulate. Build the same mechanism in a multibody tool and compare. Our post on kinematic versus dynamic runs in MotionView and MotionSolve shows the workflow.

Frequently asked questions

Is kinematics a part of dynamics?

In mechanics, dynamics is often used as the umbrella term covering both kinematics (the description of motion) and kinetics (the forces behind it). In Theory of Machines they are taught as two halves: kinematics covers mechanisms and their motion, and dynamics covers forces, flywheels, balancing, governors, gyroscopes and vibration. GATE Mechanical examines both under one heading.

What is the difference between a mechanism and a machine?

A mechanism is a set of links and joints, with one link fixed, that transmits or transforms motion, such as a four-bar linkage or a clock's gear train. A machine is a mechanism, or a group of them, that also transmits useful force and does work, such as an engine, a press or a lathe. Every machine contains mechanisms.

What is Grübler's equation used for?

Grübler's equation (the Grübler-Kutzbach criterion) gives the degrees of freedom of a planar linkage from its number of links and joints: M = 3(N − 1 − j) + Σf. It tells you how many independent inputs the linkage needs: M = 1 is a normal mechanism, M = 0 a structure, M = 2 needs two inputs.

Which software is used for kinematic and dynamic analysis of mechanisms?

Engineers use multibody dynamics (MBD) software: dedicated solvers such as Altair MotionView with MotionSolve, and motion modules inside CAD tools such as SOLIDWORKS Motion. A common path is to start with SOLIDWORKS motion studies on simple linkages, then move to MotionSolve for vehicle suspension, steering and powertrain models, whose loads feed FEA and durability checks.

Why is a crank-rocker's transmission angle important?

The transmission angle is the angle between the coupler and the output rocker. At 90°, all of the coupler's push turns the rocker. As it drops towards zero, more of the force loads the pins and less does useful work. Designers usually keep the minimum above about 40° to 45°. Our worked linkage dips to 26.4°, too low for heavy loads.

Sources and further reading

Want this on your résumé?

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.