Professional Documents
Culture Documents
Sander Dommers
2 Calculus week 2
0.4 Periodic functions
y = f (x)
x
T T T
2 Calculus week 2
0.4 Periodic functions
y = f (x)
x
T T T
−1 1
−1
3 Calculus week 2
0.4 Sine and cosine
−1
3 Calculus week 2
0.4 Sine and cosine
−1
Definition (Sine and cosine)
cos(α) := x
sin(α) := y
3 Calculus week 2
0.4 Angles
Note that we usually measure angles in radians
Angle in degrees 0 30 45 60 90 135 180 270 360
Angle in radians 0 π/6 π/4 π/3 π/2 3π/4 π 3π/2 2π
y P
α
−1 O x 1
−1
4 Calculus week 2
0.4 Angles
5 Calculus week 2
0.4 Angles
Try to remember this table
6 Calculus week 2
0.4 Angles
Try to remember this table
Example
1
Find all x with sin(2x) = 2
7 Calculus week 2
0.4 Graphs of sine and cosine
Red: X := (α, x) = (α, cos(α)) Green: Y := (α, y) = (α, sin(α))
8 Calculus week 2
0.4 Graphs of sine and cosine
y = sin(x)
0 π/2 π 3π/2 2π
y = cos(x)
9 Calculus week 2
0.4 Properties of sine and cosine
10 Calculus week 2
0.4 Properties of sine and cosine
10 Calculus week 2
0.4 Properties of sine and cosine
1
x-coordinate Q = x-coordinate P,
P so cos(−α) = cos(α)
α
−1 O −α 1
y-coordinate Q = − y-coordinate P,
Q so sin(−α) = − sin(α)
−1
10 Calculus week 2
0.4 Properties of sine and cosine
• Complement: π
2 −α
y =x
1
Q x-coordinate P = y-coordinate Q,
so cos(α) = sin( π2 − α)
P
−1 O 1
y-coordinate P = x-coordinate Q,
so sin(α) = cos( π2 − α)
−1
11 Calculus week 2
0.4 Tangent function
Definition (Tangent)
sin(x)
tan(x) :=
cos(x)
y y = tan(x)
x = − 32 π x = − 21 π x = 12 π x = 32 π
12 Calculus week 2
0.4 Tangent function Properties:
sin(−x) − sin(x)
• tan(−x) = = = − tan(x)
cos(−x) cos(x)
Definition (Tangent)
sin(x)
tan(x) :=
cos(x)
y y = tan(x)
x = − 32 π x = − 21 π x = 12 π x = 32 π
12 Calculus week 2
0.4 Tangent function Properties:
sin(−x) − sin(x)
• tan(−x) = = = − tan(x)
cos(−x) cos(x)
Definition (Tangent)
• tan(x) = 0 if sin(x) = 0, so for x = kπ, k ∈ Z
sin(x)
tan(x) :=
cos(x)
y y = tan(x)
x = − 32 π x = − 21 π x = 12 π x = 32 π
12 Calculus week 2
0.4 Tangent function Properties:
sin(−x) − sin(x)
• tan(−x) = = = − tan(x)
cos(−x) cos(x)
Definition (Tangent)
• tan(x) = 0 if sin(x) = 0, so for x = kπ, k ∈ Z
sin(x) • tan(x) is undefined if cos(x) = 0,
tan(x) :=
cos(x) so for x = π/2 + kπ, k ∈ Z
y y = tan(x)
x = − 32 π x = − 21 π x = 12 π x = 32 π
12 Calculus week 2
0.4 Other trigonometric functions
In Definition 4.2 the cotangent, secant and cosecant are introduced
We will not use these terms
For completeness:
1 cos(x) 1 1
cot(x) = = sec(x) = csc(x) =
tan(x) sin(x) cos(x) sin(x)
13 Calculus week 2
0.4 Trigonometric identities
Theorem
sin(α + β) = sin(α) cos(β) + cos(α) sin(β)
cos(α + β) = cos(α) cos(β) − sin(α) sin(β)
14 Calculus week 2
0.4 Trigonometric identities
Theorem
sin(α + β) = sin(α) cos(β) + cos(α) sin(β)
cos(α + β) = cos(α) cos(β) − sin(α) sin(β)
14 Calculus week 2
0.4 Trigonometric identities
Theorem
sin(α + β) = sin(α) cos(β) + cos(α) sin(β)
cos(α + β) = cos(α) cos(β) − sin(α) sin(β)
Corollary (Take β = α)
sin(2α) = 2 sin(α) cos(α)
cos(2α) = cos2 (α) − sin2 (α) = 1 − 2 sin2 (α) = 2 cos2 (α) − 1
14 Calculus week 2
0.4 Trigonometric identities
Example
Show that
1 1
cos2 (α) = + cos(2α)
2 2
1 1
sin2 (α) = − cos(2α)
2 2
15 Calculus week 2
0.4 Trigonometric identities
Example
Compute
7π
cos
6
16 Calculus week 2
0.4 Finding side of a triangle
α
adjacent side
17 Calculus week 2
0.4 Amplitude, period and frequency
Consider the function
f (x) = A sin(c · x)
We say
• |A| is the amplitude
• p is the period 2π/|c|
• f is the frequency 1/p = |c|/2π
18 Calculus week 2
10 Landing an airplane
Compensating for crosswind
Video: https://www.youtube.com/watch?v=D52J63J5j1I
19 Calculus week 2
10 Landing an airplane
Source: Gizmodo.com
20 Calculus week 2
10.1 Vectors in the plane
Some physical quantities need both a size and a direction
Examples: Velocity, acceleration, force
In math: vectors
In 2D:
a2 a
a1
21 Calculus week 2
10.1 Vectors in the plane
Some physical quantities need both a size and a direction
Examples: Velocity, acceleration, force
In math: vectors
In 2D: a=
a1
is a vector
a2
a2 (book: a = ha1 , a2 i, handwritten ~a or a)
a
a1
21 Calculus week 2
10.1 Vectors in the plane
Some physical quantities need both a size and a direction
Examples: Velocity, acceleration, force
In math: vectors
In 2D: a=
a1
is a vector
a2
a2 (book: a = ha1 , a2 i, handwritten ~a or a)
a
We write a ∈ R2
a1
21 Calculus week 2
10.1 Vectors in the plane
Some physical quantities need both a size and a direction
Examples: Velocity, acceleration, force
In math: vectors
In 2D: a=
a1
is a vector
a2
a2 (book: a = ha1 , a2 i, handwritten ~a or a)
a
We write a ∈ R2
q
Length or magnitude of a: kak = a21 + a22
a1
21 Calculus week 2
10.1 Adding vectors
Graphical: Make a parallelogram
a+b
b
22 Calculus week 2
10.1 Scalar multiplication
2a
a
-a
c is a number, so c ∈ R
c · a1
c·a=
c · a2
Length: kc · ak = |c| · kak
23 Calculus week 2
10.1 Distance between vectors
b d(a, b)
24 Calculus week 2
10.1 Parallel vectors
Definition (Parallel)
Two vectors a and b are parallel if b = c · a for some c ∈ R
25 Calculus week 2
10.1 Parallel vectors
Definition (Parallel)
Two vectors a and b are parallel if b = c · a for some c ∈ R
Three options
1. Vectors have same direction (c > 0)
2. Vectors have opposite direction (c < 0)
3. b is the zero vector (c = 0, so b = 0)
25 Calculus week 2
10.1 Unit vectors
26 Calculus week 2
10.1 Unit vectors
Example
Some unit vectors The following vectors
1 √ have length
11
1 0 2
2 cos(α)
i = e1 = j = e2 = a = 12 √ b = 1√ c=
0 1 2 2 2 3
sin(α)
26 Calculus week 2
10.1 Unit vectors
Example
Some unit vectors The following vectors
1 √ have length
11
1 0 2
2 cos(α)
i = e1 = j = e2 = a = 12 √ b = 1√ c=
0 1 2 2 2 3
sin(α)
26 Calculus week 2
10.1 Unit vectors
27 Calculus week 2
10.1 Polar form
y
2
a=
2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
2
a=
2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
b=
4
2
a=
2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
2
a=
2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3
c=
3 2
a=
2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3 √
c= • Vector c has length r = 3 2
3 2
a= Angle with positive x-axis θ = 3π
2 4
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3 √
c= • Vector c has length r = 3 2
3 2
a= Angle with positive x-axis θ = 3π
2 4
−5 x
d=
0
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3 √
c= • Vector c has length r = 3 2
3 2
a= Angle with positive x-axis θ = 3π
2 4
• Vector d has length r = 5
−5 x Angle with positive x-axis θ = π
d=
0
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3 √
c= • Vector c has length r = 3 2
3 2
a= Angle with positive x-axis θ = 3π
2 4
• Vector d has length r = 5
−5 x Angle with positive x-axis θ = π
d=
0
0 e=
−2
28 Calculus week 2
10.1 Polar form √
• Vector a has length r = 2 2
y Angle with positive x-axis θ = π
4
0
• Vector b has length r = 4
b= Angle with positive x-axis θ = π
4 2
−3 √
c= • Vector c has length r = 3 2
3 2
a= Angle with positive x-axis θ = 3π
2 4
• Vector d has length r = 5
−5 x Angle with positive x-axis θ = π
d=
0
• Vector e has length r = 2
0 e=
−2 Angle with positive x-axis θ = − π2
28 Calculus week 2
10.1 Polar form
y
a2 a From Cartesian to polar:
r q
r = a21 + a22 = kak
tan(θ) = a2 /a1
θ
a1 x
From polar to Cartesian:
a1 = r cos(θ)
a2 = r sin(θ)
29 Calculus week 2
10.1 Steering an airplane
An airplane has an airspeed of 400
km/h
Suppose the wind velocity in km/h is
given by the vector
20
w=
30
30 Calculus week 2
10.2 Vectors in 3D
a1
a = a2 is a vector
z a3
(book: ha1 , a2 , a3 i)
a
We write a ∈ R3
Length:
q
y kak = a21 + a22 + a23
x
31 Calculus week 2
10.2 Standard basis in 3D
Standard basis vectors:
1 0 0
You can write any vector in R3 as a linear combination of the three basis vectors:
1 0 0
a1
a = a2 = a1 0 + a2 1 + a3 0 = a1 i + a2 j + a3 k
a3 0 0 1
32 Calculus week 2
10.2 Unit vectors in 3D
Theorem
Let x be a vector, x 6= 0
x
Then u = is a unit vector
kxk
33 Calculus week 2
10.2 Equation of a sphere
Take two points in space: P = (x1 , y1 , z1 ) and Q = (x2 , y2 , z2 )
Distance between P and Q: d = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
p
34 Calculus week 2
10.2 Equation of a sphere
Take two points in space: P = (x1 , y1 , z1 ) and Q = (x2 , y2 , z2 )
Distance between P and Q: d = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
p
Example
Find all points in space with distance 2 from the point (1, 4, −2)
34 Calculus week 2
10.2 Equation of a sphere
Take two points in space: P = (x1 , y1 , z1 ) and Q = (x2 , y2 , z2 )
Distance between P and Q: d = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
p
Example
Find all points in space with distance 2 from the point (1, 4, −2)
Solution: We take P = (x, y, z) and Q = (1, 4, −2)
q
d(P, Q) = 2 =⇒ (x − 1)2 + (y − 4)2 + (z + 2)2 = 2
=⇒ (x − 1)2 + (y − 4)2 + (z + 2)2 = 4
This is the equation of a sphere with radius 2 and center (1, 4, −2)
34 Calculus week 2
10.2 Equation of a sphere
Take two points in space: P = (x1 , y1 , z1 ) and Q = (x2 , y2 , z2 )
Distance between P and Q: d = (x2 − x1 )2 + (y2 − y1 )2 + (z2 − z1 )2
p
Example
Find all points in space with distance 2 from the point (1, 4, −2)
Solution: We take P = (x, y, z) and Q = (1, 4, −2)
q
d(P, Q) = 2 =⇒ (x − 1)2 + (y − 4)2 + (z + 2)2 = 2
=⇒ (x − 1)2 + (y − 4)2 + (z + 2)2 = 4
This is the equation of a sphere with radius 2 and center (1, 4, −2)
34 Calculus week 2
10.2 Equation of a sphere
Definition
The standard form of the equation of a sphere
with radius r and center (a, b, c) is
35 Calculus week 2
10.3 Dot product
a · b = a1 b1 + a2 b2 + a3 b3
36 Calculus week 2
10.3 Dot product
a · b = a1 b1 + a2 b2 + a3 b3
37 Calculus week 2
10.3 Angles
The dot product is extremely useful for computing angles
θ a
a · b = kak · kbk · cos(θ)
38 Calculus week 2
10.3 Angles
The dot product is extremely useful for computing angles
θ a
a · b = kak · kbk · cos(θ)
38 Calculus week 2
10.3 Angles: some special cases
a·b
Dot product: a · b = kak · kbk · cos(θ). Rewrite as cos(θ) =
kak · kbk
Special choices
a·a
• Take b = a then cos(θ) = = 1. So indeed θ = 0
kak · kak
39 Calculus week 2
10.3 Angles: some special cases
a·b
Dot product: a · b = kak · kbk · cos(θ). Rewrite as cos(θ) =
kak · kbk
Special choices
a·a
• Take b = a then cos(θ) = = 1. So indeed θ = 0
kak · kak
• Take a and b parallel then b = ca for some c ∈ R
39 Calculus week 2
10.3 Angles: some special cases
a·b
Dot product: a · b = kak · kbk · cos(θ). Rewrite as cos(θ) =
kak · kbk
Special choices
a·a
• Take b = a then cos(θ) = = 1. So indeed θ = 0
kak · kak
• Take a and b parallel then b = ca for some c ∈ R
a · (ca)
I If c > 0 then cos(θ) = = 1. So θ = 0
kak · kcak
39 Calculus week 2
10.3 Angles: some special cases
a·b
Dot product: a · b = kak · kbk · cos(θ). Rewrite as cos(θ) =
kak · kbk
Special choices
a·a
• Take b = a then cos(θ) = = 1. So indeed θ = 0
kak · kak
• Take a and b parallel then b = ca for some c ∈ R
a · (ca)
I If c > 0 then cos(θ) = = 1. So θ = 0
kak · kcak
a · (ca) ca · a
I If c < 0 then cos(θ) = = = −1. So θ = π
kak · kcak kak · |c| · kak
θ=π
a
39 Calculus week 2 b
10.3 Angles: some special cases (cont.)
θ = π/2
a
40 Calculus week 2
10.3 Angles: some special cases (cont.)
θ = π/2
a
Corollary (Perpendicular)
Two vectors a and b are perpendicular if and only if a · b = 0