Contents:
  1. Limit of a Function
  2. Derivative of a Function
  3. Applications of Derivative
  4. Function of Two or More Variables


Global and Local Extrema of a Function

The function f:
  • has an absolute maximum at c if f(x) ≤ f(c) for all x in the f's domain. f(c) is f's maximum value on its domain.
  • has an absolute minimum at c if f(x) ≥ f(c) for all x in the f's domain. f(c) is f's minimum value on its domain.
  • has a relative maximum at c if f(x) ≥ f(c) for all x in some open interval that contains c.
  • has a relative maximum at c if f(x) ≤ f(c) for all x in some open interval that contains c.

A critical number of a function f, is any number c in f's domain such that f'(c) = 0 or f'(c) doesn't exist.

Suppose f has a continuous second derivative on the interval (a,b) that contains the critical number c:
  • If f''(c) < 0, then f has a relative maximum at c.
  • If f''(c) > 0, then f has a relative minimum at c.


Fermat's Theorem

If f has a relative extremum at c, then either f'(c) = 0 or f'(c) doesn't exist.

Extreme Value Theorem

If f is continuous on a closed interval [a,b], then f attains an absolute maximum value f(c) for some number c in [a,b] and an absolute minimum value f(d) for some number d in [a,b].

Rolle's Theorem

Let f be a continuous function on [a,b] and differentiable on (a,b). If f(a) = f(b), then there exists one number c in (a,b) such that f'(c) = 0.

Mean Value Theorem

Let f be a continuous function on [a,b] and differentiable on (a,b). If f(a) = f(b), then there exists one number c in (a,b) such that

Which means that:
  • if f'(c) = 0 for all x in interval (a,b) then f is constant on (a,b).
  • if f'(x) = g'(x) for all x in interval (a,b) then f and g differ by a consant on (a,b). Or in other words, there exists a constant c such that f(x) = g(x) + c for all x in (a,b).

Increasing and Decreasing of a Function

The function f is:
  • increasing on an interval, if for every pair of numbers in that interval such that: a < b implies that f(a) < f(b)
  • decreasing on an interval, if for every pair of numbers in that interval such that: a < b implies that f(a) > f(b).
  • monotonic on an interval, if it is either increasing, or decreasing.

Suppose f is differentiable on an open interval (a,b).
  • If f'(x) > 0 for all x in (a,b), then f is increasing on (a,b).
  • If f'(x) < 0 for all x in (a,b), then f is decreasing on (a,b).
  • If f'(x) = 0 for all x in (a,b), then f is constant on (a,b).

Concavity of a Function
Suppose f is differentiable on an open interval I. When the graph f is drawn:
  • f'(x) > 0 indicates that f is increasing.
  • f'(x) < 0 indicates that f is decreasing.
  • f''(x) > 0 indicates that f is concave upwards.
  • f''(x) < 0 indicates that f is concave downwards.

Let f be a function continuous on an open interval containing c and there exists a tangent line at the point P(c,f(c)). If the graph changes from concave upwards to concave downwards (or vice versa), then the point P is called the Inflection Point.

Sample Problems

Problem 1: Finding Tangent Lines
A-C: Given a curve, and a point on the said curve, find the equation of the tangent line, and the normal line.
Normal line at a point is a line that is perpendicular to the tangent line at that point.
D-E: Given two curves, show that these curves are orthogonal.
Two curves are said to be orthogonal, if their tangent lines are perpendicular at each point of intersection of the curves.
  1. x4-2xy+y4=0; (1,1)
  2. y=cos(xy); (0,1)
  3. log3(xy)=y; (3,1)
  4. Problem 9 Visualization 1
  5. Problem 9 Visualization 2


General step for A-C:
  • Step 1 Start by implicit differentiation, and find dy/dx.
  • Step 2 Substitute the point to dy/dx, so that the gradient of tangent line is obtained.
  • Step 3 Use the gradient to find the tangent line equation.
  • Step 4 Use the gradient to find the line equation that's perpendicular to the tangent line.
Sub-Problem A


In conclusion:
  • The tangent line: y=-x+2.
  • The normal line: y=x.

Sub-Problem B


Since the tangent line (y=1) is a horizontal line, then the normal line would be a vertical line that passes through the point (0,1).

In conclusion:
  • The tangent line: y=1.
  • The normal line: x=0.

Sub-Problem C


In conclusion:
  • The tangent line:
  • The normal line:

General step for D-E:
  • Step 1 Find the intersection points of the given curves.
  • Step 2 Find the gradient of the tangent line, at the intersection points.
  • Step 3 Check if both gradient fulfill m1m2=-1.

Sub-Problem D
From the graph, it can be seen that the x-coordinate of the intersection point is 0. Therefore, we can just substitute x=0 to any of the given curve to obtain the intersection point.


Next, we find the gradient of the tangent lines of both curves during that point:


The tangent lines of both curves at the intersection points are orthogonal to the other. Therefore, both curves are orthogonal.


Sub-Problem E
From the graph, it can be seen that the x-coordinate of the intersection points are -1 and 1. Therefore, we can just substitute x=-1 and x=1 to any of the given curve to obtain the intersection points.


Next, we find the gradient of the tangent lines of both curves during both points (-1,1) and (1,1). First, the point (-1,1):


The tangent lines of both curves at (-1,1) are orthogonal. Now, checking at the point (1,1). Since we have found the formula for dy/dx, we can just substitute the variables directly:


The tangent lines of both curves at (1,1) are orthogonal. Since the tangent lines are perpendicular at each point of the intersection of the curves, both curves are orthogonal.


Problem 2: Related Rates
  1. A 17-ft ladder leaning against a wall begins to slide. How fast is the top of the ladder sliding down the wall at the instant of time when the bottom of the ladder is 8 ft from the wall and sliding away from the wall at the rate of 5 ft/sec?
  2. A coffee pot that has the shape of a circular cylinder of radius 8 cm is being filled with water flowing at a constant rate. At what rate is the water flowing into the coffee pot when the water level is rising at the rate of 0.8 cm/sec?
  3. Two ships, A and C leave the same port at noon. Ship A moves exactly north at 16 km/h, and ship B moves east at 12 km/h. How fast is the distance between them changing at 1 P.M.?
  4. The equation V = IR shows the relation between voltage V in volts (V), the current I in amperes (A) and the resistance R in ohms (Ω). When V = 24 and I = 4, V is increasing at the rate of 2 V/sec, and I is increasing at the rate of 4 A/sec, how fast is the resistance changing? Is it increasing or decreasing?


Sub-Problem A
Every point on the ladder (like the bottom of the ladder, and the top of the ladder) will fulfill x2 + y2 = 172. By the phytagorean theorem, we know that the wall's height is 15. From the question we know that for x = 8, then dx/dt = 5. Now, we are trying to find dy/dt:



Sub-Problem B
From the question it is known that dh/dt = 4/5. The following is the formula of the volume of a cylinder:


So, the water is flowing into the coffee pot at the rate of 51.2π cm3/sec.

Sub-Problem C
At 1 P.M, ship A would be 16km from the port and ship B would be 12km from the port. Which means, the distance between the two ships (at 1 P.M.) can be found through the phytagorean theorem:



So, at 1 P.M, the distance between both ships are 20 km. Next, we know that da/dt and db/dt are the velocity of both ships that have been mentioned in the question. So, dc/dt is the rate of the distance of both ships changing:


So, the rate of the distance of both ships changing is 20 km/h.

Sub-Problem D
Differentiate V = IR with respect to t (time). Then, substitute the variables mentioned in the problem text.



So, the resistance is changing at the rate of -5,5 Ω/sec. Since it's negative, the resistance is decreasing.


Problem 3: Finding Extrema
Given f(x) and the interval, find the absolute maximum or minimum of the function at the given interval if it exists.


General step:
  • Step 1 Find all critical points.
  • Step 2 Consider the endpoints of the interval.
  • Step 3 Check all critical points that is in the given interval, and also the endpoints.

Sub-Problem A


So, with the interval [0, 90°] we have:
x f(x) Max/Min?
0 0 Min
π/3 √3 - π/3 Max
π/2 2 - π/2 Neither


Sub-Problem B


So, with the interval [-1, 2] we have:
x f(x) Max/Min?
-1 -3 Min
0 0 Max
1 -3 Min
2 0 Max


Sub-Problem C


So, with the interval [0, 2] we have:
x f(x) Max/Min?
0 -2 Neither
0.5 -2.25 Min
2 0 Max


Sub-Problem D


So, with the interval [-1, 2] we have:
x f(x) Max/Min?
-1 -0.5 Min
1 0.5 Max
2 0.4 Neither


Sub-Problem E


So, with the interval [-4, -2] we have:
x f(x) Max/Min?
-4 ln(5) Max
-2 ln(1) Min




Problem 4: Finding Intervals
Given f(x), find the intervals in which f is increasing and/or decreasing, and the critical numbers if it exists.


Sub-Problem A


Now we know that the critical numbers are 1 and -1. Next, we find the intervals. Let us test three values a, b and c for x, such that a < -1, -1 < b < 1, then c > 1. For example, a = -2, b = 0, and c = 2:


Since f'(-2) > 0, it can be concluded that the function is an increasing function for x < -1. Next:


Since f'(0) < 0, it can be concluded that the function is a decreasing function for -1 < x < 1. Next:


Since f'(2) > 0, it can be concluded that the function is an increasing function for x > 1.

In conclusion, the given function f:
  • has the critical numbers -1 and 1
  • is increasing on: -∞ < x < -1 or 1 < x < ∞
  • is decreasing on: -1 < x < 1

Sub-Problem B


Though x=0 for f'(x) will make f'(x) undefined, x=0 is not in f's domain. The domain of f is x < 0 or x > 0. So, there are no critical numbers.

By observing f'(x), it is clear to see that x > 0 implies f'(x) > 0, and x < 0 implies f'(x) < 0.

In conclusion, the given function f:
  • has no critical numbers.
  • is increasing on: 0 < x < ∞
  • is decreasing on: -∞ < x < 0

Sub-Problem C


Though x=0 for f'(x) will make f'(x) undefined, x=0 is not in f's domain. The domain of f is x < 0 or x > 0. So, the only critical numbers are 1 and -1. Next, we find the intervals.



By observing f'(x), it is clear to see that any values of x (x ≠ 0), the denominator will always be a positive number. The numerator part is the same as f'(x) in Sub-Problem A.

In conclusion, the given function f:
  • has the critical numbers -1 and 1.
  • is increasing on: -∞ < x < -1 or 1 < x < ∞
  • is decreasing on: -1 < x < 1 and x ≠ 0

Sub-Problem D


So, the critical number is 2. From the simplified form above (4-2x), it is clear to see that x < 2 implies f'(x) > 0, and vice versa.

In conclusion, the given function f:
  • has the critical number 2.
  • is increasing on: -∞ < x < 2
  • is decreasing on: 2 < x < ∞

Sub-Problem E
Let x3-3x2+4:


We must inspect x3-3x2+4 and 3x2-6x, since they determine whether f'(x) is greater than 0 or not.

x3-3x2+4 can be factorized into (x-2)(x-2)(x+1). From that, we could determine that x3-3x2+4 is greater than 0 on (-1,2) and (2,∞).

3x2-6x can be factorized into 3x(x-2). From that, we could determine that 3x2-6x is greater than 0 on (-∞,0) and (2,∞).

Since both x3-3x2+4 and 3x2-6x are greater than 0 on (2,∞), we can conclude that f(x) is increasing on (2,∞).

Since both x3-3x2+4 and 3x2-6x are greater than 0 on (-1,0), we can conclude that f(x) is increasing on (-1,0).

Since only x3-3x2+4 is positive on (0,2), and 3x2-6x is negative during that interval, we can conclude that f(x) is decreasing on (0,2).

Since only 3x2-6x is positive on (-∞,-1), and x3-3x2+4 is negative during that interval, we can conclude that f(x) is decreasing on (-∞,-1). In conclusion, the given function f:
  • has the critical numbers -1, 0 and 2.
  • is increasing on: (-1,0) and (2,∞)
  • is decreasing on: (-∞,-1) and (0,2)


Problem 5: Finding Intervals
Given f(x), find the intervals of the concavity of the given function, and the inflection points.


General step:
  • Step 1 Find the number c, such that f''(c) = 0.
  • Step 2 Recall that when f''(x) > 0, the function will be concave upwards and when f''(x) < 0, the function will be concave downwards. Identify the concavity of the function with that information.
Sub-Problem A


From f''(x) above, we can conclude that the function f:
  • is concave upwards on (-3,∞)
  • has the inflection point during x = -3.
  • is concave downwards on (-∞,-3)

Sub-Problem B


From f''(x) above, we can conclude that the function f: (Let n be an integer)
  • is concave upwards on (2πn-π,2πn)
  • has the inflection point during x = nπ.
  • is concave downwards on (2πn,2πn+π)

Sub-Problem C


From f''(x) above, we can conclude that the function f:
  • will never be concave upwards.
  • has no inflection point.
  • is concave downwards on (0,∞)

Sub-Problem D


From f''(x) above, we can conclude that the function f:
  • is concave upwards on (1,∞)
  • has no inflection point.
  • is concave downwards on (-∞,1)

Sub-Problem E


Since the discriminant < 0, there would be no solution for f''(x) meaning that there is no inflection point.

Though finding interval for f''(x) may seem hard, for this problem, we only need to inspect the denominator part. Because, the numerator part will always be positive for all x (The fact that the lowest value possible of the numerator is 2, which can be found through simple derivation). A negative number a, when cubed (a3) stays negative. So, we only need to find interval for (x2+4x+3). Moreover, it can be factorized (x+3)(x+1) too. That simplifies things.

From f''(x) above, we can conclude that the function f:
  • is concave upwards on (-∞,-3) and (-1,∞)
  • has no inflection point.
  • is concave downwards on (-3,-1)


Problem 6: Optimization Problems
  1. Find the dimensions of the blue rectangle inscribed in the ellipse below, so that the blue rectangle has the maximum area.
    Problem 10 A
  2. Suppose there is a carton paper with the dimensions 24 m x 9 m, and an open box will be made out of it. Find the dimensions of the box with the largest volume that can be made, and what is the maximum volume possible?
  3. Suppose there is a carton paper with the following shape, and will be used to form a cone. Find the θ, so that the formed cone will have maximum volume.
    Problem 10 C
  4. Find the points from the hyperbole 4x2 + y2 = 16 that are closest to the point (0,1).
  5. Suppose there exists three points: A(-7,2), B(5,5) and C(k,0). Find the value for k, such that the total length of the line AC and BC is minimized.

Sub-Problem A
We know that:
  • The equation for the ellipse shown above can be used to find a point exactly located in the circle.
  • The area of the blue rectangle is equal to 2xy.
The variable y represents the rectangle's height, while the variable x represents half of the rectangle's width.


So:


Lastly, substitute x in the original ellipse equation:


So, in order to achieve the maximum area (which is exactly 2):
  • The blue rectangle's length must be ,
  • The blue rectangle's height must be


Sub-Problem B
The variable y will represent the volume, and x will represent the height of the carton box. Imagine the net of a cuboid inscribed inside a rectangle:
Problem 10 Visualization 1 Problem 10 Visualization 2
By looking at the visualization above, the volume of the box can be written as the following equation, and then by finding the derivative of it, the largest volume of the box can be found:


So, we have x=9 and x=2. If we look at the visualization once again, it is impossible for x=9. So, x must be 2. Substitute them into the original y:


Therefore, in order to achieve the maximum volume of the box (which is 200m3), the dimension of the box must be 20m x 5m x 2m.

Sub-Problem C
We know that:
  • Circumference of the whole original circle is just the circumference of the cone and arc formed by θ combined.
  • Phytagorean theorem represents the relationship between r, t and R.
  • Volume of cone is one third of the bottom circle's area times its height.


In order to achieve maximum volume:


Now, substitute t:


Now, we use our first equation:


If approximated, then θ so that the volume of the cone is maximum, is 66.061° degrees.

Sub-Problem D


We use the formula when finding distance between two points. That is:


That means, the distance will be minimum when y = 4/5. Next, we substitute the y into the original hyperbole equation to find the point:


So, the two points that are closest to (0,1) are:


Sub-Problem E
The variable m will represent the C's horizontal distance from A:


Now, the main function we have to differentiate is the sum of the above:


Lastly, since this value of "m" we've got is only the horizontal distance between C and A:
Problem 10 Visualization 5

Which means, k=-7+m Therefore, the value for k such that the sum of the line AC and BC is minimum, is -25/4.