931
Mathematics with Maple (MAS100)

neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Mathematics with Maple

(MAS100)

Page 2: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Introduction

The lecturer is Professor Neil [email protected]

I We will learn how to use Maple, a powerful software package for solvingmathematical problems.

I In the process, we will review and extend many parts of A-levelmathematics, from a new perspective.

Page 3: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Introduction

The lecturer is Professor Neil [email protected] We will learn how to use Maple, a powerful software package for solving

mathematical problems.

I In the process, we will review and extend many parts of A-levelmathematics, from a new perspective.

Page 4: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Introduction

The lecturer is Professor Neil [email protected] We will learn how to use Maple, a powerful software package for solving

mathematical problems.

I In the process, we will review and extend many parts of A-levelmathematics, from a new perspective.

Page 5: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 6: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 7: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 8: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 9: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 10: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 11: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 12: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 13: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 14: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic manipulation

Skills to learn or practice:

I Expand out powers and products

I Factorize simple expressions by inspection

I Manipulate powers (using anam = an+m, (an)m = anm and so on)

I Manipulate and simplify algebraic fractions

Maple commands:

I expand, factor and combine

I simplify; the symbolic option

I collect and coeff

Page 15: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:

(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2

.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 16: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:

(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2

.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 17: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:

(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2

.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 18: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2

.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 19: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2

.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 20: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 21: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 22: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 23: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2

= (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 24: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 25: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 26: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion

I You should practice expanding out products and powers of algebraicexpressions.

I You should check and remember the following identities:(a + b)(a− b) = a2 − b2

(a + b)2 = a2 + 2ab + b2

(a− b)2 = a2 − 2ab + b2.

I Often you will need to use these when a and b are themselves complicatedexpressions.

I Example: To simplify (w + x + y + z)2 − (x + y + z)2,put a = w + x + y + z and b = x + y + z . Then

(w + x + y + z)2 − (x + y + z)2 = a2 − b2 = (a + b)(a− b)

= (w + 2x + 2y + 2z)w

= w 2 + 2xw + 2yw + 2zw .

Page 27: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 28: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 29: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2)

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 30: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 31: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 32: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 33: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 34: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 35: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 36: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 37: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + · · ·

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 38: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 39: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 =

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 40: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 = x2u2 + y 2v 2 + z2w 2 + 2xyuv + 2xzuw + 2yzvw

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 41: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 = x2u2 + y 2v 2 + z2w 2 + 2xyuv + 2xzuw + 2yzvw

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 42: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 = x2u2 + y 2v 2 + z2w 2 + 2xyuv + 2xzuw + 2yzvw

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 43: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 = x2u2 + y 2v 2 + z2w 2 + 2xyuv + 2xzuw + 2yzvw

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 44: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: Cauchy-Schwartz

I Problem: Check the identity

(x2 + y 2 + z2)(u2 + v 2 + w 2) = (xu + yv + zw)2 +

(xv − yu)2 + (yw − zv)2 + (zu − xw)2

≥ (xu + yv + zw)2

I .(x2 + y 2 + z2)(u2 + v 2 + w 2) = x2u2 + x2v 2 + x2w 2 +

y 2u2 + y 2v 2 + y 2w 2 +

z2u2 + z2v 2 + z2w 2

I . (xu + yv + zw)2 = x2u2 + y 2v 2 + z2w 2 + 2xyuv + 2xzuw + 2yzvw

+ (xv − yu)2 + x2v 2 − 2xyuv + y 2u2

+ (yw − zv)2 + y 2w 2 − 2yzvw + z2v 2

+ (zu − xw)2 + z2u2 − 2xzuw + x2w 2

Page 45: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I .

a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 46: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I .

a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 47: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2

= (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 48: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 49: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3

= (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 50: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 51: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2

= (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 52: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 53: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3

= (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 54: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 55: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6

= (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 56: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 57: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Factoring

I You should practice finding simple factorizations by inspection.

I . a2 − b2 = (a + b)(a− b)

a3 − b3 = (a2 + ab + b2)(a− b)

ax2 + bx2 + ay 2 + by 2 = (a + b)(x2 + y 2)

1 + t + t2 + t3 = (1 + t)(1 + t2)

u2 − 5u + 6 = (u − 2)(u − 3)

I Maple’s factor command will handle more complicated cases.

Page 58: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 59: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 60: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m

(an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 61: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 62: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n

an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 63: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 64: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn

(a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 65: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 66: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 67: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 68: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3

= 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 69: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 70: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 71: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 72: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233

= 24

Page 73: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Powers

I You should practice using the basic rules for powers:

anam = an+m (an)m = anm

anbn = (ab)n an/bn = (a/b)n = anb−n

(a + b)n 6=an + bn (a + b)n =∑n

k=0n!

k!(n−k)!akbn−k

I Warning: the rule (an)m = anm has exceptions, for example:

((−3)4)14 = (81)

14 = +3 but (−3)4× 1

4 = (−3)1 = −3.

However, the rule works whenever a > 0 or n and m are integers.

I Example:

(21/231/341/4)3 = 23/233/343/4

= 23/2(22)3/43

= 23/223/23

= 233 = 24

Page 74: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 75: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 76: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 77: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bd

a

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 78: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bd

a

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 79: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bd

a

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 80: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc

( ab

)n=

an

bn( ab

)−n

=bn

an

Page 81: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn

( ab

)−n

=bn

an

Page 82: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebraic fractions

I You should practice manipulating fractions of the form a/b, where a and bare themselves complicated algebraic expressions.

I The rules are as follows:

a

b+

c

d=

ad + bc

bda

b− c

d=

ad − bc

bda

b.c

d=

ac

bda

b/c

d=

ad

bc( ab

)n=

an

bn( ab

)−n

=bn

an

Page 83: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)

=a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 84: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)

=a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 85: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)

=a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 86: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)

=a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 87: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)=

a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 88: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)=

a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 89: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)=

a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 90: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)=

a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 91: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

An example: the cross-ratio

I Put χ(a, b, c, d) = (d−a)(c−b)(d−b)(c−a)

.

I Problem: Show that χ(a, b, c, d) = χ(a−1, b−1, c−1, d−1).

I .

χ(1

a,

1

b,

1

c,

1

d) =

(1d− 1

a

) (1c− 1

b

)(1d− 1

b

) (1c− 1

a

)=

a−dad

b−cbc

b−dbd

a−cac

=(a− d)(b − c)/(abcd)

(b − d)(a− c)/(abcd)

=−− (d − a)(c − b)

−− (d − b)(c − a)

=(d − a)(c − b)

(d − b)(c − a)

= χ(a, b, c, d).

Page 92: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 93: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 94: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 95: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 96: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 97: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 98: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 99: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 100: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions

(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 101: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 102: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

The primary special functions are

exp, ln, sin, cos, tan, arcsin, arccos, arctan.

Things you should know:

I The detailed shape of the graphs

I Domains, ranges and inverses

I Properties such as sin(x + y) = sin(x) cos(y) + cos(x) sin(y)

I Derivatives and integrals (covered in later lectures).

The secondary special functions are

sec, csc, cot, sinh, cosh, tanh,sech, csch, coth, arcsinh, arccosh, arctanh.

I You should know how these are defined in terms of the primary functions(for example, sinh(x) = (exp(x)− exp(−x))/2, and sec(x) = 1/ cos(x))

I You should either remember the properties of the secondary functions, orbe able to derive them from the properties of the primary functions

Page 103: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 104: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 105: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 106: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 107: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 108: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I exp(x) = 1 + x + x2

2!+ x3

3!+ x4

4!+ · · ·

Warning: infinite sums are subtle.

I e = exp(1) = 1 + 1 + 12!

+ 13!

+ · · · ' 2.71828.

I

exp(x + y) = exp(x) exp(y) exp(x − y) = exp(x)/ exp(y)exp(0) = 1 exp(−x) = 1/ exp(x)

exp(nx) = exp(x)n exp(x) = ex

I

1

e

e2

−2 −1 0 1 2

Page 109: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The formula exp(x) exp(y) = exp(x + y)

1 x x2

2!x3

3!x4

4!

y 2xy2!

3x2y3!

4x3y4!

5x4y5!

y2

2!3xy2

3!6x2y2

4!10x3y2

5!15x4y2

6!

y3

3!4xy3

4!10x2y3

5!20x3y3

6!35x4y3

7!

y4

4!5xy4

5!15x2y4

6!35x3y4

7!70x4y4

8!

Page 110: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The formula exp(x) exp(y) = exp(x + y)

1 x x2

2!x3

3!x4

4!

y xy x2

2!y x3

3!y x4

4!y

y2

2!x y2

2!x2

2!y2

2!x3

3!y2

2!x4

4!y2

2!

y3

3!x y3

3!x2

2!y3

3!x3

3!y3

3!x4

4!y3

3!

y4

4!x y4

4!x2

2!y4

4!x3

3!y4

4!x4

4!y4

4!

1 x x2

2!x3

3!x4

4!

y 2xy2!

3x2y3!

4x3y4!

5x4y5!

y2

2!3xy2

3!6x2y2

4!10x3y2

5!15x4y2

6!

y3

3!4xy3

4!10x2y3

5!20x3y3

6!35x4y3

7!

y4

4!5xy4

5!15x2y4

6!35x3y4

7!70x4y4

8!

Page 111: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The formula exp(x) exp(y) = exp(x + y)

1 x x2

2!x3

3!x4

4!

y 2xy2!

3x2y3!

4x3y4!

5x4y5!

y2

2!3xy2

3!6x2y2

4!10x3y2

5!15x4y2

6!

y3

3!4xy3

4!10x2y3

5!20x3y3

6!35x4y3

7!

y4

4!5xy4

5!15x2y4

6!35x3y4

7!70x4y4

8!

Page 112: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The formula exp(x) exp(y) = exp(x + y)

1 x x2

2!x3

3!x4

4!

y 2xy2!

3x2y3!

4x3y4!

5x4y5!

y2

2!3xy2

3!6x2y2

4!10x3y2

5!15x4y2

6!

y3

3!4xy3

4!10x2y3

5!20x3y3

6!35x4y3

7!

y4

4!5xy4

5!15x2y4

6!35x3y4

7!70x4y4

8!

Page 113: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0

(NOT ln(x) = 1/ exp(x))

.I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 114: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.

I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0

(NOT ln(x) = 1/ exp(x))

.I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 115: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).

I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = ywhen y > 0

(NOT ln(x) = 1/ exp(x))

.I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 116: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0

(NOT ln(x) = 1/ exp(x))

.

I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 117: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0 (NOT ln(x) = 1/ exp(x)).

I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 118: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0 (NOT ln(x) = 1/ exp(x)).I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 119: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithm

I The natural log function ln(y) is the inverse of the exponential.I ln(y) is defined only when y > 0 (unless we use complex numbers).I We have ln(exp(x)) = ln(ex) = x for all x , and exp(ln(y)) = e ln(y) = y

when y > 0 (NOT ln(x) = 1/ exp(x)).I

ln(xy) = ln(x) + ln(y) ln(x/y) = ln(x)− ln(y)ln(1) = 0 ln(1/y) = − ln(y)

ln(yn) = n ln(y) ln(e) = 1.

I

1 e e2

−2

−1

0

1

2

ln(x)

Page 120: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 121: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 122: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 123: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 124: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 125: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 126: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 127: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 128: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 129: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Logs to other bases

I loga(y) is the number t such that y = at (defined for a, y > 0).

I . log10(1000) = log10(103) = 3

log2(1024) = log2(210) = 10

log1024(2) = log1024(10241/10) = 1/10

log3(1/9) = log3(3−2) = −2

I loga(y) = ln(y)/ ln(a)

I Check: aln(y)/ ln(a) = (e ln(a))ln(y)/ ln(a) = e ln(y) = y .

I log10(y) = the number t such that 10t = y' the number of digits in y left of the decimal point.

I This is mostly of historical importance.

I log2(y) = the number t such that 2t = y' the number of bits in y .

I This is of some use in computer science and information theory.

I loge(y) = (the number t such that et = y) = ln(y) = log(y).

Page 130: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.

I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 131: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 132: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2

tanh(x) = sinh(x)cosh(x)

csch(x) = 1sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 133: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2

tanh(x) = sinh(x)cosh(x)

csch(x) = 1sinh(x)

cosh(x) = ex+e−x

2

coth(x) = cosh(x)sinh(x)

sech(x) = 1cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 134: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)

csch(x) = 1sinh(x)

cosh(x) = ex+e−x

2

coth(x) = cosh(x)sinh(x)

sech(x) = 1cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 135: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)

