In short

A line through two complex points z_1 and z_2 satisfies \frac{z - z_1}{\bar{z} - \bar{z}_1} = \frac{z_2 - z_1}{\bar{z}_2 - \bar{z}_1}, which comes from the condition that z, z_1, and z_2 are collinear. The general equation of a line on the complex plane is \bar{a}z + a\bar{z} + b = 0 where a is a non-zero complex number and b is real. Two lines are parallel when their normal directions are real multiples of each other, perpendicular when the real part of the product of their normals is zero, and the reflection of a point in a line has a clean formula involving conjugates.

Plot the points 1 + i and 4 + 3i on the complex plane. There is exactly one straight line through them. In Cartesian coordinates you would write the slope-intercept form and juggle x- and y-coordinates separately. But each of these points is a single complex number -- can you write the equation of the line as a single complex equation too?

You can. The result is not just a notational shortcut: it gives you parallelism, perpendicularity, and reflection of a point across a line, each in a compact formula that would take several separate steps in coordinate geometry.

Collinearity — the starting idea

Three points z, z_1, z_2 on the complex plane are collinear (they lie on the same straight line) precisely when the "direction" from z_1 to z is the same as the direction from z_1 to z_2. In complex number language, this means the ratio

\frac{z - z_1}{z_2 - z_1}

is a real number. A complex ratio is real exactly when its imaginary part is zero — equivalently, when the ratio equals its own conjugate.

Here is the key move. A complex number w is real if and only if w = \bar{w}. So the collinearity condition is:

\frac{z - z_1}{z_2 - z_1} = \overline{\left(\frac{z - z_1}{z_2 - z_1}\right)} = \frac{\bar{z} - \bar{z}_1}{\bar{z}_2 - \bar{z}_1}

Cross-multiplying:

(z - z_1)(\bar{z}_2 - \bar{z}_1) = (\bar{z} - \bar{z}_1)(z_2 - z_1)

This is the equation of the line through z_1 and z_2, written purely in terms of z and \bar{z}.

Three collinear points on the complex planeA complex plane with real axis horizontal and imaginary axis vertical. Three red dots lie on a straight line: z1 at (1, 1), z2 at (4, 3), and a general point z at (2.5, 1.9). Arrows show the direction from z1 to z and from z1 to z2. Both arrows point in the same direction, illustrating that the ratio (z minus z1) over (z2 minus z1) is real. ReIm0123412z₁ = 1+iz₂ = 4+3izz − z₁z₂ − z₁ratio is real ⇔ z lies on the line
Three points are collinear when the vectors $z - z_1$ and $z_2 - z_1$ point in the same (or exactly opposite) direction. In complex terms, their ratio is a real number. This single condition — a complex ratio being real — gives the equation of the line.

There is a second way to write the collinearity condition, using a determinant. The three points z, z_1, z_2 are collinear if and only if

\begin{vmatrix} z & \bar{z} & 1 \\ z_1 & \bar{z}_1 & 1 \\ z_2 & \bar{z}_2 & 1 \end{vmatrix} = 0

Expanding the determinant gives the same equation as the cross-multiplication above. The determinant form is useful for quick verification — if you plug in three specific points and get zero, they are collinear.

The equation of a line through two points

Equation of a line through $z_1$ and $z_2$

The line through two distinct complex points z_1 and z_2 is the set of all z \in \mathbb{C} satisfying

(z - z_1)(\bar{z}_2 - \bar{z}_1) = (\bar{z} - \bar{z}_1)(z_2 - z_1)

or equivalently, the set of all z for which \dfrac{z - z_1}{z_2 - z_1} is a real number.

Take a concrete case. The line through z_1 = 1 + i and z_2 = 3 + 5i. Here z_2 - z_1 = 2 + 4i and \bar{z}_2 - \bar{z}_1 = 2 - 4i. The equation is:

(z - 1 - i)(2 - 4i) = (\bar{z} - 1 + i)(2 + 4i)

Expanding both sides:

2z - 4iz - 2 - 2i + 4i + 4i^2 = 2\bar{z} + 4i\bar{z} - 2 + 2i - 4i + 4i^2

