<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Planet Genius</title>
	<atom:link href="http://involution.com/2006/12/30/planet-genius/feed/" rel="self" type="application/rss+xml" />
	<link>http://involution.com/2006/12/30/planet-genius/</link>
	<description>Tony Perrie&#039;s Weblog</description>
	<lastBuildDate>Sun, 15 Jan 2012 20:31:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: fff</title>
		<link>http://involution.com/2006/12/30/planet-genius/comment-page-1/#comment-5073</link>
		<dc:creator>fff</dc:creator>
		<pubDate>Wed, 03 Jan 2007 01:19:12 +0000</pubDate>
		<guid isPermaLink="false">http://involution.com/2006/12/30/planet-genius/#comment-5073</guid>
		<description>This is in response to an article written in 2002 about finding the point on a line  in 3 space closest to the origin.
There is an easier way to get the solution without calculus. If &quot;p&quot; is the point on the line closest to the origin then the vector from the origin to p  must be perpendicular to the direction vector , q = q1-q0 on the line.

Let q0 = (1,2,3) , q1 = (3,5,7) , and  q = q1-q0 = (2,3,4)

then since p is on  the line we must have:

p = q0 + q*t for some scalar t

and since p must be perpendicular to q we have:

p . q = 0

Substituting first equation for p in second equation gives

(q0+q*t) . q = 0

Solving for t gives:

t = (- q0 . q) / &#124;&#124;q&#124;&#124;^2 =
   - (1,2,3) . (2,3,4) / &#124;&#124;(2,3,4)&#124;&#124;^2 = 
  -20/29

so p = q0 - 20q/29 as in your solution.</description>
		<content:encoded><![CDATA[<p>This is in response to an article written in 2002 about finding the point on a line  in 3 space closest to the origin.<br />
There is an easier way to get the solution without calculus. If &#8220;p&#8221; is the point on the line closest to the origin then the vector from the origin to p  must be perpendicular to the direction vector , q = q1-q0 on the line.</p>
<p>Let q0 = (1,2,3) , q1 = (3,5,7) , and  q = q1-q0 = (2,3,4)</p>
<p>then since p is on  the line we must have:</p>
<p>p = q0 + q*t for some scalar t</p>
<p>and since p must be perpendicular to q we have:</p>
<p>p . q = 0</p>
<p>Substituting first equation for p in second equation gives</p>
<p>(q0+q*t) . q = 0</p>
<p>Solving for t gives:</p>
<p>t = (- q0 . q) / ||q||^2 =<br />
   &#8211; (1,2,3) . (2,3,4) / ||(2,3,4)||^2 =<br />
  -20/29</p>
<p>so p = q0 &#8211; 20q/29 as in your solution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

