Slides 6th Week
Slides 6th Week
Slides 6th Week
Maxima/Minima
Let f : E ⊆ Rn → R.
Absolute/Global Extremum
Critical Points
∂f ∂f ∂f
(X ∗ ) = (X ∗ ) = · · · = (X ∗ ) = 0 ,
∂x1 ∂x2 ∂xn
• or at least one of the first order partial derivatives of f
does not exist.
The function value f (X ∗ ) at the critical point X ∗ is called a
critical value of f .
Saddle Points
Let X ∗ be a critical point of f . If every neighborhood N(X ∗ ) of the
point X ∗ contains points at which f is strictly greater than f (X ∗ ) and
also contains points at which f is strictly less than f (X ∗ ). That is, f
attains neither relative maximum nor relative minimum at the critical
point X ∗ .
Quadratic Forms
Definition
Let H = [aij ] be an n × n symmetric matrix. A function of the form
Examples
Theorem
Let Q(X ) = X T H X for X T = (x1 , x2 , · · · , xn ) ∈ Rn where H is a
n × n symmetric matrix.
• If all the eigenvalues of H are positive, then Q (and H) is positive
definite.
• If all the eigenvalues of H are negative, then Q (and H) is
negative definite.
• If H has both positive and negative eigenvalues, then Q (and H)
is indefinite.
• If all eigenvalues of H are non-negative (≥ 0), then H is positive
semidefinite.
• If all eigenvalues of H are non-positive (≤ 0), then H is negative
semidefinite.
Examples
1 0 0
• Positive Definite: 0 2 0, Eigenvalues are 1, 2, 3.
0 0 3
−1 0 0
• Negative Definite: 0 −2 0 ,
0 0 −3
Examples (Continuation)
1 0 0
• Positive Semidefinite: 0 0 0, Eigenvalues are 1, 2, 0.
0 0 2
−1 0 0
• Negative Semidefinite: 0 0 0 ,
0 0 −2
a b
Let H = be a 2 × 2 symmetric matrix. Then H is
b c
• positive definite if det H = ac − b 2 > 0 and a > 0;
• negative definite if det H = ac − b 2 > 0 and a < 0;
• indefinite if det H = ac − b 2 < 0;
Example:
2 3
• Positive Definite: , det H = 7 > 0 and a = 2 > 0.
3 8
−2 3
• Negative Definite: , det H = 7 > 0 and a = −2 < 0.
3 8
2 −3
• Indefinite: , det H = −7 < 0.
−3 1
Theorem
Let f : E ⊆ Rn → R and let X0 be an interior point of E. Suppose that
all the second order partial derivatives of f exist and continuous at X0
and X0 is a critical point of f . Let H denote the Hessian matrix of f .
• If H is positive definite, then f has a local minimum at X0 .
• If H is negative definite, then f has a local maximum at X0 .
• If H is indefinite, then f has a saddle point at X0 .
• If H is semidefinite, then the test is inconclusive.
Case n = 2: f : E ⊆ R2 → R
Example 1
3
Let f (x, y ) = x 2 − 2xy + y3 − 3y. Determine at which points f have
relative extremum values and at which points f has saddle points.
Step 1: Finding Critical Points:
Observe that fx (x, y ) = 2x − 2y and fy (x, y ) = −2x + y 2 − 3. The
critical points of f are the solutions of fx (x, y ) = 0 and fy (x, y) = 0.
Example 2
Example 3
Find the maxima, minima and saddle points of
2 2
f (x, y) := (x 2 − y 2 )e−(x +y )/2 .
Example 3
Find the maxima, minima and saddle points of
2 2
f (x, y) := (x 2 − y 2 )e−(x +y )/2 . We have
2 +y 2 )/2
fx = [2x − x(x 2 − y 2 )]e−(x = 0,
2 2 −(x 2 +y 2 )/2
fy = [−2y − y(x − y )]e = 0,
√ √
so the critical points are (0, 0), (± 2, 0) and (0, ± 2).
Global extrema
Let f : E ⊆ Rn → R be continuous.
If E is a closed & bounded, then it is known that f attains
its maximum and minimum value on E.
Global extrema
Let f : E ⊆ Rn → R be continuous.
If E is a closed & bounded, then it is known that f attains
its maximum and minimum value on E.
Global extrema
Let f : E ⊆ Rn → R be continuous.
If E is a closed & bounded, then it is known that f attains
its maximum and minimum value on E.
Global extrema
For the boundary, consider
f (x, 2), f (x, −2), f (2, y), f (−2, y) and find their extrema on
[−2, 2].
Constrained extrema of f : Rn → R
In the earlier two examples, the boundary of the domains
are lines in R2 . We now discuss a method to deal with
more general boundary.
Constrained extrema of f : Rn → R
In the earlier two examples, the boundary of the domains
are lines in R2 . We now discuss a method to deal with
more general boundary.
Example
Find the extreme values of f (x, y) = x 2 − y 2 on the circle
x 2 + y 2 = 1.
Example
Find the extreme values of f (x, y) = x 2 − y 2 on the circle
x 2 + y 2 = 1.
Example
Find the extreme values of f (x, y) = x 2 − y 2 on the circle
x 2 + y 2 = 1.
Example
Find the extreme values of f (x, y) = x 2 − y 2 on the circle
x 2 + y 2 = 1.
Example
Find the extreme values of f (x, y) = x 2 − y 2 on the circle
x 2 + y 2 = 1.
Example
Example
Example
Double integral
RR
• If f (x, y) ≥ 0 then R f (x, y)dA gives the volume of
the region bounded by R and the graph of f .
• If R = R1 + R2 then
ZZ ZZ ZZ
f (x, y)dA = f (x, y)dA + f (x, y)dA.
R R1 R2
Iterated integrals
Let f : R → R. Suppose that for each fixed x ∈ [a, b]
Z d
φ(x) := f (x, y)dy
c
Fubini’s Theorem
Theorem: Let f : R → R be continuous. Then both the
iterated limits exist and
ZZ Z b Z d
f (x, y)dA = f (x, y)dy dx
R a c
Z d Z b
= f (x, y)dx dy.
c a
RR
Example: Evaluate R xexy dA, where R = [0, 1] × [0, 1].
Since the function is continuous,
ZZ Z 1 Z 1 Z 1
xy xy
xe dA = ( xe dy)dx = (ex − 1)dx = e − 2.
R 0 0 0
• Type-I Region:
R = {(x, y) ∈ R2 : x ∈ [a, b] and g1 (x) ≤ y ≤ g2 (x)}
Type-II Regions
• Type-II Region:
R = {(x, y) ∈ R2 : y ∈ [c, d] and h1 (y) ≤ x ≤ h2 (y)}
If D is Type-II and
D = {(x, y) : ψ1 (y ) ≤ x ≤ ψ2 (y ) and y ∈ [c, d]} then f is
integrable over D and
!
ZZ Z Z d ψ2 (y)
f (x, y)dA = f (x, y)dx dy.
D c ψ1 (y)
Example
ZZ
Volume(S) = (16 − x 2 − 2y 2 )dA
R
Z 2Z 2
= (16 − x 2 − 2y 2 )dxdy = 48.
0 0
Example
RR
Evaluate D (x + 2y)dA, where D is the region bounded
by the parabolas y = 2x 2 and y = 1 + x 2 .
Triple integral
Example
RRR
Evaluate V
xyz 2 dV where V = [0, 1] × [−1, 2] × [0, 3].
By Fubini’s theorem,
ZZZ Z 3 Z 2 Z 1
27
fdV = xdx ydy z 2 dz = .
V 0 −1 0 4
and
ZZZ
Volume(D) := dV .
D
Type-I domain:
A domain V ⊂ R3 is Type-I if
!
ZZZ ZZ Z u2 (x,y)
f (x, y, z)dV = f (x, y, z)dz dxdy .
V D u1 (x,y)