After simplification (both sides have -4 from 4i^2 and the constant terms partially cancel), you can verify this reduces to a linear equation in z and \bar{z}. The general form of that linear equation is the topic of the next section.

The general equation of a line

Every line on the complex plane can be written in the form:

General equation of a line in the complex plane

\bar{a}z + a\bar{z} + b = 0

where a \in \mathbb{C}, a \neq 0, and b \in \mathbb{R}.

Why must b be real? Take the conjugate of the entire equation: \overline{\bar{a}z + a\bar{z} + b} = a\bar{z} + \bar{a}z + \bar{b} = 0. This is the same equation as the original (just with the first two terms swapped) only if \bar{b} = b, which means b is real.

The complex number a determines the direction of the line. Specifically, a is perpendicular to the line — it is the complex analogue of the normal vector. The line is parallel to the direction ia (rotating a by 90°).

To see the connection to Cartesian coordinates, write a = \alpha + \beta i and z = x + yi. Then:

\bar{a}z + a\bar{z} = (\alpha - \beta i)(x + yi) + (\alpha + \beta i)(x - yi) = 2\alpha x + 2\beta y

So \bar{a}z + a\bar{z} + b = 0 becomes 2\alpha x + 2\beta y + b = 0, which is the familiar Cartesian equation of a line. The real and imaginary parts of a are (up to a factor of 2) the coefficients of x and y.

A line on the complex plane with its normal direction aA complex plane showing a line passing through the second and fourth quadrants. A red arrow from the origin points perpendicular to the line, labelled a (the normal). A dashed arrow along the line is labelled ia (the direction along the line). The equation a-bar z plus a z-bar plus b equals 0 is written near the line. ReIma (normal)ia(along line)āz + az̄ + b = 00
The line $\bar{a}z + a\bar{z} + b = 0$. The complex number $a$ points perpendicular to the line (it is the normal direction). The direction along the line is $ia$ — a $90°$ rotation of the normal. The real constant $b$ controls how far the line sits from the origin.

Parallel and perpendicular lines

Two lines on the complex plane have equations \bar{a}_1 z + a_1 \bar{z} + b_1 = 0 and \bar{a}_2 z + a_2 \bar{z} + b_2 = 0. The normal directions are a_1 and a_2.

Parallel lines. Two lines are parallel when their normals point in the same (or opposite) direction. This means a_1 / a_2 is a real number — the two normals differ only by a real scaling factor.

Equivalently, a_1 \bar{a}_2 = \bar{a}_1 a_2, because a_1/a_2 is real if and only if a_1/a_2 = \overline{a_1/a_2} = \bar{a}_1/\bar{a}_2, which gives a_1 \bar{a}_2 = \bar{a}_1 a_2.

Perpendicular lines. Two lines are perpendicular when their normals are at 90° to each other. Rotating a_2 by 90° gives ia_2, and the condition for a_1 to be parallel to ia_2 is that a_1/(ia_2) is real.

The slickest form: the lines are perpendicular when a_1\bar{a}_2 + \bar{a}_1 a_2 = 0.

Why? The expression a_1\bar{a}_2 + \bar{a}_1 a_2 = 2\operatorname{Re}(a_1\bar{a}_2). This equals zero precisely when a_1\bar{a}_2 is purely imaginary — which happens exactly when the angle between a_1 and a_2 is 90°.

Parallel and perpendicular lines with their normal vectorsA complex plane with two sets of lines. On the left, two parallel lines both tilted at the same angle, with parallel red arrows showing their normals a1 and a2 pointing in the same direction. On the right, two perpendicular lines crossing at right angles, with red arrows showing their normals at 90 degrees to each other. A small square marks the right angle. ReIma₁a₂Parallela₁/a₂ is reala₁a₂PerpendicularRe(a₁ā₂) = 0
Left: parallel lines have normals pointing in the same direction — $a_1/a_2$ is real. Right: perpendicular lines have normals at $90°$ — $\operatorname{Re}(a_1\bar{a}_2) = 0$. The normal vector $a$ encodes all the directional information of the line.