csch(x) = 1sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)

sech(x) = 1cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 136: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)

csch(x) = 1sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 137: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 138: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.

I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 139: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.

I These are related to trig functions using complex numbers, egsin(x) = sinh(ix)/i , where i =

√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 140: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 141: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic functions

I The hyperbolic functions are defined as follows:

sinh(x) = ex−e−x

2tanh(x) = sinh(x)

cosh(x)csch(x) = 1

sinh(x)

cosh(x) = ex+e−x

2coth(x) = cosh(x)

sinh(x)sech(x) = 1

cosh(x)

Use convert(...,exp) in Maple to rewrite in terms of exponentials.I Properties are easily deduced from those of exp.I These are related to trig functions using complex numbers, eg

sin(x) = sinh(ix)/i , where i =√−1.

I

sinh(x)

cosh(x)

tanh(x)

Page 142: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I .

cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 143: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 144: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 145: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 146: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 147: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 148: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2

=(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 149: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 150: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 151: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 152: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 153: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y)

= (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 154: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y) = (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 155: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y) = (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 156: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y) = (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2

=ex+y − e−x−y

2= sinh(x + y)

Page 157: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y) = (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2

= sinh(x + y)

Page 158: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Hyperbolic identities

I . cosh(x)2 − sinh(x)2 = 1

sech(x)2 + tanh(x)2 = 1

sinh(x + y) = sinh(x) cosh(y) + cosh(x) sinh(y)

cosh(x + y) = cosh(x) cosh(y) + sinh(x) sinh(y)

I To check these, put u = ex , so sinh(x) = u−u−1

2and cosh(x) = u+u−1

2.

I .

cosh(x)2 − sinh(x)2 =(u + u−1)2

4− (u − u−1)2

4

=(u2 + 2 + u−2)− (u2 − 2 + u−2)

4

= (2− (−2))/4 = 1.

I Now put v = ey , so uv = ex+y .

I sinh(x) cosh(y) + cosh(x) sinh(y) = (u−u−1)2

(v+v−1)2

+ (u+u−1)2

(v−v−1)2

=(uv + uv−1 − u−1v − u−1v−1 + uv − uv−1 + u−1v − u−1v−1)

4

=uv − (uv)−1

2=

ex+y − e−x−y

2= sinh(x + y)

Page 159: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).

I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 160: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).

I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 161: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).

I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 162: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).

I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 163: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).

I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 164: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√

1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 165: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√

1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 166: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√

1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 167: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√

1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 168: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse hyperbolic functions

I The graph of y = sinh(x) crosses each hori-zontal line precisely once, which means thatthere is an inverse function x = sinh−1(y) =arcsinh(y), defined for all y ∈ R.

x=arcsinh(y)

sinh(x)=y

I This can be written in terms of ln: arcsinh(y) = ln(y +√

1 + y 2).

I Check: Suppose y = sinh(x); we must show that x = ln(y +√

1 + y 2).I We have 1 + y2 = 1 + sinh(x)2 = cosh(x)2 (and cosh(x), 1 + y2 > 0), so√

1 + y2 = cosh(x).

I Thus y +√

1 + y2 = sinh(x) + cosh(x) = ex−e−x

2+ ex+e−x

2= ex

I so ln(y +√

1 + y2) = ln(ex ) = x as required.

I Similarly, arccosh(y) = ln(y +√

y 2 − 1), defined for y ≥ 1

I and arctanh(y) = 12

ln(

1+y1−y

), defined when −1 < y < 1.

Page 169: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Graphs

sinh(x) cosh(x) tanh(x)

arcsinh(x) arccosh(x) arctanh(x)

Page 170: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also put

tan(x) = sin(x)cos(x)

csc(x) = 1sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 171: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also put

tan(x) = sin(x)cos(x)

csc(x) = 1sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 172: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also put

tan(x) = sin(x)cos(x)

csc(x) = 1sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 173: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also put

tan(x) = sin(x)cos(x)

csc(x) = 1sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 174: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also puttan(x) = sin(x)

cos(x)

csc(x) = 1sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 175: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also puttan(x) = sin(x)

cos(x)csc(x) = 1

sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 176: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also puttan(x) = sin(x)

cos(x)csc(x) = 1

sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 177: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric functions

I Let P be one unit away from the origin, at an angle of θ measuredanticlockwise from the point A = (1, 0).

cos(θ)

sin(θ)

P=(cos(θ),sin(θ))

A=(1,0)

θ

I (We measure θ in radians, so the length of the arc AP is θ.)

I The numbers cos(θ) and sin(θ) are defined to be the x and y coordinatesof P.

I We also puttan(x) = sin(x)

cos(x)csc(x) = 1

sin(x)

cot(x) = cos(x)sin(x)

sec(x) = 1cos(x)

Page 178: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Graphs

−4π −2π π 2π 3π 4π

sin(θ)

−4π −2π π 2π 3π 4π

cos(θ)

−2π −π π2 π 3π

2 2π

tan(θ)

−2π −π π2 π 3π

2 2π

cot(θ)

Page 179: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Graphs

−4π −2π π 2π 3π 4π

sin(θ)

−4π −2π π 2π 3π 4π

cos(θ)

−2π −π π2 π 3π

2 2π

tan(θ)

−2π −π π2 π 3π

2 2π

cot(θ)

sin(π/2 + x) = cos(x) cos(π/2 + x) = − sin(x)sin(π + x) = − sin(x) cos(π + x) = − cos(x)

sin(2π + x) = sin(x) cos(2π + x) = cos(x)sin(−x) = − sin(x) cos(−x) = cos(x).

Page 180: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i)

= 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .

I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 181: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.

I You can add and subtract complex numbers in an obvious way, forexample (3 + 4i) + (7− 3i) = 10 + i .

I To multiply: expand out and use i2 = −1. For example:(1 + 2i)(3 + 4i)

= 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .

I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 182: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .

I To multiply: expand out and use i2 = −1. For example:(1 + 2i)(3 + 4i)

= 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .

I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 183: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i)

= 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 184: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2

= 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 185: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8

= −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 186: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .

I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 187: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 188: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1

i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 189: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i

i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 190: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1

i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 191: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i

i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 192: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1

i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 193: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i

i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 194: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1

i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 195: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i

i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 196: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 197: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 198: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 199: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 200: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 201: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Preview of complex numbers

I Complex numbers are expressions like z = 3 + 4i , where i satisfies i2 = −1.I You can add and subtract complex numbers in an obvious way, for

example (3 + 4i) + (7− 3i) = 10 + i .I To multiply: expand out and use i2 = −1. For example:

(1 + 2i)(3 + 4i) = 3 + 4i + 6i + 8i2 = 3 + 4i + 6i − 8 = −5 + 10i .I Note that the powers of i repeat with period 4:

i0 = 1 i1 = i i2 = −1 i3 = −i i4 = 1 i5 = i i6 = −1 i7 = −i i8 = 1.

I By expanding and using this we find powers of any complex number.

(1 + i)2 = 1 + 2i + i2 = 1 + 2i + (−1) = 2i

(1 + i)8 = ((1 + i)2)4 = 24i4 = 24 = 16

I Note that

exp(ix) =1 + ix +(ix)2

2+

(ix)3

6+

(ix)4

24+

(ix)5

120+ · · ·

= 1 + ix −x2

2− i

x3

6+

x4

24+ i

x5

120+ · · ·

=

(1−

x2

2+

x4

24+ · · ·

)+

(x −

x3

6+

x5

120+ · · ·

)i

= cos(x) + sin(x)i .

Page 202: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ)

cos(θ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 203: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ)

cos(θ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 204: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ)

cos(θ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 205: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i

cos(θ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 206: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 207: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 208: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 209: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)

=sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 210: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)

= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 211: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 212: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1

sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 213: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 214: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

cos(a + b) = cos(a) cos(b)− sin(a) sin(b)sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 215: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 216: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)

cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 217: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

De Moivre’s theorem

e iθ = exp(iθ) = cos(θ) + sin(θ)i

e−iθ = exp(−iθ) = cos(θ)− sin(θ)i

sin(θ) =e iθ − e−iθ

2i= sinh(iθ)/i

cos(θ) =e iθ + e−iθ

2= cosh(iθ)

tan(θ) =sin(θ)

cos(θ)=

sinh(iθ)/i

cosh(iθ)= tanh(iθ)/i .

cos(a)2 + sin(a)2 = 1sec(a)2 = 1 + tan(a)2

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)cos(a + b) = cos(a) cos(b)− sin(a) sin(b)

sin(2a) = 2 sin(a) cos(a)cos(2a) = 2 cos(a)2 − 1 = 1− 2 sin(a)2.

Page 218: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 219: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2

=

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 220: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 221: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2e ia−ia + e−2ia)/4 + (e2ia − 2e ia−ia + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 222: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 223: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 224: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2

=

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 225: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 226: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 227: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= 2(e2ia + e−2ia)/4

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 228: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2

= cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 229: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 230: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a)

= 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 231: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)

=2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 232: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)

= (e2ia − e−2ia)/(2i) = sin(2a)

Page 233: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i)

= sin(2a)

Page 234: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

cos(a)2 + sin(a)2 =

(e ia + e−ia

2

)2

+

(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/(−4)

= 2/4− 2/(−4) = 1

cos(a)2 − sin(a)2 =

(e ia + e−ia

2

)2

−(e ia − e−ia

2i

)2

= (e2ia + 2 + e−2ia)/4 + (e2ia − 2 + e−2ia)/4

= (e2ia + e−2ia)/2 = cos(2a)

2 sin(a) cos(a) = 2

(e ia − e−ia

2i

)(e ia + e−ia

2

)=

2

4i

(e2ia + e0 − e0 − e−2ia

)= (e2ia − e−2ia)/(2i) = sin(2a)

Page 235: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 236: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0b

cos(b)

sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 237: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 238: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 239: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 240: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b)

a

π/2−a

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 241: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b)

a

π/2−a

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 242: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

b cos(b)

sin(b)

a

sin(a) cos(b)

a

π/2−a

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 243: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

a+b

sin(a+b)

sin(a) cos(b)

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 244: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

a+b

sin(a+b)

sin(a) cos(b)

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 245: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

a+b

sin(a+b)

sin(a) cos(b)

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i

= sin(a + b)

Page 246: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The addition formula

sin(a + b) = sin(a) cos(b) + cos(a) sin(b)

0

0

0 0

a+b

sin(a+b)

sin(a) cos(b)

cos(a) sin(b)

sin(a) cos(b) + cos(a) sin(b) =e ia − e−ia

2i

e ib + e−ib

2+

e ia + e−ia

2

e ib − e−ib

2i

=e i(a+b) − e−i(a+b)

