# Nakafa Framework: LLM
URL: /en/subject/high-school/11/mathematics/complex-number/addition-complex-numbers
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/complex-number/addition-complex-numbers/en.mdx
Output docs content for large language models.
---
import { LineEquation } from "@repo/design-system/components/contents/line-equation";
import { getColor } from "@repo/design-system/lib/color";
export const metadata = {
  title: "Addition of Complex Numbers",
  description: "Learn how to add complex numbers step-by-step with geometric visualization. Master real and imaginary parts addition using parallelogram rule and examples.",
  authors: [{ name: "Nabil Akbarazzima Fatih" }],
  date: "05/01/2025",
  subject: "Complex Number",
};
## Addition of Two Complex Numbers
How do you add two complex numbers?
Suppose we have two complex numbers:
  
  
To add them (), simply add the real parts together and the imaginary parts together.
### Addition Example
Let  and .
- The real part of  is 2, the real part of  is 1.
- The imaginary part of  is 3, the imaginary part of  is -1.
Then their sum is:
### Visualization of Addition
Using the parallelogram rule, the addition of complex numbers can be viewed geometrically on the complex plane. If we represent  and  as vectors (arrows) from the origin (0,0), then their sum, , is the diagonal vector of the parallelogram formed by  and .
      Visualization of the sum  and{" "}
       using the parallelogram rule.
    >
  }
  cameraPosition={[0, 0, 12]}
  showZAxis={false}
  data={[
    // Vector z1
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: 2, y: 3, z: 0 },
      ],
      color: getColor("SKY"),
      labels: [{ text: "z₁ = 2 + 3i", at: 1, offset: [0.5, 0.5, 0] }],
      cone: { position: "end" },
    },
    // Vector z2
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: 1, y: -1, z: 0 },
      ],
      color: getColor("EMERALD"),
      labels: [{ text: "z₂ = 1 - i", at: 1, offset: [0.5, -0.5, 0] }],
      cone: { position: "end" },
    },
    // Resultant vector z1 + z2
    {
      points: [
        { x: 0, y: 0, z: 0 },
        { x: 3, y: 2, z: 0 },
      ],
      color: getColor("ROSE"),
      labels: [{ text: "z₁ + z₂ = 3 + 2i", at: 1, offset: [2, -1, 0] }],
      cone: { position: "end" },
    },
    // Parallelogram helper line (from end of z1 to end of z1+z2)
    {
      points: [
        { x: 2, y: 3, z: 0 },
        { x: 3, y: 2, z: 0 },
      ],
      color: getColor("EMERALD"),
    },
    // Parallelogram helper line (from end of z2 to end of z1+z2)
    {
      points: [
        { x: 1, y: -1, z: 0 },
        { x: 3, y: 2, z: 0 },
      ],
      color: getColor("SKY"),
    },
  ]}
/>
## Related Operations
Besides addition, other operations work similarly:
### Scalar Multiplication
Multiplying a complex number  by a real number (scalar)  is straightforward. Just multiply  into both the real and imaginary parts.
Geometrically, this scales the vector  by a factor of . If  is negative, the vector's direction is reversed.
### Negative of a Complex Number
The negative of  is . This is the same as scalar multiplication by .
Geometrically,  is a vector with the same length as  but pointing in the opposite direction (180 degrees rotation).
### Subtraction of Two Complex Numbers
Subtracting  from  () is the same as adding  to the negative of  ().
So, subtract the real parts and subtract the imaginary parts.
Geometrically,  is the vector from the tip of  to the tip of .
### Example of Combined Operations
Suppose we have:
  
  
Let's calculate some operations:
1.  ** (Scalar Multiplication):**
    
2.  ** (Addition and Scalar Multiplication):**
    
      
      
      
      
      
    
3.  ** (Subtraction and Scalar Multiplication):**
    
      
      
      
      
    
## Exercise
If  and . Determine:
1.  
2.  
3.  If , draw , , and  on the complex plane.
### Answer Key
1.  
2.  
3.  Visualization of , , and  on the complex plane using the parallelogram rule:
    
          Visualization of , ,
          and  on the complex plane using
          the parallelogram rule.
        >
      }
      cameraPosition={[0, 0, 12]}
      showZAxis={false}
      data={[
        {
          points: [
            { x: 0, y: 0, z: 0 },
            { x: 1, y: 2, z: 0 },
          ],
          color: getColor("SKY"),
          labels: [{ text: "z₁ = 1 + 2i", at: 1, offset: [0.5, 0.5, 0] }],
          cone: { position: "end" },
        },
        {
          points: [
            { x: 0, y: 0, z: 0 },
            { x: 3, y: -1, z: 0 },
          ],
          color: getColor("EMERALD"),
          labels: [{ text: "z₂ = 3 - i", at: 1, offset: [0.5, -0.5, 0] }],
          cone: { position: "end" },
        },
        {
          points: [
            { x: 0, y: 0, z: 0 },
            { x: 4, y: 1, z: 0 }, // z3 = z1 + z2
          ],
          color: getColor("ROSE"),
          labels: [{ text: "z₃ = 4 + i", at: 1, offset: [0.5, 0.5, 0] }],
          cone: { position: "end" },
        },
        // Parallelogram helper lines
        {
          points: [
            { x: 1, y: 2, z: 0 }, // end of z1
            { x: 4, y: 1, z: 0 }, // end of z3
          ],
          color: getColor("EMERALD"),
        },
        {
          points: [
            { x: 3, y: -1, z: 0 }, // end of z2
            { x: 4, y: 1, z: 0 }, // end of z3
          ],
          color: getColor("SKY"),
        },
      ]}
    />