Skip to content

Finite State Machine

Mathematics · FE Reference Handbook section

Mathematics
3 formulas
10 exam-style examples
~51 min
All Mathematics lectures

Learning objectives

What you must be able to do before leaving this section.

This chapter section covers Finite State Machine within Mathematics. Read it the way you would read a textbook chapter: the theory first so the relations mean something, then every equation with its use and its trap, then 10 fully worked examples with the arithmetic shown line by line, and finally a self-check you should be able to answer without notes.

  • Explain, in your own words, what finite state machine describes physically and when it applies.
  • State every one of the 3 relations the handbook lists here and name each symbol with its unit.
  • Select the correct relation from the wording of an exam stem within 20 seconds.
  • Carry a complete solution from givens to a "most nearly" answer with the correct unit.
  • Recognise the distractors generated by the unit trap: radians vs degrees — set the calculator before the first trig entry.

Lecture

Why this section exists. Finite State Machine is the part of Mathematics that lets you connect an algebraic or calculus expression that must be evaluated exactly to a number you can defend. Before any equation is useful you must be able to picture the physical situation it describes; the schematic below is that picture.

How the theory is built. The handbook prints results, not derivations. Each relation in this section comes from one governing principle applied to the idealised system: state the principle, impose the stated assumptions, and the printed equation follows. Knowing which assumption each relation rests on is what lets you reject a wrong answer choice in seconds.

How it is examined. Items from this page are written as short symbolic manipulations with one numeric evaluation at the end. Roughly two thirds are direct substitution, one third require one intermediate quantity from a neighbouring relation, and a small number are conceptual — testing whether you know the assumption, not the arithmetic.

The habit that earns the points. Unit discipline. radians vs degrees — set the calculator before the first trig entry. Every relation below is dimensionally consistent only when that rule is honoured, and the distractor set is deliberately built from candidates who ignored it. Write the unit next to every number you substitute, every time.

How to study this page. Read the theory, then cover the formula cards and try to reproduce each relation from its description. Then work the examples with the solution hidden, revealing one line at a time. Finish with the self-check questions; if you cannot answer one, return to the matching formula card.

Three engineers in hard hats and safety vests reviewing drawings on a truck tailgate.

Photo 1. Where this shows up in practice: finite state machine.

Capstone Studio instructional photograph

Theory, developed

Read this before the equations — it is what makes them memorable.

The physical situation

Every item from this section describes an algebraic or calculus expression that must be evaluated exactly. Sketch it before you compute — a labelled sketch with the givens on it converts a wordy stem into a solvable problem and exposes the quantity the examiner left out on purpose.

The governing principle

The 3 relations on this page are consequences of one principle applied to that idealised system. Identify which quantity is conserved, balanced, or defined, and the correct equation follows without memorisation.

Assumptions and limits of validity

Each printed relation carries silent assumptions — linearity, steady state, uniformity, small deformation, or standard conditions, depending on the subject. Conceptual exam items are written by violating exactly one of these, so read the sentence above the equation as carefully as the equation itself.

Solution procedure you should automate

1) Read the last sentence of the stem to identify the requested quantity. 2) Locate the relation on this page whose left-hand side is that quantity. 3) Tabulate the givens with units and mark the missing symbol. 4) If a symbol is missing, find the one relation that produces it. 5) Rearrange symbolically, substitute once, evaluate, and round only at the end.

Three engineers in hard hats and safety vests reviewing drawings on a truck tailgate.

Photo 2. Mathematics: the physical system the theory above idealises.

Capstone Studio instructional photograph

Notation used in this section

SiQuantity produced by "Si = {s0, s1, ..., sn} and a finite set of inputs I; and a transition function f that assigns to each state and input pair a new state." — read its definition and unit from the handbook line directly above the equation.

Handbook notes for this section

