Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I was searching for a solution, but can't find anything I can use with my superficial knowledge.

So, I have vector A, vector B & vector C. I want to convert the space to base vectors A & B (in a 2-dimensional space, of course), so that I could express C as their sum.

How can I do this? I could just calculate the x & y in C = x*A + y*B through scalar products, but I'd prefer matrix forms to avoid checking for zero denominators etc.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Let A=(a1,a2),B=(b1,b2),the matrix {{b2/(a1b2-b1a2),-b1/(a1b2-b1a2)},{a2/(a1b2-b1a2),-a1/(a1b2-b1a2)}} may help you.

share|improve this answer
    
Thanks. I recall the linear algebra, it's the invertible matrix of (A B), and (a1b2 - b1a2) is the determinator. –  culebrón Mar 19 '12 at 10:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.