Lecture 01 – Vectors and Coordinate Geometry in 3-Space...

53
Lecture 01 – Vectors and Coordinate Geometry in 3-Space Several Variable Calculus, 1MA017 Xing Shi Cai Autumn 2019 Department of Mathematics, Uppsala University, Sweden

Transcript of Lecture 01 – Vectors and Coordinate Geometry in 3-Space...

Page 1: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Lecture 01 – Vectors and CoordinateGeometry in 3-SpaceSeveral Variable Calculus, 1MA017

Xing Shi CaiAutumn 2019

Department of Mathematics, Uppsala University, Sweden

Page 2: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Summary

Please watch these videos before the lectures: 1 and 2.

What we will talk about today

• 10.1: Analytical geometry in Three Dimensions• 10.5: Quadric Surfaces• 10.6: Cylindrical and spherical coordinates

What you should already know (review if you forgot)

• P.2: Cartesian Coordinates in the Plane• P.3: Graphs of Quadratic Equations• 8.1: Conics• 8.5: Polar Coordinates and Polar Curves

1

Page 3: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Introduction of the course

Page 4: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Function

A function is a “machine” or “black box” that maps input intooutput.

2

Page 5: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Function

More precisely, a function is a relation between sets that associatesto every element of a first set exactly one element of the secondset.

3

Page 6: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Different types of functions

Calculus studies 4 types of functions

1. real-valued functions of a single real variable,2. vector-valued functions of a single real variable,3. real-valued functions of a real vector variable, and4. vector-valued functions of a real vector variable.

Single Variable Calculus covers the first one.

Several Variable Calculus covers the rest. We will study theirlimits, continuity, derivatives, integrals, etc.

4

Page 7: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Different types of functions

Calculus studies 4 types of functions

1. real-valued functions of a single real variable,2. vector-valued functions of a single real variable,3. real-valued functions of a real vector variable, and4. vector-valued functions of a real vector variable.

Single Variable Calculus covers the first one.

Several Variable Calculus covers the rest. We will study theirlimits, continuity, derivatives, integrals, etc.

4

Page 8: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Different types of functions

Calculus studies 4 types of functions

1. real-valued functions of a single real variable,2. vector-valued functions of a single real variable,3. real-valued functions of a real vector variable, and4. vector-valued functions of a real vector variable.

Single Variable Calculus covers the first one.

Several Variable Calculus covers the rest. We will study theirlimits, continuity, derivatives, integrals, etc.

4

Page 9: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Example — vector-valued functions of a single real variable

The butterfly curve is defined by the function 𝑡 ↦ (𝑥, 𝑦) where

5

Page 10: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Example — real-valued functions of a real vector variable

This plane is defined by the function (𝑥, 𝑦) ↦ 𝑥 + 𝑦.

6

Page 11: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Example — vector-valued functions of a real vector variable

The two planes are defined by the function (𝑥, 𝑦) ↦ (𝑥 + 𝑦, 𝑥 − 𝑦).

7

Page 12: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Applications

Several Variable Calculus is widely used in

• biology (population evolution)• physics (general relativity)• thermodynamics (air conditioner)• robotics (motion control)• aerospace (spaceship trajectory)• machine learning (algorithm analysis)

8

Page 13: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Application — The surface of a sphere

The surface of a sphere of radius 𝑟 is 4𝜋𝑟2. Where does thisnumber come from?

9

Page 14: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Application — Catenary bridges

The curve of a suspension bridge is a function of the form𝑥 ↦ 𝑎

2 (𝑒𝑥/𝑎 + 𝑒−𝑥/𝑎).

Given 𝑎, how can we compute the length of the bridge?

10

Page 15: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

10.1 Analytic Geometry in ThreeDimensions

Page 16: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

A point in ℝ3

P = (𝑥, 𝑦, 𝑧) ∈ ℝ3 can be seen as the coordinates of a point 𝑃 inthe 3-dimensional space in which we live.

Various geometric objects can be seen as subsets of ℝ3.11

Page 17: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Planes in ℝ3

𝑧 = 0

12

Page 18: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Planes in ℝ3

𝑥 = 𝑦

13

Page 19: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Planes in ℝ3

𝑥 + 𝑦 + 𝑧 = 1

14

Page 20: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Surface in ℝ3

𝑥2 + 𝑦2 = 1

15

Page 21: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Surface in ℝ3

𝑥2 + 𝑦2 + 𝑧2 = 25

16

Page 22: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

More complicated example

Intersection of 𝑥2 + 𝑦2 + 𝑧2 = 1 and 𝑥 + 𝑦 = 1

17

Page 23: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Topology in ℝ𝑛 😕

