Skip to main content
1-Visitor
August 26, 2016
Question

Matrix inverse Error

  • August 26, 2016
  • 3 replies
  • 4546 views

Hi

I am unable to calculate inverse of the matrix. The result is taking accuracy upto 3 decimal places. Even I tried to change decimal precision from "Math Formatting Option but the error become unchanged. "Please find given image and attached file for your reference. 

Untitled.pngfor your reference:

3 replies

19-Tanzanite
August 26, 2016

I'm not sure what you mean by your final comment, or where 0.000039 comes from. The determinant of your matrix is zero. Always.

Edit. I figured out where you got 0.000039 from. That's what you get if you copy and paste the result matrix, with three decimal places, and then take the determinant. So it's non-zero because of serious round-off error. Changing the precision under math Formatting has no effect on the precision of the calculations, only on the precision of the displayed result, and will not generate that result.

25-Diamond I
August 26, 2016

As Richard had shown, any matrix which is built the way you build yours by multiplying any column vector with its transposed pendent gives you a matrix with a zero determinant and so ins not invertible.

You calculated with the values you see

but Mathcad calculates with much more precision. So what you experience when you get 0.000039 is just an approximation of the real result, at best valid up to three decimals (you can't expect the result with a better precision than the input values) . And if you round your result to three decimals, you get .... Bingo!

Werner

sgarg-21-VisitorAuthor
1-Visitor
August 26, 2016

Thanks for your response but in my application the number 0.000039 has its own significance. Please let me know if we can get this result by any means. Thanks

19-Tanzanite
August 26, 2016

Perhaps if you told us what the significance of 0.000039 is we might be able to suggest a way to get the result you want. Without that information it's not possible to suggest anything.