Science Forums
Advanced search
User Name
Password

Science Social Network
home    members    help/rules    who is online    contact   

Go Back   Science Forums > Physical Sciences Forums > Science Projects and Homework
Become a science forums sponsor today
Reply
 
LinkBack Thread Tools
Old 04-15-2008   #1 (permalink)
geko's Avatar
Understanding


 



Evaluating matrices with negative integers?

Im struggling with how to evaluate matrices with negative integers and am looking for help. As far as i can understand the negative integer causes the matrix to be inverted, so does this mean that i multiply the matrix by 1/A and also invert the vectors?

For example, consider a 2x2 matrix (a11, b12, a21, b22) with 3, -2, 4, -5 respectively. Does this become (b22, -b12, -a21, a11), -5, 2, -4, 3?

Also, will the inverse be 1/(ad-bc)? Such that it becomes 1/(3*-5) - (2*-4) leading to a multiple of -0.142857142..

This seems bizarre and i think im doing something wrong, can anyone tell me if im doing it wrong or im on the right track please?

Edit: Nevermind, im on the right track. The multiple can be left as a fraction making it seem less bizarre

Last edited by geko; 04-16-2008 at 06:04 AM. Reason: No longer need help
Reply With Quote
Old 04-16-2008   #2 (permalink)
Tormod's Avatar
Hypographer

Hypography Staff Member
Administrator
Senior Editor
Editor
Dev Team Member

 



Re: Evaluating matrices with negative integers?

Glad you figured it out!


----------------
Your Friendly Neighborhood Administrator

Want to sponsor Hypography? Buy a print in our Fall 2008 Benefit Sale

Join our Facebook group or follow us on Twitter

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
Old 04-18-2008   #3 (permalink)
CraigD's Avatar
Creating

Hypography Staff Member
Administrator
Editor

 



Post Inverting a matrix

Although geko notes he’s answered his own question, for anyone puzzled by this thread, let me offer my take on the question and its answer.

I believe the question is “how do you get the inverse of a matrix?”

As I’ve heard the term most commonly used, the inverse of a matrix A means a matrix B such that A \cdot B = I, where I is a unit matrix. For the example given in post one, the matrix, its inverse, their 2x2 unit matrix product are:
\begin{bmatrix}3 & -2 \\ 5 & 4\end{bmatrix} \cdot \begin{bmatrix}\frac{4}{22} & \frac{2}{22} \\ \frac{-5}{22} & \frac{3}{22}\end{bmatrix} = \begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix}

It’s neater to extract a constant from B and write it
\frac{1}{22} \begin{bmatrix}4 & 2 \\ -5 & 3 \end{bmatrix}

Inverse of this kind are only meaningful for square (same number of columns and rows) matrixes.

Calculating the inverse of a matrix is pretty easy:
Start with a matrix A and a unit matrix B of the same size;
Multiply the rows of A by scalars and add them together as needed to change it into a unit matrix;
For every operation performed on a row of A, perform the same operation on B;
When complete, B is the inverse of A. If it’s impossible to change A into a unit matrix, it has no inverse.

If you do this calculation symbolically (with variables), you’ll find that the inverse of
\begin{bmatrix}a & b \\ c & d\end{bmatrix}
is
\frac{1}{ad - bc} \begin{bmatrix}d & -b \\ -c & a\end{bmatrix}
From this, we can get the quick-and-easy rule “swap the diagonals, negative the other diagonals, and divide by the determinant.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on matrices emzz Questions and Answers 2 09-03-2007 04:26 AM
Negative inertia sciman55 Physics and Mathematics 17 05-26-2006 08:20 PM
Negative integers tarak Physics and Mathematics 5 02-13-2006 06:27 AM
Statisitical View Of Integers Grouped By Number Of Divisors Turtle Physics and Mathematics 25 07-14-2005 11:05 AM
Negative Pressure Aki Physics and Mathematics 12 10-16-2004 11:08 PM


All times are GMT -8. The time now is 06:12 PM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network