What is the equation of a straight line in the complex plane? There are many different forms, but I want to look at some of the simplest ones.
If you know the slope m∈R and intercept b∈R of the line, you can write an equation in parametric form z=x+i(mx+b), where x∈R and z∈C.
Another simple form is the equation |z−z1|=|z−z2|, where z1≠z2. This gives you the locus of points in the complex plane that are equidistant from z1 and z2, which is a straight line. This form is less practically useful, since we don’t usually describe lines in this way.
What if you don’t know the slope and intercept of the line, but you do know two points on the line? You could use the two points to calculate the slope and intercept, and plug into the above parametric equation, but there is a nicer form. To see this, first note that if a point z is collinear with two other points z1 and z2, then z−z1=λ(z−z2),λ∈R. One way to see this is to view the complex numbers as vectors. Then z−z1 needs to point in the same direction as z−z2, modulo 180 degrees. Note that λ depends on z.
Rearranging, we get z−z1z−z2=λ, or Im(z−z1z−z2)=0, since λ is real. This can also be written as Im((z−z1)⋅¯(z−z2))=0.
We can get another form by writing z2=z1+z3, where z3=z2−z1. Then z−z1z−z1−z3=λ. Cross-multiplying and gathering everything on one side allows us to write this as (z−z1)(λ−1)−λz3=0, or z−z1z3=λλ−1. This gives another equation for a line Im(z−z1z3)=0,orIm((z−z1)⋅¯z3)=0. This is the form given in this document by William Kahan. Also, the method of arriving at this form allows us to see that the previous form can be written as Im(zz2−z1)=0 or equivalently Im((z2−z1)⋅¯z)=0.
This final form can be further massaged. Since z2−z1=z3, we can write Im(z3⋅¯z)=12i(z3⋅¯z−¯z3⋅z)=0, or z3⋅¯z=¯z3⋅z. or z2|z|2=z23|z3|2. Hopefully by now you can see that there are many many equivalent ways to write these expressions.
Another form can be obtained by starting with the fact that z+¯z=d∈R defines a vertical line at x=d/2. Then since complex multiplication is equivalent to rotation (along with dilation), we can rotate all points in the line by θ by taking z→z0z, where z0=reiθ. The equation of the line becomes zz0+¯zz0=rd=D. This form is referenced in this discussion on Mathematics Stack Exchange. An example might be useful. Assume you are given the two points z1=0+0i and z2=1+i. Then z3=z2−z1 can be written z3=√2eiπ/4. The initial equation for a vertical line at x=0 is z+¯z=0. We want to rotate the plane by π/4 so that the line ends up with the same angle as z3. Since r is arbitrary, choose r=√2, so z0=1+i, which gives (1+i)z+(1−i)¯z=0, which reduces to 2(x−y)=0,ory=x. Note that in general you want to rotate by π/2−arg(z3).
What interesting equations for lines in the complex plane do you know? What interpretations (geometric or algebraic) do they have?