Definitions and conditions exactly as the handbook states them.

  • A finite state machine consists of a finite set of states
  • A state (or truth) table can be used to represent the finite state machine.
  • Input
  • State i0 i1 i2 i3
  • S0 S0 S1 S2 S3
  • S1 S2 S2 S3 S3
  • S2 S3 S3 S3 S3
  • S3 S0 S3 S3 S3
  • Another way to represent a finite state machine is to use a state diagram, which is a directed graph with labeled edges.
  • S0 i0
  • i1 i3
  • S1 S3 i 1, i 2, i 3
  • i 2, i 3
  • i 0, i 1 i 0, i 1, i 2, i 3
  • The characteristic of how a function maps one set (X) to another set (Y) may be described in terms of being either injective,
  • surjective, or bijective.
  • An injective (one-to-one) relationship exists if, and only if,
  • A bijective relationship is both injective (one-to-one) and surjective (onto).

Core formulas for this FE topic

Definitions, applicability, units, assumptions and worked examples for each relation.

Worked exam-style examples

The four ways this section is written on the real exam — thoughts first, then equations, then substitution.

Example 1
Newton's algorithm applied to a square root — Finite State Machine

Use Newton's algorithm on f(x) = x² − 3 with a starting value x₀ = 6 to obtain two improved estimates of √3, then report the error after the second iteration.

Given

  • f(x) = x² − 3
  • x₀ = 6

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √3 = 1.73205

  5. Error — |x₂ − √3| = 0.354488

Answer: x₂ = 2.08654 with error 0.354488

Why the other options are there

  • 0.5000 (single division, no averaging)
  • -27.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 2
Newton's algorithm applied to a square root — Finite State Machine (2)

Use Newton's algorithm on f(x) = x² − 5 with a starting value x₀ = 2 to obtain two improved estimates of √5, then report the error after the second iteration.

Given

  • f(x) = x² − 5
  • x₀ = 2

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √5 = 2.23607

  5. Error — |x₂ − √5| = 0.000043

Answer: x₂ = 2.23611 with error 0.000043

Why the other options are there

  • 2.5000 (single division, no averaging)
  • 3.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 3
Newton's algorithm applied to a square root — Finite State Machine (3)

Use Newton's algorithm on f(x) = x² − 5 with a starting value x₀ = 5 to obtain two improved estimates of √5, then report the error after the second iteration.

Given

  • f(x) = x² − 5
  • x₀ = 5

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √5 = 2.23607

  5. Error — |x₂ − √5| = 0.097265

Answer: x₂ = 2.33333 with error 0.097265

Why the other options are there

  • 1.0000 (single division, no averaging)
  • -15.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 4
Newton's algorithm applied to a square root — Finite State Machine (4)

Use Newton's algorithm on f(x) = x² − 8 with a starting value x₀ = 3 to obtain two improved estimates of √8, then report the error after the second iteration.

Given

  • f(x) = x² − 8
  • x₀ = 3

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √8 = 2.82843

  5. Error — |x₂ − √8| = 0.000004

Answer: x₂ = 2.82843 with error 0.000004

Why the other options are there

  • 2.6667 (single division, no averaging)
  • 2.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 5
Newton's algorithm applied to a square root — Finite State Machine (5)

Use Newton's algorithm on f(x) = x² − 6 with a starting value x₀ = 4 to obtain two improved estimates of √6, then report the error after the second iteration.

Given

  • f(x) = x² − 6
  • x₀ = 4

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √6 = 2.44949

  5. Error — |x₂ − √6| = 0.016419

Answer: x₂ = 2.46591 with error 0.016419

Why the other options are there

  • 1.5000 (single division, no averaging)
  • -6.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 6
Newton's algorithm applied to a square root — Finite State Machine (6)

Use Newton's algorithm on f(x) = x² − 6 with a starting value x₀ = 5 to obtain two improved estimates of √6, then report the error after the second iteration.

Given

  • f(x) = x² − 6
  • x₀ = 5

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √6 = 2.44949

  5. Error — |x₂ − √6| = 0.068252

