|
|
|
|
![]() ![]() |
Dec 8 2004, 01:03 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 408 Joined: 7-December 04 From: Nova Scoita, Canada Member No.: 2,604 |
There doesn’t seem to be any area for mathematics so for now I will put everything in one thread. Yesterday I was thinking about generalizing matrix multiplication to higher dimensions. I know this has already been done before (A.K.A.) tensors but I don’t know anything about tensors. Anyway I realized that there are three common types of multiplication that can be done on matrices. They are element wise multiplication, the inner product and the outer product. Many types of matrix multiplications can be expressed as a combination of these. For instance standard 2D matrix multiplication is a combination of the inner and outer product. The rows of matrix one and the columns of matrix two are used in the outer product while the columns of matrix one and the rows of matrix two are used in the inner product.
|
|
|
|
Dec 8 2004, 01:21 PM
Post
#2
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 498 Joined: 23-August 04 Member No.: 878 |
o_o;.. s243a, can you give us people who are only taking Geometry a little bit of information on this? I'm sure I could help, if only I knew what you meant exactly.. I mean, I can grasp it, but then it floats away.
There's no place like home.. there's no place like home.. |
|
|
|
Dec 8 2004, 02:21 PM
Post
#3
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 512 Joined: 26-September 04 From: Googland Member No.: 1,278 |
QUOTE(Zenchi @ Dec 8 2004, 09:21 PM) o_o;.. s243a, can you give us people who are only taking Geometry a little bit of information on this? I'm sure I could help, if only I knew what you meant exactly.. I mean, I can grasp it, but then it floats away. There's no place like home.. there's no place like home.. Hey Birthday boy, Forget geometry today and enjoy your day |
|
|
|
Dec 8 2004, 03:01 PM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 408 Joined: 7-December 04 From: Nova Scoita, Canada Member No.: 2,604 |
Okay, well lets start with the basics. The inner product also known of as the dot product is the sum of element wise multiplication. For instance if you have two vectors [a b] and [c d] then the inner product is ac+bd and is denoted:
CODE [a b] dot [c d]=ac+bd The operation is done by first doing element wise multiplication which I will denote as .* for example: CODE [a b].*[c d]=[(a*B) (c*d)] And then by taking the sum of the resulting vector. CODE Sum_{over all elements}=(a*B)+(c*d) The inner product is a measure of how close two vectors are, some applications include geometry and signal processing. Matrix multiplication can be thought of as row by column multiplication. For instance. Let: CODE A=[a11 a12] [ a21 a22] and CODE B=[b11 b12] [b21 b22] If C is the Matrix product of A and B then: CODE C=[([a11; a12] dot [b11; b21]) ([a11; a12] dot [b12; b22])] [([a21; a22] dot [b11; b21]) ([a21; a22] dot [b12; b22])] Notice that an inner product of the rows of A are formed with the columns of B. The outer product is the opposite of the inner product in the since that the size of the resulting matrix increases instead of decreases. For instance the outer product of the vector [a b] with [c d] is CODE [ac ad] [bc bd] Note that ac denotes a*c Now lets distinguish between a row and a column vector. A row vector will be a horizontal vecor For instance [a b] And a column vector will be a verticale vector: CODE [c] [d] We will use a semi column to denote a new row so [c; d] will also be considered a column vector and [ac ad; bc bd] will be considered a 2 by 2 matrix. In matrix multiplication the inner product of two vectors is: CODE [a; b][c d] or [c; d][a b] And the outer product is: CODE [a b][c; d] or [c d][a; b] This is a result of how matrix multiplication is formed by the row by column multiplication. |
|
|
|
Dec 8 2004, 03:24 PM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 512 Joined: 26-September 04 From: Googland Member No.: 1,278 |
Well, this has started to look like spam.
*Gets up to get a broom to clean the mess* If no clear explanations on the posts appear by tomorrow, I will move this to SPAM section |
|
|
|
Dec 8 2004, 03:38 PM
Post
#6
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 408 Joined: 7-December 04 From: Nova Scoita, Canada Member No.: 2,604 |
To make this more interesting to people who are just taking geometry here is an example of how matrix multiplication can be used for analytic geometry applications. We can represent a point on a plane as so much to the right, say a to the right and so much to the left, say b to the left of a point called the orgin. The orgin could be the bottom left corner of the paper. Thus the other point is:
[a] [b] You can preforme many transformations on this vector for instance you can rotate the point it represents about the orgin by left multiplying the vector by the following rotation matrix [cos(theta) sin(theta)] [-sin(theta) cos(theta)] That is if [c; d] is the point after rotation then: [c] [cos(theta) sin(theta)][a] [d]=[-sin(theta) cos(theta)][b] The matrix: [cos(theta) sin(theta)] [-sin(theta) cos(theta)] Peformes a linear transformation on the vector [a; b] |
|
|
|
Dec 8 2004, 03:53 PM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 408 Joined: 7-December 04 From: Nova Scoita, Canada Member No.: 2,604 |
QUOTE Well, this has started to look like spam. *Gets up to get a broom to clean the mess* If no clear explanations on the posts appear by tomorrow, I will move this to SPAM section Pardon me? I spent considerable time writing this. I am not affiliated with any of the sights I linked with hyperlinks. The links were chosen to provide the reader with further information beyond what I have written to help fill in the gaps. Is a discussion of high level math or science forbidden here? Must I always talk to the lowest conman denominator? I tried to proved explanations to my original post because people asked questions about it. Otherwise I could just talk completely over most peoples heads and hope someone with a similar interest joins in. As far as formatting and such I spent a lot of my time trying to make this post as neat as possible. If there was an alternate text attribute to the image take I could try to replace some of the text by pictures to make it neater. However that would mean my document would not be self contained and if any servers went down the post would make no sense at all. If you could guarantee me web space than I would have a safe place to store my images. However I know the nature here is not to guarantee people web space but rather regiment them to post in a regular pattern following a possibly ridged set of guidelines. BTW what is the preoccupation here with calling everything spam. Isn’t span just chain mail and unwanted advertising. This certainly isn’t chain mail and what the heck do you think I am advertising???????? |
|
|
|
Dec 8 2004, 04:41 PM
Post
#8
|
|
|
Premium Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 197 Joined: 12-August 04 From: NY, USA Member No.: 772 |
are you a math teacher....cuz if ur not...you might want to take up that profession.
|
|
|
|
Dec 8 2004, 04:46 PM
Post
#9
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 408 Joined: 7-December 04 From: Nova Scoita, Canada Member No.: 2,604 |
|