Math 208H

Topics for the first exam


Chapter 9: Parametric curves

The motivation: think of the graph of y = f(x) as a path that we are walking along. The 'right' way to think of this is that we are visiting each point of the graph at various times t, e.g.,

x = t , y = f(x) = f(t)

But we need not be limited to having x = t ; we can more generally describe our path as

x = x(t) , y = y(t)

This is a parametric curve; it describes a curve in the plane, and how we traverse it through time. The advantage is that the curve we describe need not be the graph of a function. t = the parameter = the independent variable ; x and y = dependent variables

A circle of radius 1 centered at (0,0) : x2+y2 = 1

x(t) = cost , y(t) = sint 0 £ t £ 2p

Twice as fast around: x(t) = cos2t , y(t) = sin2t 0 £ t £ p

A circle of radius r centered at (a,b) : (x-a)2+(y-b)2 = r2

Think: x-a = rcost , y-b = rsint

x(t) = a+rcost , y(t) = b+rsint 0 £ t £ 2p

An ellipse: (x/a)2+(y/b)2 = 1

x(t) = acost , y(t) = bsint 0 £ t £ 2p

A line through (a,b) and (c,d)

x(t) = a+t(c-a) , y(t) = b+t(d-b)

Finding an (x,y) equation from a parametric equation: (if possible) solve for x = x(t) or y = y(t) as t = expression in x or y, then plug into the other equation.

Ex: x = t2-1 , y = t3+t-1 , then x+1 = t2 so t = ±[Ö(x+1)], so y = (±[Ö(x+1)])3+(±[Ö(x+1)])-1

Calculus of curves

Thinking of a parametric curve as a path that we are traversing, we are at each instant aware of (at least) two things: how fast we are going and what direction we are going. Each can be computed essentially as we would for a graph.

Speed = the limit of (distance)/(time interval) as the time interval shrinks to 0.

average speed = Ö{(Dx)2+(Dy)2}/Dt = Ö{(Dx/Dt)2+(Dy/Dt)2}

instantaneous speed = [Ö((dx/dt)2+(dy/dt)2)] = Ö{(x¢(t))2 + (y¢(t))2}

direction = slope of tangent line - limit of slopes of secant lines

secant lines: slope = Dy/Dx = (Dy/Dt)/(Dx/Dt)

tangent lines: slope = (dy/dt)/(dx/dt) = y¢(t)/x¢(t)

We can encode both of these in the velocity vector (x¢(t),y¢(t))

A parametric curve x = x(t) , y = y(t) , a £ t £ b with x(a) = x(b) , y(a) = y(b) ends where it begins; it is a closed curve. Such a curve surrounds and encloses a region R in the plane.

If the curve goes around the region counterclockwise, then the area of the region can be computed as

Area = òab x(t)y¢(t) dt = -òab y(t)x¢(t) dt

We will see why this formula is true later in this class....

Arclength and surface area

Just as with graphs of functions, we can compute the length of a paramentric curve and the surface area when a curve is rotated around an axis:

Length: we approximate it the same way, as a sum of lengths of line seqments that approximate the curve. Each segment has length

Ö{(Dx)2+(Dy/)2} = Ö{(Dx/Dt)2+(Dy/Dt)2}Dt » Ö{(x¢(t))2 + (y¢(t))2} dt

so the length of the curve is òab Ö{(x¢(t))2 + (y¢(t))2} dt

Surface area: if we spin the curve x = x(t) , y = y(t) , a £ t £ b around the line y = c then, just like before, we can approximate the surface by frustra of cones, each having area approximately

2p|y(t)-c|Ö{(x¢(t))2 + (y¢(t))2} dt = (2p)(radius)(length)

and so the area of the surface of revolution is

2pòab |y(t)-c|Ö{(x¢(t))2 + (y¢(t))2} dt

Ex: for the ellipse x = 3cost , y = 5sint , 0 £ t £ 2p, spun around y = 7, we have

Area = 2pò02p (7-3sint)Ö{9sin2 t + 25cos2 t} dt = 2pò02p (7-3sint)Ö{9 + 16cos2 t} dt

Polar coordinates

Idea: describe points in the plane in terms of (distance,direction).

r = (x2+y2)1/2 = distance , q = arctan(y/x) = angle with the positive x-axis.

x = rcosq , y = rsinq

The same point in the plane can have many representations in polar coordinates:

(1,0)rect = (1,0)pol = (1,2p)pol = (1,16p)pol = ¼

A negative distance is interpreted as a positive distance in the opposite direction (add p to the angle):

(-2,p/2)pol = (2,p/2+p)pol = (0,-2)rect

An equation in polar coordinates can (in principal) be converted to rectangular coords, and vice versa:

E.g., r = sin(2q) = 2sinqcosq can be expressed as

r3 = (x2+y2)3/2 = 2(rsinq)(rcosq) = 2yx, i.e., (x2+y2)3 = 4x2y2


Given an equation in polar coordinates

r = f(q) , i.e., the curve (f(q),q)pol , q1 £ q £ q2

we can compute the slope of its tangent line, by thinking in rectangular coords:

x = f(q)cosq, y = f(q)sinq , so

[dy/dx] = [(dy/dq)/(dx/dq)] = [(f¢(q)sinq+ f(q)cosq)/(f¢(q)cosq- f(q)sinq)]

Arclength: the polar curve r = f(q) is really the (rectangular) parametrized curve

x = f(q)cosq, y = f(q)sinq, and (x¢(q))2+(y¢(q))2)1/2 = (f¢(q))2+(f(q))2)1/2,

so the arclength for a £ q £ b is displaystyle òab (f¢(q))2+(f(q))2)1/2  dq

Area: if r = f(q) , a £ q £ b describes a closed curve (f(a) = f(b) = 0), then we can compute the area inside the curve as a sum of areas of sectors of a circle, each with area approximately