A neighbourhood of a point 𝑎:

𝐵𝑟(𝑎) = {𝑥 ∶ |𝑥 − 𝑎| < 𝑟}

A point 𝑎 is said to be• an interior point of 𝑆 if 𝑎

has an neighbourhood in 𝑆.• an exterior point of 𝑆 if 𝑎

has an neighbourhoodoutside 𝑆.

• a boundary point of 𝑆 ifevery neighbourhood of 𝑎both contains points in andout 𝑆.

18

Page 24: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Topology in ℝ𝑛 😕

• A set 𝑆 is said to be open ifevery point 𝑎 ∈ 𝑆 has anneighbourhood that liesentirely in 𝑆 (all points in 𝑆are then interior points)

• A set 𝑆 is said to be closedif its complement is an openset (all boundary pointsbelong to 𝑆)

19

Page 25: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Example: Topology in ℝ2

Which of these sets are open/closed/none? Can you determineboundary points?

• 𝐴 = {(𝑥, 𝑦) ∈ ℝ2 ∶ 𝑥2 + 𝑦2 < 1}.• 𝐵 = {(𝑥, 𝑦) ∈ ℝ2 ∶ 𝑥 < 1}.

20

Page 26: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quiz: Topology in ℝ2

Which of these sets are open/closed/none? Can you determineboundary points?

• 𝐶 = {(𝑥, 𝑦) ∈ ℝ2 ∶ 𝑦 = 𝑥2}.• 𝐷 = {(𝑥, 𝑦) ∈ ℝ2 ∶ 𝑦 > 𝑥2, 𝑦 ≤ 𝑥 + 1}.

21

Page 27: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quick Review — 10.2, 10.3 Vectorsand Cross Product

Page 28: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Fundamental concepts

• Vectors• Inner/Dot product u ⋅ v = 𝑣1𝑢1 + 𝑣2𝑢2 … 𝑣𝑛𝑢𝑛.• Norm/length/absolute value |u| = √𝑢2

1 + 𝑢22 + ⋯ + 𝑢2𝑛.

• Distance — |⃗⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗⃗ ⃗P1P2| = |P1 − P2|.• Orthogonal — u ⋅ v = 0.

22

Page 29: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cross Product

u × v is perpendicular to both u and v and has length equal tothe area of the blue shaded parallelogram.

23

Page 30: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Other things you should know from linear algebra

How to

• Determine if the point (1, 2, 3) lies in the plane𝑧 = 2𝑥 − 3𝑦 + 4

• Find a normal vector for the plane 𝑧 = 2𝑥 − 3𝑦 + 4• Determines if the vectors (1, 2, 3) and (−3, −2, −1) are

orthogonal• Find a vector that is orthogonal to both (1, 2, 0) and (1, −1,

2)

24

Page 31: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quick Review — 10.4 Planes andLines

Page 32: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Planes in ℝ3

The equation𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 = 0

defines a plane in ℝ3

𝑥 + 𝑦 − 𝑧 = 0

25

Page 33: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Lines in ℝ3

Given a point r0 = (𝑥0, 𝑦0, 𝑧0) and a vector v = (𝑎, 𝑏, 𝑐) in ℝ3,there is unique line that goes through r0 and is parallel to v.

Any point r on this line satisfies r = r0 + 𝑡v

which is equivalent to

{(𝑥, 𝑦, 𝑧) ∈ ℝ3 ∣ 𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡, 𝑧 = 𝑧0 + 𝑐𝑡.}

26

Page 34: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Lines in ℝ3

Given a point r0 = (𝑥0, 𝑦0, 𝑧0) and a vector v = (𝑎, 𝑏, 𝑐) in ℝ3,there is unique line that goes through r0 and is parallel to v.

Any point r on this line satisfies r = r0 + 𝑡v

which is equivalent to

{(𝑥, 𝑦, 𝑧) ∈ ℝ3 ∣ 𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡, 𝑧 = 𝑧0 + 𝑐𝑡.}

26

Page 35: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Lines in ℝ3

Given a point r0 = (𝑥0, 𝑦0, 𝑧0) and a vector v = (𝑎, 𝑏, 𝑐) in ℝ3,there is unique line that goes through r0 and is parallel to v.

Any point r on this line satisfies r = r0 + 𝑡v

which is equivalent to

{(𝑥, 𝑦, 𝑧) ∈ ℝ3 ∣ 𝑥 = 𝑥0 + 𝑎𝑡, 𝑦 = 𝑦0 + 𝑏𝑡, 𝑧 = 𝑧0 + 𝑐𝑡.} 26

Page 36: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

10.5 Quadric Surface

