Angle between lines whose direction cosines are related by given equations












1












$begingroup$


Find the angle between the lines whose direction cosines $l$, $m$ & $n$ are linked by the following two equations.



$$l+m+n=0$$
$$mn/(q-r)+nl/(r-p)+lm/(p-q)=0$$



Where $p$, $q$ and $r$ are constants.



Answer given is $pi/3$



I have been trying to solve this for past hour. I have tried eliminating n from both equations and converting the second equation into a quadratic equation with variable l/m. Now the two roots of this equation will be the ratio of direction cosines of both the lines. I am unable to proceed further from there.



Formula for angle is as follows:
Cos ($theta$) = $l_1l_2+m_1m_2+n_1n_2$
where $l_1,m_1,n_1$ are direction cosines of first line and $l_2,m_2,n_2$ are direction cosines of second line










share|cite|improve this question











$endgroup$












  • $begingroup$
    Use $l^2+m^2+n^2=1$.
    $endgroup$
    – Jaideep Khare
    Dec 19 '18 at 6:56










  • $begingroup$
    Are $(p,q,r)$ the direction cosines of the second line??
    $endgroup$
    – bubba
    Dec 19 '18 at 7:02










  • $begingroup$
    I have tried to use thus identity but I am unable to get the solution.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:02










  • $begingroup$
    p, q and r are constants.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:03










  • $begingroup$
    OK. There are two lines. What symbols denote the direction cosines of the second one?
    $endgroup$
    – bubba
    Dec 19 '18 at 7:04


















1












$begingroup$


Find the angle between the lines whose direction cosines $l$, $m$ & $n$ are linked by the following two equations.



$$l+m+n=0$$
$$mn/(q-r)+nl/(r-p)+lm/(p-q)=0$$



Where $p$, $q$ and $r$ are constants.



Answer given is $pi/3$



I have been trying to solve this for past hour. I have tried eliminating n from both equations and converting the second equation into a quadratic equation with variable l/m. Now the two roots of this equation will be the ratio of direction cosines of both the lines. I am unable to proceed further from there.



Formula for angle is as follows:
Cos ($theta$) = $l_1l_2+m_1m_2+n_1n_2$
where $l_1,m_1,n_1$ are direction cosines of first line and $l_2,m_2,n_2$ are direction cosines of second line










share|cite|improve this question











$endgroup$












  • $begingroup$
    Use $l^2+m^2+n^2=1$.
    $endgroup$
    – Jaideep Khare
    Dec 19 '18 at 6:56










  • $begingroup$
    Are $(p,q,r)$ the direction cosines of the second line??
    $endgroup$
    – bubba
    Dec 19 '18 at 7:02










  • $begingroup$
    I have tried to use thus identity but I am unable to get the solution.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:02










  • $begingroup$
    p, q and r are constants.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:03










  • $begingroup$
    OK. There are two lines. What symbols denote the direction cosines of the second one?
    $endgroup$
    – bubba
    Dec 19 '18 at 7:04
















1












1








1


1



$begingroup$


Find the angle between the lines whose direction cosines $l$, $m$ & $n$ are linked by the following two equations.



$$l+m+n=0$$
$$mn/(q-r)+nl/(r-p)+lm/(p-q)=0$$



Where $p$, $q$ and $r$ are constants.



Answer given is $pi/3$



I have been trying to solve this for past hour. I have tried eliminating n from both equations and converting the second equation into a quadratic equation with variable l/m. Now the two roots of this equation will be the ratio of direction cosines of both the lines. I am unable to proceed further from there.



Formula for angle is as follows:
Cos ($theta$) = $l_1l_2+m_1m_2+n_1n_2$
where $l_1,m_1,n_1$ are direction cosines of first line and $l_2,m_2,n_2$ are direction cosines of second line










share|cite|improve this question











$endgroup$




Find the angle between the lines whose direction cosines $l$, $m$ & $n$ are linked by the following two equations.



$$l+m+n=0$$
$$mn/(q-r)+nl/(r-p)+lm/(p-q)=0$$