Here is a quick summary.

Condition Algebraic test
Lines are parallel a_1\bar{a}_2 = \bar{a}_1 a_2 (equivalently, a_1/a_2 \in \mathbb{R})
Lines are perpendicular a_1\bar{a}_2 + \bar{a}_1 a_2 = 0 (equivalently, \operatorname{Re}(a_1\bar{a}_2) = 0)

Reflection of a point in a line

Given a line L: \bar{a}z + a\bar{z} + b = 0 and a point z_0 not on L, the reflection z_0' of z_0 in L is the point such that L is the perpendicular bisector of the segment from z_0 to z_0'.

The formula is:

z_0' = -\frac{a\bar{z}_0 + b}{\bar{a}}

Here is how it is derived. Two conditions define the reflection:

Condition 1: the midpoint lies on L. The midpoint of z_0 and z_0' is \frac{z_0 + z_0'}{2}. Substituting into \bar{a}z + a\bar{z} + b = 0:

\bar{a}\frac{z_0 + z_0'}{2} + a\frac{\bar{z}_0 + \bar{z}_0'}{2} + b = 0

Condition 2: the segment z_0 z_0' is perpendicular to L. The direction of the segment is z_0' - z_0. The direction of the line is ia (since a is the normal). For the segment to be perpendicular to the line, it must be parallel to a — meaning (z_0' - z_0)/a is real, so z_0' - z_0 = ta for some real t.

Alternatively, perpendicularity to the line means the segment is along the normal direction, and the condition simplifies to: (z_0' - z_0)/a is real.

Combining both conditions and solving (using \bar{a}z_0' + a\bar{z}_0' + b = 0 as the requirement that z_0' lies on the line equidistant on the other side), the reflection formula emerges:

\bar{a}z_0' + a\bar{z}_0 + b = 0 \implies z_0' = \frac{-a\bar{z}_0 - b}{\bar{a}}
Reflection of a point across a line on the complex planeA complex plane showing a line L passing through the plane. A point z0 is above the line, and its reflection z0 prime is below the line. A dashed segment connects z0 to z0 prime, crossing the line at right angles at the midpoint M. The right angle is marked with a small square. ReIm0Lz₀z₀'ML is the perpendicular bisector of z₀z₀'
The reflection $z_0'$ of $z_0$ in the line $L$. The line $L$ is the perpendicular bisector of the segment from $z_0$ to $z_0'$: it passes through the midpoint $M$ and meets the segment at right angles. The formula $z_0' = -(a\bar{z}_0 + b)/\bar{a}$ encodes both conditions in a single expression.

Parametric form of a line

There is one more way to describe a line that is often useful. A line through z_1 in the direction of a complex number d (where d \neq 0) can be written as:

z = z_1 + td, \qquad t \in \mathbb{R}

As t ranges over all real numbers, z traces out the entire line. This is the complex version of the parametric form from coordinate geometry. The real parameter t slides the point along the direction d.

This form is convenient when you know a point and a direction. For instance, the line through z_1 = 2 + i in the direction d = 1 + i (a 45° direction) is z = (2 + i) + t(1 + i) = (2 + t) + (1 + t)i. Setting t = 0 gives z_1; setting t = 1 gives 3 + 2i; setting t = -1 gives 1.

An interactive exploration

Drag the red point along the line below. The readout shows the value of \bar{a}z + a\bar{z} + b for the line with a = 1 + i and b = -4, which simplifies to the equation x + y = 2. Watch how the expression stays at zero for every position on the line.

Interactive line explorer: dragging a point along x plus y equals 2A complex plane with the line x plus y equals 2 drawn from (negative 1, 3) to (5, negative 3). A red draggable point moves along the line. Readouts show the coordinates and the value of the line equation, which remains zero on the line. ReIm0123412drag the red point along the line
The line $x + y = 2$ (equivalently $\bar{a}z + a\bar{z} - 4 = 0$ with $a = 1 + i$). Drag the red point — the readout confirms that $x + y$ stays at $2$ everywhere on the line. Moving the point off the line (not possible here, since it is constrained) would break the equation.

Worked examples

Example 1: Find the equation of the line through $z_1 = 1 + 2i$ and $z_2 = 3 - i$

Step 1. Compute the differences.

z_2 - z_1 = (3 - i) - (1 + 2i) = 2 - 3i
\bar{z}_2 - \bar{z}_1 = (3 + i) - (1 - 2i) = 2 + 3i

Why: you need z_2 - z_1 and its conjugate to set up the collinearity equation.

Step 2. Write the collinearity equation.

(z - z_1)(\bar{z}_2 - \bar{z}_1) = (\bar{z} - \bar{z}_1)(z_2 - z_1)
(z - 1 - 2i)(2 + 3i) = (\bar{z} - 1 + 2i)(2 - 3i)

Why: this is the direct application of the line-through-two-points formula. The left side uses the conjugated difference, the right side uses the original difference.

Step 3. Expand both sides.

Left: (z)(2+3i) - (1+2i)(2+3i) = 2z + 3iz - 2 - 3i - 4i - 6i^2 = 2z + 3iz - 2 - 7i + 6 = 2z + 3iz + 4 - 7i

Right: (\bar{z})(2-3i) - (1-2i)(2-3i) = 2\bar{z} - 3i\bar{z} - 2 + 3i + 4i - 6i^2 = 2\bar{z} - 3i\bar{z} + 4 + 7i

Why: careful expansion, using i^2 = -1, gives the full form on each side.

Step 4. Set left = right and simplify.

2z + 3iz + 4 - 7i = 2\bar{z} - 3i\bar{z} + 4 + 7i
2z + 3iz - 2\bar{z} + 3i\bar{z} = 14i
(2 + 3i)z + (-2 + 3i)\bar{z} = 14i

Divide by i: \frac{2+3i}{i}z + \frac{-2+3i}{i}\bar{z} = 14.

Now \frac{2+3i}{i} = \frac{(2+3i)(-i)}{(-i)(i)} = \frac{-2i-3i^2}{1} = 3 - 2i and \frac{-2+3i}{i} = \frac{(-2+3i)(-i)}{1} = 2i + 3 = 3 + 2i.

So the equation is (3 - 2i)z + (3 + 2i)\bar{z} = 14.

This is in the form \bar{a}z + a\bar{z} + b = 0 with a = 3 + 2i and b = -14.

Why: the normal to the line is a = 3 + 2i. In Cartesian form, this gives 6x + 4y - 14 = 0, or 3x + 2y = 7.

Result: The line through 1 + 2i and 3 - i has equation (3-2i)z + (3+2i)\bar{z} = 14, or in Cartesian form, 3x + 2y = 7.

Line through 1 plus 2i and 3 minus i on the complex planeA complex plane with the line 3x plus 2y equals 7 drawn. Two red dots mark z1 at (1, 2) and z2 at (3, negative 1). The line passes through both points. An arrow from the origin in the direction 3 plus 2i shows the normal to the line. ReIm0123412−1z₁ = 1+2iz₂ = 3−ia = 3+2i3x + 2y = 7
The line through $z_1 = 1 + 2i$ and $z_2 = 3 - i$. In Cartesian form it is $3x + 2y = 7$. The normal direction $a = 3 + 2i$ points from the origin perpendicular to the line. Verify: $3(1) + 2(2) = 7$ and $3(3) + 2(-1) = 7$. Both points satisfy the equation.

Verification is direct: plug z_1 = 1 + 2i into 3x + 2y: 3(1) + 2(2) = 7. Plug z_2 = 3 - i: 3(3) + 2(-1) = 7. Both satisfy the equation.

Example 2: Show that the lines $(1+i)z + (1-i)\bar{z} + 2 = 0$ and $(2+2i)z + (2-2i)\bar{z} - 6 = 0$ are parallel, and find the perpendicular distance between them

Step 1. Identify the normals.

For the first line, \bar{a}_1 z + a_1\bar{z} + b_1 = 0 means \bar{a}_1 = 1+i, so a_1 = 1 - i. And b_1 = 2.

For the second line, \bar{a}_2 = 2+2i, so a_2 = 2 - 2i. And b_2 = -6.

Why: in the general form \bar{a}z + a\bar{z} + b = 0, the coefficient of z is \bar{a}, so take its conjugate to get a.

Step 2. Test for parallelism.

\frac{a_1}{a_2} = \frac{1-i}{2-2i} = \frac{1-i}{2(1-i)} = \frac{1}{2}

The ratio is real (1/2), so the lines are parallel.

Why: a_1/a_2 being real means the normals point in the same direction, which means the lines are parallel.

Step 3. Convert to Cartesian form to find the distance.

First line: a_1 = 1 - i, so \alpha = 1, \beta = -1. The equation 2\alpha x + 2\beta y + b = 0 gives 2x - 2y + 2 = 0, or x - y + 1 = 0.

Second line: a_2 = 2 - 2i, so \alpha = 2, \beta = -2. The equation gives 4x - 4y - 6 = 0, or 2x - 2y - 3 = 0, which is x - y - 3/2 = 0.

Why: reducing both equations to the same normal direction makes the distance formula clean.

Step 4. Apply the distance formula for parallel lines.

The two lines are x - y + 1 = 0 and x - y - 3/2 = 0. The perpendicular distance between them is:

d = \frac{|1 - (-3/2)|}{\sqrt{1^2 + (-1)^2}} = \frac{|5/2|}{\sqrt{2}} = \frac{5}{2\sqrt{2}} = \frac{5\sqrt{2}}{4}

Result: The lines are parallel. The perpendicular distance between them is \dfrac{5\sqrt{2}}{4}.

Two parallel lines on the complex plane with perpendicular distance markedA complex plane with two parallel lines. The first line is x minus y plus 1 equals 0, passing through (0, 1) and (1, 2). The second line is x minus y minus 3/2 equals 0, passing through (3/2, 0) and (5/2, 1). A red double-headed arrow between the lines is labelled with the distance 5 root 2 over 4. ReIm01231−1x − y + 1 = 0x − y − 3/2 = 05√2/4
Two parallel lines with normal direction $a = 1 - i$ (corresponding to slope $1$ in Cartesian coordinates). The perpendicular distance $5\sqrt{2}/4$ is marked by the red segment. The complex equation detects parallelism through the ratio $a_1/a_2 = 1/2$ being real.

The complex plane approach detected the parallelism instantly — just check if a_1/a_2 is real. The Cartesian method requires reducing both equations to the same normal form first.

Common confusions

Going deeper

If you know the equation of a line through two points, the general equation \bar{a}z + a\bar{z} + b = 0, the conditions for parallel and perpendicular lines, and the reflection formula, you have the complete toolkit for lines on the complex plane. The material below explores connections for curious readers.

Distance from a point to a line

The perpendicular distance from a point z_0 to the line \bar{a}z + a\bar{z} + b = 0 is:

d = \frac{|\bar{a}z_0 + a\bar{z}_0 + b|}{2|a|}

This is the complex-plane version of the Cartesian distance formula |Ax_0 + By_0 + C|/\sqrt{A^2 + B^2}. The factor of 2 in the denominator comes from the fact that \bar{a}z + a\bar{z} = 2(\alpha x + \beta y) when a = \alpha + \beta i.

The line at infinity

In projective geometry, parallel lines "meet at infinity." On the complex plane, this idea connects to the extended complex plane (the Riemann sphere), where the point at infinity \infty is added. Two parallel lines — which have the same normal a up to a real scalar — meet at a single point on the Riemann sphere. This perspective unifies lines and circles: a line is a circle passing through \infty.

Lines and Mobius transformations

A Mobius transformation w = \frac{az + b}{cz + d} maps lines and circles to lines and circles. Understanding the equation of a line in complex form is the first step towards studying these transformations, which appear in complex analysis, hyperbolic geometry, and even the study of electrical circuits.

Where this leads next

Lines are one piece of the geometry of the complex plane. The next steps add curves and motion.