<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>distance &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/distance/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Thu, 08 Feb 2018 05:52:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.4</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>distance &#8211; Problems in Mathematics</title>
	<link>https://yutsumura.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114989322</site>	<item>
		<title>Dot Product, Lengths, and Distances of Complex Vectors</title>
		<link>https://yutsumura.com/dot-product-lengths-and-distances-of-complex-vectors/</link>
				<comments>https://yutsumura.com/dot-product-lengths-and-distances-of-complex-vectors/#respond</comments>
				<pubDate>Thu, 08 Feb 2018 05:52:55 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[complex vector]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[dot product]]></category>
		<category><![CDATA[imaginary number]]></category>
		<category><![CDATA[length of a vector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[orthogonal vectors]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6836</guid>
				<description><![CDATA[<p>For this problem, use the complex vectors \[ \mathbf{w}_1 = \begin{bmatrix} 1 + i \\ 1 &#8211; i \\ 0 \end{bmatrix} , \, \mathbf{w}_2 = \begin{bmatrix} -i \\ 0 \\ 2 &#8211; i \end{bmatrix}&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/dot-product-lengths-and-distances-of-complex-vectors/" target="_blank">Dot Product, Lengths, and Distances of Complex Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 689</h2>
<p>For this problem, use the complex vectors<br />
\[ \mathbf{w}_1 = \begin{bmatrix} 1 + i \\ 1 &#8211; i \\ 0 \end{bmatrix} , \, \mathbf{w}_2 = \begin{bmatrix} -i \\ 0 \\ 2 &#8211; i \end{bmatrix} , \, \mathbf{w}_3 = \begin{bmatrix} 2+i \\ 1 &#8211; 3i \\ 2i \end{bmatrix} . \]
<p>Suppose $\mathbf{w}_4$ is another complex vector which is orthogonal to both $\mathbf{w}_2$ and $\mathbf{w}_3$, and satisfies $\mathbf{w}_1 \cdot \mathbf{w}_4 = 2i$ and $\| \mathbf{w}_4 \| = 3$.</p>
<p>Calculate the following expressions:</p>
<p><strong>(a)</strong> $ \mathbf{w}_1 \cdot \mathbf{w}_2 $. </p>
<p><strong>(b)</strong> $ \mathbf{w}_1 \cdot \mathbf{w}_3 $. </p>
<p><strong>(c)</strong> $((2+i)\mathbf{w}_1 &#8211; (1+i)\mathbf{w}_2 ) \cdot \mathbf{w}_4$.</p>
<p><strong>(d)</strong> $\| \mathbf{w}_1 \| , \| \mathbf{w}_2 \|$, and $\| \mathbf{w}_3 \|$.</p>
<p><strong>(e)</strong> $\| 3 \mathbf{w}_4 \|$.</p>
<p><strong>(f)</strong> What is the distance between $\mathbf{w}_2$ and $\mathbf{w}_3$?</p>
<p>&nbsp;<br />
<span id="more-6836"></span><br />

<h2>Solution.</h2>
<h3>(a) $ \mathbf{w}_1 \cdot \mathbf{w}_2 $. </h3>
<p>\[ \mathbf{w}_1 \cdot \mathbf{w}_2 = \begin{bmatrix} 1+i &#038; 1-i &#038; 0 \end{bmatrix} \begin{bmatrix} -i \\ 0 \\ 2-i \end{bmatrix} = (1+i)(-i) + 0 + 0 = 1 &#8211; i . \]
<h3>(b) $ \mathbf{w}_1 \cdot \mathbf{w}_3 $. </h3>
<p>\begin{align*} \mathbf{w}_1 \cdot \mathbf{w}_3 &#038;= \begin{bmatrix} 1+i &#038; 1-i &#038; 0 \end{bmatrix} \begin{bmatrix} 2+i \\ 1-3i \\ 2i \end{bmatrix} \\ &#038;= (1+i)(2+i) + (1-i)(1-3i) + 0 \\ &#038;= (1 + 3i) + (-2 &#8211; 4i) \\ &#038;= -1 &#8211; i . \end{align*}</p>
<h3>(c) $((2+i)\mathbf{w}_1 &#8211; (1+i)\mathbf{w}_2 ) \cdot \mathbf{w}_4$.</h3>
<p>\begin{align*} ((2+i)\mathbf{w}_1 &#8211; (1+i)\mathbf{w}_2 ) \cdot \mathbf{w}_4 &#038;= (2+i)( \mathbf{w}_1 \cdot \mathbf{w}_4) &#8211; (1+i) ( \mathbf{w}_2 \cdot \mathbf{w}_4 ) \\<br />
&#038;= (2+i) ( 2i ) &#8211; (1+i)(0) \\<br />
&#038;= -2 + 4i \end{align*}</p>
<p>Note that $\mathbf{w}_2 \cdot \mathbf{w}_4=0$ because these vectors are orthogonal.</p>
<h3>(d) $\| \mathbf{w}_1 \| , \| \mathbf{w}_2 \|$, and $\| \mathbf{w}_3 \|$.</h3>
<p>For an arbitrary complex vector $\mathbf{v}$, its length is defined to be<br />
\[ \| \mathbf{v} \| = \sqrt{ \overline{\mathbf{v}}^\trans \mathbf{v} } . \]
<p>Thus,<br />
\[ \| \mathbf{w}_1 \| \, = \, \sqrt{ (1-i)(1+i) + (1+i)(1-i) + 0 } = \sqrt{ 2 + 2} = \sqrt{4} , \]
\[ \| \mathbf{w}_2 \| \, = \, \sqrt{ (i)(-i) + 0 + (2+i)(2-i) } = \sqrt{1 + 5} = \sqrt{6} , \]
\[ \| \mathbf{w}_3 \| \, = \, \sqrt{ (2-i)(2+i) + (1+3i)(1-3i) + (-2i)(2i) } = \sqrt{ 5 + 10 + 4} = \sqrt{19} . \]
<h3>(e) $\| 3 \mathbf{w}_4 \|$.</h3>
<p>$ \| 3 \mathbf{w}_4 \| = 3 \| \mathbf{w}_4 \|  = 3\cdot 3=9 $ .</p>
<h3>(f) What is the distance between $\mathbf{w}_2$ and $\mathbf{w}_3$?</h3>
<p>The distance between these vectors is given by $\| \mathbf{w}_2 &#8211; \mathbf{w}_3 \|$.  First we calculate this difference:<br />
\[ \mathbf{w}_2 &#8211; \mathbf{w}_3 \, = \, \begin{bmatrix} -i \\ 0 \\ 2 &#8211; i \end{bmatrix} &#8211; \begin{bmatrix} 2+i \\ 1 &#8211; 3i \\ 2i \end{bmatrix} \, = \, \begin{bmatrix} -2 &#8211; 2i \\ -1 + 3i \\ 2 &#8211; 3i \end{bmatrix} . \]
<p>Now the length of the complex vector is defined to be<br />
	\begin{align*}<br />
	\| \mathbf{w}_2 &#8211; \mathbf{w}_3 \| &#038;= \sqrt{ \left( \overline{ \mathbf{w}_2 &#8211; \mathbf{w}_3 } \right)^{\trans} \left(  \mathbf{w}_2 &#8211; \mathbf{w}_3 \right) } \\[6pt]
	&#038;= \sqrt{ \begin{bmatrix} -2 + 2i &#038; -1 &#8211; 3i &#038; 2 + 3i \end{bmatrix} \begin{bmatrix} -2 &#8211; 2i \\ -1 + 3i \\ 2 &#8211; 3i \end{bmatrix} } \\[6pt]
	&#038;= \sqrt{ (-2+2i)(-2-2i) + (-1-3i)(-1+3i) + (2+3i)(2-3i) } \\[6pt]
	&#038;= \sqrt{ 8 + 10 + 13 } \\[6pt]
	&#038;= \sqrt{ 31} \end{align*}</p>
<button class="simplefavorite-button has-count" data-postid="6836" data-siteid="1" data-groupid="1" data-favoritecount="8" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">8</span></button><p>The post <a href="https://yutsumura.com/dot-product-lengths-and-distances-of-complex-vectors/" target="_blank">Dot Product, Lengths, and Distances of Complex Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/dot-product-lengths-and-distances-of-complex-vectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6836</post-id>	</item>
		<item>
		<title>Inner Products, Lengths, and Distances of 3-Dimensional Real Vectors</title>
		<link>https://yutsumura.com/inner-products-lengths-and-distances-of-3-dimensional-real-vectors/</link>
				<comments>https://yutsumura.com/inner-products-lengths-and-distances-of-3-dimensional-real-vectors/#respond</comments>
				<pubDate>Tue, 06 Feb 2018 04:39:24 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[dot product]]></category>
		<category><![CDATA[inner product]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[length of a vector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[magnitude of a vector]]></category>
		<category><![CDATA[norm of a vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6823</guid>
				<description><![CDATA[<p>For this problem, use the real vectors \[ \mathbf{v}_1 = \begin{bmatrix} -1 \\ 0 \\ 2 \end{bmatrix} , \mathbf{v}_2 = \begin{bmatrix} 0 \\ 2 \\ -3 \end{bmatrix} , \mathbf{v}_3 = \begin{bmatrix} 2 \\ 2&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/inner-products-lengths-and-distances-of-3-dimensional-real-vectors/" target="_blank">Inner Products, Lengths, and Distances of 3-Dimensional Real Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 687</h2>
<p>For this problem, use the real vectors<br />
\[ \mathbf{v}_1 = \begin{bmatrix} -1 \\ 0 \\ 2 \end{bmatrix} , \mathbf{v}_2 = \begin{bmatrix} 0 \\ 2 \\ -3 \end{bmatrix} , \mathbf{v}_3 = \begin{bmatrix} 2 \\ 2 \\ 3 \end{bmatrix} . \]
Suppose that $\mathbf{v}_4$ is another vector which is orthogonal to $\mathbf{v}_1$ and $\mathbf{v}_3$, and satisfying<br />
\[ \mathbf{v}_2 \cdot \mathbf{v}_4 = -3 . \]
<p>Calculate the following expressions:</p>
<p><strong>(a)</strong> $\mathbf{v}_1 \cdot \mathbf{v}_2 $. </p>
<p><strong>(b)</strong> $\mathbf{v}_3 \cdot \mathbf{v}_4$. </p>
<p><strong>(c)</strong> $( 2 \mathbf{v}_1 + 3 \mathbf{v}_2 &#8211; \mathbf{v}_3 ) \cdot \mathbf{v}_4 $.</p>
<p><strong>(d)</strong> $\| \mathbf{v}_1 \| , \, \| \mathbf{v}_2 \| , \, \| \mathbf{v}_3 \| $.</p>
<p><strong>(e)</strong> What is the distance between $\mathbf{v}_1$ and $\mathbf{v}_2$?</p>
<p>&nbsp;<br />
<span id="more-6823"></span><br />

<h2>Solution.</h2>
<h3>(a) $\mathbf{v}_1 \cdot \mathbf{v}_2 $. </h3>
<p>\[ \mathbf{v}_1 \cdot \mathbf{v}_2 = \begin{bmatrix} -1 &#038; 0 &#038; 2 \end{bmatrix} \begin{bmatrix} 0 \\ 2 \\ -3 \end{bmatrix} = -6 . \]
<h3>(b) $\mathbf{v}_3 \cdot \mathbf{v}_4$.</h3>
<p>We are given that $\mathbf{v}_3$ and $\mathbf{v}_4$ are orthogonal vectors, thus<br />
\[ \mathbf{v}_3 \cdot \mathbf{v}_4 = 0 . \]
<h3>(c) $( 2 \mathbf{v}_1 + 3 \mathbf{v}_2 &#8211; \mathbf{v}_3 ) \cdot \mathbf{v}_4 $.</h3>
<p>First, distribute the dot product over the sum:<br />
\[ ( 2 \mathbf{v}_1 + 3 \mathbf{v}_2 &#8211; \mathbf{v}_3 ) \cdot \mathbf{v}_4  = 2 \mathbf{v}_1 \cdot \mathbf{v}_4  + 3 \mathbf{v}_2 \cdot \mathbf{v}_4  &#8211; \mathbf{v}_3 \cdot \mathbf{v}_4  . \]
<p>Next we use the given value for $\mathbf{v}_2 \cdot \mathbf{v}_4$, along with the given facts that $\mathbf{v}_4$ is orthogonal to both $\mathbf{v}_1$ and $\mathbf{v}_3$:<br />
\begin{align*}<br />
&#038;2 \mathbf{v}_1 \cdot \mathbf{v}_4  + 3 \mathbf{v}_2 \cdot \mathbf{v}_4  &#8211; \mathbf{v}_3 \cdot \mathbf{v}_4  \\<br />
&#038;=2\cdot 0 +3 \cdot (-3)-0 =-9.<br />
\end{align*}</p>
<h3>(d) $\| \mathbf{v}_1 \| , \, \| \mathbf{v}_2 \| , \, \| \mathbf{v}_3 \| $.</h3>
<p>The length of a general vector $\mathbf{w}$ is $\|\mathbf{w}\|:=\sqrt{ \mathbf{w}^{\trans} \mathbf{w} }$.  Thus,<br />
\[ \| \mathbf{v}_1 \| \, = \, \sqrt{ (-1)^2+0^2+2^2} \, = \, \sqrt{5} , \]
\[ \| \mathbf{v}_2 \| \, = \, \sqrt{ 0^2+2^2+(-3)^2} \, = \, \sqrt{13} , \]
\[ \| \mathbf{v}_3 \| \, = \, \sqrt{ 2^2+2^2+3^2 } \, = \, \sqrt{17} . \]
<h3>(e) What is the distance between $\mathbf{v}_1$ and $\mathbf{v}_2$?</h3>
<p>The distance between the two vectors is defined to be $ \| \mathbf{v}_1 &#8211; \mathbf{v}_2 \| $.  First we calculate<br />
\[ \mathbf{v}_1 &#8211; \mathbf{v}_2 \, = \, \begin{bmatrix} -1 \\ 0 \\ 2 \end{bmatrix} &#8211; \begin{bmatrix} 0 \\ 2 \\ -3 \end{bmatrix} \, = \, \begin{bmatrix} -1 \\ -2 \\ 5 \end{bmatrix} . \]
<p>Thus,<br />
\[ \| \mathbf{v}_1 &#8211; \mathbf{v}_2 \| = \sqrt{ 1 + 4 + 25 } = \sqrt{30} . \]
<button class="simplefavorite-button has-count" data-postid="6823" data-siteid="1" data-groupid="1" data-favoritecount="18" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">18</span></button><p>The post <a href="https://yutsumura.com/inner-products-lengths-and-distances-of-3-dimensional-real-vectors/" target="_blank">Inner Products, Lengths, and Distances of 3-Dimensional Real Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/inner-products-lengths-and-distances-of-3-dimensional-real-vectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6823</post-id>	</item>
		<item>
		<title>Find the Distance Between Two Vectors if the Lengths and the Dot Product are Given</title>
		<link>https://yutsumura.com/find-the-distance-between-two-vectors-if-the-lengths-and-the-dot-product-are-given/</link>
				<comments>https://yutsumura.com/find-the-distance-between-two-vectors-if-the-lengths-and-the-dot-product-are-given/#respond</comments>
				<pubDate>Fri, 13 Jan 2017 00:45:11 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[dot product]]></category>
		<category><![CDATA[inner product]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[length of a vector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[transpose]]></category>
		<category><![CDATA[transpose matrix]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1920</guid>
				<description><![CDATA[<p>Let $\mathbf{a}$ and $\mathbf{b}$ be vectors in $\R^n$ such that their length are \[\&#124;\mathbf{a}\&#124;=\&#124;\mathbf{b}\&#124;=1\] and the inner product \[\mathbf{a}\cdot \mathbf{b}=\mathbf{a}^{\trans}\mathbf{b}=-\frac{1}{2}.\] Then determine the length $\&#124;\mathbf{a}-\mathbf{b}\&#124;$. (Note that this length is the distance between $\mathbf{a}$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-the-distance-between-two-vectors-if-the-lengths-and-the-dot-product-are-given/" target="_blank">Find the Distance Between Two Vectors if the Lengths and the Dot Product are Given</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 254</h2>
<p>Let $\mathbf{a}$ and $\mathbf{b}$ be vectors in $\R^n$ such that their length are<br />
\[\|\mathbf{a}\|=\|\mathbf{b}\|=1\]
and the inner product<br />
\[\mathbf{a}\cdot \mathbf{b}=\mathbf{a}^{\trans}\mathbf{b}=-\frac{1}{2}.\]
<p>Then determine the length $\|\mathbf{a}-\mathbf{b}\|$.<br />
(Note that this length is the distance between $\mathbf{a}$ and $\mathbf{b}$.)</p>
<p>&nbsp;<br />
<span id="more-1920"></span></p>
<h2>Solution.</h2>
<p>	Recall that the length of a vector $\mathbf{x}$ is defined to be<br />
	\[\|\mathbf{x}\|=\sqrt{\mathbf{x}^{\trans}\mathbf{x}},\]
	where $\mathbf{x}^{\trans}$ is the transpose of $\mathbf{x}$.</p>
<p>	Also, recall that the inner product of two vectors $\mathbf{x}, \mathbf{y}$ are commutative.<br />
	Namely we have<br />
	\[\mathbf{x}\cdot \mathbf{y}=\mathbf{x}^{\trans}\mathbf{y}=\mathbf{y}^{\trans}\mathbf{x}=\mathbf{y} \cdot \mathbf{x}.\]
<hr />
<p>	Applying the second fact with given vectors $\mathbf{a}, \mathbf{b}$, we obtain<br />
	\[\mathbf{a}^{\trans}\mathbf{b}=\mathbf{b}^{\trans}\mathbf{a}= -\frac{1}{2}.\]
<hr />
<p>	Now we compute $\|\mathbf{a}-\mathbf{b}\|^2$ as follows.<br />
	We have<br />
	\begin{align*}<br />
\|\mathbf{a}-\mathbf{b}\|^2&#038;=(\mathbf{a}-\mathbf{b})^{\trans}(\mathbf{a}-\mathbf{b}) \qquad \text{ (by definition of the length)}\\<br />
&#038;=(\mathbf{a}^{\trans}-\mathbf{b}^{\trans})(\mathbf{a}-\mathbf{b})\\<br />
&#038;=\mathbf{a}^{\trans}\mathbf{a}-\mathbf{a}^{\trans}\mathbf{b}-\mathbf{b}^{\trans}\mathbf{a}+\mathbf{b}^{\trans}\mathbf{b}\\<br />
&#038;=\|\mathbf{a}\|^2-\mathbf{a}^{\trans}\mathbf{b}-\mathbf{b}^{\trans}\mathbf{a}+\|\mathbf{b}\|^2\\<br />
&#038;=1-\left(-\frac{1}{2} \right)-\left(-\frac{1}{2} \right)+1\\<br />
&#038;=3.<br />
\end{align*}</p>
<p>Since the length is nonnegative, we take the square root of the above equality and obtain<br />
\[\|\mathbf{a}-\mathbf{b}\|=\sqrt{3}.\]
<button class="simplefavorite-button has-count" data-postid="1920" data-siteid="1" data-groupid="1" data-favoritecount="17" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">17</span></button><p>The post <a href="https://yutsumura.com/find-the-distance-between-two-vectors-if-the-lengths-and-the-dot-product-are-given/" target="_blank">Find the Distance Between Two Vectors if the Lengths and the Dot Product are Given</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-the-distance-between-two-vectors-if-the-lengths-and-the-dot-product-are-given/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1920</post-id>	</item>
	</channel>
</rss>
