Can Three Numbers Locate an RC Plane's Engine? Meet Vectors

A conceptual RC model airplane with an engine, fuel tank, wing servo, and colored x, y, z coordinate arrows. The visual asks whether three numbers are enough to describe a component's location.
Four parts, four locations. We need those locations before we can calculate the airplane’s CG or MOI.

On a workbench are the parts of a small RC airplane: an engine, a fuel tank, a wing servo, and a tail. A scale could tell us how much each one weighs. But a list of masses cannot tell us where the finished airplane will balance.

That is the problem behind the center of mass (CG) and moment of inertia (MOI) calculations we have been working through. In the three-mass experiment, every weight already had coordinates on the drawing. On a real RC model, we have to record those locations ourselves.

Can three numbers locate the engine? Yes—if we first agree on a starting point and three directions. We can then use the same rule for every component. The three numbers also give us something we can calculate with: a position vector.

One ruler cannot find a wing servo

Place the zero mark of a ruler near the nose. Call that point the origin, O. Let positive x run back toward the tail. If the center of the engine is 15 centimeters behind O, its position along the body is simply x = 15 cm.

For now, a single number works because we are asking only an along-the-body question. That is a one-dimensional position. A negative number would put a point on the other side of O.

A wing servo makes the problem harder. A ruler along the fuselage tells us how far back it sits, but not how far out on the wing. We need a second number.

Keep x pointing toward the tail, and let positive y point toward the aircraft's right wing. We could mark the servo as (52, 28) cm: 52 cm aft and 28 cm right of O. The two numbers must stay in that order. (52, 28) and (28, 52) do not mean the same place.

Now the servo may also sit above or below our chosen reference plane. Add z, positive upward. If it sits 1 cm above that plane, its full location is (52, 28, 1) cm, or (0.52, 0.28, 0.01) m.

Three-part illustrated story: calculating aircraft CG and MOI requires positions of its parts; a one-dimensional position needs one coordinate, a plane needs two, and space needs three.
The number of coordinates grows with the question: along a line, across a wing, then through space.

There is nothing special about the engine or servo in this rule. A fuel tank, battery, tail, or any other chosen reference point on the airplane can be given three coordinates, provided we use the same origin, axes, and units.

The same numbers, now a vector

Look away from the airplane for a moment. On a square grid, mark a point P at (3, 2). You can find it by going three squares right and two squares up from O.

Draw an arrow from O to P. The point P is a place. The arrow from O to P is its position vector. With the origin and axes fixed, both use the same two numbers, (3, 2). That is why coordinates and vectors can look almost identical in a calculation.

Here is a useful first meaning of vector: an ordered list of components that follows rules for addition and multiplication by an ordinary number (a scalar). A position vector uses those components to describe an arrow from a chosen origin. Many other kinds of information can be stored as vectors too. The order matters because each entry stands for a particular direction or quantity.

Suppose one arrow has components u = (2, 3) and another has v = (1, 4). To combine those changes, add the x components and add the y components:

u + v = (2 + 1, 3 + 4) = (3, 7).

Twice the first arrow means twice each component:

2u = (2×2, 2×3) = (4, 6).

Try this without drawing: if u = (2, 3), what is u + (−1, 2)? Matching components gives (1, 5). It works the same way when a vector has three or more components.

To reverse u = (2, 3), multiply each component by −1 to get −u = (−2, −3). Subtracting a vector is the same as adding its reverse. We have a way to calculate with a pair of numbers, rather than only label a point.

A two-dimensional grid with a position vector from origin O to P(3,2), beside examples of ordered two-, three-, and n-component vectors, vector addition, and scalar multiplication.
The coordinates of P and the components of its position vector match. Vector rules let us calculate with them.

Put the numbers back on the airplane

With the rule for positions in hand, write down a few points on our RC airplane. These are illustrative coordinates, not measurements from an existing aircraft. Keep one origin at the nose, let x point aft, y toward the right wing, and z upward. All entries are in meters.

Component reference pointx (m)y (m)z (m)
Engine center0.150.000.02
Fuel tank center0.380.000.04
Right-wing servo center0.520.280.01
Tail reference point1.100.000.12

Take the engine: its center has the position vector rengine = (0.15, 0.00, 0.02) m. The three numbers finally answer our opening question: 15 cm aft, centered left-to-right, and 2 cm above the reference plane.

The position table is not a mass-properties result. We do not yet have the masses and positions of all components, so we cannot calculate the model’s real CG or MOI from these four rows. We have only taken the necessary first step: giving parts a shared coordinate system.

To see why these vectors are more than addresses, suppose a separate, complete mass calculation has given an example CG of rCG = (0.46, 0.00, 0.03) m. This CG is provided for the exercise; it was not derived from the four locations above.

The vector pointing from the CG toward the servo is the servo's position minus the CG's position:

rservo − rCG = (0.52−0.46, 0.28−0.00, 0.01−0.03) = (0.06, 0.28, −0.02) m.

Read the answer one component at a time. The servo is 6 cm aft, 28 cm right, and 2 cm below the assumed CG. A negative z component tells us a direction, not a negative distance.

We can check the calculation by adding the difference to the starting point: (0.46, 0.00, 0.03) + (0.06, 0.28, −0.02) = (0.52, 0.28, 0.01) m. We land exactly at the servo.

Its straight-line separation from the CG is also something we can work out by hand: √(0.06² + 0.28² + (−0.02)²) = √0.0824 ≈ 0.287 m. Three components give one distance, but unlike that distance alone, the vector still tells us which way to go.