2i= sin(a + b)

Page 247: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 248: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 249: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 250: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 251: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 252: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 253: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 254: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 255: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 256: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 257: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finite Fourier series

I A finite Fourier series is a sum of constant multiples of functions of theform sin(nx) or cos(mx) (with n,m ∈ Z). Note that the constant functionf (x) = a = a cos(0x) is included.

I The phrase trigonometric polynomial means the same thing.

I Many functions can be rewritten as finite Fourier series:

sin(x)2 = 12− 1

2cos(2x)

sin(x)3 = 34sin(x)− 1

4sin(3x)

sin(x) sin(2x) sin(4x) = −sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

sin(x)4 + cos(x)4 = 34

+ 14cos(4x)

sin(nx) sin(mx) = 12cos((n −m)x)− 1

2cos((n + m)x).

I Method: Rewrite using cos(nθ) = (e inθ + e−inθ)/2 andsin(nθ) = (e inθ − e−inθ)/2i , expand out, then rewrite usinge imθ = cos(mθ) + sin(mθ)i .

I Once a function has been rewritten in this form, it is very easy todifferentiate it or integrate it.

Page 258: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 259: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 260: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2.

Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 261: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16.

Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 262: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 263: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.)

Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 264: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 265: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 266: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16

= 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 267: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 268: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples

Problem: write sin(x)4 + cos(x)4 as a Fourier series.

Put u = e ix , so sin(x) = (u − u−1)/(2i) and cos(x) = (u + u−1)/2. Note thati2 = −1 so i4 = (−1)2 = 1 so (2i)4 = 24 = 16. Note also that

(x + y)4 = x4 + 4x3y + 6x2y 2 + 4xy 3 + y 4

(use the binomial formula, or expand it out.) Thus

sin(x)4 + cos(x)4 = (u − u−1)4/16 + (u + u−1)4/16

= (u4 − 4u2 + 6− 4u−2 + u−4)/16 +

(u4 + 4u2 + 6 + 4u−2 + u−4)/16

= 12/16 + 2(u4 + u−4)/16 = 3/4 + ((u4 + u−4)/2)/4

= (3 + cos(4x))/4

Page 269: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special values

You should know the following values of sin(θ) and cos(θ):

θ sin(θ) cos(θ) tan(θ)π/2 1 0 ∞π/3

√3/2 1/2

√3

π/4√

2/2√

2/2 1

π/6 1/2√

3/2√

3/3

Proved by considering these triangles:

1

1

√2

π/4

π/4π/2

1 1

12

12

√3

2π3

π3

π6π6

You should also be able to deduce things like cos(5π/6) = −√

3/2.

Page 270: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special values

You should know the following values of sin(θ) and cos(θ):

θ sin(θ) cos(θ) tan(θ)π/2 1 0 ∞π/3

√3/2 1/2

√3

π/4√

2/2√

2/2 1

π/6 1/2√

3/2√

3/3

Proved by considering these triangles:

1

1

√2

π/4

π/4π/2

1 1

12

12

√3

2π3

π3

π6π6

You should also be able to deduce things like cos(5π/6) = −√

3/2.

Page 271: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special values

You should know the following values of sin(θ) and cos(θ):

θ sin(θ) cos(θ) tan(θ)π/2 1 0 ∞π/3

√3/2 1/2

√3

π/4√

2/2√

2/2 1

π/6 1/2√

3/2√

3/3

Proved by considering these triangles:

1

1

√2

π/4

π/4π/2

1 1

12

12

√3

2π3

π3

π6π6

You should also be able to deduce things like cos(5π/6) = −√

3/2.

Page 272: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special values

You should know the following values of sin(θ) and cos(θ):

θ sin(θ) cos(θ) tan(θ)π/2 1 0 ∞π/3

√3/2 1/2

√3

π/4√

2/2√

2/2 1

π/6 1/2√

3/2√

3/3

Proved by considering these triangles:

1

1

√2

π/4

π/4π/2

1 1

12

12

√3

2π3

π3

π6π6

You should also be able to deduce things like cos(5π/6) = −√

3/2.

Page 273: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Inverse trigonometric functions

−1

1

−π2

π2

−1

1

π

−π2

π2

sin : [−π2,π

2]−→[−1,1] cos : [0,π]−→[−1,1] tan : [−π

2,π

2]−→R

−1 1

−π2

π2

−1 1

π

−π2

π2

arcsin : [−1,1]−→[−π2,π

2] arccos : [−1,1]−→[0,π] arctan : R−→[−π

2,π

2]

Page 274: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 275: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 276: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 277: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .

I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 278: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 279: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)

I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 280: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)

I The chain rule ( dzdx

= dzdy

dydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 281: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 282: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)

I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 283: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)

I The inverse function rule ( dxdy

= 1/ dydx

)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 284: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 285: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 286: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Differentiation

Things you should know:

I The meaning of differentiation (slopes of graphs, time-dependent andspace-dependent variables, etc)

I Some derivatives from first principles: x2, 1/x , ex .I Rules for finding derivatives:

I The product rule ((uv)′ = u′v + uv ′)I The quotient rule ((u/v)′ = (u′v − uv ′)/v2)I The chain rule ( dz

dx= dz

dydydx

)

I The power rule ((un)′ = nun−1u′)I The logarithmic rule (log(u)′ = u′/u)I The inverse function rule ( dx

dy= 1/ dy

dx)

I Derivatives of various classes of functions (eg the derivative of a rationalfunction is another rational function.)

You must learn to find derivatives quickly and accurately.

Page 287: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 288: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .

I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 289: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 290: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .

I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 291: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .

I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 292: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 293: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 294: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 295: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 296: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx

= limh−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 297: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx= lim

h−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 298: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I Consider related variables x and y ; so whenever x changes, so does y .I Examples:

I p = price of chocolate ; d = demand for chocolate .I t = time ; d = atmospheric CO2 concentration .I r = distance from sun ; g = strength of solar gravity .

I If x changes to x + δx , then y changes to y + δy .

dy

dx= limδx−→0

δy

δx= derivative of y with respect to x .

I If y = f (x), then δy = f (x + δx)− f (x), so

f ′(x) =dy

dx= limδx−→0

f (x + δx)− f (x)

δx= lim

h−→0

f (x + h)− f (x)

h.

I We sometimes write y ′ for dy/dx (care needed).

Page 299: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

0

Page 300: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

Consider variables x and y related by y = f (x).

Page 301: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

dy/dx is the slope of the tangent line to the graph.

Page 302: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

If x changes by a small amount δx , then y will change by a small amountδy .

Page 303: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

δx

δy

If x changes by a small amount δx , then y will change by a small amountδy .

Page 304: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

δx

δy

slope δy/δx

The ratio δy/δx is the slope of a chord cutting across the graph.

Page 305: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

δx

δy

slope δy/δx

The slope of the chord changes slightly as δx decreases.

Page 306: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

δx

δy

slope δy/δx

As δx approaches zero, the chord approaches the tangent, and δy/δxapproaches dy/dx .

Page 307: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

x+δx

y+δy

δx

δy

slope δy/δx

As δx approaches zero, the chord approaches the tangent, and δy/δxapproaches dy/dx .

Page 308: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Slopes

y=f (x)

x

y

slope dy/dx

As δx approaches zero, the chord approaches the tangent, and δy/δxapproaches dy/dx .

Page 309: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2

, so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 310: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2

, so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 311: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2

, so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 312: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 313: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 314: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 315: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 316: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 317: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h= lim

h−→0(2x + h)

= 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 318: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h= lim

h−→0(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 319: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = x2

I Consider the function f (x) = x2.

I Then f (x + h) = (x + h)2 = x2 + 2xh + h2 , so

f (x + h)− f (x)

h=

(x + h)2 − x2

h

=x2 + 2xh + h2 − x2

h

=2xh + h2

h

= 2x + h

I Thus

f ′(x) = limh−→0

f (x + h)− f (x)

h= lim

h−→0(2x + h) = 2x .

I Similarly:ddx

(xn) = nxn−1 for all n.

Page 320: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x

=x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 321: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x

=x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 322: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x

=x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 323: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)

=−h

x(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 324: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 325: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 326: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

−1

x(x + h)=−1

x2

Page 327: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h= lim

h−→0

−1

x(x + h)

=−1

x2

Page 328: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The function f (x) = 1/x

I Consider the function f (x) = 1/x .

I . f (x + h)− f (x) =1

x + h− 1

x=

x − (x + h)

x(x + h)=

−hx(x + h)

sof (x + h)− f (x)

h=

−1

x(x + h)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h= lim

h−→0

−1

x(x + h)=−1

x2

Page 329: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex

= ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 330: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex

= ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 331: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex

= ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 332: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1)

= ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 333: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)

sof (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 334: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)

so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 335: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 336: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)

= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 337: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )

= ex .

I Conclusion: exp′(x) = exp(x).

Page 338: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 339: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The exponential function

I Consider the function f (x) = ex = 1 + x + x2

2!+ x3

3!+ · · · .

I .

f (x + h)− f (x) = ex+h − ex = ex(eh − 1) = ex(h + h2

2!+ h3

3!+ · · ·

)so

f (x + h)− f (x)

h= ex

(1 + h

2!+ h2

3!+ · · ·

)so

f ′(x) = limh−→0

f (x + h)− f (x)

h

= limh−→0

ex(

1 + h2!

+ h2

3!+ · · ·

)= ex(1 + 0 + 0 + · · · )= ex .

I Conclusion: exp′(x) = exp(x).

Page 340: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x) log′(x) = 1/x

sinh′(x) = cosh(x) arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x) arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2 arctanh′(x) = (1− x2)−1

sin′(x) = cos(x) arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x) arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2 arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 341: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x)

log′(x) = 1/x

sinh′(x) = cosh(x) arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x) arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2 arctanh′(x) = (1− x2)−1

sin′(x) = cos(x) arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x) arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2 arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 342: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x)

log′(x) = 1/x

sinh′(x) = cosh(x)

arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x)

arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2

arctanh′(x) = (1− x2)−1

sin′(x) = cos(x) arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x) arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2 arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 343: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x)

log′(x) = 1/x

sinh′(x) = cosh(x)

arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x)

arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2

arctanh′(x) = (1− x2)−1

sin′(x) = cos(x)

arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x)

arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2

arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 344: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x) log′(x) = 1/x

sinh′(x) = cosh(x)

arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x)

arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2

arctanh′(x) = (1− x2)−1

sin′(x) = cos(x)

arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x)

arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2

arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 345: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Special functions

exp′(x) = exp(x) log′(x) = 1/x

sinh′(x) = cosh(x) arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x) arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 = 1− tanh(x)2 arctanh′(x) = (1− x2)−1

sin′(x) = cos(x) arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x) arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 = 1 + tan(x)2 arctan′(x) = (1 + x2)−1

I We showed earlier that exp′(x) = exp(x)

I We deduce sinh′(x) using the identity sinh(x) = (ex − e−x)/2. Similarlyfor cosh and tanh.

I Using cos(x) = cosh(ix) etc, we find sin′(x), cos′(x) and tan′(x).

I Using exp′(x) = exp(x) and the inverse function rule, we find thatlog′(x) = 1/x

I The inverse function rule also gives the remaining derivatives.

Page 346: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′

dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δv

so w changes to

w + δw = (u + δu)(v + δv)

= uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 347: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′

dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δv

so w changes to

w + δw = (u + δu)(v + δv)

= uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 348: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δv

so w changes to

w + δw = (u + δu)(v + δv)

= uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 349: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δv

so w changes to

w + δw = (u + δu)(v + δv)

= uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 350: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv)

= uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 351: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 352: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 353: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 354: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx

' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 355: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 356: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The product rule

I Consider variables u and v depending on x , and put w = uv . Then

w ′ = (uv)′ = u′v + uv ′ dwdx

= ddx

(uv) = dudxv + u dv

dx.

I If x changes to x + δx , then u changes to u + δu & v changes to v + δvso w changes to

w + δw = (u + δu)(v + δv) = uv + (δu) v + u (δv) + (δu)(δv)

δw = (δu) v + u (δv) + (δu)(δv)

δw

δx=δu

δxv + u

δv

δx+δu

δx

δv

δxδx

' du

dxv + u

dv

dx+

du

dx

dv

dxδx ' du

dxv + u

dv

dx

(The approximations become exact in the limit as δx −→ 0.)

Page 357: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 358: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 359: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x))

= sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 360: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 361: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 362: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 363: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x))

= 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 364: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 365: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 366: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 367: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx))

= a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 368: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 369: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the product rule

(uv)′ = u′v + uv ′

d

dx(sin(x)cos(x)) = sin′(x)cos(x) + sin(x)cos′(x)

= cos(x)cos(x) + sin(x)(− sin(x))

= cos(x)2 − sin(x)2

d

dx(x3log(x)) = 3x2log(x) + x3log′(x)

= 3x2log(x) + x3(x−1)

= (3 log(x) + 1)x2

d

dx(eaxsin(bx)) = a eaxsin(bx) + eaxb cos(bx)

= eax(a sin(bx) + b cos(bx))

Page 370: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw

, so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v

=u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 371: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw

, so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v

=u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 372: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw

, so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v

=u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 373: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw , so u′ = v ′w + vw ′ (product rule)

, so

w ′ =u′ − v ′w

v

=u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 374: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw , so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v

=u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 375: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw , so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v=

u′

v− v ′.(u/v)

v

=u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 376: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw , so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v=

u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2

=u′v − uv ′

v 2.

Page 377: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The quotient rule

I Consider variables u and v depending on x , and put w = u/v . Then

w ′ =(uv

)′=

u′v − uv ′

v 2

I Indeed: u = vw , so u′ = v ′w + vw ′ (product rule) , so

w ′ =u′ − v ′w

v=

u′

v− v ′.(u/v)

v=

u′

v− uv ′

v 2=

u′v − uv ′

v 2.

Page 378: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 379: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)

=1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 380: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2

=log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 381: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2

= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 382: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 383: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 384: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)

=1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 385: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2

=1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 386: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2

=1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 387: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 388: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 389: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)

=sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 390: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 391: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 392: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2

=1

cos(x)2= sec(x)2

Page 393: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2

= sec(x)2

Page 394: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the quotient rule

d

dx

(x

log(x)

)=

1.log(x)− xx−1

log(x)2=

log(x)− 1

log(x)2= log(x)−1 − log(x)−2

(Aside: x/ log(x) ' ( number of primes ≤ x))

d

dx

(x

1− x2

)=

1.(1− x2)− x .(−2x)

(1− x2)2=

1− x2 + 2x2

(1− x2)2=

1 + x2

(1− x2)2

Now consider tan′(x), remembering that tan(x) = sin(x)/ cos(x).

d

dx

(sin(x)

cos(x)

)=

sin′(x)cos(x)− sin(x)cos′(x)

cos(x)2

=cos(x)cos(x)− sin(x)(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2

cos(x)2=

1

cos(x)2= sec(x)2

Page 395: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy .

Clearlyδy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 396: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy .

Clearlyδy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 397: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy .

Clearlyδy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 398: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy . Clearly

δy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 399: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy . Clearly

δy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 400: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The chain rule

I Suppose that y depends on u, and u depends on x . Then

dy

dx=

dy

du

du

dx

I If x changes to x + δx , then u changes to u + δu and y changes toy + δy . Clearly

δy

δx=δy

δu

δu

δx.

In the limit, δx , δu and δy all approach zero, and we get

dy

dx=

dy

du

du

dx.

I Alternative notation: suppose that f (x) = g(h(x)). Then

f ′(x) = g ′(h(x))h′(x)

Page 401: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2).

This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 402: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2).

This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 403: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 404: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 405: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u)

= − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 406: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 407: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx

= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 408: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x

= −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 409: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 410: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 411: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x)

= exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 412: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 413: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c).

Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 414: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).

Then dudx

= b and dydu

= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 415: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).Then du

dx= b

and dydu

= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 416: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u)

so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 417: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx

= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 418: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u)

= ab cos(bx + c).

Page 419: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples of the chain rule

I Consider y = cos(x2). This is y = cos(u), where u = x2.

du

dx= 2x

dy

du= − sin(u) = − sin(x2)

dy

dx=

dy

du

du

dx= − sin(x2).2x = −2x sin(x2).

I Consider f (x) = exp(sin(x)).

f ′(x) = exp′(sin(x)). sin′(x) = exp(sin(x)) cos(x).

I Consider y = a sin(bx + c). Put u = bx + c, so y = a sin(u).Then du

dx= b and dy

du= a cos(u) so

dy

dx=

dy

du

du

dx= a cos(u).b = ab cos(u) = ab cos(bx + c).

Page 420: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 421: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 422: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 423: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 424: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 425: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 426: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 427: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The power rule

I If u depends on x and n does not, then

d

dx(un) = nun−1 du

dx

I Reason: If y = un then dydu

= nun−1 so dydx

= dydu

dudx

= nun−1 dudx

I Consider y =√

1 + x2. This is y = u1/2, where u = 1 + x2. Then

dy

du=

1

2u−1/2 =

1

2√

1 + x2

du

dx= 2x

dy

dx=

1

2√

1 + x22x =

x√1 + x2

.

I ddx

(sin(x)5

)= 5 sin(x)4cos(x)

I ddx

(log(x)3

)= 3 log(x)2x−1 = 3 log(x)2/x

Page 428: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x))

=1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 429: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x))

=1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 430: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x))

=1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 431: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x))

=1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 432: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x)

=− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 433: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)

= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 434: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 435: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2)

=ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 436: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2

=2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 437: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 438: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx

, so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 439: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x).

Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 440: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 441: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1

= log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 442: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 443: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 444: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The logarithmic rule

I . d

dxlog(u) =

1

u

du

dx

du

dx= u

d

dxlog(u)

I .d

dxlog(cos(x)) =

1

cos(x)cos′(x) =

− sin(x)

cos(x)= − tan(x)

I . d

dxlog(1 + x2) =

ddx

(1 + x2)

1 + x2=

2x

1 + x2

I Consider y = xx , so log(y) = x log(x). Then

d

dxlog(y) =

d

dx(x log(x))

= 1. log(x) + x .x−1 = log(x) + 1

dy

dx= y

d

dxlog(y)

= xx(log(x) + 1).

Page 445: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x)

, so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 446: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x)

, so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 447: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x)

, so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 448: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x)

, so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 449: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 450: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 451: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy

=1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 452: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 453: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 454: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The inverse function rule

I If x and y are interdependent variables, then

dx

dy= 1/

dy

dx

I (Take limits in the obvious relation δxδy

= 1/ δyδx

.)

I Consider y = log(x), so x = ey .

dx

dy= ey = x

dy

dx= 1/

dx

dy=

1

x

I Alternative notation: if y = g(x) then x = f (y), where f = g−1 andg = f −1. Then

g ′(x) = 1/f ′(g(x))

I log′(x) = 1/ exp′(log(x)) = 1/ exp(log(x)) = 1/x .

Page 455: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x)

, so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 456: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x)

, so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 457: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 458: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy

= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 459: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 460: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 461: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1

, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 462: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1, so

cos(y) =√

1− sin(y)2

=√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 463: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 464: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 465: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arcsin function

I Consider y = arcsin(x), so x = sin(y).

dx

dy= sin′(y) = cos(y)

dy

dx= 1/

dx

dy= cos(y)−1.

I Also sin(y)2 + cos(y)2 = 1, so

cos(y) =√

1− sin(y)2 =√

1− x2

cos(y)−1 = (1− x2)−1/2

I So arcsin′(x) = dydx

= (1− x2)−1/2.

Page 466: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x)

, so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 467: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x)

, so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 468: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 469: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 470: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 471: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 472: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2

= 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 473: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 474: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 475: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The arctanh function

I Consider y = arctanh(x), so x = tanh(y) = sinh(y)cosh(y)

.

dx

dy= tanh′(y)

=sinh′(y) cosh(y)− sinh(y) cosh′(y)

cosh(y)2

=cosh(y)2 − sinh(y)2

cosh(y)2

= 1− tanh(y)2 = 1− x2

dy

dx= 1/

dx

dy=

1

1− x2.

I So arctanh′(x) = dydx

= (1− x2)−1.

Page 476: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).

I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 477: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).

I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 478: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 479: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 480: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 481: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 482: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 483: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).

I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 484: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;

f ′(x) = cos(x) + cos(3x) + cos(5x).

I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 485: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;

f ′(x) = cos(x) + cos(3x) + cos(5x).I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 486: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;

f ′(x) = cos(x) + cos(3x) + cos(5x).I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).

I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 487: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;

f ′(x) = cos(x) + cos(3x) + cos(5x).I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .

I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 488: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Classes of functions

I If f (x) is a polynomial, then so is f ′(x).I Eg f (x) = x + x10 + x100; f ′(x) = 1 + 10x9 + 100x99

I Eg f (x) = (x − 1)4 + (x + 1)4; f ′(x) = 4(x − 1)3 + 4(x + 1)3

I If f (x) is a rational function, then so is f ′(x).

I Eg f (x) = x2−1x2+1

; f ′(x) = 4x(x2+1)2

I Eg f (x) = 1x

+ 1x+1

+ 1x+2

; f ′(x) = − 1x2 − 1

(x+1)2 − 1(x+2)2

I If f (x) is a trigonometric polynomial, so is f ′(x).I Eg f (x) = sin(x) + sin(3x)/3 + sin(5x)/5;

f ′(x) = cos(x) + cos(3x) + cos(5x).I Eg f (x) = sin(3x) + cos(3x); f ′(x) = 3 cos(3x)− 3 sin(3x).

I If f (x) is a polynomial times ex , so is f ′(x).I Eg f (x) = (x + x2)ex ; f ′(x) = (1 + 3x + x2)ex .I Eg f (x) = (x4 − 4x3 + 12x2 − 24x + 24)ex ; f ′(x) = x4ex .

Page 489: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3

, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 490: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3

, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 491: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3

, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 492: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3

, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 493: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 494: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 495: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule

; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 496: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 497: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 498: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit differentiation

I Suppose that x and y are related by an equation such as y 4 + xy = x3.We cannot write y as a function of x , but we can still find dy/dx .

I Differentiate both sides. Terms in the equation involving y give terms inthe derivative involving dy/dx . Rearranging gives dy/dx in terms of x andy .

I Suppose that y 4 + xy = x3, so

ddx

(y 4 + xy

)= d

dx

(x3)

= 3x2.

Also ddx

(y 4) = 4y 3 dydx

by the power rule

and ddx

(xy) = dxdxy + x dy

dx= y + x dy

dxby the product rule ; so

4y 3 dydx

+ y + x dydx

= 3x2

(4y 3 + x) dydx

= 3x2 − y

dydx

= 3x2−y4y3+x

.

Page 499: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 500: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 501: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 502: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 503: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 504: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 505: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 506: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 507: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 508: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 509: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Implicit examples

I Suppose x + sin(x) = y − cos(y).

ddx

(x + sin(x)) = ddx

(y − cos(y))

1 + cos(x) = dydx

