Difference between revisions of "Calc3.3"

From Conservapedia
Jump to navigation Jump to search
(Spelling/Grammar Check, typos fixed: ie, → i.e., (2))
 
(One intermediate revision by one other user not shown)
Line 17: Line 17:
  
 
  -->
 
  -->
−
=Introduction to Integrals in Multivariable Calculus=
 
−
In multivariable calculus, and in the related areas of physics, we will be extending the notion of the integral well beyond the simple case of the [[Riemann Integral]] from elementary calculus.  These extensions will consist of
 
−
*Integration over higher-dimensional regions, such as surfaces and volumes, with sophisticated ways of specifying these regions.
 
−
*Integration of functions, typically representing physical quantities, such as integration of density to get total mass, or integration of a gravitational or electric field along a path to get potential energy or electric potential.
 
−
*Integration of vector fields, for example, a magnetic field, across a surface to get the total flux.
 
−
*Integration in coordinate systems other than the familiar Cartesian coordinates, such that the physically correct result is always obtained, independently of the coordinate system used.
 
−
In all cases, the additional sophistication in the integrals will just involve things that are done to set up the mathematical problem.  The actual integration will always be the same—one-dimensional Riemann integration of some function.  That is, the integration that we will do will always reduce to the familiar definite integration for elementary calculus:
 
−
::<math>\int_a^bf(x) dx</math>
 
−
Recall that the solution to such a problem is easy to state, though maybe not easy to solve:  Find a function <math>g(x)</math> such that <math>f</math> is the derivative of <math>g</math>:
 
−
::<math>f(x) = \frac{dg}{dx}</math>
 
−
Then the integral is the difference  between the values of <math>g</math> at <math>a</math> and <math>b</math>:
 
−
::<math>\int_a^bf(x) dx = g(b) - g(a)</math>
 
−
 
−
We will generalize the familiar integration of mathematical functions defined on intervals of the real numbers, to integration over geometric curves, surfaces, adn volumes.  First, we will look at the intuitive meaning in terms of dividing a surface into tiny squares or a volume into tiny cubes.  Then we will see how the process may actually be carried out in terms of the techniques of integral calculus.
 
−
 
−
=Double and Triple Integrals=
 
−
 
−
==Definition of the Double Integral==
 
−
The definition of the double integral follows much that same pattern as the definition in the single variable case.  As in the single variable case, we divide the part of the domain we're interested in into pieces, and multiply the size of those pieces by a value of the function on that piece.  Adding up all our products gives us a Riemann sum, and taking the limit as the pieces' size goes to zero gives us the integral.
 
−
 
−
In the case of a function of two variables, say, ''x'' and ''y'', the domain will naturally be the ''xy''-plane, or some region in it ''R''.  A region could be a disc (a circle plus its interior), a square and its interior, or any other shape you can think of.
 
−
 
−
While technically it doesn't matter too much what shapes we divide the region into, or that they be the same size, etc., we're going to use as simple and straightforward a definition as we can, to make our lives easier when we try to actually compute these things. 
 
−
[[Image:Approximation.jpg|thumb|200px|right|As the size of the squares decrease, they approximate the region better and better.]]
 
−
So we divide ''R'' into ''n'' square subregions <math>R_k, 1\leq k\leq n</math>, and in each region pick a point <math>(x_k,y_k)\in R_k</math>.  Note that all the <math>R_k</math> might not cover all of our original region ''R''; but as the size of our squares decreases, they approximate the region better and better - in the limit, they will cover the whole thing.
 
−
 
−
The Riemann sum for a function ''f'' is then simple enough to construct, using <math>A</math> to note the area of one of our squares: <math>S= \sum_{k=1}^n f(x_k,y_k)A</math>.  If we use <math>dA=dxdy</math> to note we are differentiating with respect to area, we can define our double integral:
 
−
 
−
<math>\iint_R f(x,y)dA = \lim_{n\to\infty,A\to 0} \sum_{k=1}^n f(x_k,y_k)A</math>
 
−
 
−
==Computation of the Double Integral==
 
−
 
−
It would be difficult to actually use this definition to compute a double integral.  Instead, we find it convenient to use our familiar techniques from single variable to evaluate double integrals.
 
−
 
−
Let's examine a rectangular region first, whose sides are aligned with the ''x'' and ''y'' axes, with the lower ''x'' bound at ''x=a'', the upper ''x'' bound at ''x=b'', the lower ''y'' bound at ''y=c'', and the upper ''y'' bound at ''y=d''.  See illustration.
 
−
 
−
The double integral of a function couldn't be simpler:  we just integrate the function twice, each time treating one variable like a constant (just like we do when we take partial derivatives. 
 
−
 
−
<math>\iint_{Rectangle} f(x,y)dA = \int_c^d  \left({  \int_a^b f(x,y)dx  }\right) dy</math>.
 
−
 
−
Let's do an example problem on the square with corners at ''(1,1), (1,2), (2,1), (2,2)'':
 
−
 
−
<math>\iint_{Square} \frac{1}{x+y} dA = \int_1^2 \left({\int_1^2 \frac{1}{x+y} dx}\right)dy = \int_1^2 \left({ \log(2+y) - \log(1+y) }\right) dy = \int_1^2 \log \left({ \frac{2+y}{1+y}  }\right)dy </math>
 
−
 
−
which is a problem of single variable calculus.
 
−
 
−
==Definition of the Triple Integral==
 
−
 
−
By now, defining this should be a simple matter for the student.  Since for a function of three variables, the domain is three dimensional space, we'll be considering regions in space and dividing it into cubes, just as we divided two dimensional regions into squares before. 
 
−
 
−
So we divide ''R'' into ''n'' cubic subregions <math>R_k, 1\leq k\leq n</math>, and in each region pick a point <math>(x_k,y_k,z_k)\in R_k</math>.  Just like before, it may be that all the <math>R_k</math> might not cover all of our original region ''R''; but as the size of our cubes decreases, they approximate the region better and better - in the limit, they will cover the whole thing.
 
−
 
−
The Riemann sum for a function ''f'' is then simple enough to construct, using <math>V</math> to note the volume of one of our squares: <math>S= \sum_{k=1}^n f(x_k,y_k,z_k)V</math>.  If we use <math>dV=dxdydz</math> to note we are differentiating with respect to volume, we can define our triple integral:
 
−
 
−
<math>\iiint_R f(x,y,z)dV = \lim_{n\to\infty,A\to 0} \sum_{k=1}^n f(x_k,y_k,z_k)V</math>
 
−
 
−
We will not give rigorous proofs of the various theorems here.  Such proofs are taught in college-level analysis and differential geometry courses, and often dwell upon esoteric issues of singularities and infinities.
 
−
 
−
The first thing we do is develop more sophisticated ways of measuring areas of plane figures.  Ordinary integration can give us the area of a figure with a straight horizontal bottom edge, straight vertical left and right edges, and an arbitrary function giving the top edge.  Suppose we have a circle of radius R centered at (A, B), as shown in the figure at the right.
 
−
[[File:Dblintegralarea.JPG|thumb|The blue area is the first integral, and the blue and yellow areas combined are the second integral.]]
 