pr2 (Dq/2p = [((f(q))2)/2]Dq

so the area can be computed by the integral òab [1/2](f(q))2 dq


Chapter 10: Vectors

Vectors

In one-variable calculus, we make a distinction between speed and velocity; velocity has a direction (left or right), while speed doesn't. Speed is the size of the velocity. This distinction is even more important in higher dimensions, and motivates the ntion of a vector.

Basically, a vector [v\vec] is an arrow pointing from one point in the plane (or 3-space or ...) to another. A vector is thought of as pointing frm its tail to its head. If it points from P to Q, we call the vector [v\vec] = PQ.

A vector has both a size (= length = distance from P to Q) and a direction. Vectors that have the same size and point in the same direction are often thought of as the same, even if they have different tails (and heads). Put differently, by picking up the vector and translating it so that its tail is at the origin (0,0), we can identify [v\vec] with a point in the plane, namely its head (x,y), and write [v\vec] = áx,yñ. If [v\vec] goes from (a,b) to (c,d), then we would have [v\vec]= ác-a,d-bñ. The length of [v\vec] = áa,bñ is then ||[v\vec]|| = [Ö(a2+b2)].

In 3-space we have three special vectors, pointing in the direction of each coordinate axis (in the plane there are, analogously, two); these are called

[i\vec] = á1,0,0ñ, [j\vec] = á0,1,0ñ, and [k\vec] = á0,0,1ñ

These come in especially handy when we start to add vectors. There are several different points of view to vector addition:

(1) move the vector [w\vec] so that its head is on the tail of [v\vec]; then the vector [v\vec]+[w\vec] has tail equal to the tail of [v\vec] and head equal to the head of [w\vec];

(2) move [v\vec] and [w\vec] so that their tails are both at the origin, and build the parallelogram which has sides equal to [v\vec] and [w\vec]; then [v\vec]+[w\vec] is the vector that goes from the origin to the opposite corner of the parallelogram;

(3) if [v\vec] = áa,bñ and [w\vec] = ác,dñ, then [v\vec]+[w\vec] = áa+c,b+dñ

Figure

We can also subtract vectors; if they share the same tail, [v\vec]-[w\vec] is the vector that points from the head of [w\vec] to the head of [v\vec] (so that [w\vec]+([v\vec]-[w\vec]) = [v\vec]). In coordinates, we simply subtract the coordinates.

We can also rescale vectors = multiply them by a constant factor; a[v\vec] = vector pointing in the same direction, but a times as long. (We use the convention that if a < 0, then a[v\vec] points in the opposite direction from [v\vec].)

Using coordinates, this means that aáx,yñ = áax,ayñ . To distinguish a from the coordinates or the vector, we call a a scalar. One consequence of this formula is that ||c[v\vec]|| = |c|·||[v\vec]|| .

All of these operations satisfy all of the usual properties you would expect:

[v\vec]+[w\vec] = [w\vec]+[v\vec]

([v\vec]+[w\vec])+[u\vec] = [v\vec]+([w\vec]+[u\vec])

a(b[v\vec]) = (ab)[v\vec]

a([v\vec]+[w\vec]) = a[v\vec] + a[w\vec]

If all that we are interested in about a vector is its direction, then we can choose a vector of length one pointing in the same direction:

[u\vec]  = [[v\vec]/(||[v\vec]||)] = unit vector pointing in the same diection as [v\vec] .

Of course there is nothing special in all of this about vectors in the plane; all of these ideas work for vectors in 3-space. The only thing we really need to determine is the right formula for length: a few applications of the Pythagorean theorem leads us to

||áa,b,cñ|| = (a2+b2+c2)1/2


Dot products

One thing we haven't done yet is multiply vectors together. It turns out that there are two ways to reasonably do this, serving two very different sorts of purposes.

The first, the dot product, is intended to measure the extent to which two vectors [v\vec] and [w\vec] are pointing in the same direction. It takes a pair of vectors [v\vec] = áv1,¼,vnñ and [w\vec] = áw1,¼,wnñ, and gives us a scalar [v\vec]·[w\vec] = v1w1+¼+vnwn.

Note that [v\vec]·[v\vec] = v12+¼+vn2 = ||[v\vec]||2. In general, [v\vec]·[w\vec] = ||[v\vec]||·||[w\vec]||·cos(q), where q is the angle between the vectors [v\vec] and [w\vec] (when they have the same tail); this can be seen by comparing the Law of Cosines to the formula

||[v\vec]-[w\vec]||2 = ||[v\vec]||2 + ||[w\vec]||2 - 2[v\vec]·[w\vec]

This in turn allows us to compute this angle:

The angle Q between v and w = the angle (between 0 and p with cos(Q) = áv,wñ/(||v||·||w||)

The dot product satisfies some properties which justify calling it a product:

[v\vec]·[w\vec] = [w\vec]·[v\vec]

(k[v\vec])·[w\vec] = k([v\vec]·[w\vec])

[v\vec]·([w\vec]+[u\vec]) = [v\vec]·[w\vec]+[v\vec]·[u\vec]

Two vectors are orthogonal (= perpendicular) if the angle q between them is p/2, so cos(q)=0; this means that [v\vec]·[w\vec] = 0. We write [v\vec]^[w\vec].

Since |cosq| £ 1, we always have |[v\vec]·[w\vec]| £ ||[v\vec]|| ||[w\vec]|| . This is the Cauchy-Schwartz inequality. From this we can also deduce the Triangle inequality : ||[v\vec]+[w\vec]|| £ ||[v\vec]||+||[w\vec]|| .

Projecting one vector onto another:

The idea is to figure out how much of one vector [v\vec] points in the direction of another vector [w\vec]. The dot product measures to what extent they are pointing in the same direction, so it is only natural that it plays a role.

What we wish to do is to write [v\vec] = c[w\vec] + [u\vec], where [u\vec]^[w\vec] (i.e., write [v\vec] as the part pointing in the direction of [w\vec] and the part ^ [w\vec]). By solving the equation ([v\vec]-c[w\vec])·[w\vec] = 0, we find that c = ([v\vec]·[w\vec])/([w\vec]·[w\vec]).

We write c[w\vec] = proj[w\vec][v\vec] = [([v\vec]·[w\vec])/([w\vec]·[w\vec])][w\vec]= [([v\vec]·[w\vec])/(||[w\vec]||)][[w\vec]/(||[w\vec]||)] = (orthogonal) projection of [v\vec] onto [w\vec] .

[u\vec] = [v\vec]-c[w\vec] = the part of [v\vec] perpendicular to [w\vec] .


The cross product

The dot product takes two vectors and spits out a scalar. For vectors in 3-space, there is another product, which spits out another vector. The basica idea is that given two vectros in 3-space, there is a third vector which is perpendicular to both of them. Given the two vectors

[v\vec]  = áa1,a2,a3ñ , [w\vec]  = áb1,b2,b3ñ

we can solve the pair of equations a1x+a2y+a3z = 0, b1x+b2y+b3z = 0 to find that

áa2b3-a3b2,-(a1b3-a3b1),a1b2-a2b1ñ is a solution.

We call this vector the cross product [v\vec]×[w\vec] for [v\vec] and [w\vec] .

How do you remember this formula? Most people remember it using the notation

[v\vec]×[w\vec] = |
[i\vec]
[j\vec]
[k\vec]
a1
a2
a3
b1
b2
b3
| = |
a2
a3
b2
b3
| ®
i
 
- ê
ê
ê
ê
ê
a1
a3
b1
b3
ê
ê
ê
ê
ê
®
j
 
+ ê
ê
ê
ê
ê
a1
a2
b1
b2
ê
ê
ê
ê
ê
®
k
 

where |
a
b
c
d
| = ad-bc is the determinant of the 2×2 matrix

The cross product satisfies several useful equalities:

[v\vec]·([v\vec]×[w\vec]) = 0 , [w\vec]·([v\vec]×[w\vec]) = 0

[v\vec]×[w\vec] = -[w\vec]×[v\vec]

(k[v\vec])×[w\vec] = k([v\vec]×[w\vec])

[v\vec]×([w\vec]+[u\vec]) = [v\vec]×[w\vec]+ [v\vec]×[u\vec]

[u\vec]·([v\vec]×[w\vec]) = [v\vec]·([w\vec]×[u\vec]) = [w\vec]·([u\vec]×[v\vec]) (the triple product)

[u\vec]×([v\vec]×[w\vec]) = ([u\vec]·[w\vec])[v\vec]- ([u\vec]·[v\vec])[w\vec]

For our standard vectors in 3-space we have

[i\vec]×[j\vec] = [k\vec] , [j\vec]×[k\vec] = [i\vec] , [k\vec]×[i\vec] = [j\vec]

Our formula for the cross product was worked out just by solving a pair of equations; any other multiple of our vector would have been perpendicular to [v\vec] and [w\vec], too. But in a precise sense, the formula we came up with is the right one, because the length of our vector has geometric significance:

||[v\vec]×[w\vec]|| = ||[v\vec]|| ||[w\vec]|| sinq , where q = angle between [v\vec] and [w\vec] .

But! The area of a parallelogram with sides equal to the vectors [v\vec] and [w\vec] is

Area = (base)×(height) = ||[w\vec]||·h = ||[w\vec]||·||[v\vec]||·sin(q) (from trigonometry).

So: ||[v\vec]×[w\vec]|| = ||[v\vec]||·||[w\vec]||·sin(q) = the area of that parallelogram!


The cross product can be used to carry out many calculations which we will find useful. For example, to compute the distance d from a point P to the line through the points Q and R, we find that (setting [v\vec] = QP , [w\vec] = QR) using right triangles we have

d = ||[v\vec]||sinq = (||[v\vec]|| ||[w\vec]||sinq)/||[w\vec]|| = ||[v\vec]×[w\vec]||/||[w\vec]||

Also, to compute the volume of a parallelopiped with sides [u\vec],[v\vec],[w\vec], we can compute

volume = (area of base)·(height) = ||[u\vec]×[v\vec]||·(||[w\vec]|| |cosy|)

where y = angle between [u\vec]×[v\vec] and [w\vec], so

volume = |([u\vec]×[v\vec])·[w\vec]| = absolute value of the triple product!


Lines and planes in 3-space

Just as with lines in the plane, we can parametrize lines in space, given a point on the line, P, and the direction [v\vec] that the line is travelling:

L(t) = (x(t),y(t),z(t)) = P +[v\vec]t = (x0+at,y0+bt,z0+ct)

This involves a (somewhat arbitrary) parameter t to describe; we can find a more symmetric description of the line by determining, for each coordinate, what t is and setting them all equal to one another:

[(x-x0)/a] = [(y-y0)/b] = [(z-z0)/c]

To determine if and where two lines in space intersect, if we use the parametrized forms, we need to remember that the two lines might pass through that same point at different times, and so we really need to use different names for the parameters:

P+[v\vec]t = Q+ [w\vec]s

This gives us three equations (each of the three coordinates) with two variables; it therefore usually does not have a solutions. Two lines in 3-space that do not meet are called skew. If two lines do meet, then we can treat them much like in the plane; we can, for example, determine the angle at which they meet by computing the angle between their direction vectors [v\vec],[w\vec] .

For planes, three points P, Q and R that do not lie on a single line will have exactly one plane through them. To describe that plane, we can think of it as all points X so that PX can be expressed as a combination of PQ and PR. This in turn means that PX is perpendicular to anything that is simultaneously perpendicular to both PQ and PR. But the cross product is such a vector; and so we can describe the plane by insisting that

PX·(PQ×PR) = 0

If we write PQ×PR = áa,b,cñ and PX = áx-x0,y-y0,z-z0ñ, then this equation becomes

a(x-x0)+b(y-y0)+c(z-z0) = 0

What is really needed to describe this plane, in some sense, is the point P = (x0,y0,z0) and the vector [(\vec]N) = áa,b,c ñ = the normal vector to the plane. In other words, to completely describe a plane we can also use knowledge of a single point that the plane passes through, P, and what direction ``up'' is, namely the vector [(\vec]N) perpendicular to the plane (i.e, the vector perpendicular to every vector lying in the plane). We can then write the equation for the plane as

áx,y,zñ·[N\vec] = P·[N\vec]

Note that if we are given the equation for the plane, we can quickly read off its normal vector; it is the coefficients of x, y, and z.

Intersecting planes: typically, two planes will intersect in a line (unless they are parallel, i.e., their normals are multiples of one another). We can find the parametric equation for the line by solving each equation of the plane for x, say, as an expression in y and z. Setting these two expressions equal, we can express y, say, as a function of z. Plugging back into our original expression for x, we get x as a function of z. So x, y, and z have all been expressed in terms of a single variable, z, which is exactly what a parametric equation does! The direction vector for this line, it is worth pointing out, is the cross product of the normals to the two planes; this direction vector points in a direction lying in both planes, and so much be perpendicular to both normals.

One immediate application is the equation for a plane:

To find the plane through the three points P, Q, and R in 3-space, look at the vectors PQ and PR . These are vectors between points in our plane, and so they give a pair of directions in the plane. They then must both be perpendicular to the normal vector [n\vec] for the plane. But we know that they are both perpendicular to [v\vec]×[w\vec], and so [v\vec]×[w\vec] must be perpendicular to the plane. In other words, we can choose our normal vector to be [v\vec]×[w\vec]. Using one of our original points (P, say) as a point in the plane, we can write down the equation for the plane using our dot product equation, above.

We've seen that it usually takes three pieces of information to describe a plane in 3-space (3 points in the plane, or a point and the x- and y-slopes), however, using dot products, we can describe it using only two:

Every plane has a normal vector [n\vec]; [n\vec] is orthogonal to the vector PQ for any pair of points P and Q in the plane. For example, the vector  is perpendicular to the xy-plane, sine it is perpendicular to every vector of the form (a,b,0). Given such a normal vector [n\vec] and a point (x0,y0,z0) in the plane, every other point in the plane must satisfy [n\vec]·(x-x0,y-y0,z-z0) = 0; writing this in coordinates gives the equation for the plane;

a(x-x0)+b(y-y0)+c(z-z0) = 0, where [n\vec](a,b,c)

This means that if we are given the equation of the plane, we can quickly read off what the normal vector for the plane is, as well.


File translated from TEX by TTH, version 0.9.