Where $p$, $q$ and $r$ are constants.



Answer given is $pi/3$



I have been trying to solve this for past hour. I have tried eliminating n from both equations and converting the second equation into a quadratic equation with variable l/m. Now the two roots of this equation will be the ratio of direction cosines of both the lines. I am unable to proceed further from there.



Formula for angle is as follows:
Cos ($theta$) = $l_1l_2+m_1m_2+n_1n_2$
where $l_1,m_1,n_1$ are direction cosines of first line and $l_2,m_2,n_2$ are direction cosines of second line







geometry






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 19 '18 at 7:19









bubba

30.3k33086




30.3k33086










asked Dec 19 '18 at 6:52









Sai TejaSai Teja

286




286












  • $begingroup$
    Use $l^2+m^2+n^2=1$.
    $endgroup$
    – Jaideep Khare
    Dec 19 '18 at 6:56










  • $begingroup$
    Are $(p,q,r)$ the direction cosines of the second line??
    $endgroup$
    – bubba
    Dec 19 '18 at 7:02










  • $begingroup$
    I have tried to use thus identity but I am unable to get the solution.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:02










  • $begingroup$
    p, q and r are constants.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:03










  • $begingroup$
    OK. There are two lines. What symbols denote the direction cosines of the second one?
    $endgroup$
    – bubba
    Dec 19 '18 at 7:04




















  • $begingroup$
    Use $l^2+m^2+n^2=1$.
    $endgroup$
    – Jaideep Khare
    Dec 19 '18 at 6:56










  • $begingroup$
    Are $(p,q,r)$ the direction cosines of the second line??
    $endgroup$
    – bubba
    Dec 19 '18 at 7:02










  • $begingroup$
    I have tried to use thus identity but I am unable to get the solution.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:02










  • $begingroup$
    p, q and r are constants.
    $endgroup$
    – Sai Teja
    Dec 19 '18 at 7:03










  • $begingroup$
    OK. There are two lines. What symbols denote the direction cosines of the second one?
    $endgroup$
    – bubba
    Dec 19 '18 at 7:04


















$begingroup$
Use $l^2+m^2+n^2=1$.
$endgroup$
– Jaideep Khare
Dec 19 '18 at 6:56




$begingroup$
Use $l^2+m^2+n^2=1$.
$endgroup$
– Jaideep Khare
Dec 19 '18 at 6:56












$begingroup$
Are $(p,q,r)$ the direction cosines of the second line??
$endgroup$
– bubba
Dec 19 '18 at 7:02




$begingroup$
Are $(p,q,r)$ the direction cosines of the second line??
$endgroup$
– bubba
Dec 19 '18 at 7:02












$begingroup$
I have tried to use thus identity but I am unable to get the solution.
$endgroup$
– Sai Teja
Dec 19 '18 at 7:02




$begingroup$
I have tried to use thus identity but I am unable to get the solution.
$endgroup$
– Sai Teja
Dec 19 '18 at 7:02












$begingroup$
p, q and r are constants.
$endgroup$
– Sai Teja
Dec 19 '18 at 7:03




$begingroup$
p, q and r are constants.
$endgroup$
– Sai Teja
Dec 19 '18 at 7:03












$begingroup$
OK. There are two lines. What symbols denote the direction cosines of the second one?
$endgroup$
– bubba
Dec 19 '18 at 7:04






$begingroup$
OK. There are two lines. What symbols denote the direction cosines of the second one?
$endgroup$
– bubba
Dec 19 '18 at 7:04












2 Answers
2






active

oldest

votes


















2












$begingroup$

First note that $l,m,nne0$. This is because, say, if $l=0$, we will have $m+n=0,mn=0therefore l^2+m^2+n^2=0ne1$.



Now, the angle between the vectors whose direction cosines $(l_1,m_1,n_1),(l_2,m_2,n_2)$ are given by the equations is equal to the angle between the vectors $(1,m_1/l_1,n_1/l_1)equiv(1,x_1,y_1),(1,m_2/l_2,n_2/l_2)equiv(1,x_2,y_2)$, provided $l_1l_2>0$.



$$displaystylecostheta=frac{l_1l_2+m_1m_2+n_1n_2}{sqrt{l_1^2+m_1^2+n_1^2}sqrt{l_1^2+m_1^2+n_1^2}}=frac{l_1l_2}{|l_1l_2|}cdotfrac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}$$



Divide $l+m+n=0$ by $l$,$$1+x+y=0$$



Instead of juggling $3$ constants $p,q,r$, take $q-r=A,r-p=B$ and divide $displaystylefrac{mn}A+frac{nl}B-frac{lm}{A+B}=0$ by $l^2$,$$displaystylefrac{xy}A+frac yB-frac x{A+B}=0$$



Eliminate $y$ to get,



$$displaystylefrac{x^2}A+xBig(frac1A+frac1B+frac1{A+B}Big)+frac1B=0$$



Sum of roots,$$displaystyle x_1+x_2=-ABig[frac1B+frac1{A+B}Big]-1$$



Product of roots,$$displaystyle x_1x_2=frac AB$$



$displaystyle1+x_1x_2+y_1y_2=1+x_1x_2+(1+x_1)(1+x_2)=2+x_1+x_2+2x_1x_2=frac{A^2+AB+B^2}{B(A+B)}$



$(1+x_1^2+y_1^2)(1+x_2^2+y_2^2)\=(1+x_1^2+(1+x_1)^2)(1+x_2^2+(1+x_2)^2)\=4(x_1^2+x_1+1)(x_2^2+x_2+1)$



Substitute for $x_1^2,x_2^2$ from the quadratic equation,



$=4Big[1-frac AB-Ax_1Big(frac1B+frac1{A+B}Big)Big]Big[1-frac AB-Ax_2Big(frac1B+frac1{A+B}Big)Big]\=4Big[Big(1-frac ABBig)^2-ABig(1-frac ABBig)Big(frac1B+frac1{A+B}Big)[x_1+x_2]+A^2Big(frac1B+frac1{A+B}Big)^2x_1x_2Big]\=frac4{B^2(A+B)^2}Big[(B-A)^2(B+A)^2+frac AB(B-A)(A+2B)(A^2+3AB+B^2)+frac{A^3}B(A+2B)^2Big]$



We have $3$ terms in the sums. I simplified the last $2$ terms first because they have more in common.



$displaystyle=frac{4[A^2+B^2+AB]^2}{B^2(A+B)^2}$



We get $displaystylecostheta=frac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}=pm1/2thereforetheta=pi/3,2pi/3$.



In any case, since we are talking about lines which extend in both directions indefinitely and not vectors, the angle between them is often stated as the acute angle between them, given by $pi/3$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Well done. (+1). I hope the OP appreciates all this effort.
    $endgroup$
    – bubba
    Dec 20 '18 at 1:56










  • $begingroup$
    This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
    $endgroup$
    – Sai Teja
    Jan 21 at 8:05



















0












$begingroup$

A clarification of the question, and some steps towards a solution:



Suppose the direction cosines of the two lines are $(l_1,m_1,n_1)$ and $(l_2,m_2,n_2)$. We are told (I think) that



begin{aligned}
&l_1 + m_1 + n_1 = 0 quad ; quad m_1n_1/(q-r)+n_1l_1/(r-p)+l_1m_1/(p-q)=0 \
&l_2 + m_2 + n_2 = 0 quad ; quad m_2n_2/(q-r)+n_2l_2/(r-p)+l_2m_2/(p-q)=0 \
end{aligned}



where $p,q,r$ are constants. Of course, we also know that



begin{aligned}
&l_1^2 + m_1^2 + n_1^2 = 1 \
&l_2^2 + m_2^2 + n_2^2 = 1
end{aligned}



From these 6 equations, we need to deduce that $l_1l_2 + m_1m_2 + n_1n_2 = tfrac12$.



