Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You'll need to consider three cases:</p> <ul> <li>Plane is parallel to line, and line does not lie in plane (no intersection)</li> <li>Plane is not parallel to line (one point of intersection)</li> <li>Plane contains the line (line intersects at every point on it)</li> </ul> <p>You can express the line in paramaterized form, like here:</p> <p><a href="http://answers.yahoo.com/question/index?qid=20080830195656AA3aEBr">http://answers.yahoo.com/question/index?qid=20080830195656AA3aEBr</a></p> <p>The first few pages of this lecture do the same for the plane:</p> <p><a href="http://math.mit.edu/classes/18.02/notes/lecture5compl-09.pdf">http://math.mit.edu/classes/18.02/notes/lecture5compl-09.pdf</a></p> <p>If the normal to the plane is perpendicular to the direction along the line, then you have an edge case and need to see whether it intersects at all, or lies within the plane.</p> <p>Otherwise, you have one point of intersection, and can solve for it.</p> <p>I know this isn't code but to get a robust solution you'll probably want to put this in the context of your application.</p> <p><strong>EDIT:</strong> Here's an example for which there's exactly one point of intersection. Say you start with the parameterized equations in the first link:</p> <pre><code>x = 5 - 13t y = 5 - 11t z = 5 - 8t </code></pre> <p>The parameter <code>t</code> can be anything. The (infinite) set of all <code>(x, y, z)</code> that satisfy these equations comprise the line. Then, if you have the equation for a plane, say:</p> <pre><code>x + 2y + 2z = 5 </code></pre> <p>(taken from <a href="http://www.math.washington.edu/~king/coursedir/m445w04/notes/vector/equations.html">here</a>) you can substitute the equations for <code>x</code>, <code>y</code>, and <code>z</code> above into the equation for the plane, which is now in only the parameter <code>t</code>. Solve for <code>t</code>. This is the particular value of <code>t</code> for that line that lies in the plane. Then you can solve for <code>x</code>, <code>y</code>, and <code>z</code> by going back up to the line equations and substituting <code>t</code> back in.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload