Previous Up Next

7.4.7  Multiplication by the complex conjugate

The denominator of a complex expression can be made a real number by multiplying the numerator and denominator of the expression by the complex conjugate of the denominator. The mult_c_conjugate can perform this multiplication.

Examples

mult_c_conjugate((2+i)/(2+3*i))
     
⎛
⎝
2+i⎞
⎠
⎛
⎝
2−3 i⎞
⎠
⎛
⎝
2+3 i⎞
⎠
⎛
⎝
2−3 i⎞
⎠
          
mult_c_conjugate((2+i)/2)
     
⎛
⎝
2+i⎞
⎠
⎛
⎝
2−i⎞
⎠
2 ⎛
⎝
2−i⎞
⎠
          

Previous Up Next