Answer: x₂ = 2.51774 with error 0.068252

Why the other options are there

  • 1.2000 (single division, no averaging)
  • -14.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 7
Newton's algorithm applied to a square root — Finite State Machine (7)

Use Newton's algorithm on f(x) = x² − 9 with a starting value x₀ = 2 to obtain two improved estimates of √9, then report the error after the second iteration.

Given

  • f(x) = x² − 9
  • x₀ = 2

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √9 = 3.00000

  5. Error — |x₂ − √9| = 0.009615

Answer: x₂ = 3.00962 with error 0.009615

Why the other options are there

  • 4.5000 (single division, no averaging)
  • 7.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 8
Newton's algorithm applied to a square root — Finite State Machine (8)

Use Newton's algorithm on f(x) = x² − 3 with a starting value x₀ = 4 to obtain two improved estimates of √3, then report the error after the second iteration.

Given

  • f(x) = x² − 3
  • x₀ = 4

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √3 = 1.73205

  5. Error — |x₂ − √3| = 0.087028

Answer: x₂ = 1.81908 with error 0.087028

Why the other options are there

  • 0.7500 (single division, no averaging)
  • -9.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 9
Newton's algorithm applied to a square root — Finite State Machine (9)

Use Newton's algorithm on f(x) = x² − 9 with a starting value x₀ = 2 to obtain two improved estimates of √9, then report the error after the second iteration.

Given

  • f(x) = x² − 9
  • x₀ = 2

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √9 = 3.00000

  5. Error — |x₂ − √9| = 0.009615

Answer: x₂ = 3.00962 with error 0.009615

Why the other options are there

  • 4.5000 (single division, no averaging)
  • 7.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Example 10
Newton's algorithm applied to a square root — Finite State Machine (10)

Use Newton's algorithm on f(x) = x² − 3 with a starting value x₀ = 2 to obtain two improved estimates of √3, then report the error after the second iteration.

Given

  • f(x) = x² − 3
  • x₀ = 2

Find

x₁, x₂ and the absolute error |x₂ − √N|

Start with the thinking

  • Newton's algorithm is x_{k+1} = x_k − f(x_k)/f′(x_k); for f = x² − N it collapses to the averaging form.
  • Convergence is quadratic, so two iterations already give several correct digits.

Step-by-step solution

  1. Formula

  2. Iteration 1

  3. Iteration 2

  4. Exact value — √3 = 1.73205

  5. Error — |x₂ − √3| = 0.000092

Answer: x₂ = 1.73214 with error 0.000092

Why the other options are there

  • 1.5000 (single division, no averaging)
  • 1.0000 (forgot to divide by f′)

Reference: FE Reference Handbook — Mathematics → Finite State Machine

Self-check

Answer these without notes before moving on.

  1. Without looking, state the relation on this page whose left-hand side is the quantity most often requested, and name every symbol in it.
  2. Which assumption, if violated, makes the main relation of this section invalid?
  3. Given an algebraic or calculus expression that must be evaluated exactly, what is the first quantity you would compute, and why that one first?
  4. Which unit conversion in this subject most often produces a wrong answer choice, and what is its numerical factor?
  5. Rework Example 1 above from the givens alone, without reading the solution lines.

Chapter summary

  • Finite State Machine contains 3 relations; you must be able to find this page in under 15 seconds.
  • Exam style: short symbolic manipulations with one numeric evaluation at the end.
  • Unit rule: radians vs degrees — set the calculator before the first trig entry.
  • Work the 10 examples until the solution path, not the answer, is automatic.

Common traps in this section

  • radians vs degrees — set the calculator before the first trig entry
  • Answering the intermediate quantity instead of the quantity requested.
  • Rounding intermediate values before the final step.
  • Using a relation from an adjacent handbook section that shares a symbol.
  • Skipping the sketch — most lost points on this page start with a misread geometry.
© 2026 Civil Engineering Capstone Studio. All rights reserved.