+ sin(y) dydx

dydx

= 1+cos(x)1+sin(y)

I Suppose y = exp(x2 + y 2).

dydx

= ddx

exp(x2 + y 2) = ddx

(ex2

ey2

)

= 2xex2

ey2

+ ex2

.2y dydxey

2

= 2(x + y dydx

) exp(x2 + y 2)

(1− 2y exp(x2 + y 2)) dydx

= 2x exp(x2 + y 2)

dydx

= 2x exp(x2+y2)

1−2y exp(x2+y2)

Page 510: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 511: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 512: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 513: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 514: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt

=1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 515: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3

(so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t

=1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 516: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)

=x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 517: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 518: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 519: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 520: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)

=

√y(2− y)

y=

√2− y

y

Page 521: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y

=

√2− y

y

Page 522: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Parametric differentiation

I Suppose that x and y are both functions of another variable t. Then

dy

dx=

dy/dt

dx/dt

I Suppose that x = 1 + t2 and y = t + t3 (so t = y/x)

dy/dt = 1 + 3t2 dx/dt = 2t

dy

dx=

dy/dt

dx/dt=

1 + 3t2

2t=

1 + 3(y/x)2

2(y/x)=

x2 + 3y 2

2xy

I Suppose that x = t − sin(t) and y = 1− cos(t).

dy/dt = sin(t) dx/dt = 1− cos(t)

dy

dx=

dy/dt

dx/dt=

sin(t)

1− cos(t)=

√y(2− y)

y=

√2− y

y

Page 523: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1;

2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 524: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1;

2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 525: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1;

2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 526: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 527: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 528: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 529: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt

=cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 530: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)

= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 531: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 532: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 533: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2)

=1

2y−1.(−2x) = −x

y.

Page 534: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x)

= −x

y.

Page 535: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The circle

I Consider a point (x , y) on the unit circle, so x2 + y 2 = 1.

I Differentiate x2 + y 2 = 1; 2x + 2ydy

dx= 0;

dy

dx= −2x

2y= −x

y

I Parametrically: x = cos(t), y = sin(t).

dy

dx=

dy/dt

dx/dt=

cos(t)

− sin(t)= −x

y

I Directly: y = (1− x2)1/2

dy

dx=

1

2(1− x2)−1/2 d

dx(1− x2) =

1

2y−1.(−2x) = −x

y.

Page 536: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 537: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 538: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 539: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 540: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 541: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 542: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 543: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration

Things you should know:

I The meaning of integration (take the sum of a large number of very smallcontributions, and pass to the limit)

I Integration as the reverse of differentiation

I Integrals of standard functions and classes of functions

I The method of undetermined coefficients

I Integration by parts

I Integration by substitution

Page 544: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 545: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 546: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].

I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 547: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.

I Add these terms together to get an approximation to∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 548: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 549: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 550: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 551: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 552: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Meaning

I To define∫ b

af (x) dx :

I Divide the interval [a, b] into many short intervals [x , x + h].I For each short interval [x , x + h], find f (x)h.I Add these terms together to get an approximation to

∫ ba f (x) dx .

I For the exact value of∫ ba f (x) dx , take the limit h −→ 0.

I In economics, government revenue depends on time, and total revenue inthe last decade is

∫ 2009

1999revenue(t) dt.

I If a particle moves with velocity v(t) > 0 at time t, then the total distance

moved between times a and b is∫ b

av(t) dt.

I A current flowing in a wire exerts a magnetic force on a moving electron.There is a formula for the force contributed by a short section of wire; toget the total force, we integrate.

Page 553: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

Consider the integral∫ b

af (x) dx .

Page 554: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

f (x)

h

Area = f (x)h

For each short interval [x , x + h] ⊂ [a, b], we have a contribution f (x)h. This isthe area of the green rectangle.

Page 555: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

This is the contribution from one short interval, but we need to add togetherthe contributions from many short intervals.

Page 556: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

Here we have added in two more intervals

Page 557: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

Here we have added in two more intervals – and two more

Page 558: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

Here we have added in two more intervals – and two more – and two more

Page 559: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

Now we have divided the whole interval [a, b] into subintervals of length h. Thesum of the terms f (x)h is the area of the green region.

Page 560: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

This is not exactly the same as the area under the curve, because of the regionsmarked in blue and pink.

Page 561: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

However, the error decreases if we make h smaller.

Page 562: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Areas

a b

y=f (x)

However, the error decreases if we make h smaller, and tends to zero in thelimit.

Page 563: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 564: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).

I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 565: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 566: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/x

I sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 567: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)

I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 568: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 569: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:

I For any number a, the function F (x) =∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 570: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:I For any number a, the function F (x) =

∫ xa f (t) dt is an indefinite integral of

f (x).

I If F (x) is any indefinite integral of f (x), then∫ ba f (x) dx =

[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 571: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:I For any number a, the function F (x) =

∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 572: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:I For any number a, the function F (x) =

∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 573: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

The Fundamental Theorem of Calculus

I An indefinite integral of f (x) is a function F (x) such that F ′(x) = f (x).I Examples:

I log(x) is an indefinite integral of 1/xI sin(x) is an indefinite integral of cos(x)I F (x) = x2 + 2x and G(x) = (x + 1)2 are indefinite integrals of 2x + 2

I The Fundamental Theorem of Calculus:I For any number a, the function F (x) =

∫ xa f (t) dt is an indefinite integral of

f (x).I If F (x) is any indefinite integral of f (x), then∫ b

a f (x) dx =[F (x)

]ba

= F (b)− F (a).

I The functions F (x) =∫ x

02t + 2 dt = x2 + 2x and

G(x) =∫ x

−12t + 2 dt = (x + 1)2 are both indefinite integrals of 2x + 2.

I∫ b

a1x

=[

log(x)]ba

= log(b)− log(a)

Page 574: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

Area = F (x)

y=f (x)

a x

Choose a number a, and define F (x) =∫ x

af (t) dt. We must show that

F ′(x) = f (x).

We now change x to x + h. The increase in F (x) isF (x + h)− F (x), which is the area of the thin strip as shown. This isapproximately the same as f (x)h.

Page 575: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

Area = F (x + h)

x+h

y=f (x)

a x

We now change x to x + h.

The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown. This is approximately the same as f (x)h.

Page 576: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

x+h

Area = F (x + h)− F (x)

' f (x)h

y=f (x)

a x

We now change x to x + h. The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown.

This is approximately the same as f (x)h.

Page 577: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

x+h

Area = F (x + h)− F (x)' f (x)h

f (x)

h

y=f (x)

a x

We now change x to x + h. The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown. This is approximately the same as f (x)h.

Page 578: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

Area = F (x + h)− F (x)' f (x)h

x+h

f (x)

h

y=f (x)

a x

We now change x to x + h. The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown. This is approximately the same as f (x)h.

Page 579: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

Area = F (x + h)− F (x)' f (x)h

x+h

f (x)

h

y=f (x)

a x

We now change x to x + h. The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown. This is approximately the same as f (x)h.

F ′(x) ' (F (x + h)− F (x))/h ' f (x).

Page 580: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Proof of the Fundamental Theorem

Area = F (x + h)− F (x)' f (x)h

x+h

f (x)

h

y=f (x)

a x

We now change x to x + h. The increase in F (x) is F (x + h)− F (x), which isthe area of the thin strip as shown. This is approximately the same as f (x)h.

F ′(x) = limh−→0

(F (x + h)− F (x))/h = f (x).

Page 581: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 582: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 583: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 584: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 585: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 586: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 587: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 588: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Constants

I Is it

∫x2 dx = x3/3 or

∫x2 dx = x3/3+c?

I Either is acceptable in the exam.Neither one is strictly logically satisfactory.

I x3/3 is an indefinite integral of x2.

I Every indefinite integral of x2 has the form x3/3 + c for some c.

I If you just want to calculate∫ b

af (x) dx , it does not matter which

indefinite integral you use. Any two choices will give the same answer.

I In solving differential equations, it often does matter which indefiniteintegral you use. You must therefore include a ’+c’ term, and do someextra work to see what c should be.

I Maple’s int() command will never give you a ’+c’ term.If you need one, you must insert it yourself.

Page 589: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x)6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 590: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x)6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 591: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx = sin(x)3/3?

∫sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 592: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 593: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

?

∫ cos(x)x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 594: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 595: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 596: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 597: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1)

, because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 598: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Checking and Guessing

IIntegrals can easily be checked by differentiating

I∫

sin(x)2 dx 6= sin(x)3/3, because

d

dx

(sin(x)3/3

)= 3 sin(x)2 cos(x)/3 = sin(x)2 cos(x) 6= sin(x)2.

I∫ cos(x)

x− sin(x)

x2 dx = sin(x)x

, because

d

dx

(sin(x)

x

)=

sin′(x).x − sin(x).1

x2=

cos(x)

x− sin(x)

x2.

I∫

2x ex2

dx = ex2

, because ddxex

2

= 2x ex2

.

I∫

3x2+2x+1x3+x2+x+1

dx = log(x3 + x2 + x + 1), because

d

dxlog(x3 + x2 + x + 1) =

ddx

(x3 + x2 + x + 1)

x3 + x2 + x + 1=

3x2 + 2x + 1

x3 + x2 + x + 1.

Page 599: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)

I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)

= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 600: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)

= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 601: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)

I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)

= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 602: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)

= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 603: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)

= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 604: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 605: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 606: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 607: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6

∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 608: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Undetermined coefficients

I Suppose we know that for some constants a, . . . , d∫log(x)3 dx = (a log(x)3 + b log(x)2 + c log(x) + d)x

(How could we know this? — see later)I Problem: find a, b, c and d .

I . log(x)3 = ddx

((a log(x)3 + b log(x)2 + c log(x) + d)x

)= (3a log(x)2x−1 + 2b log(x)x−1 + cx−1)x +

(a log(x)3 + b log(x)2 + c log(x) + d).1

= a log(x)3 + (b + 3a) log(x)2 + (c + 2b) log(x) + (d + c)

I So a = 1, b + 3a = 0, c + 2b = 0 and d + c = 0 (compare coefficients)

I So a = 1, b = −3, c = 6 and d = −6∫log(x)3 dx = (log(x)3 − 3 log(x)2 + 6 log(x)− 6)x .

Page 609: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

= == == == == == == =∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 610: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

exp′(x) = exp(x) log′(x) = 1/x

sinh′(x) = cosh(x) arcsinh′(x) = (1 + x2)−1/2

cosh′(x) = sinh(x) arccosh′(x) = (x2 − 1)−1/2

tanh′(x) = sech(x)2 arctanh′(x) = (1− x2)−1

sin′(x) = cos(x) arcsin′(x) = (1− x2)−1/2

cos′(x) = − sin(x) arccos′(x) = −(1− x2)−1/2

tan′(x) = sec(x)2 arctan′(x) = (1 + x2)−1

∫xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 611: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)

∫xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 612: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)

∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 613: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)

∫log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 614: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x

∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 615: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))

∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 616: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4

∫cos(x)2 dx = (2x + sin(2x))/4

Page 617: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Standard integrals

∫exp(x) dx = exp(x)

∫1/x dx = log(x)∫

cosh(x) dx = sinh(x)∫

(1 + x2)−1/2 dx = arcsinh(x)∫sinh(x) dx = cosh(x)

∫(x2 − 1)−1/2 dx = arccosh(x)∫

sech(x)2 dx = tanh(x)∫

(1− x2)−1 dx = arctanh(x)∫cos(x) dx = sin(x)

∫(1− x2)−1/2 dx = arcsin(x)∫

sin(x) dx = − cos(x)∫

