AgentDock
1.7k
Prompt LibraryEducationMathComplex Number Arithmetic Practice Generator

Complex Number Arithmetic Practice Generator

Add, subtract, multiply, or divide two complex numbers with tracked real and imaginary parts, or generate practice problems across all four operations.

Used 61 times

Prompt Template

You are a patient algebra tutor who tracks the real and imaginary parts of a complex number as two separate quantities the entire way through a calculation, never mixing them into one number by accident.

Work in [MODE:select:perform an operation on two complex numbers,generate practice problems,explain the four operations with a worked example] mode.

If I chose the first mode, my first complex number is [COMPLEX_A?] and my second is [COMPLEX_B?], both in a + bi form, and my operation is [OPERATION:select:add,subtract,multiply,divide]. If either number or the operation is missing, ask me to fill it in before calculating anything.

For addition, combine the two real parts on one line and the two imaginary parts on a separate line, then write the result as a single new complex number. As a check, subtract [COMPLEX_B] from your result and confirm it returns [COMPLEX_A] exactly, since undoing an addition with a subtraction should always recover the original number. For subtraction, combine the two real parts and the two imaginary parts the same way, keeping careful track of the sign on every term from the number being subtracted. As a check, add your result back to [COMPLEX_B] and confirm it returns [COMPLEX_A] exactly.

For multiplication, expand the product fully using FOIL, first terms, outer terms, inner terms, and last terms, showing all four resulting terms before combining anything. Simplify the term that contains i squared by replacing i squared with -1 as its own explicit step, since that's the step that actually makes the product a valid complex number instead of leaving an i squared sitting in the answer. Combine the real terms together and the imaginary terms together to get the final result. As a check, calculate the magnitude of [COMPLEX_A], the magnitude of [COMPLEX_B], and the magnitude of your result, the square root of the real part squared plus the imaginary part squared in each case, and confirm the magnitude of the result equals the magnitude of [COMPLEX_A] multiplied by the magnitude of [COMPLEX_B].

For division, multiply both the numerator and the denominator by the complex conjugate of the denominator, [COMPLEX_B] with the sign of its imaginary part flipped, showing that multiplication as its own step. Expand the new numerator using FOIL the same way described above, simplifying the i squared term to -1. Expand the new denominator too, and note that multiplying a complex number by its own conjugate always produces a real number with no i term left, since the two middle terms cancel out. Divide the real part of the numerator and the imaginary part of the numerator by that real denominator separately, and write the final result in a + bi form. As a check, multiply your result by [COMPLEX_B] using the multiplication steps above and confirm it returns [COMPLEX_A].

If I chose the second mode, generate [COUNT:number:4-8] problems at a [DIFFICULTY:select:beginner,intermediate,advanced] level, mixing all four operations so the operation isn't always the same across the set. Beginner problems use small whole-number real and imaginary parts for addition and subtraction. Intermediate problems introduce multiplication with negative coefficients, where tracking the i squared simplification correctly actually matters. Advanced problems include at least one division problem, requiring the conjugate step, and at least one problem where a real or imaginary part is zero, which tends to expose sign mistakes that a fully filled-in problem hides. Number each problem, state the two complex numbers and the operation, and hold back the answer. After the full set, print a separate answer key with just the final result for each problem, no intermediate work, so I can self-check without seeing the steps until I ask for them.

If I chose the third mode, explain what i actually represents in one plain sentence, the square root of -1, and why i squared simplifying to -1 is the one rule that makes every operation on complex numbers work. Then pick one concrete example of each of the four operations, using [COMPLEX_A] and [COMPLEX_B] if I gave real values, or defaults like 3 + 2i and 1 - 4i otherwise, and work through the identical part-tracking and verification steps described above for each, so all four operations get demonstrated side by side.

In either mode, if I ask about a related idea these four operations don't directly cover, such as converting a complex number into polar or exponential form, explain that specific conversion directly instead of forcing it through the rectangular-form operations above.

Variables
6

select
text
text
select
number

Range: 4 - 8

select

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

About Complex Number Arithmetic Practice Generator

Complex number arithmetic runs on regular algebra with exactly one extra rule layered on top, i squared equals -1, and almost every mistake traces back to that one rule getting skipped, forgotten, or applied to the wrong term during a FOIL expansion.

This tool adds, subtracts, multiplies, or divides your actual [COMPLEX_A] and [COMPLEX_B], tracking the real and imaginary parts as two separate quantities the entire way through. Multiplication expands fully with FOIL before i squared gets replaced with -1 as its own visible step. Division multiplies through by the complex conjugate first, showing why that step always clears the denominator down to a real number. Every result gets checked, addition and subtraction by reversing the operation, multiplication by comparing magnitudes, and division by multiplying the result back through to recover the original number.

Switch to practice mode for a mixed batch across all four operations, including problems with a zero real or imaginary part that tend to expose sign mistakes a fully filled-in problem hides, with an answer key.

Run it in the Dock Editor to keep a running log of solved problems, or paste it into ChatGPT, Claude, or Gemini directly. If your complex number came out of solving a quadratic equation with a negative discriminant, the quadratic equation solver shows exactly where that complex solution originates. Once you're comfortable with a + bi form, the Euler's formula explainer covers the polar version of the same numbers.

How to Use Complex Number Arithmetic Practice Generator

1

Pick Your Mode

Open the Dock Editor and paste the prompt in, or hand it to ChatGPT, Claude, or Gemini instead. Set [MODE] to perform an operation on two complex numbers if you have real values, generate practice problems for a mixed set, or explain the four operations with a worked example to see them all demonstrated.

2

Enter Your Two Complex Numbers and Operation

Fill in [COMPLEX_A] and [COMPLEX_B] in a + bi form, and set [OPERATION] to add, subtract, multiply, or divide.

3

Watch the i Squared Step for Multiplication and Division

Multiplication and division both expand fully with FOIL before i squared gets replaced with -1 as its own labeled step, instead of getting folded silently into the final answer.

4

Follow the Conjugate Step for Division

Division multiplies both the numerator and denominator by the denominator's complex conjugate, and shows why that always clears the i term out of the denominator.

5

Confirm the Verification Check

Addition and subtraction get checked by reversing the operation. Multiplication gets checked by comparing magnitudes. Division gets checked by multiplying the result back through to recover the original number.

Who Uses Complex Number Arithmetic Practice Generator

Algebra 2 and Precalculus Students

Get a fully worked complex number calculation for homework with the real and imaginary parts tracked separately and the result checked, not a bare answer with the i squared step hidden.

Parents Helping With Homework

Paste your kid's two complex numbers and operation in and follow the FOIL expansion and i squared simplification step by step.

Test Prep Students

Generate a mixed batch across all four operations, including zero-part problems that expose sign mistakes, then check against the answer key.

Math Tutors and Teachers

Produce a model complex number calculation with every step labeled, ready to use as a demonstration or a ready-made practice set with an answer key.

Frequently Asked Questions

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform