Mathematics I · Unit 10 · 3 hrs
Partial Derivatives and Multiple Integrals
Exam-focused notes for Partial Derivatives and Multiple Integrals (Mathematics I, MTH117): what the TU syllabus asks and how it has actually been tested, with 14 solved past questions from this unit.
Partial Derivatives and Multiple Integrals in short
This chapter extends the ideas of limits, derivatives and integrals from functions of one variable to functions of two (or more) variables, ending with the double integral used to compute volumes and averages over a plane region.
What this unit covers
- Limit and continuity
- Partial derivatives
- Tangent planes
- Maximum and minimum values
- Multiple integrals
Limit and continuity
2081 · 5 marks
If $f(x,y) = \frac{xy}{x^2 + y^2}$, does $\lim_{(x, y) \to (0, 0)} f(x, y)$ exist? Justify. [5]
Partial derivatives
2081 · 5 marks
If $f(x,y) = 2x^3 + x^2y^2 - y^4$, find $f_x(1,-2)$, $f_y(1,-1)$ and $f_{yx}(1,-1)$. [5]
Show solved answerHide answer
Given Data
$$f(x, y) = 2x^3 + x^2y^2 - y^4$$
Required:
- $f_x(1, -2)$
- $f_y(1, -1)$
- $f_{yx}(1, -1)$
Step 1: Compute $f_x$
Differentiate with respect to $x$ (treat $y$ constant):
$$f_x = 6x^2 + 2xy^2 - 0 = 6x^2 + 2xy^2$$
Evaluate at $(1, -2)$:
$$f_x(1,-2) = 6(1)^2 + 2(1)(-2)^2 = 6 + 2(4) = 6 + 8 = 14$$
Step 2: Compute $f_y$
Differentiate with respect to $y$ (treat $x$ constant):
$$f_y = 0 + 2x^2y - 4y^3 = 2x^2y - 4y^3$$
Evaluate at $(1, -1)$:
$$f_y(1,-1) = 2(1)^2(-1) - 4(-1)^3 = -2 - 4(-1) = -2 + 4 = 2$$
Step 3: Compute $f_{yx}$
Differentiate $f_y = 2x^2y - 4y^3$ with respect to $x$:
$$f_{yx} = 4xy - 0 = 4xy$$
Evaluate at $(1, -1)$:
$$f_{yx}(1,-1) = 4(1)(-1) = -4$$
Summary
| Expression | Value |
|---|---|
| $f_x(1,-2)$ | $14$ |
| $f_y(1,-1)$ | $2$ |
| $f_{yx}(1,-1)$ | $-4$ |
All computations verified.
2080 · 5 marks
If $f(x,y) = x^3 + x^2y^3 - 2y^2$, find $f_x(2,1)$ and $f_y(2,1)$. [5]
2079 · 5 marks
Find the partial derivative $f_{xx}$ and $f_{yy}$ of $f(x,y) = x^2 + x^3y^2 - y^2 + xy$ at $(1,2)$. [5]
2078 · 5 marks
Find the partial derivatives of $f(x, y) = x^2 + 2x^3y^2 - 3y^2 + x + y$ at (1,2). [5]
2077 · 5 marks
Find the partial derivative of $f(x, y) = x^3 + 2x^3y^3 - 3y^2 + x + y$ at (2,1). [5]
2075 · 5 marks
Find $\frac{\partial z}{\partial x}$ and $\frac{\partial z}{\partial y}$ if z is defined as a function of x and y by the equation $x^3+y^3+z^3+6xyz=1$. [5]
Multiple integrals
2077 · 10 marks
Exam Question
Part 1: Evaluate $$\int_{3}^{2} \int_{0}^{\frac{\pi}{2}} \left( y + y^{2} \cos x \right) , dx , dy$$
Part 2: Find the Maclaurin's series for $\cos x$ and prove that it represents $\cos x$ for all $x$. [5+5]
Show solved answerHide answer
Given Data
Part 1: Double integral $$\int_{3}^{2}\int_{0}^{\pi/2}(y + y^2\cos x),dx,dy$$
- Outer limits (for $y$): from $3$ to $2$
- Inner limits (for $x$): from $0$ to $\pi/2$
Part 2: Find Maclaurin series for $\cos x$ and prove it represents $\cos x$ for all $x$.
Part 1: Evaluate the Double Integral
The limits are literally $\int_3^2$, so I will evaluate as written.
Step 1: Inner Integral (with respect to $x$)
Treat $y$ as constant: $$I_1 = \int_0^{\pi/2}(y + y^2\cos x),dx = \left[yx + y^2\sin x\right]_0^{\pi/2}$$
$$= \left(y\cdot\frac{\pi}{2} + y^2\sin\frac{\pi}{2}\right) - (0 + 0) = \frac{\pi y}{2} + y^2$$
Step 2: Outer Integral (with respect to $y$, from 3 to 2)
$$I = \int_3^2\left(\frac{\pi y}{2} + y^2\right)dy = \left[\frac{\pi y^2}{4} + \frac{y^3}{3}\right]_3^2$$
Evaluate at upper limit $y=2$: $$\frac{\pi(4)}{4} + \frac{8}{3} = \pi + \frac{8}{3}$$
Evaluate at lower limit $y=3$: $$\frac{\pi(9)}{4} + \frac{27}{3} = \frac{9\pi}{4} + 9$$
Subtract: $$I = \left(\pi + \frac{8}{3}\right) - \left(\frac{9\pi}{4} + 9\right)$$
$$= \pi - \frac{9\pi}{4} + \frac{8}{3} - 9 = \frac{4\pi - 9\pi}{4} + \frac{8 - 27}{3}$$
$$= -\frac{5\pi}{4} - \frac{19}{3}$$
$$\boxed{\int_{3}^{2}\int_{0}^{\pi/2}(y+y^2\cos x),dx,dy = -\frac{5\pi}{4} - \frac{19}{3}}$$
If the intended (standard) orientation is $\int_2^3$, the answer is $+\left(\dfrac{5\pi}{4}+\dfrac{19}{3}\right)$.
Part 2: Maclaurin's Series for $\cos x$
Finding the Series
The Maclaurin series is: $$f(x) = \sum_{n=0}^{\infty}\frac{f^{(n)}(0)}{n!}x^n$$
Let $f(x)=\cos x$:
| $n$ | $f^{(n)}(x)$ | $f^{(n)}(0)$ |
|---|---|---|
| 0 | $\cos x$ | $1$ |
| 1 | $-\sin x$ | $0$ |
| 2 | $-\cos x$ | $-1$ |
| 3 | $\sin x$ | $0$ |
| 4 | $\cos x$ | $1$ |
Odd derivatives vanish at $0$; even derivatives satisfy $f^{(2n)}(0)=(-1)^n$. Hence:
$$\cos x = \sum_{n=0}^{\infty}\frac{(-1)^n}{(2n)!}x^{2n} = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots$$
Proof of Convergence to $\cos x$ for all $x$
By Taylor's theorem, $\cos x = P_n(x) + R_n(x)$ where the Lagrange remainder is: $$R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}x^{n+1}, \quad c \text{ between } 0 \text{ and } x$$
Every derivative of $\cos x$ is $\pm\sin x$ or $\pm\cos x$, so: $$\left|f^{(n+1)}(c)\right| \le 1 \quad \text{for all } c$$
Therefore: $$|R_n(x)| \le \frac{|x|^{n+1}}{(n+1)!}$$
For any fixed $x$, the standard limit holds: $$\lim_{n\to\infty}\frac{|x|^{n+1}}{(n+1)!} = 0$$
(These are the terms of the convergent series for $e^{|x|}$, so they tend to $0$.)
By the squeeze theorem, $\lim_{n\to\infty}|R_n(x)| = 0$ for every real $x$.
Conclusion: Since the remainder tends to zero for all $x \in \mathbb{R}$, the Maclaurin series converges to $\cos x$ for all real $x$: $$\cos x = \sum_{n=0}^{\infty}\frac{(-1)^n}{(2n)!}x^{2n}, \quad \forall x \in \mathbb{R} \qquad \blacksquare$$
2075 · 10 marks
Question
If $f(x,y) = \frac{y}{x}$, show that $\lim_{(x,y)\to(0,0)} \frac{f(x,y)}{x}$ does not exist, justify.
Calculate $\iint_R f(x,y) dA$, for $f(x,y) = 100 - 6x^2y$, and $R: 0 \leq x \leq 2, -1 \leq y \leq 1$. [5+5]
Maximum and minimum values
2078 · 5 marks
Find the local maximum and minimum values, saddle points of $f(x,y) = x^4 + y^4 - 4xy + 1$. [5]
Show solved answerHide answer
Local Maxima, Minima, and Saddle Points of $f(x,y) = x^4 + y^4 - 4xy + 1$
Given
Function: $f(x,y) = x^4 + y^4 - 4xy + 1$
Step 2: Find Critical Points
$$ f_x = 4x^3 - 4y = 0 \Rightarrow y = x^3 \tag{1} $$
$$ f_y = 4y^3 - 4x = 0 \Rightarrow x = y^3 \tag{2} $$
Substitute (1) into (2): $$x = (x^3)^3 = x^9 \Rightarrow x^9 - x = 0 \Rightarrow x(x^8 - 1) = 0$$
So $x = 0$ or $x = \pm 1$.
- $x = 0 \Rightarrow y = 0$: point $(0,0)$
- $x = 1 \Rightarrow y = 1$: point $(1,1)$
- $x = -1 \Rightarrow y = -1$: point $(-1,-1)$
Step 3: Second Derivative Test
$$f_{xx} = 12x^2, \quad f_{yy} = 12y^2, \quad f_{xy} = -4$$ $$D = f_{xx}f_{yy} - (f_{xy})^2 = 144x^2y^2 - 16$$
At $(0,0)$: $$D = 144(0) - 16 = -16 < 0 \Rightarrow \text{Saddle point}$$
At $(1,1)$: $$D = 144(1)(1) - 16 = 128 > 0, \quad f_{xx} = 12 > 0 \Rightarrow \text{Local minimum}$$ $$f(1,1) = 1 + 1 - 4 + 1 = -1$$
At $(-1,-1)$: $$D = 144(1)(1) - 16 = 128 > 0, \quad f_{xx} = 12 > 0 \Rightarrow \text{Local minimum}$$ $$f(-1,-1) = 1 + 1 - 4(-1)(-1) + 1 = 1 + 1 - 4 + 1 = -1$$
Summary
| Point | $D$ | $f_{xx}$ | Conclusion |
|---|---|---|---|
| $(0,0)$ | $-16$ | -- | Saddle point |
| $(1,1)$ | $128$ | $12$ | Local minimum, $f = -1$ |
| $(-1,-1)$ | $128$ | $12$ | Local minimum, $f = -1$ |
Local minimum value: $-1$ at $(1,1)$ and $(-1,-1)$ Saddle point: $(0,0)$ No local maximum exists.
2077 · 5 marks
Find the local maximum and minimum values, saddle points of $f(x,y) = x^4 + y^4 - 4xy + 1$. [5]
Show solved answerHide answer
Local Extrema and Saddle Points of $f(x,y) = x^4 + y^4 - 4xy + 1$
Given
Function: $f(x,y) = x^4 + y^4 - 4xy + 1$
Step 2: First-Order Partial Derivatives (Critical Points)
$$ f_x = 4x^3 - 4y = 0 ;\Rightarrow; y = x^3 \tag{1} $$
$$ f_y = 4y^3 - 4x = 0 ;\Rightarrow; x = y^3 \tag{2} $$
Substitute (1) into (2):
$$x = (x^3)^3 = x^9 ;\Rightarrow; x^9 - x = 0 ;\Rightarrow; x(x^8 - 1) = 0$$
So $x = 0$ or $x^8 = 1 \Rightarrow x = \pm 1$.
- $x = 0 \Rightarrow y = 0$ → $(0,0)$
- $x = 1 \Rightarrow y = 1$ → $(1,1)$
- $x = -1 \Rightarrow y = -1$ → $(-1,-1)$
Step 3: Second-Derivative Test
$$f_{xx} = 12x^2, \quad f_{yy} = 12y^2, \quad f_{xy} = -4$$
$$D = f_{xx}f_{yy} - (f_{xy})^2 = 144x^2y^2 - 16$$
At $(0,0)$: $$D = 144(0)(0) - 16 = -16 < 0 ;\Rightarrow; \textbf{saddle point}$$
At $(1,1)$: $$D = 144(1)(1) - 16 = 128 > 0, \quad f_{xx} = 12 > 0 ;\Rightarrow; \textbf{local minimum}$$ $$f(1,1) = 1 + 1 - 4 + 1 = -1$$
At $(-1,-1)$: $$D = 144(1)(1) - 16 = 128 > 0, \quad f_{xx} = 12 > 0 ;\Rightarrow; \textbf{local minimum}$$ $$f(-1,-1) = 1 + 1 - 4 + 1 = -1$$
Summary
| Point | $D$ | $f_{xx}$ | Type | Value |
|---|---|---|---|---|
| $(0,0)$ | $-16$ | - | Saddle | $1$ |
| $(1,1)$ | $128$ | $12$ | Local min | $-1$ |
| $(-1,-1)$ | $128$ | $12$ | Local min | $-1$ |
Conclusion: No local maximum. Local minimum value $-1$ at $(1,1)$ and $(-1,-1)$. Saddle point at $(0,0)$.
2075 · 5 marks
Find the extreme values of the function $f(x,y) = x^2 + 2y^2$ on the circle $x^2 + y^2 = 1$. [5]
2074 · 5 marks
Find the extreme values of $f(x,y) = y^2 - x^2$. [5]
Make Unit 10 stick
Practice MTH117 with flashcards & quizzes