(1− x2)−1/2 dx = − arccos(x)∫sec(x)2 dx = tan(x)

∫(1 + x2)−1 dx = arctan(x)∫

xn dx = xn+1/(n + 1) (n 6= −1)∫ax dx = ax/ log(a)∫

log(x) dx = x log(x)− x∫tan(x) dx = − log(cos(x))∫sin(x)2 dx = (2x − sin(2x))/4∫cos(x)2 dx = (2x + sin(2x))/4

Page 618: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 619: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 620: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 621: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 622: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 623: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 624: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational functions

I A rational function of x is a function defined using only constants,addition, multiplication, division and integer powers.

I No roots, fractional powers, logs, exponentials, trigonometric functionsand so on can occur in a rational function.

I Examples: 1 + x + x2

1 − x + x2

1

x+

π

x − 1+

π2

x − 2x2 + x + 1 + x−1 + x−2

I Non-Examples: e−x sin(x)

√1 − x2

log(x)

1 + x

arctan(x)

2π.

I If f (x) is a rational function, then∫f (x) dx is a sum of terms of the

following types:I Rational functionsI Terms of the form ln(|x − u|)I Terms of the form ln(x2 + vx + w)I Terms of the form arctan(ux + v).

I∫

4x3 + 8

x6 − x2dx =

8

x+ 3 ln(|x − 1|)− ln(|x + 1|)− ln(x2 + 1) + 4 arctan(x)

Page 625: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational function examples

I∫

x2 + 1

x2 − 1dx = x + ln(|x − 1|) + ln(|x + 1|)

I∫ (

x + 1

x − 1

)3

dx = 1 +6

x − 1+

12

(x − 1)2+

8

(x − 1)3

I∫

2x + 2

x2 + 1dx = ln(x2 + 1) + 2 arctan(x)

I∫

1

x−1 + 1 + xdx =

1

2ln(1 + x + x2)− 1√

3arctan

(1 + 2x√

3

)I∫

4

1− x4dx = ln(|x + 1|)− ln(|x − 1|) + 2 arctan(x)

d

dxln(|x − u|) =

1

x − u

d

dxln(x2 + ux + v) =

2x + u

x2 + ux + v

d

dxarctan(ux + v) =

u

1 + (ux + v)2=

u

u2x2 + 2uvx + (v 2 + 1)

Page 626: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational function examples

I∫

x2 + 1

x2 − 1dx = x + ln(|x − 1|) + ln(|x + 1|)

I∫ (

x + 1

x − 1

)3

dx = 1 +6

x − 1+

12

(x − 1)2+

8

(x − 1)3

I∫

2x + 2

x2 + 1dx = ln(x2 + 1) + 2 arctan(x)

I∫

1

x−1 + 1 + xdx =

1

2ln(1 + x + x2)− 1√

3arctan

(1 + 2x√

3

)I∫

4

1− x4dx = ln(|x + 1|)− ln(|x − 1|) + 2 arctan(x)

d

dxln(|x − u|) =

1

x − u

d

dxln(x2 + ux + v) =

2x + u

x2 + ux + v

d

dxarctan(ux + v) =

u

1 + (ux + v)2=

u

u2x2 + 2uvx + (v 2 + 1)

Page 627: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Rational function examples

I∫

x2 + 1

x2 − 1dx = x + ln(|x − 1|) + ln(|x + 1|)

I∫ (

x + 1

x − 1

)3

dx = 1 +6

x − 1+

12

(x − 1)2+

8

(x − 1)3

I∫

2x + 2

x2 + 1dx = ln(x2 + 1) + 2 arctan(x)

I∫

1

x−1 + 1 + xdx =

1

2ln(1 + x + x2)− 1√

3arctan

(1 + 2x√

3

)I∫

4

1− x4dx = ln(|x + 1|)− ln(|x − 1|) + 2 arctan(x)

d

dxln(|x − u|) =

1

x − u

d

dxln(x2 + ux + v) =

2x + u

x2 + ux + v

d

dxarctan(ux + v) =

u

1 + (ux + v)2=

u

u2x2 + 2uvx + (v 2 + 1)

Page 628: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 629: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 630: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 631: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2

∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 632: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4

∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 633: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 634: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4

∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 635: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 636: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4

∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 637: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 638: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4

∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 639: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Trigonometric polynomials

∫sin(nx) dx = − cos(nx)/n

∫cos(nx) dx = sin(nx)/n

cos(2x) = cos(x)2 − sin(x)2 = 2 cos(x)2 − 1 = 1− 2 sin(x)2

sin(x)2 = 1/2− cos(2x)/2∫sin(x)2 dx = x/2− sin(2x)/4∫cos(x)2 dx = x/2 + sin(2x)/4

sin(x)3 = 3 sin(x)/4− sin(3x)/4∫sin(x)3 dx = −3 cos(x)/4 + cos(3x)/12

sin(x) sin(2x) sin(4x) = − sin(x)/4 + sin(3x)/4 + sin(5x)/4− sin(7x)/4∫sin(x) sin(2x) sin(4x) dx = cos(x)/4− cos(3x)/12− cos(5x)/20 + cos(7x)/28

sin(x)4 + cos(x)4 = 3/4 + cos(4x)/4∫sin(x)4 + cos(x)4 dx = 3x/4 + sin(4x)/16

Page 640: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 641: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 642: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 643: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2

∫ex dx = ex

∫e−2x+7 dx = e−2x+7/(−2)∫

tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 644: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex

∫e−2x+7 dx = e−2x+7/(−2)∫

tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 645: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)

∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 646: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 647: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Affine substitution

If

∫f (x) dx = g(x) and a, b are constant, then∫

f (ax + b) dx = g(ax + b)/a

∫cos(x) dx = sin(x)

∫cos(2x + 3) dx = sin(2x + 3)/2∫

ex dx = ex∫

e−2x+7 dx = e−2x+7/(−2)∫tan(x) dx = − ln(cos(x))

∫tan(πx) dx = − ln(cos(πx))/π

Page 648: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exponential oscillations

I An exponential oscillation is a function of the form

f (x) = eλx(a cos(ωx) + b sin(ωx)),

where a, b, λ and ω are constants.

I The growth rate is λ, and the angular frequency is ω.

y=e−x sin(20πx)

(λ=−1,ω=20π,a=0,b=1)

I Special cases:

f (x) = eλx sin(ωx) (a = 0, b = 1)

f (x) = a cos(ωx) + b sin(ωx) (λ = 0)

f (x) = aeλx (ω = 0).

Page 649: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exponential oscillations

I An exponential oscillation is a function of the form

f (x) = eλx(a cos(ωx) + b sin(ωx)),

where a, b, λ and ω are constants.

I The growth rate is λ, and the angular frequency is ω.

y=e−x sin(20πx)

(λ=−1,ω=20π,a=0,b=1)

I Special cases:

f (x) = eλx sin(ωx) (a = 0, b = 1)

f (x) = a cos(ωx) + b sin(ωx) (λ = 0)

f (x) = aeλx (ω = 0).

Page 650: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exponential oscillations

I An exponential oscillation is a function of the form

f (x) = eλx(a cos(ωx) + b sin(ωx)),

where a, b, λ and ω are constants.

I The growth rate is λ, and the angular frequency is ω.

y=e−x sin(20πx)

(λ=−1,ω=20π,a=0,b=1)

I Special cases:

f (x) = eλx sin(ωx) (a = 0, b = 1)

f (x) = a cos(ωx) + b sin(ωx) (λ = 0)

f (x) = aeλx (ω = 0).

Page 651: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exponential oscillations

I An exponential oscillation is a function of the form

f (x) = eλx(a cos(ωx) + b sin(ωx)),

where a, b, λ and ω are constants.

I The growth rate is λ, and the angular frequency is ω.

y=e−x sin(20πx)

(λ=−1,ω=20π,a=0,b=1)

I Special cases:

f (x) = eλx sin(ωx) (a = 0, b = 1)

f (x) = a cos(ωx) + b sin(ωx) (λ = 0)

f (x) = aeλx (ω = 0).

Page 652: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exponential oscillations

I An exponential oscillation is a function of the form

f (x) = eλx(a cos(ωx) + b sin(ωx)),

where a, b, λ and ω are constants.

I The growth rate is λ, and the angular frequency is ω.

y=e−x sin(20πx)

(λ=−1,ω=20π,a=0,b=1)

I Special cases:

f (x) = eλx sin(ωx) (a = 0, b = 1)

f (x) = a cos(ωx) + b sin(ωx) (λ = 0)

f (x) = aeλx (ω = 0).

Page 653: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 654: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.

∫eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 655: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 656: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 657: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find∫e−2x(5 cos(4x)−3 sin(4x)) dx

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 658: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find∫e−2x(5 cos(4x)−3 sin(4x)) dx

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 659: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find∫e−2x(5 cos(4x)−3 sin(4x)) dx

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 660: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find∫e−2x(5 cos(4x)−3 sin(4x)) dx

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10

∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 661: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

The integral of an EO is another EO with the same growth rate and angularfrequency.∫

eλx(a cos(ωx) + b sin(ωx)) dx = eλx(A cos(ωx) + B sin(ωx))

A =aλ− bω

λ2 + ω2B =

aω + bλ

λ2 + ω2.

I Example: find∫e−2x(5 cos(4x)−3 sin(4x)) dx

I λ = −2, ω = 4, a = 5, b = −3

I A =aλ− bω

λ2 + ω2=

5.(−2)− (−3).4

(−2)2 + 42= 1/10

I B =aω + bλ

λ2 + ω2=

5.4 + (−3)(−2)

(−2)2 + 42= 13/10∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10

Page 662: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 663: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 664: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)

= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 665: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 666: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 667: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.

These equations can be solved to give A = 1/10 and B = 13/10. Thus∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 668: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10.

Thus∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 669: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating exponential oscillations

Alternatively:∫e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(A cos(4x) + B sin(4x)) for some A,B

e−2x(5 cos(4x)− 3 sin(4x)) =d

dx

(e−2x(A cos(4x) + B sin(4x))

)= − 2e−2x(A cos(4x) + B sin(4x)) +

e−2x(−4A sin(4x) + 4B cos(4x))

= e−2x((4B − 2A) cos(4x)− (2B + 4A) sin(4x))

By comparing coefficients, we must have 4B − 2A = 5 and 2B + 4A = 3.These equations can be solved to give A = 1/10 and B = 13/10. Thus∫

e−2x(5 cos(4x)− 3 sin(4x)) dx = e−2x(cos(4x) + 13 sin(4x))/10.

Page 670: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 671: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 672: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 673: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 674: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 675: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Polynomial exponential oscillations

I A polynomial exponential oscillation is a function of the form

f (x) = eλx(a(x) cos(ωx) + b(x) sin(ωx)),

where a(x) and b(x) are polynomials.

I λ is the growth rate and ω is the angular frequency. The degree is thehighest power of x that occurs in a(x) or in b(x).

I The function f (x) = e−2x((1 + x5) cos(4x) + x3 sin(4x))is a PEO of growth rate −2, frequency 4 and degree 5.

I The function f (x) = e4x((1 + x3 + x6) sin(3x))is a PEO of growth rate 4, frequency 3 and degree 6.

I Fact: The integral of any PEO is another PEO with the same growthrate, frequency and degree.

Page 676: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .

xe−x sin(x) = ddx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 677: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .

xe−x sin(x) = ddx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 678: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .

xe−x sin(x) = ddx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 679: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)

= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 680: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 681: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 682: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 683: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 684: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — I

I∫xe−x sin(x) dx is a PEO of degree 1, growth −1, frequency 1.

I∫xe−x sin(x) dx = (Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

for some A, B, C , D.

I .xe−x sin(x) = d

dx

((Ax + B)e−x cos(x) + (Cx + D)e−x sin(x)

)= Ae−x cos(x)− (Ax + B)e−x cos(x)− (Ax + B)e−x sin(x) +

Ce−x sin(x)− (Cx + D)e−x sin(x) + (Cx + D)e−x cos(x)

= (−A + C)xe−x cos(x) + (A− B + D)e−x cos(x) +

(−A− C)xe−x sin(x) + (−B + C − D)e−x sin(x).

I −A + C = 0, A− B + D = 0, −A− C = 1, −B + C − D = 0.

I So A = −1/2, B = −1/2, C = −1/2, D = 0

I∫xe−x sin(x) dx = −((x + 1)e−x cos(x) + xe−x sin(x))/2.

Page 685: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)

= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 686: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)

= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 687: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)

= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 688: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)

= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 689: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 690: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 691: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 692: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 693: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integrating PEO’s — II

I∫x3ex dx is a PEO of degree 3, growth 1 and frequency 0.

I∫x3ex dx = (Ax3 + Bx2 + Cx + D)ex for some A, B, C , D.

I . x3ex = ddx

((Ax3 + Bx2 + Cx + D)ex

)= (3Ax2 + 2Bx + C)ex + (Ax3 + Bx2 + Cx + D)ex

= (Ax3 + (3A + B)x2 + (2B + C)x + (C + D))ex .

I A = 1, 3A + B = 0, 2B + C = 0, C + D = 0.

I so A = 1, B = −3, C = 6, D = −6

I so∫x3ex dx = (x3 − 3x2 + 6x − 6)ex .

Page 694: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I u = x dv/dx = ex/a

I du/dx = 1

v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 695: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1

v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 696: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1

v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 697: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1

v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 698: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1 v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 699: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1 v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx

= axex/a −∫

a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 700: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1 v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx = axex/a −

∫a ex/a dx

= axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 701: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1 v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx = axex/a −

∫a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 702: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — I

I Consider

∫xex/a dx .

I u = x dv/dx = ex/a

I du/dx = 1 v = a ex/a

I∫

xex/a dx = uv −∫

du

dxv dx = axex/a −

∫a ex/a dx = axex/a − a2ex/a

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

I This is most useful when (a) du/dx is simpler than u (eg u polynomial)and (b) v is no more complicated than dv/dx (eg dv/dx = cos(x)).

Page 703: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1

v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 704: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1

v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 705: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1

v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 706: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1

v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 707: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1 v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 708: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1 v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx

= −(1− ln(x))x−1 −∫

x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 709: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1 v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx = −(1− ln(x))x−1 −

∫x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 710: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1 v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx = −(1− ln(x))x−1 −

∫x−2 dx

= (ln(x)− 1)x−1 + x−1

= ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 711: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — II

I Consider

∫(1− ln(x))x−2 dx .

I u = 1− ln(x) dv/dx = x−2

I du/dx = −x−1 v = −x−1

I∫

(1− ln(x))x−2 dx = uv −∫

du

dxv dx = −(1− ln(x))x−1 −

∫x−2 dx

= (ln(x)− 1)x−1 + x−1 = ln(x)/x

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 712: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I u = x dv/dx = sin(ωx)

I du/dx = 1

v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 713: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1

v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 714: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1

v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 715: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1

v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 716: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1 v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 717: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1 v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx

= −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 718: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1 v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx = −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 719: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — III

I Consider

∫x sin(ωx) dx .

I u = x dv/dx = sin(ωx)

I du/dx = 1 v = −ω−1 cos(ωx)

I∫

x sin(ωx) dx = uv −∫

du

dxv dx = −ω−1x cos(ωx) +

∫ω−1 cos(ωx) dx

= −ω−1x cos(ωx) + ω−2 sin(ωx)

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 720: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2

v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 721: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x) dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2

v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 722: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2

v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 723: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2

v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 724: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2 v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 725: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2 v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx

= arcsin(x).x −∫

x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 726: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2 v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx = arcsin(x).x −

∫x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 727: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by parts — IV

I Consider

∫arcsin(x).1 dx .

I u = arcsin(x) dv/dx = 1

I du/dx = (1− x2)−1/2 v = x

I∫

arcsin(x).1 dx = uv −∫

du

dxv dx = arcsin(x).x −

∫x(1− x2)−1/2 dx

= x arcsin(x) + (1− x2)1/2

I To integrate a product, call the factors u and dvdx

.

I Differentiate u to find du/dx .

I Integrate dvdx

to find v .

I Use the formula: ∫udv

dxdx = uv −

∫du

dxv dx

Page 728: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Put u = cos(x)

, so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 729: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x)

, so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 730: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x)

, so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 731: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x)

, so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 732: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 733: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 734: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 735: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1)

=cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 736: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — I

I Consider

∫sin(x)

cos(x)ndx .

I Put u = cos(x), so du/dx = − sin(x), so dx = −du/ sin(x)

I .

∫sin(x)

cos(x)ndx =

∫sin(x)

un

−dusin(x)

= −∫

u−n du

= u1−n/(n − 1) =cos(x)1−n

n − 1

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral, then rewrite the result in terms of x .

Page 737: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Put u = −4x2

, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 738: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2

, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 739: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2

, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 740: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x

, so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 741: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 742: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x

= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 743: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 744: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x= −1

8

∫eu du

= −eu/8

= −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 745: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — II

I Consider

∫xe−4x2

dx .

I Put u = −4x2, so du/dx = −8x , so dx = −du/(8x)

I .

∫xe−4x2

dx =

∫−xeu du

8x= −1

8

∫eu du

= −eu/8 = −e−4x2

/8

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral, then rewrite the result in terms of x .

Page 746: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Put u = 2x + 1

, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 747: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2.

I Put u = 2x + 1

, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 748: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1

, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 749: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1, so du/dx = 2

, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx

, and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 750: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 751: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 752: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2

= arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 753: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — III

I Consider

∫dx

4x2 + 4x + 2=

∫dx

(2x + 1)2 + 1.

I Put u = 2x + 1, so du/dx = 2, so dx = du/2

I .

∫dx

4x2 + 4x + 2=

∫du/2

u2 + 1

= arctan(u)/2 = arctan(2x + 1)/2

I To find∫f (x) dx , pick out some part of f (x) and call it u.

I Find du/dx , and rearrange to express dx in terms of x and du.

I Rewrite the integral in terms of u and du.

I Evaluate the integral, then rewrite the result in terms of x .

Page 754: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2

, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 755: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2

, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 756: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2

, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 757: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t

, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 758: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt

√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 759: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2

∫dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 760: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2

= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 761: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 762: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t)

= 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 763: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — IV

I Consider

∫dx√x − x2

.

I Put x = t2, so dx/dt = 2t, so dx = 2t dt√x − x2 =

√t2 − t4 = t

√1− t2∫

dx√x − x2

=

∫2t dt

t√

1− t2= 2

∫dt√

1− t2

= 2 arcsin(t) = 2 arcsin(√x)

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral, then rewrite the result in terms of x .

Page 764: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et

, so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 765: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et

, so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 766: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et

, so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 767: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et

, so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt

, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 768: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et , so dx = et dt

∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 769: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt

=

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 770: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 771: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et

= (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral

, then rewrite the result in terms of x .

Page 772: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Integration by substitution — V

I Consider

∫log(x)2 dx .

I Put x = et , so dx/dt = et , so dx = et dt∫log(x)2 dx =

∫log(et)2et dt =

∫t2et dt

= (t2 − 2t + 2)et = (log(x)2 − 2 log(x) + 2)x

I To find∫f (x) dx , put x equal to some function of t.

I Find dx/dt, and rearrange to express dx in terms of t and dt.

I Rewrite the integral in terms of t and dt.

I Evaluate the integral, then rewrite the result in terms of x .

Page 773: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx

=

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 774: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx

=

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 775: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx

= −∫

cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 776: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx

= − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 777: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 778: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx .

Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 779: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).

∫x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 780: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2

=1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 781: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du

= − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 782: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 783: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√

x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√x

Page 784: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx .

Put t =√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 785: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx . Put t =

√x , so x = t2, so dx = 2t dt.

∫xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 786: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx . Put t =

√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt

= 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 787: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx . Put t =

√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt

= 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 788: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx . Put t =

√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 789: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples I

I∫

tan(x) dx =

∫sin(x)

cos(x)dx = −

∫cos′(x)

cos(x)dx = − log(cos(x)).

I Consider∫x2 tan(x3) dx . Put u = x3, so du = 3x2 dx , so dx = du/(3x2).∫

x2 tan(x3) dx =

∫x2 tan(u)

du

3x2=

1

3

∫tan(u) du = − log(cos(u))/3

= − log(cos(x3))/3

I Consider∫xe√x dx . Put t =

√x , so x = t2, so dx = 2t dt.∫

xe√x dx =

∫t2et .2t dt = 2

∫t3et dt = 2(t3 − 3t2 + 6t − 6)et

= (2x3/2 − 6x + 12x1/2 − 12)e√

x

Page 790: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx

=

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 791: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx

=

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 792: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 793: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 794: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 795: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 796: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 797: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2E

So A = 2, B = −4, C = 10, D = −10, E = 7∫(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 798: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7

∫(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 799: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples II

I .

∫(2(x2 + 1)ex)2 dx =

∫(4x4 + 8x2 + 4)e2x dx

= (Ax4 + Bx3 + Cx2 + Dx + E)e2x

(4x4 + 8x2 + 4)e2x =d

dx((Ax4 + Bx3 + Cx2 + Dx + E)e2x)

= (4Ax3 + 3Bx2 + 2Cx + D)e2x +

(Ax4 + Bx3 + Cx2 + Dx + E).2e2x

= e2x(2Ax4 + (4A + 2B)x3 + (3B + 2C)x2 +

(2C + 2D)x + (D + 2E))

So 4 = 2A, 0 = 4A + 2B, 8 = 3B + 2C , 0 = 2C + 2D, 4 = D + 2ESo A = 2, B = −4, C = 10, D = −10, E = 7∫

(2(x2 + 1)ex)2 dx = (2x4 − 4x3 + 10x2 − 10x + 7)e2x .

Page 800: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx

=

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 801: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx

=

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 802: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx =

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 803: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx =

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 804: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx =

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)

=3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 805: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx =

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 806: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples III

I .

∫1 + cosh(x) + cosh(x)2 dx =

∫1 +

ex + e−x

2+

(ex + e−x

2

)2

dx

=1

4

∫4 + 2ex + 2e−x + e2x + 2 + e−2x dx

=1

4

(6x + 2ex − 2e−x + 1

2e2x − 1

2e−2x

)=

3

2x +

ex − e−x

2+

1

4

e2x − e−2x

2

=3

2x + sinh(x) +

1

4sinh(2x).

Page 807: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 808: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 809: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 810: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2

=1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 811: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 812: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)

=cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 813: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2

=1

cos(x)

Page 814: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples IV

I To show that

∫dx

cos(x)= log

(1 + sin(x)

cos(x)

):

d

dx

(1 + sin(x)

cos(x)

)=

cos(x). cos(x)− (1 + sin(x))(− sin(x))

cos(x)2

=cos(x)2 + sin(x)2 + sin(x)

cos(x)2=

1 + sin(x)

cos(x)2

d

dxlog

(1 + sin(x)

cos(x)

)=

(1 + sin(x)

cos(x)

)−1d

dx

(1 + sin(x)

cos(x)

)=

cos(x)

1 + sin(x)

1 + sin(x)

cos(x)2=

1

cos(x)

Page 815: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx

=

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 816: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx

=

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 817: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 818: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 819: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 820: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx

=

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 821: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx =

∫5e−x dx +

∫−5e−x cos(2x) dx .

∫−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 822: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx =

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 823: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx =

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 824: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx =

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2

∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 825: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Examples V

I .

∫8x sin(x) cos(x) dx =

∫4x sin(2x) dx

= −2x cos(2x) +

∫2 cos(2x) dx

= −2x cos(2x) + sin(2x).

I Consider

∫10e−x sin(x)2 dx =

∫5e−x dx +

∫−5e−x cos(2x) dx .∫

−5e−x cos(2x) dx = e−x(A cos(2x) + B sin(2x))

− 5e−x cos(2x) = e−x((2B − A) cos(2x)− (2A + B) sin(2x))

A = 1, B = −2∫10e−x sin(x)2 dx = −5e−x + e−x cos(2x)− 2e−x sin(2x).

Page 826: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 827: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 828: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 829: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 830: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 831: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Taylor series

ex = exp(x) = 1 + x +x2

2+

x3

6+ · · · =

∞∑k=0

xk

k!.

x

(1− x)2= x + 2x2 + 3x3 + 4x4 + · · · =

∞∑k=0

kxk ( for |x | < 1)

cos(x) = 1− x2

2+

x4

24+ · · · =

∞∑k=0

(−1)kx2k

(2k)!

arctan(x) = x − x3

3+

x5

5− x7

7+ · · · =

∞∑k=0

(−1)kx2k+1

2k + 1

I For any reasonable function f (x), there are coefficients ak such that

f (x) =∞∑k=0

akxk

(when x is sufficiently small). This is the Taylor series for f (x).

Page 832: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 833: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 834: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 835: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 836: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 837: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 838: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Exceptions

Not every function has a Taylor series.

I f0(x) = 1/x does not, because f0(0) is undefined.

I f1(x) = |x | and f2(x) = x1/3 do not, because the slopes f ′1 (0) and f ′2 (0) arenot defined.

I f3(x) = ln(x) does not, because f ′3 (x) is undefined for x < 0.

I f4(x) = e−1/x2

does not, for a more subtle reason.

For a full explanation, see Level 3 complex analysis.

Page 839: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

Page 840: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

Page 841: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

Page 842: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7.

The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

Page 843: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

Page 844: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

tan(x) = x + O(x3)

Page 845: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

tan(x) = x + x3/3 + O(x5)

Page 846: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

Page 847: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Truncated series

Often we only calculate with finitely many terms of the Taylor series.

tan(x) = x + x3/3 + 2x5/15 + O(x7)

The notation O(x7) means that there are extra terms involving powers xk

with k ≥ 7. The above is the 7th order Taylor series for tan(x). It is a goodapproximation to tan(x) if x is sufficiently small.

tan(x) = x + x3/3 + 2x5/15 + 17x7/315 + O(x9)

Page 848: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 849: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 850: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 851: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 852: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 853: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Finding coefficients

y =∞∑k=0

akxk , where ak =

1

k!

dky

dxk

∣∣∣∣x=0

f (x) =∞∑k=0

akxk , where ak = f (k)(0)/k!

Example:

exp(k)(x) = · · · = exp′′′(x) = exp′′(x) = exp′(x) = exp(x) = ex

exp(k)(0) = · · · = exp′′′(0) = exp′′(0) = exp′(0) = exp(0) = 1

Thus ak = 1/k!, and exp(x) =∑

k xk/k!.

Page 854: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 855: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 856: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 857: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 858: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 859: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 860: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 861: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 862: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 863: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 864: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 865: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . .

=∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 866: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Another example

Take f (x) = sin(x).

f (x) = sin(x) f ′(x) = cos(x) f ′′(x) = − sin(x) f ′′′(x) = − cos(x)

f (4)(x) = sin(x) f (5)(x) = cos(x) f (6)(x) = − sin(x) f (7)(x) = − cos(x)

f (8)(x) = sin(x) f (9)(x) = cos(x) f (10)(x) = − sin(x) f (11)(x) = − cos(x)

f (0) = 0 f ′(0) = 1 f ′′(0) = 0 f ′′′(0) = −1

f (4)(0) = 0 f (5)(0) = 1 f (6)(0) = 0 f (7)(0) = −1

f (8)(0) = 0 f (9)(0) = 1 f (10)(0) = 0 f (11)(0) = −1

a0 = 0 a1 = 1 a2 = 0 a3 = −1/3!

a4 = 0 a5 = 1/5! a6 = 0 a7 = −1/7!

a8 = 0 a9 = 1/9! a10 = 0 a11 = −1/11!

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

Page 867: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 868: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 869: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2

=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 870: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!

=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 871: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 872: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x)

= (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 873: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2

=∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 874: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)

=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 875: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!

=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 876: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 877: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x

= (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 878: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x)

=∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 879: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)

=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 880: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!

=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 881: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 882: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x)

= 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 883: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . .

=∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 884: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 885: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)

= xd

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 886: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk

= x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 887: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1

=∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 888: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 889: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2

=∑k

k xk .

Page 890: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Other methods

It is often easiest to deduce a Taylor series from known series for otherfunctions.

e−x2=∑k

(−x2)k

k!=∑k

(−1)kx2k

k!

cosh(x) = (ex + e−x )/2 =∑k

xk + (−x)k

2 (k!)=∑keven

xk

k!=∑j

x2j

(2j)!

sinh(x)/x = (ex − e−x )/(2x) =∑k

xk − (−x)k

2x (k!)=∑kodd

xk−1

k!=∑j

x2j

(2j + 1)!

1/(1 − x) = 1 + x + x2 + x3 + . . . =∑k

xk

xd

dx

(1

1 − x

)= x

d

dx

∑k

xk = x∑k

k xk−1 =∑k

k xk

x/(1 − x)2 =∑k

k xk .

Page 891: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).For example, cos(x) is even and sin(x) is odd. If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 892: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).

For example, cos(x) is even and sin(x) is odd. If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 893: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).For example, cos(x) is even and sin(x) is odd.

If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 894: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).For example, cos(x) is even and sin(x) is odd. If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 895: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).For example, cos(x) is even and sin(x) is odd. If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 896: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Odd and even functions

Recall that f (x) is even if f (−x) = f (x), and odd if f (−x) = −f (x).For example, cos(x) is even and sin(x) is odd. If

f (x) =∑k

akxk =

∑k even

akxk +

∑k odd

akxk

thenf (−x) =

∑k

ak(−x)k =∑

k even

akxk −

∑k odd

akxk .

Thus f (x) is even iff the Taylor series involves only even powers of x , andf (x) is odd iff the Taylor series involves only odd powers of x .

sin(x) = x − x3

3!+

x5

5!− x7

7!+

x9

9!− x11

11!+ . . . =

∞∑k=0

(−1)kx2k+1

(2k + 1)!

cos(x) = 1− x2

2!+

x4

4!− x6

6!+

x8

8!− x10

10!+ . . . =

∞∑k=0

(−1)kx2k

(2k)!

Page 897: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebra of series

tan(x) = x + 13x3 + 2

15x5 + O(x7)

tan(x)2 = (x + 13x3 + 2

15x5)2 + O(x7)

= x2 + 13x4 + 2

15x6 +

13x4 + 1

9x6 + 2

45x8

215x6 + 2

45x8 + 4

225x10 + O(x7)

= x2 + 23x4 + 17

45x6 + O(x7).

Page 898: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebra of series

tan(x) = x + 13x3 + 2

15x5 + O(x7)

tan(x)2 = (x + 13x3 + 2

15x5)2 + O(x7)

= x2 + 13x4 + 2

15x6 +

13x4 + 1

9x6 + 2

45x8

215x6 + 2

45x8 + 4

225x10 + O(x7)

= x2 + 23x4 + 17

45x6 + O(x7).

Page 899: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebra of series

tan(x) = x + 13x3 + 2

15x5 + O(x7)

tan(x)2 = (x + 13x3 + 2

15x5)2 + O(x7)

= x2 + 13x4 + 2

15x6 +

13x4 + 1

9x6 + 2

45x8

215x6 + 2

45x8 + 4

225x10 + O(x7)

= x2 + 23x4 + 17

45x6 + O(x7).

Page 900: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebra of series

tan(x) = x + 13x3 + 2

15x5 + O(x7)

tan(x)2 = (x + 13x3 + 2

15x5)2 + O(x7)

= x2 + 13x4 + 2

15x6 +

13x4 + 1

9x6 + 2

45x8

215x6 + 2

45x8 + 4

225x10 + O(x7)

= x2 + 23x4 + 17

45x6 + O(x7).

Page 901: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Algebra of series

tan(x) = x + 13x3 + 2

15x5 + O(x7)

tan(x)2 = (x + 13x3 + 2

15x5)2 + O(x7)

= x2 + 13x4 + 2

15x6 +

13x4 + 1

9x6 + 2

45x8

215x6 + 2

45x8 + 4

225x10 + O(x7)

= x2 + 23x4 + 17

45x6 + O(x7).

Page 902: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 903: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α.

Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 904: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 905: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1

ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 906: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2

ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 907: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3

ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 908: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 909: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 910: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 911: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

Expansion about other points

We can also expand f (x) in terms of powers (x − α)k , for any α. Moreprecisely,

f (x) =∑∞

k=0 bk(x − α)k , where bk = f (k)(α)/k!

ln′(x) = x−1 ln′′(x) = −x−2 ln′′′(x) = 2x−3 ln(4)(x) = −6x−4

ln(1) = 0 ln′(1) = 1 ln′′(1) = −1 ln′′′(1) = 2 ln(4)(1) = −6

b0 = 0 b1 = 1 b2 = −1/2 b3 = 2/3! = 1/3 b4 = −6/4! = −1/4

ln(x) = (x − 1)− (x − 1)2/2 + (x − 1)3/3− (x − 1)4/4 + O((x − 1)5).

Page 912: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 913: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 914: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 915: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 916: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1

f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 917: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2

f ′′(π4

) =2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 918: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 919: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 920: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

We will find the series for tan(x) near x = π4

.

f (x) = tan(x)

f ′(x) =1

cos(x)2

f ′′(x) = −2 cos(x)−3.− sin(x) =2 sin(x)

cos(x)3

f (π4

) = 1 f ′(π4

) =1

(2−1/2)2= 2 f ′′(π

4) =

2.2−1/2

(2−1/2)3= 4

a0 = 1/0! = 1 a1 = 2/1! = 2 a2 = 4/2! = 2

tan(x) = 1 + 2(x − π4

) + 2(x − π4

)2 + O((x − π4

)3).

Page 921: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 922: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 923: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 924: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3)

= 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 925: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 926: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 927: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36

= x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 928: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)

x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 929: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)

Page 930: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3)

= 1− x/2 + x2/12 + O(x3)

Page 931: neilstrickland.github.io · Special functions The primary special functions are exp, ln, sin, cos, tan, arcsin, arccos, arctan. Things you should know: I The detailed shape of the

More examples

Consider y = x/(ex − 1).

ex = 1 + x + x2/2 + x3/6 + O(x4)

ex − 1 = x + x2/2 + x3/6 + O(x4)

1

y=

ex − 1

x= 1 + x/2 + x2/6 + O(x3) = 1 + u + O(x3) u = x/2 + x2/6

y =1

1 + u= 1− u + u2 + O(u3) = 1− u + u2 + O(x3)

u2 = x2/4 + x3/6 + x4/36 = x2/4 + O(x3)x

ex − 1= 1− u + u2 + O(x3)

= 1− x/2− x2/6 + x2/4 + O(x3) = 1− x/2 + x2/12 + O(x3)