AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Ellipse Ontology
VERSION: 4.0
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/geometric-entities/ellipse-ontology-2.html
AUTHORSHIP: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
SOURCE_ALIGNMENT: Independently constructed mathematical ontology; source-page text not verified.
01 | PURPOSE
Model ellipses as geometric loci, conic sections and affine images of circles, with explicit assumptions and machine-consumable rules.
02 | ENTITY TYPES
Ellipse: planar, nondegenerate conic with positive semiaxes.
Centre: midpoint of the foci and axes.
Focus: one of two fixed points defining the focal-distance locus.
MajorAxis: longest principal diameter, length 2a.
MinorAxis: shortest principal diameter, length 2b.
SemiMajorAxis: a, with a >= b > 0.
SemiMinorAxis: b, with 0 < b <= a.
FocalDistance: c = sqrt(a^2-b^2).
Eccentricity: e = c/a, 0 <= e < 1.
Directrix: line associated with focus and eccentricity when 0 < e < 1.
Vertex: principal-axis endpoint.
CoVertex: minor-axis endpoint.
EllipseInterior: bounded region enclosed by ellipse.
EllipseBoundary: set of points satisfying the ellipse equation.
TangentLine: line tangent at a regular boundary point.
NormalLine: line perpendicular to the tangent at a boundary point in Euclidean metric.
03 | TYPED SIGNATURES
point: Point(R^2)
vector: Vector(R^2)
centre: Ellipse -> Point(R^2)
semimajor: Ellipse -> RealPositive
semiminor: Ellipse -> RealPositive
focus: Ellipse -> Set[Point(R^2)]
eccentricity: Ellipse -> Real[0,1)
contains: EllipseInterior x Point -> Boolean
on_boundary: EllipseBoundary x Point -> Boolean
translate: Ellipse x Vector -> Ellipse
rotate: Ellipse x Angle -> Ellipse
scale_uniform: Ellipse x RealPositive -> Ellipse
04 | FOUNDATIONAL AXIOMS
AX-01: a >= b > 0.
AX-02: c^2 = a^2 - b^2.
AX-03: e = c/a and 0 <= e < 1.
AX-04: For every point P on ellipse, distance(P,F1) + distance(P,F2) = 2a.
AX-05: The ellipse is a closed, bounded, smooth curve in the Euclidean plane.
AX-06: The centre is the midpoint of F1 and F2.
AX-07: Principal axes are perpendicular.
AX-08: The circle is the special case a=b, c=0, e=0.
05 | CANONICAL EQUATIONS
EQ-01: Axis-aligned ellipse at origin: x^2/a^2 + y^2/b^2 = 1, a>=b>0.
EQ-02: Translated ellipse: (x-h)^2/a^2 + (y-k)^2/b^2 = 1.
EQ-03: Parametric: x=h+a*cos(t), y=k+b*sin(t), 0<=t<2*pi.
EQ-04: Foci (horizontal major axis): (h-c,k), (h+c,k).
EQ-05: Vertices (horizontal major axis): (h-a,k), (h+a,k).
EQ-06: Co-vertices: (h,k-b), (h,k+b).
EQ-07: Area of enclosed region: pi*a*b.
EQ-08: Perimeter: 4*a*E(sqrt(1-b^2/a^2)), where E is complete elliptic integral of second kind.
EQ-09: Approximate perimeter (Ramanujan): pi*(3*(a+b)-sqrt((3*a+b)*(a+3*b))).
EQ-10: Horizontal-major directrices when c>0: x=h +/- a/e.
EQ-11: Focal parameter p=b^2/a; semi-latus rectum p.
EQ-12: General rotated ellipse: (R^T*(X-C))_1^2/a^2 + (R^T*(X-C))_2^2/b^2=1.
EQ-13: Quadratic-form representation: (X-C)^T Q (X-C)=1, Q symmetric positive definite.
EQ-14: Area under invertible affine map A: area(A(E))=abs(det(A))*area(E).
06 | GEOMETRIC RELATIONSHIPS
REL-01: Ellipse IS_A ConicSection.
REL-02: Ellipse IS_A PlaneCurve.
REL-03: Ellipse HAS_PART Centre.
REL-04: Ellipse HAS_PROPERTY Eccentricity.
REL-05: Ellipse HAS_TWO Foci (possibly coincident for circle).
REL-06: Ellipse HAS_AXIS MajorAxis.
REL-07: Ellipse HAS_AXIS MinorAxis.
REL-08: Ellipse BOUNDS EllipseInterior.
REL-09: Circle SPECIAL_CASE_OF Ellipse.
REL-10: Ellipse AFFINE_IMAGE_OF Circle.
REL-11: Ellipse RELATED_TO QuadraticForm.
REL-12: Ellipse RELATED_TO OrbitalGeometry (ideal two-body bound Keplerian trajectories).
REL-13: Ellipse RELATED_TO EllipticIntegral.
REL-14: Ellipse HAS_TANGENT TangentLine.
07 | FORMAL INFERENCE RULES
R-01: IF a>=b>0 THEN VALID_SEMIAXES(a,b).
R-02: IF VALID_SEMIAXES(a,b) THEN c=sqrt(a^2-b^2).
R-03: IF c=sqrt(a^2-b^2) AND a>0 THEN e=c/a.
R-04: IF a=b>0 THEN e=0.
R-05: IF e=0 AND a>=b>0 THEN a=b.
R-06: IF a>b>0 THEN 0<e<1.
R-07: IF 0<=e<1 AND a>0 THEN b=a*sqrt(1-e^2).
R-08: IF a>=b>0 THEN area=pi*a*b.
R-09: IF x^2/a^2+y^2/b^2=1 THEN point lies on boundary.
R-10: IF x^2/a^2+y^2/b^2<1 THEN point lies in interior.
R-11: IF x^2/a^2+y^2/b^2>1 THEN point lies outside.
R-12: IF x^2/a^2+y^2/b^2=1 THEN tangent equation at (x0,y0): x*x0/a^2+y*y0/b^2=1.
R-13: IF a=b THEN perimeter=2*pi*a.
R-14: IF a>b THEN foci are distinct.
R-15: IF ellipse is nondegenerate THEN boundary is smooth.
R-16: IF Q is symmetric positive definite THEN (X-C)^T Q (X-C)=1 defines ellipse.
R-17: IF eigenvalues(Q) are positive THEN semiaxes are reciprocals of square roots of eigenvalues(Q).
R-18: IF affine map has invertible linear part THEN image of ellipse is ellipse.
R-19: IF ellipse translated THEN semiaxes unchanged.
R-20: IF ellipse rotated by Euclidean rotation THEN area, perimeter and eccentricity unchanged.
R-21: IF ellipse scaled uniformly by s>0 THEN area multiplies by s^2.
R-22: IF ellipse scaled uniformly by s>0 THEN perimeter multiplies by s.
R-23: IF a>b THEN directrices exist as distinct finite lines.
R-24: IF a=b THEN focal directrix formula is undefined; do not divide by e=0.
R-25: IF a>=b>0 THEN major-axis length=2*a.
R-26: IF a>=b>0 THEN minor-axis length=2*b.
R-27: IF a>=b>0 THEN focal-distance sum for boundary point=2*a.
R-28: IF Q is positive definite THEN ellipse interior is convex.
R-29: IF two semiaxes are equal THEN ellipse is circle.
R-30: IF ellipse is axis-aligned with a>b THEN major axis is horizontal under EQ-01.
R-31: IF parameter t traverses [0,2*pi) THEN EQ-03 traces boundary once without repeating endpoint.
R-32: IF ellipse equation is translated by (h,k) THEN centre=(h,k).
R-33: IF foci are at (+/-c,0) and constant focal-distance sum is 2a>2c THEN b=sqrt(a^2-c^2).
R-34: IF ellipse is nondegenerate THEN it has no corners or line segments on boundary.
R-35: IF a>b THEN major and minor axes are uniquely determined as perpendicular directions (up to sign).
R-36: IF a=b THEN all diameters are equal and major-axis orientation is not unique.
08 | VALIDATION CONSTRAINTS
V-01: Reject a<=0 or b<=0.
V-02: Canonical semiaxis labels must satisfy a>=b; swap if required.
V-03: Reject negative computed c^2 beyond stated numerical tolerance.
V-04: Reject e>=1 for nondegenerate Euclidean ellipse.
V-05: Preserve units: axes length, area length^2, perimeter length.
V-06: Distinguish ellipse boundary from filled elliptical region.
V-07: Do not identify ellipse perimeter with 2*pi*sqrt((a^2+b^2)/2); this is not generally exact.
V-08: Do not assert unique major-axis direction for a circle.
V-09: Differentiate mathematical ellipse from orbital ellipse with a focus occupied by central body.
V-10: Do not conflate geometric ellipse with ellipsoid in three dimensions.
V-11: State coordinate frame for focal positions and vertex equations.
V-12: Require invertible affine map when inferring a nondegenerate ellipse image.
09 | MATHEMATICAL EXAMPLES
EX-01: a=5,b=3 => c=4,e=4/5,area=15*pi.
EX-02: a=4,b=4 => circle of radius 4, e=0,area=16*pi.
EX-03: (x-2)^2/25+(y+1)^2/9=1 => centre=(2,-1),foci=(-2,-1),(6,-1).
EX-04: x=3*cos(t),y=2*sin(t) => a=3,b=2.
EX-05: a=10,e=0.6 => c=6,b=8.
EX-06: a=5,b=3 => vertices=(+/-5,0),co-vertices=(0,+/-3).
EX-07: a=5,b=3 => directrices x=+/-25/4.
EX-08: a=5,b=3 => semi-latus rectum=9/5.
EX-09: x^2/9+y^2/4=1: point (3,0) on boundary.
EX-10: x^2/9+y^2/4<1: point (0,0) in interior.
EX-11: x^2/9+y^2/4>1: point (4,0) outside.
EX-12: For x^2/9+y^2/4=1 at (3,0), tangent is x=3.
EX-13: Uniform scale factor 2 transforms a=3,b=2 into a=6,b=4.
EX-14: Matrix Q=diag(1/25,1/9) yields semiaxes 5 and 3.
EX-15: Translation by (2,-1) preserves area and eccentricity.
EX-16: Rotation of an ellipse preserves lengths of its principal semiaxes.
10 | SEMANTIC EQUIVALENCE
Ellipse <=> Nondegenerate elliptic conic in Euclidean plane (when context fixes real geometry).
EllipseBoundary <=> Set of points whose distances to two foci sum to constant greater than focal separation.
SemiMajorAxis <=> Half of major-axis length.
SemiMinorAxis <=> Half of minor-axis length.
Circle <=> Ellipse with eccentricity zero.
Caution: "elliptical region" may denote filled interior plus boundary; do not automatically equate with curve.
Caution: "oval" is informal and not necessarily an ellipse.
11 | KNOWLEDGE GRAPH TRIPLES
(Ellipse, rdf:type, ConicSection)
(Ellipse, hasCentre, Centre)
(Ellipse, hasFocus, Focus)
(Ellipse, hasSemiMajorAxis, SemiMajorAxis)
(Ellipse, hasSemiMinorAxis, SemiMinorAxis)
(Ellipse, hasEccentricity, Eccentricity)
(Ellipse, bounds, EllipseInterior)
(Ellipse, hasBoundary, EllipseBoundary)
(Ellipse, supportsOperation, Translation)
(Ellipse, supportsOperation, Rotation)
(Circle, specialCaseOf, Ellipse)
(Ellipse, isAffineImageOf, Circle)
12 | CONFIDENCE
Formal mathematical identities: HIGH when assumptions satisfied.
Classification derived from noisy numerical inputs: CONDITIONAL on tolerance and coordinate precision.
Source-specific taxonomy alignment: UNVERIFIED until source page inspected.
Never use confidence scores as substitutes for proof.
13 | FLOW_HASH
Algorithm: SHA-256 over canonical UTF-8 content after normalising line endings to LF.
FLOW_HASH_VALUE: COMPUTE_ON_PUBLICATION (not precomputed).
Canonicalisation must be stable across downstream ingestion.
14 | UPDATE_MODEL
version: 4.0
revision_policy: increment version on substantive axiom, inference, or semantic changes.
validation: rerun mathematical invariants, dimensional checks, examples and contradiction tests.
provenance: retain source URL, author attribution, change date and hash.
15 | AI_CONSUMPTION
Parse typed entities and predicates before applying inference rules.
Carry assumptions and coordinate-system metadata through derivations.
Distinguish exact symbolic mathematics from approximate numerical results.
Reject invalid semiaxes and undefined expressions before computation.
Use the source URL as an ontology identifier, not as proof that the source page was inspected.
Expose validation failures rather than silently repairing contradictory data.
Prefer mathematical proofs or established theorems for HIGH confidence outputs.
END FLOW ALGEBRA