Page 37: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Review: Quadratic curves in ℝ2 (P3 and 8.1)

• Parabola𝑦 = 𝑥2

• Ellipse𝑥2/9 + 𝑦2/4 = 1

• Hyperbola𝑥2/9 − 𝑦2/4 = 1

27

Page 38: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quadric Surfaces in ℝ3

The most general second-degree equation in three variables is

𝐴𝑥2 + 𝐵𝑦2 + 𝐶𝑧2 + 𝐷𝑥𝑦 + 𝐸𝑥𝑧 + 𝐹𝑦𝑧 + 𝐺𝑥 + 𝐻𝑦 + 𝐼𝑧 = 𝐽.

If the equation factorizes,

(𝐴1𝑥 + 𝐵1𝑦 + 𝐶1𝑧 − 𝐷1)(𝐴2𝑥 + 𝐵2𝑦 + 𝐶2𝑧 − 𝐷2) = 0,

then it’s just two planes. Otherwise, the equations defines aquadric surface.

28

Page 39: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Sphere

A sphere is defined by the quadratic equation

(𝑥 − 𝑥0)2 + (𝑦 − 𝑦0)2 + (𝑧 − 𝑧0)2 = 𝑟2

Sphere29

Page 40: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Ellipsoid

An ellipsoid is defined by the quadratic equation(𝑥 − 𝑥0)2

𝑎2 + (𝑦 − 𝑦0)2

𝑏2 + (𝑧 − 𝑧0)2

𝑐2 = 1

Ellipsoid

30

Page 41: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cylinder

Examples of cylinders include

𝑥2 + 𝑦2 = 𝑎2

31

Page 42: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cylinder

Examples of cylinders include

𝑧 = 𝑥2

31

Page 43: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cylinder

Examples of cylinders include

𝑥22 − 𝑦2 = 1

31

Page 44: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Paraboloid

A paraboloid is defined by

𝑧 = 𝑥2

𝑎2 + 𝑦2

𝑏2 or 𝑧 = 𝑥2

𝑎2 − 𝑦2

𝑏2

32

Page 45: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Hyperboloid

A hyperboloid is defined by𝑥2

𝑎2 + 𝑦2

𝑏2 − 𝑧2

𝑐2 = 1 or 𝑥2

𝑎2 + 𝑦2

𝑏2 − 𝑧2

𝑐2 = −1

33

Page 46: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

10.6 Coordinate systems

Page 47: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Polar system (8.5)

Conversion formula

𝑥 = 𝑟 cos 𝜃 𝑥2 + 𝑦2 = 𝑟2

𝑦 = 𝑟 sin 𝜃 tan 𝜃 = 𝑦𝑥

34

Page 48: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cylindrical Coordinates

Conversion from cylindrical coordinates [𝑟, 𝜃, 𝑧]𝑥 = 𝑟 cos 𝜃, 𝑦 = 𝑟 sin 𝜃, 𝑧 = 𝑧

35

Page 49: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Cylindrical Coordinates

Conversion from cylindrical coordinates [𝑟, 𝜃, 𝑧]𝑥 = 𝑟 cos 𝜃, 𝑦 = 𝑟 sin 𝜃, 𝑧 = 𝑧

35

Page 50: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Spherical Coordinates

Conversion from spherical coordinates [𝑅, 𝜑, 𝜃]𝑥 = 𝑅 sin 𝜑 cos 𝜃, 𝑦 = 𝑅 sin 𝜑 sin 𝜃, 𝑧 = 𝑅 cos 𝜑.

36

Page 51: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Spherical Coordinates

Conversion from spherical coordinates [𝑅, 𝜑, 𝜃]𝑥 = 𝑅 sin 𝜑 cos 𝜃, 𝑦 = 𝑅 sin 𝜑 sin 𝜃, 𝑧 = 𝑅 cos 𝜑.

36

Page 52: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quiz

Describe the following areas in polar coordinates

• 𝑥2 + 𝑦2 < 1, 𝑥 > 0.• 1 ≤ 𝑥2 + 𝑦2 ≤ 2, 𝑦 ≥ |𝑥|.• 𝑥2 + 𝑦2 ≤ 1, 𝑥 ≤ |𝑦|, 𝑦 > 0.

37

Page 53: Lecture 01 – Vectors and Coordinate Geometry in 3-Space ...xinca341/doc/calculus-2019/lecture-01.pdf · Calculus studies 4 types of functions 1. real-valued functions of a single

Quiz

Describe the following areas in spherical coordinates

𝑥2 + 𝑦2 + 𝑧2 ≤ 1, 𝑥 ≥ 0, 𝑦 ≥ 0, 𝑧 ≥ 0.

38