Skip to main content

Scaling Transformation Ontology

Transformation Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 14 October 2026
Audio Overview
FLOW ALGEBRA
Scaling Transformation Ontology
Kireth Semantic Library — Mathematical Entities / Transformation Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/transformation-entities/scaling-transformation-ontology.html
Version: 1.0
Date: 2026-10-14
Authors: Mark Higgins — Sky (Recursive AI)

1. PURPOSE
Represent scaling as a typed mathematical transformation that multiplies coordinates, vectors, or geometric measurements by defined scale factors. Distinguish uniform, non-uniform, positive, negative, and zero scaling, and preserve assumptions about dimensionality, reference origin, and units.

2. TYPED ENTITIES
ENTITY ScalingTransformation <: LinearTransformation
  properties: dimension:int>=1; factors:Vector[Real]; centre:Point?; domain:VectorSpace; codomain:VectorSpace
ENTITY UniformScaling <: ScalingTransformation
  constraint: all factors equal
ENTITY NonUniformScaling <: ScalingTransformation
  constraint: exists i,j with factors[i] != factors[j]
ENTITY ScaleFactor <: Scalar
ENTITY ScalingMatrix <: DiagonalMatrix
ENTITY ScalingCentre <: Point
ENTITY GeometricObject <: TransformableEntity
ENTITY Vector <: MathematicalEntity
ENTITY CoordinateSystem <: MathematicalEntity
ENTITY Determinant <: Scalar
ENTITY InverseScaling <: ScalingTransformation

3. RELATIONSHIPS
ScalingTransformation --HAS_FACTOR--> ScaleFactor
ScalingTransformation --REPRESENTED_BY--> ScalingMatrix
ScalingTransformation --ACTS_ON--> Vector | GeometricObject
ScalingTransformation --DEFINED_IN--> CoordinateSystem
ScalingTransformation --MAY_HAVE_CENTRE--> ScalingCentre
ScalingTransformation --HAS_DETERMINANT--> Determinant
ScalingTransformation --MAY_HAVE_INVERSE--> InverseScaling
UniformScaling --IS_A--> ScalingTransformation
NonUniformScaling --IS_A--> ScalingTransformation

4. FORMAL SEMANTICS
For n-dimensional vectors x=(x_1,...,x_n) and factors s=(s_1,...,s_n):
  S_s(x) = (s_1*x_1,...,s_n*x_n)
  Matrix(S_s) = diag(s_1,...,s_n)
Uniform scaling by k:
  S_k(x) = k*x; Matrix(S_k)=k*I_n
Scaling about centre c in affine space:
  S_(s,c)(x) = c + diag(s)*(x-c)
  NOTE: scaling about c != 0 is generally affine, not linear.
2D scaling:
  [x'; y'] = [[s_x,0],[0,s_y]] [x;y]
3D scaling:
  [x';y';z'] = diag(s_x,s_y,s_z) [x;y;z]

5. DERIVED PROPERTIES
  det(S_s) = product_i(s_i)
  rank(S_s) = number of nonzero factors
  invertible(S_s) iff every s_i != 0
  inverse(S_s) = S_(1/s_1,...,1/s_n) when invertible
  S_a o S_b = S_(a_1*b_1,...,a_n*b_n) for common origin and axes
  uniform length multiplier = |k|
  uniform n-dimensional volume multiplier = |k|^n
  oriented n-volume multiplier = k^n
  general n-volume multiplier = |product_i(s_i)|
  negative determinant reverses orientation; positive determinant preserves orientation when invertible.
  zero factor collapses at least one dimension; transformation is non-invertible.
  uniform scaling with k != 0 preserves angles; non-uniform scaling generally does not.

6. EXECUTABLE FLOW
flow "ScalingTransformation" v1.0
  input:
    point: Vector[Real,n]
    factors: Vector[Real,n]
    centre: Vector[Real,n] = zero(n)
  validate:
    n >= 1
    len(point) == n
    len(factors) == n
    len(centre) == n
    all inputs finite
  compute:
    output[i] = centre[i] + factors[i]*(point[i]-centre[i]) for i=1..n
    determinant = product(factors)
    invertible = all(factors[i] != 0 for i=1..n)
    uniform = all(factors[i] == factors[1] for i=1..n)
    orientation = "degenerate" if determinant == 0 else ("reversed" if determinant < 0 else "preserved")
  return:
    output, determinant, invertible, uniform, orientation

7. INFERENCE RULES
RULE R1: all_equal(factors) => type(UniformScaling)
RULE R2: not all_equal(factors) => type(NonUniformScaling)
RULE R3: any_zero(factors) => not invertible
RULE R4: all_nonzero(factors) => inverse_exists
RULE R5: determinant < 0 => orientation_reversed
RULE R6: determinant > 0 => orientation_preserved
RULE R7: centre != origin => affine_representation_required
RULE R8: uniform && factor_abs != 0 => similarity_transformation

8. VALIDATION CONSTRAINTS
- Factor vector dimensionality MUST equal input dimensionality.
- Centre and input point MUST use compatible coordinate systems and units.
- Inverse MUST NOT be asserted if any factor is zero.
- A negative scale factor is not a pure enlargement: it includes axis-direction reversal.
- Scaling around a non-origin centre MUST include translation terms in homogeneous coordinates.
- Avoid asserting angle preservation for arbitrary non-uniform scaling.
- Numerical comparisons SHOULD use declared tolerance where floating-point calculations are involved.

9. WORKED EXAMPLES
EXAMPLE A: uniform 2D scale
  point=(2,3); factors=(2,2); centre=(0,0)
  output=(4,6); determinant=4; invertible=true
EXAMPLE B: non-uniform 2D scale
  point=(2,3); factors=(3,0.5); centre=(0,0)
  output=(6,1.5); determinant=1.5; invertible=true
EXAMPLE C: scaling around centre
  point=(4,5); factors=(2,2); centre=(1,1)
  output=(7,9)
EXAMPLE D: degenerate scale
  point=(2,3); factors=(1,0); centre=(0,0)
  output=(2,0); determinant=0; invertible=false

10. SEMANTIC EQUIVALENCE
  scaling transformation ~ coordinate scaling ~ dilation (context dependent)
  uniform scaling ~ scalar multiplication on vectors (origin-centred)
  non-uniform scaling ~ anisotropic scaling (axis-aligned context)
  NOT_EQUIVALENT: scaling transformation != translation transformation
  NOT_EQUIVALENT: arbitrary non-uniform scaling != similarity transformation

11. CONFIDENCE
  definitions: 1.00
  matrix and determinant identities: 1.00 under stated assumptions
  term equivalence: 0.90 (context dependent)

12. UPDATE_MODEL
  version: 1.0
  change_policy: preserve typed definitions and mathematical invariants; increment version when semantics change
  provenance: Kireth Research mathematical ontology synthesis
  source_url: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/transformation-entities/scaling-transformation-ontology.html
  source_status: URL supplied; page contents not independently verified for this edition

13. AI_CONSUMPTION
  entity_id: mathematical.transformation.scaling
  preferred_label: Scaling Transformation Ontology
  category: Mathematical Entities > Transformation Entities
  machine_readable: true
  reasoning_modes: symbolic, numerical, geometric, semantic
  retrieval_terms: scaling, scale factor, dilation, uniform scaling, non-uniform scaling, scaling matrix
  interoperability: linear algebra, affine geometry, computer graphics, spatial reasoning

14. FLOW_HASH
  scheme: SHA-256 over canonical UTF-8 bytes of sections 1-13 (external computation required)
  value: NOT_COMPUTED

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