Determining a vector orthogonal to $q_1=(1,1,1)$ and $q_3=(1,1,-2)$, why I'm wrong with my calculations?
up vote
1
down vote
favorite
Consider the vectors $q_1=(1,1,1)$ and $q_3=(1,1,-2)$. I need to find a third vector $q_2$ such that ${q_1,q_2,q_3}$ is a arthogonal basis for $mathbb{R}^3$.
My problem is the following: I did take $v=(1,0,0)$ and I did verify that ${q_1,q_3,v}$ is a basis for $mathbb{R}^3$. Then I did take $$q_2=v-langle v|q_1rangle q_1-langle v|q_3rangle q_3=(-1,-2,1)$$
And, by Gram-Schmidt process, $q_2$ must be orthogonal to $q_1$ and $q_3$. But, as we can see, it does not happen. So, where is my mistake?
linear-algebra vectors orthogonality
add a comment |
up vote
1
down vote
favorite
Consider the vectors $q_1=(1,1,1)$ and $q_3=(1,1,-2)$. I need to find a third vector $q_2$ such that ${q_1,q_2,q_3}$ is a arthogonal basis for $mathbb{R}^3$.
My problem is the following: I did take $v=(1,0,0)$ and I did verify that ${q_1,q_3,v}$ is a basis for $mathbb{R}^3$. Then I did take $$q_2=v-langle v|q_1rangle q_1-langle v|q_3rangle q_3=(-1,-2,1)$$
And, by Gram-Schmidt process, $q_2$ must be orthogonal to $q_1$ and $q_3$. But, as we can see, it does not happen. So, where is my mistake?
linear-algebra vectors orthogonality
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Consider the vectors $q_1=(1,1,1)$ and $q_3=(1,1,-2)$. I need to find a third vector $q_2$ such that ${q_1,q_2,q_3}$ is a arthogonal basis for $mathbb{R}^3$.
My problem is the following: I did take $v=(1,0,0)$ and I did verify that ${q_1,q_3,v}$ is a basis for $mathbb{R}^3$. Then I did take $$q_2=v-langle v|q_1rangle q_1-langle v|q_3rangle q_3=(-1,-2,1)$$
And, by Gram-Schmidt process, $q_2$ must be orthogonal to $q_1$ and $q_3$. But, as we can see, it does not happen. So, where is my mistake?
linear-algebra vectors orthogonality
Consider the vectors $q_1=(1,1,1)$ and $q_3=(1,1,-2)$. I need to find a third vector $q_2$ such that ${q_1,q_2,q_3}$ is a arthogonal basis for $mathbb{R}^3$.
My problem is the following: I did take $v=(1,0,0)$ and I did verify that ${q_1,q_3,v}$ is a basis for $mathbb{R}^3$. Then I did take $$q_2=v-langle v|q_1rangle q_1-langle v|q_3rangle q_3=(-1,-2,1)$$
And, by Gram-Schmidt process, $q_2$ must be orthogonal to $q_1$ and $q_3$. But, as we can see, it does not happen. So, where is my mistake?
linear-algebra vectors orthogonality
linear-algebra vectors orthogonality
edited 9 hours ago
quid♦
36.7k95093
36.7k95093
asked 11 hours ago
Gödel
1,351319
1,351319
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
HINT
Since $q_1$ and $q_3$ are orthogonal it suffices to find $q_3$ by
$$q_2=q_1times q_3$$
As an alternative by GS we have
$$q_2=v-langle v|hat q_1rangle hat q_1-langle v| hat q_3rangle hat q_3=(1,0,0)-frac13(1,1,1)-frac16(1,1,-2)=left(frac12,-frac12,0right)$$
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
add a comment |
up vote
4
down vote
None of $q_1$ and $q_2$ are normalized. Hence, the formula would be
$$ q_2=v-{langle v|q_1rangle over langle q_1|q_1rangle} q_1-{langle v|q_3rangle over langle q_3|q_3rangle} q_3 = ({1 over 2},-{1 over 2},0)$$.
add a comment |
up vote
2
down vote
$$q_2=v-frac{langle v|q_1rangle}{langle q_1|q_1rangle} q_1-frac{langle v|q_3rangle}{langle q_3|q_3rangle} q_3$$
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
HINT
Since $q_1$ and $q_3$ are orthogonal it suffices to find $q_3$ by
$$q_2=q_1times q_3$$
As an alternative by GS we have
$$q_2=v-langle v|hat q_1rangle hat q_1-langle v| hat q_3rangle hat q_3=(1,0,0)-frac13(1,1,1)-frac16(1,1,-2)=left(frac12,-frac12,0right)$$
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
add a comment |
up vote
2
down vote
accepted
HINT
Since $q_1$ and $q_3$ are orthogonal it suffices to find $q_3$ by
$$q_2=q_1times q_3$$
As an alternative by GS we have
$$q_2=v-langle v|hat q_1rangle hat q_1-langle v| hat q_3rangle hat q_3=(1,0,0)-frac13(1,1,1)-frac16(1,1,-2)=left(frac12,-frac12,0right)$$
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
HINT
Since $q_1$ and $q_3$ are orthogonal it suffices to find $q_3$ by
$$q_2=q_1times q_3$$
As an alternative by GS we have
$$q_2=v-langle v|hat q_1rangle hat q_1-langle v| hat q_3rangle hat q_3=(1,0,0)-frac13(1,1,1)-frac16(1,1,-2)=left(frac12,-frac12,0right)$$
HINT
Since $q_1$ and $q_3$ are orthogonal it suffices to find $q_3$ by
$$q_2=q_1times q_3$$
As an alternative by GS we have
$$q_2=v-langle v|hat q_1rangle hat q_1-langle v| hat q_3rangle hat q_3=(1,0,0)-frac13(1,1,1)-frac16(1,1,-2)=left(frac12,-frac12,0right)$$
edited 11 hours ago
answered 11 hours ago
gimusi
86.2k74392
86.2k74392
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
add a comment |
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
I don't know why I don't use cross product before, It is a simple way to solve the problem.
– Gödel
11 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
@Gödel Yes indeed it is the faster way in that case if we can't see that by inspection.
– gimusi
10 hours ago
add a comment |
up vote
4
down vote
None of $q_1$ and $q_2$ are normalized. Hence, the formula would be
$$ q_2=v-{langle v|q_1rangle over langle q_1|q_1rangle} q_1-{langle v|q_3rangle over langle q_3|q_3rangle} q_3 = ({1 over 2},-{1 over 2},0)$$.
add a comment |
up vote
4
down vote
None of $q_1$ and $q_2$ are normalized. Hence, the formula would be
$$ q_2=v-{langle v|q_1rangle over langle q_1|q_1rangle} q_1-{langle v|q_3rangle over langle q_3|q_3rangle} q_3 = ({1 over 2},-{1 over 2},0)$$.
add a comment |
up vote
4
down vote
up vote
4
down vote
None of $q_1$ and $q_2$ are normalized. Hence, the formula would be
$$ q_2=v-{langle v|q_1rangle over langle q_1|q_1rangle} q_1-{langle v|q_3rangle over langle q_3|q_3rangle} q_3 = ({1 over 2},-{1 over 2},0)$$.
None of $q_1$ and $q_2$ are normalized. Hence, the formula would be
$$ q_2=v-{langle v|q_1rangle over langle q_1|q_1rangle} q_1-{langle v|q_3rangle over langle q_3|q_3rangle} q_3 = ({1 over 2},-{1 over 2},0)$$.
edited 11 hours ago
answered 11 hours ago
SinTan1729
2,302622
2,302622
add a comment |
add a comment |
up vote
2
down vote
$$q_2=v-frac{langle v|q_1rangle}{langle q_1|q_1rangle} q_1-frac{langle v|q_3rangle}{langle q_3|q_3rangle} q_3$$
add a comment |
up vote
2
down vote
$$q_2=v-frac{langle v|q_1rangle}{langle q_1|q_1rangle} q_1-frac{langle v|q_3rangle}{langle q_3|q_3rangle} q_3$$
add a comment |
up vote
2
down vote
up vote
2
down vote
$$q_2=v-frac{langle v|q_1rangle}{langle q_1|q_1rangle} q_1-frac{langle v|q_3rangle}{langle q_3|q_3rangle} q_3$$
$$q_2=v-frac{langle v|q_1rangle}{langle q_1|q_1rangle} q_1-frac{langle v|q_3rangle}{langle q_3|q_3rangle} q_3$$
answered 11 hours ago
Siong Thye Goh
93.6k1462114
93.6k1462114
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3009351%2fdetermining-a-vector-orthogonal-to-q-1-1-1-1-and-q-3-1-1-2-why-im-wro%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown