SlideShare a Scribd company logo
1 of 5
Download to read offline
Calculus refresher
Disclaimer: I claim no original content on this document, which is mostly a summary-rewrite of what any
standard college calculus book offers. (Here I’ve used Calculus by Dennis Zill.) I consider this as a brief
refresher of the bare-bones calculus requirements we will be using during the course. No exercises are offered:
any calculus book provides an insane amount of practice problems.

                                 1. Rules of differentiation: Basics
In what follows, let f (x) be a one-variable function, and denote its derivative by f (x). The standard
differentiation rules are the following:
Theorem 1.1 (The Power Rule, 1). Let n be a positive integer. Then

                                               d n
                                                 [x ] = nxn−1 .                                            (1)
                                              dx
Example 1.2. The derivative of y = x4 is given by

                                             dy
                                                = 4x4−1 = 4x3 .
                                             dx
Theorem 1.3 (Derivative of a constant function). If f (x) = k and k is a constant, then f (x) = 0.
Theorem 1.4 (Derivative of a constant multiple of a function). If c is any constant and f is a differentiable
function, then

                                              d
                                                [cf (x)] = cf (x).                                         (2)
                                             dx
Example 1.5. Following theorems 1.1 and 1.4, the derivative of y = 3x5 is given by:

                                      dy      d 5
                                         =3·    x = 3(5x4 ) = 15x4 .
                                      dx     dx
Theorem 1.6 (The Sum Rule). Let f and g be two differentiable functions. Then

                                       d
                                         [f (x) + g(x)] = f (x) + g (x).                                   (3)
                                      dx
Example 1.7. From theorems 1.1. and 1.6, the derivative of y = x4 + x3 is:

                                      dy    d 4    d 3
                                         =    x +    x = 4x3 + 3x2 .
                                      dx   dx     dx
Theorem 1.8 (The Product Rule). If f and g are differentiable functions, then

                                    d
                                      [f (x)g(x)] = f (x)g (x) + g(x)f (x).                                (4)
                                   dx
Example 1.9. The differential of y = (x3 − 2x2 + 4)(8x2 + 5x) is:

                  dy                      d                            d 3
                       = (x3 − 2x2 + 4) ·   (8x2 + 5x) + (8x2 + 5x) ·    (x − 2x2 + 4)
                  dx                     dx                           dx
                       = (x3 − 2x2 + 4)(16x + 5) + (8x2 + 5x)(3x2 − 4x).
Theorem 1.10 (The Quotient Rule). If f and g are differentiable functions, then

                                     d f (x)   g(x)f (x) − f (x)g (x)
                                             =                        .                                    (5)
                                    dx g(x)           [g(x)]2
                                                      1
2

                                            3x2 −1
Example 1.11. The differential of y =      2x3 +5x2 +7    is:

                                                   d                      d
                  dy          (2x3 + 5x2 + 7) ·         2
                                                      − 1) − (3x2 − 1) · dx (2x3 + 5x2 + 7)
                                                  dx (3x
                       =                                3 + 5x2 + 7)2
                  dx                                (2x
                              (2x + 5x + 7) · (6x) − (3x2 − 1) · (6x2 + 10x)
                                 3     2
                       =
                                             (2x3 + 5x2 + 7)2
                              −6x4 + 6x2 + 52x
                       =                        .
                               (2x3 + 5x2 + 7)2
Theorem 1.12 (The Power Rule, 2). If n is a positive integer, then

                                              d −n
                                                [x ] = −nx−n−1 .                                        (6)
                                             dx
                                                  1
Example 1.13. The derivative of y = 5x3 −         x4   is (after rewriting y as 5x3 − x−4 ):

                                     dy                              4
                                        = 5 · 3x2 − (−4)x−5 = 15x2 + 5 .
                                     dx                             x

                           2. Rules of differentiation: The Chain Rule
Theorem 2.1 (The Power Rule for Functions). If n is an integer and g is a differentiable function, then

                                          d
                                            [g(x)]n = n[g(x)]n−1 g (x).                                 (7)
                                         dx
Example 2.2. Let y = (2x3 + 4x + 1)4 . If g(x) = (2x3 + 4x + 1) and n = 4, then from Theorem 2.1 it
follows that

                   dy                    d
                      = 4(2x3 + 4x + 1)3 (2x3 + 4x + 1) = 4(2x3 + 4x + 1)3 (6x2 + 4).
                   dx                   dx
Theorem 2.3 (The Chain Rule). If y = f (u) is a differentiable function of u and u = g(x) is a differentiable
function of x, then

                                       dy   dy du
                                          =   ·   = f (g(x)) · g (x).                                   (8)
                                       dx   du dx
Example 2.4. From the rules of differentiation of trigonometric functions, it is true that:

                                               d                du
                                                 [sin u] = cos u .
                                              dx                dx

Let y = (9x3 + 1)2 sin 5x. Then, the derivative of y can be obtained first by applying Theorem 1.8:

                                dy               d                 d
                                   = (9x3 + 1)2    sin 5x + sin 5x (9x3 + 1)2 ,
                                dx              dx                dx

followed by applications of theorems 2.1 and 2.2:

                         dy
                                = (9x3 + 1)2 · 5 cos 5x + sin 5x · 2(9x3 + 1) · (27x2 )
                         dx
                                = (9x3 + 1)(45x3 cos 5x + 54x2 sin 5x + 5 cos 5x).
3


                                      3. Higher-order derivatives
Definition 3.1 (The Second Derivative). The derivative f (x) is a function derived from a function y = f (x).
By differentiating the first derivative f (x), we obtain yet another function called the second derivative,
                                                    d
denoted by f (x). In terms of the operation symbol dx :

                                                  d   dy
                                                         .
                                                 dx   dx
                                                                          d2 y           2
Alternative notation for the second derivative is given by: f (x), y ,    dx2 ,     and Dx y.
                                                                                            dy
Example 3.2. To calculate the second derivative of y = x3 − 2x2 , first we obtain            dx :

                                               dy
                                                  = 3x2 − 4x.
                                               dx
Then, the second derivative is:

                                         d2 y    d
                                            2
                                              =    (3x2 − 4x) = 6x − 4.
                                         dx     dx
Remark 3.3. Higher-order derivatives are obtained analogously: the third derivative is the derivative of
the second derivative; the fourth derivative is the derivative of the third derivative, and so on. A standard
notation for the first n derivatives is (among others) f (x), f (x), f (x), f (4) (x), . . . , f (n) (x).
Example 3.4. The first five derivatives of the polynomial f (x) = 2x4 − 6x3 + 7x2 + 5x − 10 are given by:

                                      f (x) = 8x3 − 18x2 + 14x + 5,
                                     f (x) = 24x2 − 36x + 14,
                                     f (x) = 48x − 36,
                                    f (4) (x) = 48,
                                    f (5) (x) = 0.


                                      4. Extremals of functions
Definition 4.1 (Absolute extremals). Let f be a real-valued function. The absolute extremals of f are
defined as follows:
   (a) A number f (¯) is an absolute maximum if f (x) ≤ f (¯) for every x in the domain of f .
                   c                                       c
   (b) A number f (¯) is an absolute minimum if f (x) ≥ f (¯) for every x in the domain of f .
                   c                                       c
Theorem 4.2 (The Extreme Value Theorem). A continuous function f defined on a closed interval [a, b]
always has an absolute maximum and an absolute minimum on the interval.
Definition 4.3 (Critical point). A critical point of a function f is a number c in its domain for which
f (c) = 0.
Example 4.4. To find the critical points of f (x) = x3 − 15x + 6, we obtain the first derivative f (x):
                                                             √            √
                                  f (x) = 3x2 − 15 = 3(x +       5)(x −       5).
                                                                           √     √
Hence, the critical points are those numbers for which f (x) = 0, namely, − 5 and 5.
Theorem 4.5. If f is continuous on a closed interval [a, b], then an absolute extremum occurs either at an
endpoint of the interval or at a critical point in the open interval (a, b).
Remark 4.6. The previous theorem says that any absolute extremum must occur in an endpoint or in
a critical point. This is not the same as assuming that because we have a critical point, it must be an
extremum! Second-order conditions should be checked to verify that we have a minimum or maximum.
4


Example 4.7. Let f (x) = x3 − 3x2 − 24x + 2 be defined on the intervals [−3, 1] and [−3, 8]. To find the
absolute extremals, first we obtain f (x):

                                       f (x) = 3x2 − 6x − 24 = 3(x + 2)(x − 4),

and it follows that the critical points of the function are -2 and 4. Simple calculations show that for the
interval [−3, 1], the absolute maximum is f (−2) = 30, and the absolute minimum is the endpoint extremum
f (1) = −24. For the interval [−3, 8], the absolute minimum is f (4) = −78, while the absolute maximum is
reached at the endpoint extremum f (8) = 130.


                                      5. The natural logarithmic function
Definition 5.1 (The Natural Logarithmic Function). The natural logarithmic function, denoted by ln x,1 is
defined by:
                                                                        x
                                                                            dt
                                                           ln x =                                       (9)
                                                                    1       t
for all x > 0.
Theorem 5.2 (The Derivative of the Natural Logarithm). The derivative of ln x is given by:
                                                            d         1
                                                              [ln x] = ,                              (10)
                                                           dx         x
for all x > 0.
Theorem 5.3 (Laws of the Natural Logarithm). Let a and b be positive real numbers and let t be a rational
number. Then:
   (a) ln ab = ln a + ln b.
  (b) ln a = ln a − ln b.
          b
   (c) ln at = t ln a.
Example 5.4. To obtain the derivative of y = ln(2x − 3), note that for 2x − 3 > 0, we have from Theorem
7.2:
                                           dy     1     d              2
                                              =           (2x − 3) =        .
                                           dx   2x − 3 dx            2x − 3


                                            6. The exponential function
Definition 6.1 (The Natural Exponential Function). The natural exponential function is defined by:

                                           y = exp x if and only if x = ln y.                         (11)

For any real number x, ex = exp x.
Theorem 6.2 (Laws of Exponents). Let r and s be any real numbers and let t be a rational number. Then:
  (a) e0 = 1.
  (b) e1 = e.
  (c) er es = er+s .
       r
  (d) es = er−s .
      e
  (e) (er )t = ert .
  (f) e−r = e1 .
               r


    1Usually the symbol ln x is pronounced “ell-en of x”
5


Theorem 6.3 (The derivative of the exponential function). The derivative of y = exp x is given by:
                                                     d x
                                                       [e ] = ex .                                       (12)
                                                    dx
Using the Chain Rule, we can generalize the above to
                                                    d u        du
                                                      [e ] = eu ,                                        (13)
                                                   dx          dx
where u = g(x) is a differentiable function.
Example 6.4. The derivative of y = e4x is given by:

                                              dy              d
                                                    =    e4x ·  (4x)
                                              dx             dx
                                                          4x
                                                    =    e (4)
                                                    = 4e4x


                                       7. Partial differentiation
Remark 7.1 (Partial differentiation). Let z = f (x, y). To compute ∂z/∂x, use the laws of ordinary differ-
entiation while treating y as a constant. To compute ∂z/∂y, use the laws of ordinary differentiation while
treating x as a constant.
Remark 7.2. If z = f (x, y), alternative notation for partial derivatives is ∂z/∂x = ∂f /∂x = zx = fx , and
similarly, ∂z/∂y = ∂f /∂y = zy = fy .
Example 7.3. Let z = 4x3 y 2 − 4x2 + y 6 + 1. The partial derivatives of z with respect to x and y are given
by:

                                              ∂z
                                                    = 12x2 y 2 − 8x
                                              ∂x
                                              ∂z
                                                    = 8x3 y + 6y 5 .
                                              ∂y
Theorem 7.4 (Equality of Mixed Partials). Let f be a function of two variables. If fx , fy , fxy , and fyx are
continuous on an open region R, then fxy = fyx at each point of R.
Example 7.5. Consider the partial derivatives obtained in Example 7.3. The continuity conditions of
Theorem 7.4 are satisfied in this case, so it should be that fxy = fyx ; this is so since

                                                ∂2z
                                                         =       24x2 y
                                               ∂x ∂y
                                                ∂2z
                                                         =       24x2 y.
                                               ∂y ∂x

More Related Content

What's hot

Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]Hazrul156
 
Ann chapter-3-single layerperceptron20021031
Ann chapter-3-single layerperceptron20021031Ann chapter-3-single layerperceptron20021031
Ann chapter-3-single layerperceptron20021031frdos
 
The Kernel Trick
The Kernel TrickThe Kernel Trick
The Kernel TrickEdgar Marca
 
Lesson 12: The Product and Quotient Rule
Lesson 12: The Product and Quotient RuleLesson 12: The Product and Quotient Rule
Lesson 12: The Product and Quotient RuleMatthew Leingang
 
Lesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleLesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleMatthew Leingang
 
11.on generalized dislocated quasi metrics
11.on generalized dislocated quasi metrics11.on generalized dislocated quasi metrics
11.on generalized dislocated quasi metricsAlexander Decker
 
On generalized dislocated quasi metrics
On generalized dislocated quasi metricsOn generalized dislocated quasi metrics
On generalized dislocated quasi metricsAlexander Decker
 
Some fixed point theorems in generalised dislocated metric spaces
Some fixed point theorems in generalised dislocated metric spacesSome fixed point theorems in generalised dislocated metric spaces
Some fixed point theorems in generalised dislocated metric spacesAlexander Decker
 
11.some fixed point theorems in generalised dislocated metric spaces
11.some fixed point theorems in generalised dislocated metric spaces11.some fixed point theorems in generalised dislocated metric spaces
11.some fixed point theorems in generalised dislocated metric spacesAlexander Decker
 
Lesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of CalculusLesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of CalculusMatthew Leingang
 
Initial value problems
Initial value problemsInitial value problems
Initial value problemsAli Jan Hasan
 
Supervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesSupervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesDaniil Mirylenka
 
Lesson 27: Integration by Substitution (Section 4 version)
Lesson 27: Integration by Substitution (Section 4 version)Lesson 27: Integration by Substitution (Section 4 version)
Lesson 27: Integration by Substitution (Section 4 version)Matthew Leingang
 
FEM Introduction: Solving ODE-BVP using the Galerkin's Method
FEM Introduction: Solving ODE-BVP using the Galerkin's MethodFEM Introduction: Solving ODE-BVP using the Galerkin's Method
FEM Introduction: Solving ODE-BVP using the Galerkin's MethodSuddhasheel GHOSH, PhD
 
12X1 T07 01 v and a In terms of x (2010)
12X1 T07 01 v and a In terms of x (2010)12X1 T07 01 v and a In terms of x (2010)
12X1 T07 01 v and a In terms of x (2010)Nigel Simmons
 

What's hot (18)

Week 7 [compatibility mode]
Week 7 [compatibility mode]Week 7 [compatibility mode]
Week 7 [compatibility mode]
 
Ann chapter-3-single layerperceptron20021031
Ann chapter-3-single layerperceptron20021031Ann chapter-3-single layerperceptron20021031
Ann chapter-3-single layerperceptron20021031
 
The Kernel Trick
The Kernel TrickThe Kernel Trick
The Kernel Trick
 
Metric Embeddings and Expanders
Metric Embeddings and ExpandersMetric Embeddings and Expanders
Metric Embeddings and Expanders
 
Lesson 12: The Product and Quotient Rule
Lesson 12: The Product and Quotient RuleLesson 12: The Product and Quotient Rule
Lesson 12: The Product and Quotient Rule
 
Lesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient RuleLesson 9: The Product and Quotient Rule
Lesson 9: The Product and Quotient Rule
 
11.on generalized dislocated quasi metrics
11.on generalized dislocated quasi metrics11.on generalized dislocated quasi metrics
11.on generalized dislocated quasi metrics
 
On generalized dislocated quasi metrics
On generalized dislocated quasi metricsOn generalized dislocated quasi metrics
On generalized dislocated quasi metrics
 
Some fixed point theorems in generalised dislocated metric spaces
Some fixed point theorems in generalised dislocated metric spacesSome fixed point theorems in generalised dislocated metric spaces
Some fixed point theorems in generalised dislocated metric spaces
 
11.some fixed point theorems in generalised dislocated metric spaces
11.some fixed point theorems in generalised dislocated metric spaces11.some fixed point theorems in generalised dislocated metric spaces
11.some fixed point theorems in generalised dislocated metric spaces
 
Lesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of CalculusLesson 32: The Fundamental Theorem Of Calculus
Lesson 32: The Fundamental Theorem Of Calculus
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
Initial value problems
Initial value problemsInitial value problems
Initial value problems
 
Supervised Prediction of Graph Summaries
Supervised Prediction of Graph SummariesSupervised Prediction of Graph Summaries
Supervised Prediction of Graph Summaries
 
Lesson 27: Integration by Substitution (Section 4 version)
Lesson 27: Integration by Substitution (Section 4 version)Lesson 27: Integration by Substitution (Section 4 version)
Lesson 27: Integration by Substitution (Section 4 version)
 
FEM Introduction: Solving ODE-BVP using the Galerkin's Method
FEM Introduction: Solving ODE-BVP using the Galerkin's MethodFEM Introduction: Solving ODE-BVP using the Galerkin's Method
FEM Introduction: Solving ODE-BVP using the Galerkin's Method
 
12X1 T07 01 v and a In terms of x (2010)
12X1 T07 01 v and a In terms of x (2010)12X1 T07 01 v and a In terms of x (2010)
12X1 T07 01 v and a In terms of x (2010)
 
Chapter 4 (maths 3)
Chapter 4 (maths 3)Chapter 4 (maths 3)
Chapter 4 (maths 3)
 

Viewers also liked

Next publishingメソッドとは
Next publishingメソッドとはNext publishingメソッドとは
Next publishingメソッドとはMasanobu Iseri
 
Xbrl manual-for-cost-audit-final
Xbrl manual-for-cost-audit-finalXbrl manual-for-cost-audit-final
Xbrl manual-for-cost-audit-finalgrakrishna
 
GIỚI THIỆU TỔNG CÔNG TY ACC
GIỚI THIỆU TỔNG CÔNG TY ACCGIỚI THIỆU TỔNG CÔNG TY ACC
GIỚI THIỆU TỔNG CÔNG TY ACCVi Anh Thắng
 
19.los transportistas del tracto intestinal y las técnicas que se aplican par...
19.los transportistas del tracto intestinal y las técnicas que se aplican par...19.los transportistas del tracto intestinal y las técnicas que se aplican par...
19.los transportistas del tracto intestinal y las técnicas que se aplican par...Ever Alonso Rojas Ch
 
Pencemaran (bahan bangunan) ok [compatibility mode]
Pencemaran (bahan bangunan) ok [compatibility mode]Pencemaran (bahan bangunan) ok [compatibility mode]
Pencemaran (bahan bangunan) ok [compatibility mode]aryastanaputu
 
Revised schedule-vi-print-disabled-1
Revised schedule-vi-print-disabled-1Revised schedule-vi-print-disabled-1
Revised schedule-vi-print-disabled-1grakrishna
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017LinkedIn
 

Viewers also liked (14)

Satuan acara pembelajaran
Satuan acara pembelajaranSatuan acara pembelajaran
Satuan acara pembelajaran
 
Next publishingメソッドとは
Next publishingメソッドとはNext publishingメソッドとは
Next publishingメソッドとは
 
Exposicion mantenimiento 2
Exposicion mantenimiento 2Exposicion mantenimiento 2
Exposicion mantenimiento 2
 
Npcs codes
Npcs codesNpcs codes
Npcs codes
 
Blah blah
Blah blahBlah blah
Blah blah
 
Best aweome
Best aweomeBest aweome
Best aweome
 
Mary
MaryMary
Mary
 
Xbrl manual-for-cost-audit-final
Xbrl manual-for-cost-audit-finalXbrl manual-for-cost-audit-final
Xbrl manual-for-cost-audit-final
 
GIỚI THIỆU TỔNG CÔNG TY ACC
GIỚI THIỆU TỔNG CÔNG TY ACCGIỚI THIỆU TỔNG CÔNG TY ACC
GIỚI THIỆU TỔNG CÔNG TY ACC
 
19.los transportistas del tracto intestinal y las técnicas que se aplican par...
19.los transportistas del tracto intestinal y las técnicas que se aplican par...19.los transportistas del tracto intestinal y las técnicas que se aplican par...
19.los transportistas del tracto intestinal y las técnicas que se aplican par...
 
Npcs codes
Npcs codesNpcs codes
Npcs codes
 
Pencemaran (bahan bangunan) ok [compatibility mode]
Pencemaran (bahan bangunan) ok [compatibility mode]Pencemaran (bahan bangunan) ok [compatibility mode]
Pencemaran (bahan bangunan) ok [compatibility mode]
 
Revised schedule-vi-print-disabled-1
Revised schedule-vi-print-disabled-1Revised schedule-vi-print-disabled-1
Revised schedule-vi-print-disabled-1
 
The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017The Top Skills That Can Get You Hired in 2017
The Top Skills That Can Get You Hired in 2017
 

Similar to Calculus refresher: Rules of differentiation and extremals

lesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxlesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxJohnReyManzano2
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus OlooPundit
 
Lesson 1 Nov 12 09
Lesson 1 Nov 12 09Lesson 1 Nov 12 09
Lesson 1 Nov 12 09ingroy
 
Lesson 6 Nov 23 24 09
Lesson 6 Nov 23 24 09Lesson 6 Nov 23 24 09
Lesson 6 Nov 23 24 09ingroy
 
Lesson 4 Nov 17 09
Lesson 4 Nov 17 09Lesson 4 Nov 17 09
Lesson 4 Nov 17 09ingroy
 
Techniques of differentiation further
Techniques of differentiation furtherTechniques of differentiation further
Techniques of differentiation furthermanrak
 
The chain rule
The chain ruleThe chain rule
The chain ruleJ M
 
Antiderivatives nako sa calculus official
Antiderivatives nako sa calculus officialAntiderivatives nako sa calculus official
Antiderivatives nako sa calculus officialZerick Lucernas
 
4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functionsdicosmo178
 

Similar to Calculus refresher: Rules of differentiation and extremals (20)

125 7.7
125 7.7125 7.7
125 7.7
 
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptxlesson10-thechainrule034slides-091006133832-phpapp01.pptx
lesson10-thechainrule034slides-091006133832-phpapp01.pptx
 
125 5.2
125 5.2125 5.2
125 5.2
 
Week 2
Week 2 Week 2
Week 2
 
Nts
NtsNts
Nts
 
Sect1 5
Sect1 5Sect1 5
Sect1 5
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
 
Lesson 1 Nov 12 09
Lesson 1 Nov 12 09Lesson 1 Nov 12 09
Lesson 1 Nov 12 09
 
Lesson 6 Nov 23 24 09
Lesson 6 Nov 23 24 09Lesson 6 Nov 23 24 09
Lesson 6 Nov 23 24 09
 
Lesson 4 Nov 17 09
Lesson 4 Nov 17 09Lesson 4 Nov 17 09
Lesson 4 Nov 17 09
 
Em12 ftd
Em12 ftdEm12 ftd
Em12 ftd
 
Techniques of differentiation further
Techniques of differentiation furtherTechniques of differentiation further
Techniques of differentiation further
 
The chain rule
The chain ruleThe chain rule
The chain rule
 
整卷
整卷整卷
整卷
 
Calculus Final Exam
Calculus Final ExamCalculus Final Exam
Calculus Final Exam
 
Antiderivatives nako sa calculus official
Antiderivatives nako sa calculus officialAntiderivatives nako sa calculus official
Antiderivatives nako sa calculus official
 
Lesson 11: The Chain Rule
Lesson 11: The Chain RuleLesson 11: The Chain Rule
Lesson 11: The Chain Rule
 
Lesson 15: The Chain Rule
Lesson 15: The Chain RuleLesson 15: The Chain Rule
Lesson 15: The Chain Rule
 
Chapter 04
Chapter 04Chapter 04
Chapter 04
 
4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions4.2 derivatives of logarithmic functions
4.2 derivatives of logarithmic functions
 

Calculus refresher: Rules of differentiation and extremals

  • 1. Calculus refresher Disclaimer: I claim no original content on this document, which is mostly a summary-rewrite of what any standard college calculus book offers. (Here I’ve used Calculus by Dennis Zill.) I consider this as a brief refresher of the bare-bones calculus requirements we will be using during the course. No exercises are offered: any calculus book provides an insane amount of practice problems. 1. Rules of differentiation: Basics In what follows, let f (x) be a one-variable function, and denote its derivative by f (x). The standard differentiation rules are the following: Theorem 1.1 (The Power Rule, 1). Let n be a positive integer. Then d n [x ] = nxn−1 . (1) dx Example 1.2. The derivative of y = x4 is given by dy = 4x4−1 = 4x3 . dx Theorem 1.3 (Derivative of a constant function). If f (x) = k and k is a constant, then f (x) = 0. Theorem 1.4 (Derivative of a constant multiple of a function). If c is any constant and f is a differentiable function, then d [cf (x)] = cf (x). (2) dx Example 1.5. Following theorems 1.1 and 1.4, the derivative of y = 3x5 is given by: dy d 5 =3· x = 3(5x4 ) = 15x4 . dx dx Theorem 1.6 (The Sum Rule). Let f and g be two differentiable functions. Then d [f (x) + g(x)] = f (x) + g (x). (3) dx Example 1.7. From theorems 1.1. and 1.6, the derivative of y = x4 + x3 is: dy d 4 d 3 = x + x = 4x3 + 3x2 . dx dx dx Theorem 1.8 (The Product Rule). If f and g are differentiable functions, then d [f (x)g(x)] = f (x)g (x) + g(x)f (x). (4) dx Example 1.9. The differential of y = (x3 − 2x2 + 4)(8x2 + 5x) is: dy d d 3 = (x3 − 2x2 + 4) · (8x2 + 5x) + (8x2 + 5x) · (x − 2x2 + 4) dx dx dx = (x3 − 2x2 + 4)(16x + 5) + (8x2 + 5x)(3x2 − 4x). Theorem 1.10 (The Quotient Rule). If f and g are differentiable functions, then d f (x) g(x)f (x) − f (x)g (x) = . (5) dx g(x) [g(x)]2 1
  • 2. 2 3x2 −1 Example 1.11. The differential of y = 2x3 +5x2 +7 is: d d dy (2x3 + 5x2 + 7) · 2 − 1) − (3x2 − 1) · dx (2x3 + 5x2 + 7) dx (3x = 3 + 5x2 + 7)2 dx (2x (2x + 5x + 7) · (6x) − (3x2 − 1) · (6x2 + 10x) 3 2 = (2x3 + 5x2 + 7)2 −6x4 + 6x2 + 52x = . (2x3 + 5x2 + 7)2 Theorem 1.12 (The Power Rule, 2). If n is a positive integer, then d −n [x ] = −nx−n−1 . (6) dx 1 Example 1.13. The derivative of y = 5x3 − x4 is (after rewriting y as 5x3 − x−4 ): dy 4 = 5 · 3x2 − (−4)x−5 = 15x2 + 5 . dx x 2. Rules of differentiation: The Chain Rule Theorem 2.1 (The Power Rule for Functions). If n is an integer and g is a differentiable function, then d [g(x)]n = n[g(x)]n−1 g (x). (7) dx Example 2.2. Let y = (2x3 + 4x + 1)4 . If g(x) = (2x3 + 4x + 1) and n = 4, then from Theorem 2.1 it follows that dy d = 4(2x3 + 4x + 1)3 (2x3 + 4x + 1) = 4(2x3 + 4x + 1)3 (6x2 + 4). dx dx Theorem 2.3 (The Chain Rule). If y = f (u) is a differentiable function of u and u = g(x) is a differentiable function of x, then dy dy du = · = f (g(x)) · g (x). (8) dx du dx Example 2.4. From the rules of differentiation of trigonometric functions, it is true that: d du [sin u] = cos u . dx dx Let y = (9x3 + 1)2 sin 5x. Then, the derivative of y can be obtained first by applying Theorem 1.8: dy d d = (9x3 + 1)2 sin 5x + sin 5x (9x3 + 1)2 , dx dx dx followed by applications of theorems 2.1 and 2.2: dy = (9x3 + 1)2 · 5 cos 5x + sin 5x · 2(9x3 + 1) · (27x2 ) dx = (9x3 + 1)(45x3 cos 5x + 54x2 sin 5x + 5 cos 5x).
  • 3. 3 3. Higher-order derivatives Definition 3.1 (The Second Derivative). The derivative f (x) is a function derived from a function y = f (x). By differentiating the first derivative f (x), we obtain yet another function called the second derivative, d denoted by f (x). In terms of the operation symbol dx : d dy . dx dx d2 y 2 Alternative notation for the second derivative is given by: f (x), y , dx2 , and Dx y. dy Example 3.2. To calculate the second derivative of y = x3 − 2x2 , first we obtain dx : dy = 3x2 − 4x. dx Then, the second derivative is: d2 y d 2 = (3x2 − 4x) = 6x − 4. dx dx Remark 3.3. Higher-order derivatives are obtained analogously: the third derivative is the derivative of the second derivative; the fourth derivative is the derivative of the third derivative, and so on. A standard notation for the first n derivatives is (among others) f (x), f (x), f (x), f (4) (x), . . . , f (n) (x). Example 3.4. The first five derivatives of the polynomial f (x) = 2x4 − 6x3 + 7x2 + 5x − 10 are given by: f (x) = 8x3 − 18x2 + 14x + 5, f (x) = 24x2 − 36x + 14, f (x) = 48x − 36, f (4) (x) = 48, f (5) (x) = 0. 4. Extremals of functions Definition 4.1 (Absolute extremals). Let f be a real-valued function. The absolute extremals of f are defined as follows: (a) A number f (¯) is an absolute maximum if f (x) ≤ f (¯) for every x in the domain of f . c c (b) A number f (¯) is an absolute minimum if f (x) ≥ f (¯) for every x in the domain of f . c c Theorem 4.2 (The Extreme Value Theorem). A continuous function f defined on a closed interval [a, b] always has an absolute maximum and an absolute minimum on the interval. Definition 4.3 (Critical point). A critical point of a function f is a number c in its domain for which f (c) = 0. Example 4.4. To find the critical points of f (x) = x3 − 15x + 6, we obtain the first derivative f (x): √ √ f (x) = 3x2 − 15 = 3(x + 5)(x − 5). √ √ Hence, the critical points are those numbers for which f (x) = 0, namely, − 5 and 5. Theorem 4.5. If f is continuous on a closed interval [a, b], then an absolute extremum occurs either at an endpoint of the interval or at a critical point in the open interval (a, b). Remark 4.6. The previous theorem says that any absolute extremum must occur in an endpoint or in a critical point. This is not the same as assuming that because we have a critical point, it must be an extremum! Second-order conditions should be checked to verify that we have a minimum or maximum.
  • 4. 4 Example 4.7. Let f (x) = x3 − 3x2 − 24x + 2 be defined on the intervals [−3, 1] and [−3, 8]. To find the absolute extremals, first we obtain f (x): f (x) = 3x2 − 6x − 24 = 3(x + 2)(x − 4), and it follows that the critical points of the function are -2 and 4. Simple calculations show that for the interval [−3, 1], the absolute maximum is f (−2) = 30, and the absolute minimum is the endpoint extremum f (1) = −24. For the interval [−3, 8], the absolute minimum is f (4) = −78, while the absolute maximum is reached at the endpoint extremum f (8) = 130. 5. The natural logarithmic function Definition 5.1 (The Natural Logarithmic Function). The natural logarithmic function, denoted by ln x,1 is defined by: x dt ln x = (9) 1 t for all x > 0. Theorem 5.2 (The Derivative of the Natural Logarithm). The derivative of ln x is given by: d 1 [ln x] = , (10) dx x for all x > 0. Theorem 5.3 (Laws of the Natural Logarithm). Let a and b be positive real numbers and let t be a rational number. Then: (a) ln ab = ln a + ln b. (b) ln a = ln a − ln b. b (c) ln at = t ln a. Example 5.4. To obtain the derivative of y = ln(2x − 3), note that for 2x − 3 > 0, we have from Theorem 7.2: dy 1 d 2 = (2x − 3) = . dx 2x − 3 dx 2x − 3 6. The exponential function Definition 6.1 (The Natural Exponential Function). The natural exponential function is defined by: y = exp x if and only if x = ln y. (11) For any real number x, ex = exp x. Theorem 6.2 (Laws of Exponents). Let r and s be any real numbers and let t be a rational number. Then: (a) e0 = 1. (b) e1 = e. (c) er es = er+s . r (d) es = er−s . e (e) (er )t = ert . (f) e−r = e1 . r 1Usually the symbol ln x is pronounced “ell-en of x”
  • 5. 5 Theorem 6.3 (The derivative of the exponential function). The derivative of y = exp x is given by: d x [e ] = ex . (12) dx Using the Chain Rule, we can generalize the above to d u du [e ] = eu , (13) dx dx where u = g(x) is a differentiable function. Example 6.4. The derivative of y = e4x is given by: dy d = e4x · (4x) dx dx 4x = e (4) = 4e4x 7. Partial differentiation Remark 7.1 (Partial differentiation). Let z = f (x, y). To compute ∂z/∂x, use the laws of ordinary differ- entiation while treating y as a constant. To compute ∂z/∂y, use the laws of ordinary differentiation while treating x as a constant. Remark 7.2. If z = f (x, y), alternative notation for partial derivatives is ∂z/∂x = ∂f /∂x = zx = fx , and similarly, ∂z/∂y = ∂f /∂y = zy = fy . Example 7.3. Let z = 4x3 y 2 − 4x2 + y 6 + 1. The partial derivatives of z with respect to x and y are given by: ∂z = 12x2 y 2 − 8x ∂x ∂z = 8x3 y + 6y 5 . ∂y Theorem 7.4 (Equality of Mixed Partials). Let f be a function of two variables. If fx , fy , fxy , and fyx are continuous on an open region R, then fxy = fyx at each point of R. Example 7.5. Consider the partial derivatives obtained in Example 7.3. The continuity conditions of Theorem 7.4 are satisfied in this case, so it should be that fxy = fyx ; this is so since ∂2z = 24x2 y ∂x ∂y ∂2z = 24x2 y. ∂y ∂x