Conceptual RC airplane showing a nose origin, engine, fuel tank, wing servo and tail coordinate triples, and the relative position vector from example CG (0.46,0,0.03) to servo (0.52,0.28,0.01).
A shared origin makes the four positions comparable. Their differences become useful when the full mass model supplies a CG.

In the three-mass calculation, each mass was already located relative to a rotation axis. For the RC airplane we have built the address system first. Once we know every component’s mass, position, and own shape, we can work toward the full CG and MOI. Those last calculations need more information than coordinates alone.

Four servos do not need a fourth direction

Engine, tank, and servo locations require only three coordinates. That does not mean every vector must stop at three components. An RC airplane gives us another example.

Imagine that an RC airplane has four servo settings. You could record four small trim corrections, in degrees, as (2, −1, 0, 3). Another set of corrections might be (1, 1, −2, 0). Combining the corrections component by component gives (3, 0, −2, 3).

There are four numbers, so this is a four-component vector. It is not a point floating somewhere in a mysterious fourth direction. The four positions in the list stand for four different servo corrections.

A vector with n components can be written as (v1, v2, …, vn). Whether there are two, three, four, or a hundred components, we can use the same idea of adding matching entries. For adding two vectors, they must have the same number of components, and their entries must refer to corresponding quantities.

The four numbers are a vector of settings, not a location in four-dimensional physical space. We cannot draw its entire geometry on the workshop bench, yet we can still calculate with it. The same idea works for tens or hundreds of related values in a computer.

A pencil check, then Python

Try the pencil calculation before running the program: (0.52, 0.28, 0.01) − (0.46, 0, 0.03) = (0.06, 0.28, −0.02). Python below repeats the same component-by-component work. Its functions handle any two vectors of matching length; no external library is needed.

"""Lumentora #40: vectors for RC-airplane component locations.

Python 3.9+; standard library only.
Example positions are fictional, not measured flight-design data.
Aircraft axes: +x aft, +y right, +z up. Position units: meters.
"""
from math import isclose, sqrt


def require_same_length(a, b):
    if len(a) != len(b):
        raise ValueError("Vectors must have the same number of components")


def add(a, b):
    require_same_length(a, b)
    return tuple(x + y for x, y in zip(a, b))


def subtract(end, start):
    require_same_length(end, start)
    return tuple(x - y for x, y in zip(end, start))


def scale(k, vector):
    return tuple(k * x for x in vector)


def magnitude(vector):
    return sqrt(sum(x * x for x in vector))


def almost_equal(a, b, tolerance=1e-12):
    require_same_length(a, b)
    return all(isclose(x, y, abs_tol=tolerance) for x, y in zip(a, b))


# On paper: (2,3)+(1,4)=(3,7); 2(2,3)=(4,6).
u, v = (2, 3), (1, 4)
print("2D sum:", add(u, v))
print("2D twice:", scale(2, u))

# Position vectors from a single origin (all coordinates in meters).
components = {
    "engine": (0.15, 0.00, 0.02),
    "fuel tank": (0.38, 0.00, 0.04),
    "right wing servo": (0.52, 0.28, 0.01),
    "tail": (1.10, 0.00, 0.12),
}

# This CG is assumed for practice, NOT calculated from the four positions.
cg = (0.46, 0.00, 0.03)
servo = components["right wing servo"]
d = subtract(servo, cg)
print("CG to servo (m):", tuple(round(x, 2) for x in d))
print(f"Separation (m): {magnitude(d):.3f}")

# Four related adjustments form a four-component vector (degrees).
trim1 = (2, -1, 0, 3)
trim2 = (1, 1, -2, 0)
print("4D trim sum (deg):", add(trim1, trim2))

# Check the hand calculations before changing the example.
assert add(u, v) == (3, 7)
assert scale(2, u) == (4, 6)
assert almost_equal(d, (0.06, 0.28, -0.02))
assert isclose(magnitude(d), sqrt(0.0824), abs_tol=1e-12)
assert add(trim1, trim2) == (3, 0, -2, 3)

# A separate experiment does not overwrite the original input data.
move_inboard_m = 0.10
servo_moved = (servo[0], servo[1] - move_inboard_m, servo[2])
d_moved = subtract(servo_moved, cg)
print("Moved servo (m):", tuple(round(x, 2) for x in d_moved))
print("All baseline checks passed.")

Run this program with Python 3. It needs no extra packages. It prints:

2D sum: (3, 7)
2D twice: (4, 6)
CG to servo (m): (0.06, 0.28, -0.02)
Separation (m): 0.287
4D trim sum (deg): (3, 0, -2, 3)
Moved servo (m): (0.06, 0.18, -0.02)
All baseline checks passed.

The program checks its results with assert, so a calculation mistake becomes visible. The final experiment changes one servo coordinate without altering the original example, keeping the reference tests meaningful.

Now move the servo 10 cm inboard in the coordinate exercise. Its y coordinate becomes 0.18 m, and with our example CG held fixed, its new relative vector is (0.06, 0.18, −0.02) m. Try changing the program’s move_inboard_m from 0.10 to 0.20 and predict the new vector first. If a real component with mass moves, the aircraft CG must be recalculated too; this exercise isolates vector subtraction.

Return to the engine on the workbench. Its three coordinates are no longer mysterious: they say where it is relative to the chosen origin. The same notation can describe every component, and subtracting two positions gives a useful direction and separation. That is the small piece of mathematics we needed before our RC airplane could become a proper mass model.

One complication remains. A servo may be mounted at an angle, with its own local measuring directions. The part has not moved, but its numbers must change when we describe it using the aircraft’s axes. How do we change those components without changing the actual position? That problem leads naturally to matrices.

Sources and further reading