I was not successful in doing this. Brute force algebra is too laborious, and there is probably some clever shortcut that I'm not able to see.






share|cite|improve this answer









$endgroup$













    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3046106%2fangle-between-lines-whose-direction-cosines-are-related-by-given-equations%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2












    $begingroup$

    First note that $l,m,nne0$. This is because, say, if $l=0$, we will have $m+n=0,mn=0therefore l^2+m^2+n^2=0ne1$.



    Now, the angle between the vectors whose direction cosines $(l_1,m_1,n_1),(l_2,m_2,n_2)$ are given by the equations is equal to the angle between the vectors $(1,m_1/l_1,n_1/l_1)equiv(1,x_1,y_1),(1,m_2/l_2,n_2/l_2)equiv(1,x_2,y_2)$, provided $l_1l_2>0$.



    $$displaystylecostheta=frac{l_1l_2+m_1m_2+n_1n_2}{sqrt{l_1^2+m_1^2+n_1^2}sqrt{l_1^2+m_1^2+n_1^2}}=frac{l_1l_2}{|l_1l_2|}cdotfrac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}$$



    Divide $l+m+n=0$ by $l$,$$1+x+y=0$$



    Instead of juggling $3$ constants $p,q,r$, take $q-r=A,r-p=B$ and divide $displaystylefrac{mn}A+frac{nl}B-frac{lm}{A+B}=0$ by $l^2$,$$displaystylefrac{xy}A+frac yB-frac x{A+B}=0$$



    Eliminate $y$ to get,



    $$displaystylefrac{x^2}A+xBig(frac1A+frac1B+frac1{A+B}Big)+frac1B=0$$



    Sum of roots,$$displaystyle x_1+x_2=-ABig[frac1B+frac1{A+B}Big]-1$$



    Product of roots,$$displaystyle x_1x_2=frac AB$$



    $displaystyle1+x_1x_2+y_1y_2=1+x_1x_2+(1+x_1)(1+x_2)=2+x_1+x_2+2x_1x_2=frac{A^2+AB+B^2}{B(A+B)}$



    $(1+x_1^2+y_1^2)(1+x_2^2+y_2^2)\=(1+x_1^2+(1+x_1)^2)(1+x_2^2+(1+x_2)^2)\=4(x_1^2+x_1+1)(x_2^2+x_2+1)$



    Substitute for $x_1^2,x_2^2$ from the quadratic equation,



    $=4Big[1-frac AB-Ax_1Big(frac1B+frac1{A+B}Big)Big]Big[1-frac AB-Ax_2Big(frac1B+frac1{A+B}Big)Big]\=4Big[Big(1-frac ABBig)^2-ABig(1-frac ABBig)Big(frac1B+frac1{A+B}Big)[x_1+x_2]+A^2Big(frac1B+frac1{A+B}Big)^2x_1x_2Big]\=frac4{B^2(A+B)^2}Big[(B-A)^2(B+A)^2+frac AB(B-A)(A+2B)(A^2+3AB+B^2)+frac{A^3}B(A+2B)^2Big]$



    We have $3$ terms in the sums. I simplified the last $2$ terms first because they have more in common.



    $displaystyle=frac{4[A^2+B^2+AB]^2}{B^2(A+B)^2}$



    We get $displaystylecostheta=frac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}=pm1/2thereforetheta=pi/3,2pi/3$.



    In any case, since we are talking about lines which extend in both directions indefinitely and not vectors, the angle between them is often stated as the acute angle between them, given by $pi/3$.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      Well done. (+1). I hope the OP appreciates all this effort.
      $endgroup$
      – bubba
      Dec 20 '18 at 1:56










    • $begingroup$
      This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
      $endgroup$
      – Sai Teja
      Jan 21 at 8:05
















    2












    $begingroup$

    First note that $l,m,nne0$. This is because, say, if $l=0$, we will have $m+n=0,mn=0therefore l^2+m^2+n^2=0ne1$.



    Now, the angle between the vectors whose direction cosines $(l_1,m_1,n_1),(l_2,m_2,n_2)$ are given by the equations is equal to the angle between the vectors $(1,m_1/l_1,n_1/l_1)equiv(1,x_1,y_1),(1,m_2/l_2,n_2/l_2)equiv(1,x_2,y_2)$, provided $l_1l_2>0$.



    $$displaystylecostheta=frac{l_1l_2+m_1m_2+n_1n_2}{sqrt{l_1^2+m_1^2+n_1^2}sqrt{l_1^2+m_1^2+n_1^2}}=frac{l_1l_2}{|l_1l_2|}cdotfrac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}$$



    Divide $l+m+n=0$ by $l$,$$1+x+y=0$$



    Instead of juggling $3$ constants $p,q,r$, take $q-r=A,r-p=B$ and divide $displaystylefrac{mn}A+frac{nl}B-frac{lm}{A+B}=0$ by $l^2$,$$displaystylefrac{xy}A+frac yB-frac x{A+B}=0$$



    Eliminate $y$ to get,



    $$displaystylefrac{x^2}A+xBig(frac1A+frac1B+frac1{A+B}Big)+frac1B=0$$



    Sum of roots,$$displaystyle x_1+x_2=-ABig[frac1B+frac1{A+B}Big]-1$$



    Product of roots,$$displaystyle x_1x_2=frac AB$$



    $displaystyle1+x_1x_2+y_1y_2=1+x_1x_2+(1+x_1)(1+x_2)=2+x_1+x_2+2x_1x_2=frac{A^2+AB+B^2}{B(A+B)}$



    $(1+x_1^2+y_1^2)(1+x_2^2+y_2^2)\=(1+x_1^2+(1+x_1)^2)(1+x_2^2+(1+x_2)^2)\=4(x_1^2+x_1+1)(x_2^2+x_2+1)$



    Substitute for $x_1^2,x_2^2$ from the quadratic equation,



    $=4Big[1-frac AB-Ax_1Big(frac1B+frac1{A+B}Big)Big]Big[1-frac AB-Ax_2Big(frac1B+frac1{A+B}Big)Big]\=4Big[Big(1-frac ABBig)^2-ABig(1-frac ABBig)Big(frac1B+frac1{A+B}Big)[x_1+x_2]+A^2Big(frac1B+frac1{A+B}Big)^2x_1x_2Big]\=frac4{B^2(A+B)^2}Big[(B-A)^2(B+A)^2+frac AB(B-A)(A+2B)(A^2+3AB+B^2)+frac{A^3}B(A+2B)^2Big]$



    We have $3$ terms in the sums. I simplified the last $2$ terms first because they have more in common.



    $displaystyle=frac{4[A^2+B^2+AB]^2}{B^2(A+B)^2}$



    We get $displaystylecostheta=frac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}=pm1/2thereforetheta=pi/3,2pi/3$.



    In any case, since we are talking about lines which extend in both directions indefinitely and not vectors, the angle between them is often stated as the acute angle between them, given by $pi/3$.






    share|cite|improve this answer











    $endgroup$













    • $begingroup$
      Well done. (+1). I hope the OP appreciates all this effort.
      $endgroup$
      – bubba
      Dec 20 '18 at 1:56










    • $begingroup$
      This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
      $endgroup$
      – Sai Teja
      Jan 21 at 8:05














    2












    2








    2





    $begingroup$

    First note that $l,m,nne0$. This is because, say, if $l=0$, we will have $m+n=0,mn=0therefore l^2+m^2+n^2=0ne1$.



    Now, the angle between the vectors whose direction cosines $(l_1,m_1,n_1),(l_2,m_2,n_2)$ are given by the equations is equal to the angle between the vectors $(1,m_1/l_1,n_1/l_1)equiv(1,x_1,y_1),(1,m_2/l_2,n_2/l_2)equiv(1,x_2,y_2)$, provided $l_1l_2>0$.



    $$displaystylecostheta=frac{l_1l_2+m_1m_2+n_1n_2}{sqrt{l_1^2+m_1^2+n_1^2}sqrt{l_1^2+m_1^2+n_1^2}}=frac{l_1l_2}{|l_1l_2|}cdotfrac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}$$



    Divide $l+m+n=0$ by $l$,$$1+x+y=0$$



    Instead of juggling $3$ constants $p,q,r$, take $q-r=A,r-p=B$ and divide $displaystylefrac{mn}A+frac{nl}B-frac{lm}{A+B}=0$ by $l^2$,$$displaystylefrac{xy}A+frac yB-frac x{A+B}=0$$



    Eliminate $y$ to get,



    $$displaystylefrac{x^2}A+xBig(frac1A+frac1B+frac1{A+B}Big)+frac1B=0$$



    Sum of roots,$$displaystyle x_1+x_2=-ABig[frac1B+frac1{A+B}Big]-1$$



    Product of roots,$$displaystyle x_1x_2=frac AB$$



    $displaystyle1+x_1x_2+y_1y_2=1+x_1x_2+(1+x_1)(1+x_2)=2+x_1+x_2+2x_1x_2=frac{A^2+AB+B^2}{B(A+B)}$



    $(1+x_1^2+y_1^2)(1+x_2^2+y_2^2)\=(1+x_1^2+(1+x_1)^2)(1+x_2^2+(1+x_2)^2)\=4(x_1^2+x_1+1)(x_2^2+x_2+1)$



    Substitute for $x_1^2,x_2^2$ from the quadratic equation,



    $=4Big[1-frac AB-Ax_1Big(frac1B+frac1{A+B}Big)Big]Big[1-frac AB-Ax_2Big(frac1B+frac1{A+B}Big)Big]\=4Big[Big(1-frac ABBig)^2-ABig(1-frac ABBig)Big(frac1B+frac1{A+B}Big)[x_1+x_2]+A^2Big(frac1B+frac1{A+B}Big)^2x_1x_2Big]\=frac4{B^2(A+B)^2}Big[(B-A)^2(B+A)^2+frac AB(B-A)(A+2B)(A^2+3AB+B^2)+frac{A^3}B(A+2B)^2Big]$



    We have $3$ terms in the sums. I simplified the last $2$ terms first because they have more in common.



    $displaystyle=frac{4[A^2+B^2+AB]^2}{B^2(A+B)^2}$



    We get $displaystylecostheta=frac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}=pm1/2thereforetheta=pi/3,2pi/3$.



    In any case, since we are talking about lines which extend in both directions indefinitely and not vectors, the angle between them is often stated as the acute angle between them, given by $pi/3$.






    share|cite|improve this answer











    $endgroup$



    First note that $l,m,nne0$. This is because, say, if $l=0$, we will have $m+n=0,mn=0therefore l^2+m^2+n^2=0ne1$.



    Now, the angle between the vectors whose direction cosines $(l_1,m_1,n_1),(l_2,m_2,n_2)$ are given by the equations is equal to the angle between the vectors $(1,m_1/l_1,n_1/l_1)equiv(1,x_1,y_1),(1,m_2/l_2,n_2/l_2)equiv(1,x_2,y_2)$, provided $l_1l_2>0$.



    $$displaystylecostheta=frac{l_1l_2+m_1m_2+n_1n_2}{sqrt{l_1^2+m_1^2+n_1^2}sqrt{l_1^2+m_1^2+n_1^2}}=frac{l_1l_2}{|l_1l_2|}cdotfrac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}$$



    Divide $l+m+n=0$ by $l$,$$1+x+y=0$$



    Instead of juggling $3$ constants $p,q,r$, take $q-r=A,r-p=B$ and divide $displaystylefrac{mn}A+frac{nl}B-frac{lm}{A+B}=0$ by $l^2$,$$displaystylefrac{xy}A+frac yB-frac x{A+B}=0$$



    Eliminate $y$ to get,



    $$displaystylefrac{x^2}A+xBig(frac1A+frac1B+frac1{A+B}Big)+frac1B=0$$



    Sum of roots,$$displaystyle x_1+x_2=-ABig[frac1B+frac1{A+B}Big]-1$$



    Product of roots,$$displaystyle x_1x_2=frac AB$$



    $displaystyle1+x_1x_2+y_1y_2=1+x_1x_2+(1+x_1)(1+x_2)=2+x_1+x_2+2x_1x_2=frac{A^2+AB+B^2}{B(A+B)}$



    $(1+x_1^2+y_1^2)(1+x_2^2+y_2^2)\=(1+x_1^2+(1+x_1)^2)(1+x_2^2+(1+x_2)^2)\=4(x_1^2+x_1+1)(x_2^2+x_2+1)$



    Substitute for $x_1^2,x_2^2$ from the quadratic equation,



    $=4Big[1-frac AB-Ax_1Big(frac1B+frac1{A+B}Big)Big]Big[1-frac AB-Ax_2Big(frac1B+frac1{A+B}Big)Big]\=4Big[Big(1-frac ABBig)^2-ABig(1-frac ABBig)Big(frac1B+frac1{A+B}Big)[x_1+x_2]+A^2Big(frac1B+frac1{A+B}Big)^2x_1x_2Big]\=frac4{B^2(A+B)^2}Big[(B-A)^2(B+A)^2+frac AB(B-A)(A+2B)(A^2+3AB+B^2)+frac{A^3}B(A+2B)^2Big]$



    We have $3$ terms in the sums. I simplified the last $2$ terms first because they have more in common.



    $displaystyle=frac{4[A^2+B^2+AB]^2}{B^2(A+B)^2}$



    We get $displaystylecostheta=frac{1+x_1x_2+y_1y_2}{sqrt{1+x_1^2+y_1^2}sqrt{1+x_2^2+y_2^2}}=pm1/2thereforetheta=pi/3,2pi/3$.



    In any case, since we are talking about lines which extend in both directions indefinitely and not vectors, the angle between them is often stated as the acute angle between them, given by $pi/3$.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Dec 19 '18 at 10:44

























    answered Dec 19 '18 at 10:33









    Shubham JohriShubham Johri

    4,992717




    4,992717












    • $begingroup$
      Well done. (+1). I hope the OP appreciates all this effort.
      $endgroup$
      – bubba
      Dec 20 '18 at 1:56










    • $begingroup$
      This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
      $endgroup$
      – Sai Teja
      Jan 21 at 8:05


















    • $begingroup$
      Well done. (+1). I hope the OP appreciates all this effort.
      $endgroup$
      – bubba
      Dec 20 '18 at 1:56










    • $begingroup$
      This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
      $endgroup$
      – Sai Teja
      Jan 21 at 8:05
















    $begingroup$
    Well done. (+1). I hope the OP appreciates all this effort.
    $endgroup$
    – bubba
    Dec 20 '18 at 1:56




    $begingroup$
    Well done. (+1). I hope the OP appreciates all this effort.
    $endgroup$
    – bubba
    Dec 20 '18 at 1:56












    $begingroup$
    This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
    $endgroup$
    – Sai Teja
    Jan 21 at 8:05




    $begingroup$
    This is exactly what I was looking for. Thank you for the answer Shubham. Really appreciate it.
    $endgroup$
    – Sai Teja
    Jan 21 at 8:05











    0












    $begingroup$

    A clarification of the question, and some steps towards a solution:



    Suppose the direction cosines of the two lines are $(l_1,m_1,n_1)$ and $(l_2,m_2,n_2)$. We are told (I think) that



    begin{aligned}
    &l_1 + m_1 + n_1 = 0 quad ; quad m_1n_1/(q-r)+n_1l_1/(r-p)+l_1m_1/(p-q)=0 \
    &l_2 + m_2 + n_2 = 0 quad ; quad m_2n_2/(q-r)+n_2l_2/(r-p)+l_2m_2/(p-q)=0 \
    end{aligned}



    where $p,q,r$ are constants. Of course, we also know that



    begin{aligned}
    &l_1^2 + m_1^2 + n_1^2 = 1 \
    &l_2^2 + m_2^2 + n_2^2 = 1
    end{aligned}



    From these 6 equations, we need to deduce that $l_1l_2 + m_1m_2 + n_1n_2 = tfrac12$.



    I was not successful in doing this. Brute force algebra is too laborious, and there is probably some clever shortcut that I'm not able to see.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      A clarification of the question, and some steps towards a solution:



      Suppose the direction cosines of the two lines are $(l_1,m_1,n_1)$ and $(l_2,m_2,n_2)$. We are told (I think) that



      begin{aligned}
      &l_1 + m_1 + n_1 = 0 quad ; quad m_1n_1/(q-r)+n_1l_1/(r-p)+l_1m_1/(p-q)=0 \
      &l_2 + m_2 + n_2 = 0 quad ; quad m_2n_2/(q-r)+n_2l_2/(r-p)+l_2m_2/(p-q)=0 \
      end{aligned}



      where $p,q,r$ are constants. Of course, we also know that



      begin{aligned}
      &l_1^2 + m_1^2 + n_1^2 = 1 \
      &l_2^2 + m_2^2 + n_2^2 = 1
      end{aligned}



      From these 6 equations, we need to deduce that $l_1l_2 + m_1m_2 + n_1n_2 = tfrac12$.



      I was not successful in doing this. Brute force algebra is too laborious, and there is probably some clever shortcut that I'm not able to see.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        A clarification of the question, and some steps towards a solution:



        Suppose the direction cosines of the two lines are $(l_1,m_1,n_1)$ and $(l_2,m_2,n_2)$. We are told (I think) that



        begin{aligned}
        &l_1 + m_1 + n_1 = 0 quad ; quad m_1n_1/(q-r)+n_1l_1/(r-p)+l_1m_1/(p-q)=0 \
        &l_2 + m_2 + n_2 = 0 quad ; quad m_2n_2/(q-r)+n_2l_2/(r-p)+l_2m_2/(p-q)=0 \
        end{aligned}



        where $p,q,r$ are constants. Of course, we also know that



        begin{aligned}
        &l_1^2 + m_1^2 + n_1^2 = 1 \
        &l_2^2 + m_2^2 + n_2^2 = 1
        end{aligned}



        From these 6 equations, we need to deduce that $l_1l_2 + m_1m_2 + n_1n_2 = tfrac12$.



        I was not successful in doing this. Brute force algebra is too laborious, and there is probably some clever shortcut that I'm not able to see.






        share|cite|improve this answer









        $endgroup$



        A clarification of the question, and some steps towards a solution:



        Suppose the direction cosines of the two lines are $(l_1,m_1,n_1)$ and $(l_2,m_2,n_2)$. We are told (I think) that



        begin{aligned}
        &l_1 + m_1 + n_1 = 0 quad ; quad m_1n_1/(q-r)+n_1l_1/(r-p)+l_1m_1/(p-q)=0 \
        &l_2 + m_2 + n_2 = 0 quad ; quad m_2n_2/(q-r)+n_2l_2/(r-p)+l_2m_2/(p-q)=0 \
        end{aligned}



        where $p,q,r$ are constants. Of course, we also know that



        begin{aligned}
        &l_1^2 + m_1^2 + n_1^2 = 1 \
        &l_2^2 + m_2^2 + n_2^2 = 1
        end{aligned}



        From these 6 equations, we need to deduce that $l_1l_2 + m_1m_2 + n_1n_2 = tfrac12$.



        I was not successful in doing this. Brute force algebra is too laborious, and there is probably some clever shortcut that I'm not able to see.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 19 '18 at 8:15









        bubbabubba

        30.3k33086




        30.3k33086






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3046106%2fangle-between-lines-whose-direction-cosines-are-related-by-given-equations%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            Bressuire

            Cabo Verde

            Gyllenstierna