Changes

Jump to navigation Jump to search
3,993 bytes added ,  22:24, February 5, 2010
Line 145: Line 145:     
==An Example Problem==
 
==An Example Problem==
 +
 +
Let's work a problem which would be listed in the "challenging" problem section, which will require us to draw on a number of different things we've learned.  This problem is very similar to something one would find on the AP Calculus exam.
 +
 +
'''Problem:''' Find the point of intersection of <math>\left\{{\vec{u}\in\mathbb{R}^3: \vec{u}=x\vec{i}+y\vec{j}+z\vec{k}, x^2+y^2 =1}\right\}</math> and <math>\left\{{\vec{v}=x\vec{i}+y\vec{j}+z\vec{k}\in\mathbb{R}^3:z=3x-2y}\right\}</math>
 +
 +
This is a formidable problem!  Let's break it down.  The first set described begins with the statement <math>\vec{u}\in\mathbb{R}^3</math>.  What does this mean?  Well, these are vectors in three-dimensional space we're talking about, since it describes them as being in <math>\mathbb{R}^3</math>.  But they are also described as having <math>x^2+y^2=1</math>, which is an equation for a unit circle in the ''xy'' plane.  Since these vectors do not have their ''z'' restricted, the first set describes a cylinder in space.
 +
 +
The second set is just a plane, that is, the graph of <math>z=3x-2y</math>.  So the problem is asking us, of the points where this plane and this cylinder intersect, which has the highest value of ''z''?  A natural question to ask now might be, what does this set of intersection look like?  It turns out it's an oval slanted at a strange angle in space, but actually, that's not terribly important.  What's important is noticing that finding the highest ''z'' value of the points of intersection of this cylinder and this plane amounts to finding the largest ''z'' value achieved by the function <math>3x-2y</math> over the set <math>x^2+y^2=1</math>. 
 +
 +
So, using the method of Lagrange multipliers, we set <math>f(x,y)=3x-2y</math> and <math>g(x,y)=x^2+y^2=1</math>, and compute their gradients:
 +
 +
<math>\nabla f = \vec{i}\frac{\partial}{\partial x} (3x-2y) + \vec{j}\frac{\partial}{\partial y}(3x-2y) = 3\vec{i}-2\vec{j}</math>
 +
 +
<math>\nabla g = \vec{i}\frac{\partial}{\partial x} (x^2+y^2) + \vec{j}\frac{\partial}{\partial y}(x^2+y^2) = 2x\vec{i}+2y\vec{j}</math>
 +
 +
Now must simply solve the equation
 +
 +
<math>\begin{pmatrix}3\\2\end{pmatrix} = \lambda \begin{pmatrix}2x\\2y\end{pmatrix}  </math>
 +
 +
We already know <math>x^2+y^2=1</math>, so we can just write <math>y=\sqrt{1-x^2}</math> and we get
 +
 +
<math>\begin{pmatrix}3\\2\end{pmatrix} =  \lambda\begin{pmatrix}2x\\2\sqrt{1-x^2}\end{pmatrix}  </math>
 +
 +
So <math>x=3/(2\lambda)</math>, and then <math>2=2\lambda\sqrt{1-9/(4\lambda^2)}= \lambda^2 - 9/4</math>
 +
 +
Dividing out the 2 and squaring both sides gives <math>1=\lambda^2 (1-\frac{9}{4\lambda^2})=\lambda^2-9/4</math>
 +
 +
or <math>13/4 = \lambda^2 \implies \lambda = \pm \frac{1}{2}\sqrt{13} </math>.
 +
 +
Plugging this into our formula <math>x=3/(2\lambda)</math> gives <math>x=\pm3/\sqrt{13}</math>, then our formula <math>y=\sqrt{1-x^2}</math> gives <math>y=2/\sqrt{13}</math>.  These two points are the highest and lowest values of ''f'' along ''g=1''.  So by plugging these into ''f'', we should be able to figure out which is the highest point of intersection.  First lets check that these points satisfy <math>g(x,y)=1</math>:
 +
 +
<math>g(\pm\frac{3}{\sqrt{13}},\frac{2}{\sqrt{13}}) = \frac{9}{13}+\frac{4}{13}=\frac{13}{13}=1</math>
 +
 +
Now we can finally answer the question, what is the highest ''z'' value in the intersection of this cylinder and this plane.  We have two points to investigate: <math>(3/\sqrt{13},2/\sqrt{13})</math> and <math>(-3/\sqrt{13},2/\sqrt{13})</math>.  Let's examine the negative one first:
 +
 +
<math>f(-\frac{3}{\sqrt{13}},\frac{2}{\sqrt{13}}) = \frac{-9}{\sqrt{13}} - \frac{4}{\sqrt{13}} = -1</math>
 +
 +
and now the positive:
 +
 +
<math>f(\frac{3}{\sqrt{13}},\frac{2}{\sqrt{13}}) = \frac{9}{\sqrt{13}} - \frac{4}{\sqrt{13}} = \frac{5}{\sqrt{13}}</math>
 +
 +
Since <math>5/\sqrt{13}>-1</math>, the point of intersection of the cylinder and the plane with the highest ''z'' value is
 +
 +
<math>\vec{w}=\begin{pmatrix}3/\sqrt{13}\\2/\sqrt{13}\\5/\sqrt{13}\end{pmatrix}
    
=Problems=
 
=Problems=
3,552

edits

Navigation menu