---
title: "Subplanes"
canonical: "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/subplane.html"
source: "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/subplane.md"
part: "Geometry"
chapter: "Finite Planes"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Geometry", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/index-geometry.md"}
  - {"title": "Finite Planes", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/index-finite-planes.md"}
prev: {"title": "The Defining Points of a Plane", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/support.md"}
next: {"title": "Structures Associated with a Plane", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/access.md"}
intrinsics:
  - {"name": "sub", "signature": "sub<P | L>: Plane, List -> Plane"}
  - {"name": "SubfieldSubplane", "signature": "SubfieldSubplane(P, F): Plane, FldFin -> Plane, PlanePtSet, PlaneLnSet"}
examples:
  - "ex-6d2e99"
---

# Subplanes

The `sub` constructor allows subplanes of a projective or affine plane to be created. For classical planes, the `SubfieldSubplane` function is also provided.

<a id="constructor-constructor-sub-plane-list-plane"></a>
## `sub<P | L>: Plane, List -> Plane`

Given a plane $P$, construct the subplane of $P$ generated by the points specified by $L$, where $L$ is a list of one or more items of the following types:

**(a)**
A point of $P$;

**(b)**
A set or sequence of points of $P$;

**(c)**
A subplane of $P$;

**(d)**
A set or sequence of subplanes of $P$.

The set $S$ of points defined by the list $L$ must include a quadrangle if $P$ is a projective plane and three non-collinear points if $P$ is an affine plane. The function returns the smallest subplane of $P$ containing $S$.

<a id="function-subfieldsubplane-plane-fldfin"></a>
## `SubfieldSubplane(P, F): Plane, FldFin -> Plane, PlanePtSet, PlaneLnSet`

The plane obtained from the classical plane $P$ by taking only those points of $P$ which have all coordinates lying in $F$, where $F$ must be a subfield of `Field(P)`.

<a id="example-ex-6d2e99"></a>
## `Example: Subplane Generated by a Quadrangle (ex-6d2e99)`

In the plane $PG_2(4)$, the points $(1 : 0 : 0), (0 : 1 : 0), (0 : 0 : 1)$, and $(1 : w : 1)$, where $w$ is a primitive element of ${\bf F}_{4}$, form a quadrangle. We form the subplane of $PG_2(4)$ generated by this quadrangle.

```magma
> K<w> := GF(4);
> P, V, L := FiniteProjectivePlane(K);
> S := sub< P | [ V | [1, 0, 0], [0, 1, 0], [0, 0, 1], [1, w, 1] ] >;
> S: Maximal;
Projective Plane of order 2
Points: {@ ( 1 : 0 : 0 ), ( 0 : 1 : 0 ), ( 0 : 0 : 1 ), ( 1 : w : 0 ),
( 1 : 0 : 1 ), ( 1 : w : 1 ), ( 0 : 1 : w^2 ) @}
Lines:
    {( 0 : 1 : 0 ), ( 0 : 0 : 1 ), ( 0 : 1 : w^2 )},
    {( 1 : 0 : 0 ), ( 0 : 0 : 1 ), ( 1 : 0 : 1 )},
    {( 1 : 0 : 0 ), ( 0 : 1 : 0 ), ( 1 : w : 0 )},
    {( 1 : 0 : 0 ), ( 1 : w : 1 ), ( 0 : 1 : w^2 )},
    {( 0 : 1 : 0 ), ( 1 : 0 : 1 ), ( 1 : w : 1 )},
    {( 0 : 0 : 1 ), ( 1 : w : 0 ), ( 1 : w : 1 )},
    {( 1 : w : 0 ), ( 1 : 0 : 1 ), ( 0 : 1 : w^2 )}
```

We next form the subplane of $AG_2(4)$ over ${\bf F}_{2}$.

```magma
> A := FiniteAffinePlane(4);
> S := SubfieldSubplane(A, GF(2));
> S: Maximal;
Affine Plane AG(2, 2)
> S subset A;
true
```
