# How can Inverse\[\] be forced to return a numerical result?

**URL:** <https://community.wolfram.com/t/how-can-inverse-be-forced-to-return-a-numerical-result/8029>\
**Category:** Questions\
**Created:** [March 3, 2016, 11:14am UTC](https://community.wolfram.com/t/how-can-inverse-be-forced-to-return-a-numerical-result/8029 "2016-03-03T11:14:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnmarvelly](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@johnmarvelly](https://community.wolfram.com/u/johnmarvelly)\
**Post date:** [March 3, 2016, 11:14am UTC](https://community.wolfram.com/t/how-can-inverse-be-forced-to-return-a-numerical-result/8029/1 "2016-03-03T11:14:49Z")

</div>

When I use Inverse[] to return the inverse of a matrix with complex elements, the result is a matrix with a complex rational function for each element that has various powers of i in both the numerator and the denominator. I need a less symbolic result and instead one that can be used to calculate numerical values for roots, amplitudes and phase etc. I have tried N[], Simplify[] and forced floats with dots following all numeric values but none of these measures makes any difference. Looks like I´ve missed something, I would be grateful to hear how it´s done.

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [March 3, 2016, 12:17pm UTC](https://community.wolfram.com/t/how-can-inverse-be-forced-to-return-a-numerical-result/8029/2 "2016-03-03T12:17:41Z")

</div>

The following separates real and imaginary parts, assuming that x,y are real, leaving no I at the denominator:

```
expr = Inverse[{{(9 x)/44 - (11 I)/20, (21 y)/47 - (18 I)/
       71, -(21/41) - (19 I)/26}, {-(19/67) - (29 I)/33, -(3/4) + (
       3 I)/29, -(101/135) - (6 I)/7}, {3/22 - (21 I)/23, 
      22/39 + (15 I)/26, 1/85 - x (7 I)/46}}][[1, 1]];
{1, I}.FullSimplify@ComplexExpand@ReIm[expr]

```

---

<div class="post-metadata">

**Author:** ![danl](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/danl/32/41267_2.png) [@danl](https://community.wolfram.com/u/danl)\
**Post date:** [March 3, 2016, 3:22pm UTC](https://community.wolfram.com/t/how-can-inverse-be-forced-to-return-a-numerical-result/8029/3 "2016-03-03T15:22:45Z")

</div>

Are you by chance using ‘i’ instead of ‘I’? Mathematica is case sensitive…
