IMDIV in Collabora Office: Divide Complex Values and Verify Rational Components
Divide complex numbers in Collabora Calc, audit the conjugate denominator and verify operand order and recovery without inventing native zero-error codes.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: IMDIV divides its first complex value by its second. =IMDIV("20+10j";"2-j") has independently expected quantity 6+8j.
Availability and version history
- Introduced: the original Collabora release and launch date are not established by the reviewed sources.
- Availability: documented in Collabora Office 26.04 desktop help.
- Platform scope: online and mobile deployment support is not inferred from the desktop documentation.
- Checked: October 14, 2026. Function-specific documentation and independent controls; no native Collabora execution.
Syntax and denominator meaning
=IMDIV("Numerator"; "Denominator")
The Collabora reference names both arguments explicitly and accepts complex text in x+yi or x+yj form. Its documented example divides −238+240i by 10+24i to obtain 5+12i.
For (a+bj)/(c+dj), the mathematical real coefficient is (ac+bd)/(c²+d²), and the imaginary coefficient is (bc−ad)/(c²+d²). The shared denominator is positive unless both divisor coefficients are zero.
The short function section does not state a native zero-divisor error code or full coercion/error matrix. This guide keeps the mathematical prerequisite separate from unverified error display details.
Example 1: divide three complete pairs
Enter only the first two text columns in A1:B4. Calculate C with =IMDIV(A2;B2) filled down. The third column shows independently expected quantities.
| A, numerator | B, denominator | C, quotient |
|---|---|---|
| 20+10j | 2-j | 6+8j |
| 11-10j | 1-4j | 3+2j |
| 6+8j | 2-j | 0.8+4.4j |
The first two reverse explicit products. The third has exact mathematical components 4/5 and 22/5. Its decimal representation is a readable model, not a promise of identical full-precision native text in every build.
Check both operand columns. Reversing a quotient generally changes both components rather than just negating the original result.
Example 2: compute the component fractions
For (6+8j)/(2−j), the denominator is 2²+(−1)²=5. The real numerator is 6×2+8×(−1)=4. The imaginary numerator is 8×2−6×(−1)=22.
Use numeric helpers:
=(6*2+8*(-1))/(2^2+(-1)^2)
=(8*2-6*(-1))/(2^2+(-1)^2)
Expected outputs are 0.8 and 4.4. Compare them with IMREAL and IMAGINARY applied to the quotient.
Advanced example: explain the conjugate method
The denominator 2−j has conjugate 2+j. Multiplying the numerator 6+8j by that conjugate gives 4+22j. Multiplying the denominator by the conjugate gives 5 with zero imaginary coefficient.
Dividing those numerator components by five yields the previous result. IMCONJUGATE and IMPRODUCT make the two multiplication steps inspectable.
This is a mathematical derivation. It does not establish that manually squaring huge or tiny coefficients has the same numerical stability as a native division implementation.
Advanced example: multiply back to recover the input
For the primary table, use =IMPRODUCT(C2;B2) and fill down. Expected recovered quantities are 20+10j, 11−10j and 6+8j.
For the third row, (0.8+4.4j)(2−j) gives real coefficient 1.6+4.4=6 and imaginary coefficient −0.8+8.8=8. Keeping fractions 4/5 and 22/5 makes the independent verification exact.
When reproducing approximate calculations, compare numeric component differences against a stated tolerance rather than demanding character-identical displayed complex strings.
Advanced example: reverse the operands
The reversed quotient (2−j)/(6+8j) has components 0.04 and −0.22, or 1/25 and −11/50. Multiplying it by the original quotient mathematically gives real coefficient 1 and imaginary coefficient 0.
The reciprocal of 6+8j itself has components 0.06 and −0.08. Its conjugate 6−8j is not the reciprocal until divided by the squared magnitude one hundred.
Scaling both numerator and denominator by two also leaves the quotient unchanged: (12+16j)/(4−2j) still has components 0.8 and 4.4. The common factor must be nonzero.
Zero and verification limits
A divisor with both coefficients zero does not define a quotient. Replacing that invalid mathematical operation with a fabricated zero would hide the problem. The native error code, alternate zero-string parsing and error precedence remain unverified here.
All fixtures use moderate complex values and a consistent suffix. Mixed-suffix combinations, malformed text, blank coercion, overflow and underflow are outside the dedicated source’s detailed scope. Outputs are independent rational-component calculations, not native Collabora observations.
References and verification
Complete function-specific documentation reviewed. Outputs are independent complex-component models or explicit documented controls, not captured native application results. Formulas use English names and semicolon separators; optional-argument brackets describe syntax and are not typed into working formulas.