Equation of line: find $p + q$
The question: The following two lines intersect, forming an angle of $60°$:
$$ frac{x-1}a = frac{y-2}{a+1} = frac{z-1}{a-1} \
x = y ; & ; z = 1. $$
If $a = -(p/q)$ where $p$ and $q$ are coprime positive integers, what is $p + q$? Assume that $a$ is not equal to $0$, $-1$, $1$.
My solution:
Direction vector of line 1: $v_1(a,a+1,a-1)$
Direction vector of line 2: $v_2(1, 1, 0)$
Unit vector $hat a$ (arbitrary) : $left(1/sqrt3; 1/sqrt3; 1/sqrt3right)$
Cross-product: $$ begin{align} v_3 = v_1 times v_2 &= left(sqrt{a^2+(a+1)^2+(a-1)^2} cdot sqrt2 cdot
sin{60°}right) hat a \ &= left(frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}right). tag 1 end{align}$$Cross-product with coordinates: coordinate $x$ of $v_3 = (a+1)cdot0 - (a-1)cdot1 = 1-a. tag2$
From (1) and (2) => $$ begin{align} &; frac12sqrt{6a^2+4} = 1-a \
⇔ sqrt{6a^2+4} = 2-2a \
⇔ a = -4 text{ (checked)}. end{align}$$
But $a = -p/q$ (coprime positive integers). So my solution is wrong.
Anyone knows how to solve it? Please give hint or instructions! Thanks!
analytic-geometry
|
show 4 more comments
The question: The following two lines intersect, forming an angle of $60°$:
$$ frac{x-1}a = frac{y-2}{a+1} = frac{z-1}{a-1} \
x = y ; & ; z = 1. $$
If $a = -(p/q)$ where $p$ and $q$ are coprime positive integers, what is $p + q$? Assume that $a$ is not equal to $0$, $-1$, $1$.
My solution:
Direction vector of line 1: $v_1(a,a+1,a-1)$
Direction vector of line 2: $v_2(1, 1, 0)$
Unit vector $hat a$ (arbitrary) : $left(1/sqrt3; 1/sqrt3; 1/sqrt3right)$
Cross-product: $$ begin{align} v_3 = v_1 times v_2 &= left(sqrt{a^2+(a+1)^2+(a-1)^2} cdot sqrt2 cdot
sin{60°}right) hat a \ &= left(frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}right). tag 1 end{align}$$Cross-product with coordinates: coordinate $x$ of $v_3 = (a+1)cdot0 - (a-1)cdot1 = 1-a. tag2$
From (1) and (2) => $$ begin{align} &; frac12sqrt{6a^2+4} = 1-a \
⇔ sqrt{6a^2+4} = 2-2a \
⇔ a = -4 text{ (checked)}. end{align}$$
But $a = -p/q$ (coprime positive integers). So my solution is wrong.
Anyone knows how to solve it? Please give hint or instructions! Thanks!
analytic-geometry
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14
|
show 4 more comments
The question: The following two lines intersect, forming an angle of $60°$:
$$ frac{x-1}a = frac{y-2}{a+1} = frac{z-1}{a-1} \
x = y ; & ; z = 1. $$
If $a = -(p/q)$ where $p$ and $q$ are coprime positive integers, what is $p + q$? Assume that $a$ is not equal to $0$, $-1$, $1$.
My solution:
Direction vector of line 1: $v_1(a,a+1,a-1)$
Direction vector of line 2: $v_2(1, 1, 0)$
Unit vector $hat a$ (arbitrary) : $left(1/sqrt3; 1/sqrt3; 1/sqrt3right)$
Cross-product: $$ begin{align} v_3 = v_1 times v_2 &= left(sqrt{a^2+(a+1)^2+(a-1)^2} cdot sqrt2 cdot
sin{60°}right) hat a \ &= left(frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}right). tag 1 end{align}$$Cross-product with coordinates: coordinate $x$ of $v_3 = (a+1)cdot0 - (a-1)cdot1 = 1-a. tag2$
From (1) and (2) => $$ begin{align} &; frac12sqrt{6a^2+4} = 1-a \
⇔ sqrt{6a^2+4} = 2-2a \
⇔ a = -4 text{ (checked)}. end{align}$$
But $a = -p/q$ (coprime positive integers). So my solution is wrong.
Anyone knows how to solve it? Please give hint or instructions! Thanks!
analytic-geometry
The question: The following two lines intersect, forming an angle of $60°$:
$$ frac{x-1}a = frac{y-2}{a+1} = frac{z-1}{a-1} \
x = y ; & ; z = 1. $$
If $a = -(p/q)$ where $p$ and $q$ are coprime positive integers, what is $p + q$? Assume that $a$ is not equal to $0$, $-1$, $1$.
My solution:
Direction vector of line 1: $v_1(a,a+1,a-1)$
Direction vector of line 2: $v_2(1, 1, 0)$
Unit vector $hat a$ (arbitrary) : $left(1/sqrt3; 1/sqrt3; 1/sqrt3right)$
Cross-product: $$ begin{align} v_3 = v_1 times v_2 &= left(sqrt{a^2+(a+1)^2+(a-1)^2} cdot sqrt2 cdot
sin{60°}right) hat a \ &= left(frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}; frac12sqrt{6a^2+4}right). tag 1 end{align}$$Cross-product with coordinates: coordinate $x$ of $v_3 = (a+1)cdot0 - (a-1)cdot1 = 1-a. tag2$
From (1) and (2) => $$ begin{align} &; frac12sqrt{6a^2+4} = 1-a \
⇔ sqrt{6a^2+4} = 2-2a \
⇔ a = -4 text{ (checked)}. end{align}$$
But $a = -p/q$ (coprime positive integers). So my solution is wrong.
Anyone knows how to solve it? Please give hint or instructions! Thanks!
analytic-geometry
analytic-geometry
edited Nov 28 at 6:36
amd
29k21050
29k21050
asked Nov 26 at 10:45
Willy
414
414
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14
|
show 4 more comments
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14
|
show 4 more comments
1 Answer
1
active
oldest
votes
My first solution was wrong. Because unit vector isn't perpendicular to $v_1$, $v_2$.
My second solution: Dot product
$v_1$ . $v_2$ = |$v_1$| . |$v_2$| . cos 60 = $sqrt{6a^2 + 4}$/ 2 (1).
$v_1$ . $v_2$ = a.1 + (a+1).1 = 2a +1 (2)
(1) = (2) => a = -(8/5).
8 and 5 are coprime positive integers.
p + q = 13
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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%2f3014174%2fequation-of-line-find-p-q%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
My first solution was wrong. Because unit vector isn't perpendicular to $v_1$, $v_2$.
My second solution: Dot product
$v_1$ . $v_2$ = |$v_1$| . |$v_2$| . cos 60 = $sqrt{6a^2 + 4}$/ 2 (1).
$v_1$ . $v_2$ = a.1 + (a+1).1 = 2a +1 (2)
(1) = (2) => a = -(8/5).
8 and 5 are coprime positive integers.
p + q = 13
add a comment |
My first solution was wrong. Because unit vector isn't perpendicular to $v_1$, $v_2$.
My second solution: Dot product
$v_1$ . $v_2$ = |$v_1$| . |$v_2$| . cos 60 = $sqrt{6a^2 + 4}$/ 2 (1).
$v_1$ . $v_2$ = a.1 + (a+1).1 = 2a +1 (2)
(1) = (2) => a = -(8/5).
8 and 5 are coprime positive integers.
p + q = 13
add a comment |
My first solution was wrong. Because unit vector isn't perpendicular to $v_1$, $v_2$.
My second solution: Dot product
$v_1$ . $v_2$ = |$v_1$| . |$v_2$| . cos 60 = $sqrt{6a^2 + 4}$/ 2 (1).
$v_1$ . $v_2$ = a.1 + (a+1).1 = 2a +1 (2)
(1) = (2) => a = -(8/5).
8 and 5 are coprime positive integers.
p + q = 13
My first solution was wrong. Because unit vector isn't perpendicular to $v_1$, $v_2$.
My second solution: Dot product
$v_1$ . $v_2$ = |$v_1$| . |$v_2$| . cos 60 = $sqrt{6a^2 + 4}$/ 2 (1).
$v_1$ . $v_2$ = a.1 + (a+1).1 = 2a +1 (2)
(1) = (2) => a = -(8/5).
8 and 5 are coprime positive integers.
p + q = 13
answered Nov 28 at 8:32
Willy
414
414
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f3014174%2fequation-of-line-find-p-q%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
Please make your question self-contained instead of linking to another site.
– amd
Nov 26 at 23:54
That would be so lòng. Please check my edited link. Thanks
– Willy
Nov 27 at 13:08
Part of the function of this site is as an archive. External links go stale, so some day no one will have any idea what your question actually was when they come to this post. Aside from that, you’re asking others to take their time to help you. It’s only fair that you take some time of your own to formulate your question properly.
– amd
Nov 27 at 20:04
Thanks @ and. Lesson learned. I edited my question.
– Willy
Nov 28 at 5:33
The two lines don’t actually intersect. If $z=1$, then we must have $x=1$ and $y=2$, but then $xne y$.
– amd
Nov 28 at 6:14