−
(We have placed the circle completely in the upper-right quadrant so that we won't have to deal with visualizing negative areas&mdash;this is just for illustrative purposes.  The technique works in all cases.)
 
−
 
−
The blue area is given by:
 
−
::<math>\int_{A-R}^{A+R}\ B-\sqrt{R^2 - (x-A)^2}\ dx</math>
 
−
 
−
The blue and yellow areas combined is:
 
−
::<math>\int_{A-R}^{A+R}\ B+\sqrt{R^2 - (x-A)^2}\ dx</math>
 
−
 
−
The area of the circle is the yellow area alone, which is the difference between the two:
 
−
::<math>\int_{A-R}^{A+R}\ 2\ \sqrt{R^2 - (x-A)^2}\ dx</math>
 
−
 
−
Before going any further, we use the change-of-variable theorem to shift x (which also shows that A and B don't matter; the area is the same anywhere):
 
−
::<math>\int_{-R}^{R}\ 2\ \sqrt{R^2 - x^2}\ dx</math>
 
−
(We'll have a lot more to say about the change-of-variable theorem later, but now we are just using the version from elementary calculus, that helps us calculate ordinary integrals.)
 
−
::Of course we could evaluate this integral, perhaps with a table of integrals, or a computer program, or a web site, getting:
 
−
::::<math>x \sqrt{R^2 - x^2} + R^2 \sin^{-1} (x/R)\left|\right.^{R}_{-R}</math>
 
−
 
−
Let's look at the integrand, and its geometrical interpretation, more carefully.  <math>2\ \sqrt{R^2 - x^2}</math> is the height of a thin vertical strip of the circle, at a given x.  We could write that as an integral in its own right:
 
−
::<math>\int_{-\sqrt{R^2 - x^2}}^{\sqrt{R^2 - x^2}}\ 1\ dy</math>
 
−
This means that the area of the circle is:
 
−
::<math>\int_{-R}^{R}\left(\int_{-\sqrt{R^2 - x^2}}^{\sqrt{R^2 - x^2}}\ 1\ dy\right) dx</math>
 
−
 
−
The geometrical interpretation is that we have divided the region (circle, in this case) into thin vertical strips abutting each other from left to right, and then divided each strip into tiny squares, abutting each other from bottom to top, and added everything up.
 
−
 
−
In general, the area of a region is:
 
−
::<math>\int_{leftmost point of the region}^{righttmost point of the region}\left(\int_{bottom of the region at a given x}^{top of the region at a given x}\ 1\ dy\right) dx</math>
 
−
 
−
This is two nested integrals, or a ''double integral''.  The quantity in parentheses is the integrand of the outer integral.  As such, it is a function of x, so its limits are permitted to depend on x.  In more complicated problems, such as finding the total electric charge, we might replace the inner integrand ("1" in the present example) with the density of electric charge, which could be a function of x and y.
 
−
 
−
This is the essence of how double (and later, triple) integrals are used to calculate areas, volumes, and other things over 2 or 3-dimensional regions.  The big parentheses are usually omitted, but their implict meaning must be followed.  The innermost integral, and its limits of integration, relate to the innermost "d" symbol, and so on.
 
−
 
−
A triple integral could be written:
 
−
::<math>\int_{A}^{B}\int_{C(x)}^{D(x)}\int_{E(x, y)}^{F(x, y)}\ G(x, y, z)\ dz dy dx</math>
 
−
Each successive integral may use the values of all the outer integration variables in specifying its limits.
 
−
 
−
Exercise [belongs in a separate section, no doubt]: Set up the triple integral giving the volume of a sphere of radius R, and evaluate same.
 
−
 
−
This use of double integrals to calculate areas may seem like excessive make-work, and using "1" as the integrand may seem boring, but this sort of analysis is the basis for everything we will do.
 
−
 
−
We could have performed the double integration in the other order, dividing the circle into horizontal strips first, and then subdividing those, so that dx is the "inner" integral and dy the "outer" one.  This would have gotten the same result.  The theorem that says that this is so is ''Fubini's theorem''.  Proving it is outside the scope of this course, or of conservapedia.
 
−
 
−
Now, given that Fubini's theorem says that the order of the integrations doesn't matter, we can "abstract away" that order, say that we are really just "integrating over a region", and use a more abstract notation.  Once we have defined a 2-dimensional region R, we can just write two successive integral signs with the subscript R instead of the written-out limits of integration, and use the symbol "dA" to mean "infinitesimal piece of area".  (Recall that "dx" means, in an informal way, "infinitesimal bit of length".)  The integral would look like:
 
−
::<math>\iint_{R}\ 1\ dA</math>
 
−
or, more generally:
 
−
::<math>\iint_{R}\ f(r)\ dA</math>
 
−
where r is some way of indicating a point in the region.  We will always use a coordinate system, so, for example, if we are using polar coordinates, the integral might look like:
 
−
::<math>\iint_{R}\ f(r, \theta)\ dA</math>
 
−
 
−
For triple integrals over a volume, we do something similar:
 
−
::<math>\iiint_{R}\ f(r, \theta, \phi)\ dV</math>
 
−
 
−
The symbols dA and dV are often called the "area element" and "volume element", respectively.
 
−
 
−
==Change of Variable==
 
−
The change-of-variable theorem is an extremely important tool of integral calculus.  It is even more important in multivariate calculus, since it is central to the concepts of coordinate systems and coordinate system change operations.  It is implicit in nearly all integrals over curves, surfaces, and volumes.
 
−
 
−
We would like to be able to perform the integrations of the previous section in coordinate systems other than plain Cartesian coordinates.  For example, the integral to find the area of a circle would be easier to set up if we were using polar coordinates, because a circle is trivial to describe in polar coordinates.  To do this, we need to revisit the change-of-variable theorem from elementary calculus, and extend it to higher dimensions.
 
−
 
−
Basically, the change-of-variable theorem of elementary calculus says that algebraic substitution and manipulations actually work, even when the manipulations involve the "d" symbol.  (Remember that things like "dx" are ''infinitesimals''; their actual value would have to be considered to be zero.  By a miracle of calculus notation, we can manipulate them anyway.)
 
−
 
−
Here is a simple example, not (yet) involving integrals.  Suppose u is a function of y, and y is a function of x, as follows:
 
−
::<math>y = \log u\,</math>
 
−
::<math>u = \sin x\,</math>
 
−
We know that
 
−
::<math>\frac{dy}{du} = \frac{1}{u}</math>
 
−
::<math>\frac{du}{dx} = \cos x</math>
 
−
Can we get <math>\frac{dy}{dx}</math> from this?  The change-of-variable theorem says that we can multiply the derivatives and "cancel" the du:
 
−
::<math>\frac{dy}{dx} = \frac{dy}{du} \frac{du}{dx} = \frac{1}{u}\ \cos x</math>
 
−
We can remove u from this, getting the answer in terms of x:
 
−
::<math>\frac{dy}{dx} = \frac{\cos x}{\sin x} = \cot x</math>
 
−
This is the same answer as the [[chain rule]] would have given:
 
−
::<math>y = \log (\sin x)\,</math>
 
−
::<math>\frac{dy}{dx} = \frac{1}{\sin x} \cos x</math>
 
−
It's easy to see why this is true&mdash;the multiplication in the chain rule is just the multiplication from which we canceled the dy.
 
−
 
−
We can do the same ting for integrals, observing why the "dx" symbol in an integral is such an important part of the notation that integrals use.  Given:
 
−
::<math>\int \cot x\ dx</math>
 
−
we introduce a new variable u:
 
−
::<math>u = \sin x\,</math>
 
−
so the integral is
 
−
::<math>\int \frac{\cos x}{u} dx</math>
 
−
We have
 
−
::<math>\frac{du}{dx} = \cos x</math>
 
−
So, taking the usual liberties with the notation:
 
−
::<math>dx = \frac{du}{\cos x}</math>
 
−
so the integral is:
 
−
::<math>\int \frac{\cos x}{u} \frac{du}{\cos x} = \int \frac{du}{u} = \log u = \log \sin x</math>
 
−
Tricks like this are staples of integration technique.
 
−
 
−
What we have really done is a change of coordinate system.  Whenever we change coordinate systems while calculating integrals, we are actually using the change-of-variable theorem.
 
−
 
−
Now consider what happens when we try to change the previous integral over a circle in Cartesian coordinates to the equivalent integral in polar coordinates.  The earlier integral was:
 
−
::<math>\int_{-R}^{R}\int_{-\sqrt{R^2 - x^2}}^{\sqrt{R^2 - x^2}}\ 1\ dy dx</math>
 
−
That would change to:
 
−
::<math>\int_{0}^{2\pi}\int_{0}^{R}\ 1\ ??\ dr d\theta</math>
 
−
The limits of integration are, as expected, easy to set up.  But we need something that is the equivalent of
 
−
::<math>\frac{d\ x, y}{d\ r, \theta}</math>
 
−
to use as the coordinate-change multiplier.
 
−
 
−
The multiplier to use is called the ''[[Jacobian]]'' of the coordinate change.  It is the [[determinant]] of the matrix of partial derivatives.  That matrix is:
 
−
 
−
::<math>\begin{pmatrix} \frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta}\end{pmatrix}\,</math>
 
−
 
−
The Jacobian is written <math>J(x, y / r, \theta)\,</math>.  Working out the derivatives and the determinant, its value in thsi case is r.
 
−
 
−
So the area of a circle is:
 
−
::<math>\int_{0}^{2\pi}\int_{0}^{R}\ 1\ J(x, y / r, \theta) dr d\theta = \int_{0}^{2\pi}\int_{0}^{R}\ r dr d\theta = \int_{0}^{2\pi}\frac{R^2}{2} d\theta = \pi R^2</math>
 
−
 
−
==Integration Over Parametrically Defined Regions==
 
−
A variation of this method is used when integrating over curves in 2 or 3-dimensional spaces, or surface in 3-dimensional spaces.  Recall that a parametric description of such a thing is closely related to a change of coordinate system, but with different numbers of coordinates in the two systems.  This means that the matrix of partial derivatives is not square, so it has no determinant.
 
−
 
−
The general problem, in arbitrary dimensions, goes deeply into advanced topics of differential geometry.  We will state the methods, without proof, for the cases of parametrically defined curves and surfaces.
 
−
 
−
==Curve Integrals==
 
−
For a curve in a 2-dimensional plane or 3-dimensional volume, let the parameter (the single coordinate in the 1-dimensional curve) be denoted by t.  Work out the partial derivatives, and form the vector
 
−
::<math>\left(\frac{\partial x}{\partial t}, \frac{\partial y}{\partial t}\right)</math>
 
−
for a curve in a plane, or
 
−
::<math>\left(\frac{\partial x}{\partial t}, \frac{\partial y}{\partial t}, \frac{\partial z}{\partial t}\right)</math>
 
−
for a curve in a volume.
 
−
Let J (not really the Jacobian, but we treat it that way) be the [[norm]] of that vector, that is, the square root of the sum of the squares of its 2 or 3 components.
 
−
::<math>J = \Bigg\Vert\left(\frac{\partial x}{\partial t}, \frac{\partial y}{\partial t}, \frac{\partial z}{\partial t}\right)\Bigg\Vert = \sqrt{\left(\frac{\partial x}{\partial t}\right)^2 + \left(\frac{\partial y}{\partial t}\right)^2 + \left(\frac{\partial z}{\partial t}\right)^2}</math>
 
−
Then
 
−
::<math>\int f(t)\ J dt</math>
 
−
is the integral over the curve, in terms of the parameter t.
 
−
 
−
Example:
 
−
 
−
Suppose a circle of radius R is described in terms of a parameter t, as
 
−
::<math>x = R \cos t\,</math>
 
−
::<math>y = R \sin t\,</math>
 
−
We have
 
−
::<math>\frac{\partial x}{\partial t} = - R \sin t</math>
 
−
::<math>\frac{\partial y}{\partial t} = R \cos t</math>
 
−
::<math>J = \sqrt{R^2 \sin^2 t + R^2 \cos^2 t} = \sqrt{R^2} = R</math>
 
−
So, to integrate any function over the full circle (with t running from 0 to <math>2 \pi</math>), we have:
 
−
::<math>\int_0^{2\pi} f(t)\ R dt</math>
 
−
The length of the curve (that is, the circumference of the circle) is:
 
−
::<math>\int_0^{2\pi} 1\ R\ dt = 2 \pi R</math>
 
−
 
−
==Surface Integrals==
 
−
For a surface in a 3-dimensional volume, let the parameters be u and v.  Work out the six partial derivatives, and form these two vectors:
 
−
::<math>\stackrel{\textstyle{\rightarrow}}{U} = \left(\frac{\partial x}{\partial u}, \frac{\partial y}{\partial u}, \frac{\partial z}{\partial u}\right)</math>
 
−
::<math>\stackrel{\textstyle{\rightarrow}}{V} = \left(\frac{\partial x}{\partial v}, \frac{\partial y}{\partial v}, \frac{\partial z}{\partial v}\right)</math>
 
−
Calculate their cross product, and let J be the norm of that.  Use the [[cross product]] formula.
 
−
::<math>J = ||\stackrel{\textstyle{\rightarrow}}{U} \times\stackrel{\textstyle{\rightarrow}}{V}||</math>
 
−
Then
 
−
::<math>\int\int f(u, v)\ J\ dv\ du</math>
 
−
is the integral over the surface, in terms of the parameters u and v.
 
−
 
−
Unless one is careful to choose the order of the parameters so the "outward" direction of the surface follows a right-hand rule, and use that order in forming the cross product, there may be ambiguity in the sign of J.  In practice, one just figures out what to do.
 
−
 
−
Example:
 
−
 
−
Parameterize a sphere of radius R in terms of <math>\theta</math> and <math>\phi</math>.  (These are two of the same coordinates that are used in 3-dimensional spherical coordinates&mdash;<math>r</math>, <math>\theta</math> and <math>\phi</math>&mdash;but <math>r</math> is held constant, so it is no longer a coordinate.)
 
−
::<math>x = R \sin \theta \cos \phi\,</math>
 
−
::<math>y = R \sin \theta \sin \phi\,</math>
 
−
::<math>z = R \cos \theta\,</math>
 
−
 
−
::<math>\frac{\partial x}{\partial \theta} = R \cos \theta \cos \phi</math>
 
−
etc.
 
−
::<math>\stackrel{\textstyle{\rightarrow}}{U} = \left(R \cos \theta \cos \phi, R \cos \theta \sin \phi, - R \sin \theta\right)</math>
 
−
::<math>\stackrel{\textstyle{\rightarrow}}{V} = \left(- R \sin \theta \sin \phi, R \sin \theta \cos \phi, 0\right)</math>
 
−
::<math>\stackrel{\textstyle{\rightarrow}}{U} \times\stackrel{\textstyle{\rightarrow}}{V} = R^2 \left(\sin^2 \theta \cos \phi, \sin^2 \theta \sin \phi, \sin \theta \cos \phi\right)</math>
 
−
::<math>J = ||\stackrel{\textstyle{\rightarrow}}{U} \times\stackrel{\textstyle{\rightarrow}}{V}|| = R^2 \sin \theta</math>
 
−
 
−
So an integral over the entire surface would be:
 
−
::<math>\int_0^{\pi}\int_0^{2\pi} f(\theta, \phi)\ R^2 \sin \theta\ d\phi\ d\theta</math>
 
−
The area of a sphere is:
 
−
::<math>\int_0^{\pi}\int_0^{2\pi} R^2 \sin \theta\ d\phi\ d\theta = \int_0^{\pi} R^2 \sin \theta \left(\int_0^{2\pi} d\phi\right) d\theta = 2 \pi R^2 \int_0^{\pi} \sin \theta\ d\theta = 4 \pi R^2</math>
 
−
 
−
To find, for example, the area of a sphere only from <math>\theta = 0\,</math> to <math>\theta = T\,</math> (that is, the area of the Earth north of latitude <math>\pi/2 - T\,</math>), we have
 
−
::<math>\int_0^{T}\int_0^{2\pi} R^2 \sin \theta\ d\phi\ d\theta = 2 \pi R^2 \int_0^{T} \sin \theta\ d\theta = 2 \pi R^2\ (1 - \cos T)</math>
 
−
 
−
But how useful is such a technique, since it is so easy to think of regions which are NOT rectangles?  Let's move on to consider a more general kind of region.
 
−
[[Image:Dub int 1.jpg|right|thumb|250px|The kind of region under discussion.]]
 
−
Suppose a region ''R'' happens to be such that we can identify its lowest extreme ''x'' value, which we'll call ''a'', and its highest ''x'' value, which we'll call ''b'', and that a vertical line drawn through the region intersects the boundary in exactly two points everywhere except those extremes, where a vertical line only intersects that boundary once.  Then there is some function of ''x'' which will give the ''y'' value of the lower of all of those intersections of the boundary with vertical lines, and some some function which will give the ''y'' value of the upper of those intersections.  Let's call these functions <math>y_1, y_2 </math> respectively.  See the illustration to the right.
 
−
 
−
A region like this is very easily integrated, just like the rectangle.  We simply use these boundary functions in place of the ''y''-extremes:
 
−
 
−
<math>\iint_{R} f(x,y)dA = \int_a^b \left({ \int_{y_1(x)}^{y_2(x)} f(x,y) dy    }\right) dx </math>
 
−
 
−
Let's do an example of this.  The region we'll be integrating over is the unit disc, so the ''x'' minimum and maximum values will be <math>-1,1</math> and the ''y'' functions will be <math>y_2 = \sqrt{1-x^2}, y_1=-\sqrt{1-x^2}</math>.  Let's integrate the function <math>f(x,y)=(x+y)^2 </math>.
 
−
 
−
<math>\iint_{R}(x+y)^2dA=\int_{-1}^1\left({\int_{-\sqrt{1-x^2}}^{\sqrt{1-x^2}}(x+y)^2dy}\right)dx=\int_{-1}^1\left({\frac{(x+\sqrt{1-x^2})^3}{3}-\frac{(x-\sqrt{1-x^2})^3}{3}}\right)dx</math>
 
−
 
−
We have turned a double integral into a single-variable integral that is solved more with bookkeeping than intelligence:
 
−
 
−
<math>\frac{1}{3}\int_{-1}^1\left({  (x+\sqrt{1-x^2})^3  -    (x-\sqrt{1-x^2})^3    }\right)dx
 
−
 
−
</math>
 
−
 
−
<math>= \frac{2}{3}\int_{-1}^1  \left({    x^2\sqrt{1-x^2}  + (1-x^2)^{3/2} }\right) dx    </math>
 
−
 
−
<math>= \frac{2}{3} \frac{1}{8}\left({  0 + \frac{\pi}{2} + 0 + 3\frac{\pi}{2} -0 - \frac{-\pi}{2}    -0    -3\frac{\pi}{2}                        }\right) = \frac{\pi}{3}</math>
 
−
 
−
==Computation of the Triple Integral==
 
−
 
−
In our computation of the double integral, we considered only regions in the plan such that the "top" and "bottom" of the boundary could be described as functions of ''x''.  We then pointed out that all regions could be broken up into such shapes, and we could just perform each evaluation separately.  It should come as no surprise, then, that we consider 3D regions where the "top" and "bottom" of the surface enclosing the region can be described with functions of the form <math>z=g(x,y)</math>; in other words, every line which is parallel to the ''z''-axis and intersects our region ''R'' only intersects its surface boundary in at most two points. 
 
−
 
−
Suppose ''R'' is such a region in space.  Now, suppose that the "top" of the boundary is described by <math>z=g_1(x,y)</math>, and the "bottom", by <math>z=g_2(x,y)</math>.  This is where it will get a bit tricky: for a given value of ''x'', let <math>h_1(x)</math> be the greatest value of ''y'' such that ''(x,y,z)'' is in ''R'' for any z, and <math>h_2(x)</math>, the least value of ''y''.  Finally, let the minimum ''x'' value for a point in ''R'' be ''a'', and the maximum, ''b''.
 
−
 
−
Then
 
−
 
−
<math>\iiint_R f(x,y,z)dV  = \int_a^b \int_{h_2(x)}^{h_1(x)} \int_{g_2(x,y)}^{g_1(x,y)} f(x,y,z) dz dy dx  </math>
 
−
 
−
==Polar Coordinates==
 
−
 
−
The definition of a double integral is always the same, we need only change <math>(x,y)</math> for <math>(r,/theta)</math>.  But the area element <math>dA</math>, which before was <math>dxdy</math>, is going to be slightly different.
 
−
 
−
In Cartesian coordinates, it was a simple matter to describe the area of a small rectangle - it was simply the length times the width, hence the <math>dxdy</math>.  But what is the area of a little bit of a region in polar coordinates?  The ''r'' sides of such a rectangle will be <math>dr</math>, since ''r'' is measured in length.  But <math>\theta</math> is measured in angles, which is just a number!
 
−
 
−
Remember the formula for the circumfrence of a circle of radius ''r'': <math>2\pi r</math>.  Therefore, the length of an arc of angle <math>d\theta</math> at radius ''r'' is going to be <math>rd\theta</math>.  Multiplying the length and width together gives the area element in polar coordinates: <math>dA=rdrd\theta</math>.  Hence, the double integral in polar coordinates is
 
−
 
−
<math>\iint_R f(r,\theta)dA = \iint_R f(r,\theta)rdrd\theta</math>.
 
−
 
−
For spherical coordinates in three dimensions, we can rely heavily on what we've just learned.  Since the circumference of a circle in three dimensions is the same as in two, the same reasoning tells us <math>dV = (dr)(rd\theta)(rd\phi) = r^2 d\theta d\phi dr  \ </math> and hence
 
−
 
−
 
−
<math>\iiint_R f(r,\theta,\phi)dV = \iint_R f(r,\theta,\phi)r^2drd\theta d\phi</math>.
 
−
 
 
=Directional Derivatives=
 
=Directional Derivatives=
  
Line 307: Line 27:
 
<math>\partial_\vec{h} f(\vec{p}) = \lim_{|\vec{h}|\to 0} \frac{f(\vec{p}+\vec{h})-f(\vec{p})}{|\vec{h}|}</math>
 
<math>\partial_\vec{h} f(\vec{p}) = \lim_{|\vec{h}|\to 0} \frac{f(\vec{p}+\vec{h})-f(\vec{p})}{|\vec{h}|}</math>
  
−
where <math>\vec{p}=x\vec{i}+y\vec{j}</math>, ie, <math>f(\vec{p}) = f(x,y)</math>
+
where <math>\vec{p}=x\vec{i}+y\vec{j}</math>, i.e., <math>f(\vec{p}) = f(x,y)</math>
  
 
Is there an easier way to compute these kinds of derivatives, without Only vectors of unit length are useful to us; other lengths will mess up our rates of change.
 
Is there an easier way to compute these kinds of derivatives, without Only vectors of unit length are useful to us; other lengths will mess up our rates of change.
Line 319: Line 39:
 
=The Gradient=
 
=The Gradient=
  
−
We've discussed partial derivatives, but it seems there should be a way to find a derivative which is in some sense "complete."  We'll address this concept for vector fields in the next lecture, but for now let's examine the gradient, a differential operator for scalar functions.  For every point in a scalar field, the '''gradient''' is a vector in the direction of greatest change, with length equal to the rate of change in that direction (ie, the directional derivative).
+
We've discussed partial derivatives, but it seems there should be a way to find a derivative which is in some sense "complete."  We'll address this concept for vector fields in the next lecture, but for now let's examine the gradient, a differential operator for scalar functions.  For every point in a scalar field, the '''gradient''' is a vector in the direction of greatest change, with length equal to the rate of change in that direction (i.e., the directional derivative).
  
 
The gradient is easily computed:
 
The gradient is easily computed:

Latest revision as of 14:58, July 14, 2016

Directional Derivatives

The partial derivatives we've studied in the last lecture allow us to compute how fast a multivariable function is changing along the x and y (and possibly z) directions. But what if we want to know how fast a function is changing along an arbitrary direction? Directional derivatives are the easy way to do this.

When we want to know the rate of change of a function in a given direction, we must specify what direction we're talking about. Clearly, vectors are perfectly suited to our purposes.

The direction derivative is defined just as you might expect: pick a vector in the direction you want to differentiate in, and we define

where , i.e.,

Is there an easier way to compute these kinds of derivatives, without Only vectors of unit length are useful to us; other lengths will mess up our rates of change.

So, first we pick a vector, . Now we must normalize it to give it unit length: this is easy enough, we define a new vector, will do the trick.

Our directional derivative is now quite easy to compute:

The Gradient

We've discussed partial derivatives, but it seems there should be a way to find a derivative which is in some sense "complete." We'll address this concept for vector fields in the next lecture, but for now let's examine the gradient, a differential operator for scalar functions. For every point in a scalar field, the gradient is a vector in the direction of greatest change, with length equal to the rate of change in that direction (i.e., the directional derivative).

The gradient is easily computed:

.

If we wanted to construct a more concise version of this, we can always form the "vector" often called del or nabla:

.

Then, if we just take this operator of f, we get the gradient: . Remember this operator; we'll encounter it again.

Parametric Curves and Surfaces

Earlier, we described lines in three dimensional space by referring to a non-coordinate variable, t. In the challenging exercises, we also explored using this method to create curves in space. This method of describing geometric objects is called a parametric representation. Parametric representations are able to describe more varied and complex figures than the kinds of curves which can be described by equations like or , and often the parametric equations can yield more insights into the structure of the object than a representation using only coordinates.

Just as it is customary to use x,y,z for coordinates, so it is customary to use t as the parameter for curves, and u,v as the parameters for surfaces. Occasionally, we use when the parameters are easily envisioned as angles.

Curves

In the plane, we frequently encounter curves which cannot be described in form. The circle is the simplest example of this - it takes two such equations to represent a circle, , and these equations become impossible to differentiate at the points (-1,0) and (1,0). This violates our intuition about what a circle is: it's not made of two pieces stuck together, and there are no points different from any other.

Let's take a look at a parametric representation of the circle: . What does this mean? If we picture a point traveling in the plane, these equations give its x and y coordinates at some time t. At time t=0, the point is at (1,0). If you've memorized your essential trig function values, it won't be difficult for you to complete a graph of this and you'll find this does indeed describe a circle.

Frequently, we describe a parametric representation as a vector function: . This gives us one tidy function describing a circle, which is differentiable everywhere. Quite an improvement over our previous representation of the circle!

It is just as simple to describe curves in space, and students completing the challenging exercises will already have some familiarity with this. In fact, this method is used to describe curves so often, we even call lines "curves" - they're just straight curves. Below is a curve you're probably familiar with in space, the helix:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{r} = \vec{i}\cos(t) + \vec{j}\sin(t) + \vec{k}t \ }

Now take a look at these two curves:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{r}(t) = \vec{i}2t - \vec{j}t/2 + \vec{k}t \ }

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{r} = \vec{i}2t^3 - \vec{j}t^3/2 + \vec{k}t^3 \ } .

Compute some points along these curves, and you'll see that they're the same curve. A single geometric object can have many different parametric representations.

expand

Surfaces in Space

We also frequently describe surfaces in space with parametric representations. Let's take a look at an illuminating example, the unit sphere.

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x =\sin(\phi) \cos(\theta) \ }

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y =\sin(\phi) \sin(\theta) \ }

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z =\cos(\phi) \ }

Before continuing, make sure you understand why these equations describe a sphere. For example, set Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi=\pi/2} ; then these describe a circle in three dimensions. What happens as we vary Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} ?

Now, there are several important points to make at this point. Remember sin and cos are both periodic, with Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(u)=\sin(u+2\pi)} for any u, and similarly for cos, so many different values of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (\theta,\phi)} are mapped to the same point on the sphere. To prevent this, let's impose the limits Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0\leq \theta <2\pi, 0\leq \phi \leq \pi} . The second point to note is that this doesn't completely solve the problem: every point Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (\theta,0)} is taken to (0,0,1), regardless of the value of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta} . A similar problem arises for points Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (\theta,\phi)} .

Although this sort of thing happens often, it doesn't actually cause much of a difficulty in the analysis of the surface, which we turn to now.

Extrema of Multivariate Functions

In single variable calculus, we found that extrema, that is, maximum and minimum values for a function, could only occur at points where the derivative was 0. Dealing with multivariate functions, it should come as no surprise, then, that extrema can only occur when all of the partial derivatives are 0, or, to say the same thing, that the gradient is the zero length vector Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{0}} .

As in the single variable case, having Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f(x_0,y_0,z_0)=0} isn't sufficient to demonstrate that an extreme value of a function exists. It is necessary to rule out the possibility of a non-extremal stationary point, and, as in the single variable case, this is done with an examination of the second-order derivative.

In the single variable case, we recall, a function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=f(x) \ } has an extrema at a point Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=x_0 \ } if Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f'(x_0)=0 \ } and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f''(x_0)\neq0} . On the other hand, we have an inflection point if Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f'(x_0)=f''(x_0)=0 \ } . See the illustration at right.

It should come as no surprise then that we examine the second-order derivative of a multivariate function to determine when an extrema has taken place. We examine one of the most important operators in higher mathematics now, the Laplacian: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta = \nabla^2} .

In Cartesian coordinates, we will have

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta f = \frac{\partial^2 f}{\partial x^2}+\frac{\partial^2 f}{\partial y^2}}

and in three dimensions, we will of course add on the term Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \partial_{zz}f} . In polar coordinates, the Laplacian is

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta f = {1 \over r} {\partial \over \partial r} \left( r {\partial f \over \partial r} \right) + {1 \over r^2} {\partial^2 f \over \partial \theta^2} \ }

and in spherical coordinates,

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Delta f = {1 \over r^2} {\partial \over \partial r} \left( r^2 {\partial f \over \partial r} \right) + {1 \over r^2 \sin \phi} {\partial \over \partial \phi} \left( \sin \phi {\partial f \over \partial \phi} \right) + {1 \over r^2 \sin^2 \phi} {\partial^2 f \over \partial \theta^2}}

where we maintain our convention of using Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta} for the azimuth and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \phi} for the zenith angle. For more on how these different forms of the Laplacian were calculated, see the Laplacian article.

Optimization with Constraints: Lagrange Multipliers

We will introduce Lagrange multipliers with functions of only two variables, so that we can visualize what we're talking about easily. First, we will develop the theory, and then we will work a concrete example to demonstrate the technique.

The Gradient and the Level Curve

The first order of business will be to show that the direction of the gradient of a function is perpendicular to its level curve.

Let's pick a point Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x}_0 = (x_0,y_0,z_0)} and define its isocurve Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left\{{\vec{x}:f(\vec{x})=f(\vec{x_0 }) }\right\}} . We will parametrize this isocurve with a function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{\gamma}(t)} , and adjust it so that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{\gamma}(0)=\vec{x_0}} . Then note that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(\vec{\gamma}(0))=f(\vec{x_0})} .

Let us investigate the derivative of . By the chain rule, it is simple . Since , when we evaluate the derivative of at we get .

Since parametrizes the level curve of f, it is obvious that its derivative should be a vector tangent to the curve. If this expression is 0, and neither the gradient nor the derivative of are themselves 0, then we are correct in our belief that that the gradient of a function is perpendicular to its level curves by the definition of dot product. But remember, parametrizes a level set of f: for some constant c, it satisfies by definition, and hence any derivative of is zero.

Extrema with regard to a constraint

Optimization with constraint.

Suppose that we wanted to know what the greatest (or least) value of a multivariate function was, but only with respect to a curve. For example, a person might wish to know the greatest wind speed at a point on Earth. Well, the wind speed at different points on Earth could be described as a function of two variables, longitude and latitude, but suppose this person doesn't care what the greatest wind speed on Earth is, just what the greatest windspeed along say, a route taken by an airplane.

The first step is to describe the function you wish to find the extreme of (in the above example, windspeed) as . Next, you want to be able to describe the curve you wish to maximize f on as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=c} for some constant c.

Let be some point on Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=c} .Note that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f (\vec{p})} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla g(\vec{p})} do not point along the same line, then we can always travel along Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=c} in the direction of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f (\vec{p})} to get values for f larger than Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(\vec{p})} , or in the opposite direction of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f (\vec{p})} to get values for f smaller than Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(\vec{p})} . Hence, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{p}} cannot be a place where f achieves a local extrema on g if Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f(\vec{p})} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla g(\vec{p})} do not point along the same line. The logical conclusion, then, is that the only points Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{u}} on Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=c} that could possibly be local extrema for f are those points Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{u}} where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f(\vec{u}) \propto \nabla g(\vec{u})} , or, stated another way, there exists some Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \lambda} for which Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f(x_0,y_0) = \lambda \nabla g(x_0,y_0)} .

By solving this equation for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_0,y_0,z_0} , we can plug our values for Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x_0,y_0,z_0} into f and get the value of f at this point. We can then check that it is an extrema, and find which kind.

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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left\{{\vec{u}\in\mathbb{R}^3: \vec{u}=x\vec{i}+y\vec{j}+z\vec{k}, x^2+y^2 =1}\right\}} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left\{{\vec{v}=x\vec{i}+y\vec{j}+z\vec{k}\in\mathbb{R}^3:z=3x-2y}\right\}}

This is a formidable problem! Let's break it down. The first set described begins with the statement Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{u}\in\mathbb{R}^3} . What does this mean? Well, these are vectors in three-dimensional space we're talking about, since it describes them as being in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbb{R}^3} . But they are also described as having Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+y^2=1} , 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle z=3x-2y} . 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 3x-2y} over the set Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+y^2=1} .

So, using the method of Lagrange multipliers, we set Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x,y)=3x-2y} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=x^2+y^2=1} , and compute their gradients:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \nabla f = \vec{i}\frac{\partial}{\partial x} (3x-2y) + \vec{j}\frac{\partial}{\partial y}(3x-2y) = 3\vec{i}-2\vec{j}}

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \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}}

Now must simply solve the equation

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{pmatrix}3\\2\end{pmatrix} = \lambda \begin{pmatrix}2x\\2y\end{pmatrix} }

We already know Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+y^2=1} , so we can just write Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\sqrt{1-x^2}} and we get

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{pmatrix}3\\2\end{pmatrix} = \lambda\begin{pmatrix}2x\\2\sqrt{1-x^2}\end{pmatrix} }

So Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=3/(2\lambda)} , and then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2=2\lambda\sqrt{1-9/(4\lambda^2)}= \lambda^2 - 9/4}

Dividing out the 2 and squaring both sides gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1=\lambda^2 (1-\frac{9}{4\lambda^2})=\lambda^2-9/4}

or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 13/4 = \lambda^2 \implies \lambda = \pm \frac{1}{2}\sqrt{13} } .

Plugging this into our formula Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=3/(2\lambda)} gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=\pm3/\sqrt{13}} , then our formula Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+y^2=1} , along with the logic that the highest point will be precisely opposite the lowest, gives Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\pm2/\sqrt{13}} . 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 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x,y)=1} :

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(\pm\frac{3}{\sqrt{13}},\pm\frac{2}{\sqrt{13}}) = \frac{9}{13}+\frac{4}{13}=\frac{13}{13}=1}

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: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (3/\sqrt{13},2/\sqrt{13})} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (-3/\sqrt{13},-2/\sqrt{13})} . Let's examine the negative one first:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(-\frac{3}{\sqrt{13}},-\frac{2}{\sqrt{13}}) = \frac{-9}{\sqrt{13}} + \frac{4}{\sqrt{13}} = \frac{-5}{13}}

and now the positive:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(\frac{3}{\sqrt{13}},\frac{2}{\sqrt{13}}) = \frac{9}{\sqrt{13}} - \frac{4}{\sqrt{13}} = \frac{5}{\sqrt{13}}}

Since Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 5/\sqrt{13}>-5/\sqrt{13}} , the point of intersection of the cylinder and the plane with the highest z value is

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{w}=\begin{pmatrix}3/\sqrt{13}\\2/\sqrt{13}\\5/\sqrt{13}\end{pmatrix}}

Problems

Review Problems

Main Problems

Challenging Problems