Difference between revisions of "Partial Derivatives and Integrals"
Line 1: | Line 1: | ||
− | + | ==Partial Derivatives of Functions from Rn to Rm== | |
<p>One of the core concepts of multivariable calculus involves the various differentiations of functions from <span class="math-inline"><math>\mathbb{R}^n</math></span> to <span class="math-inline"><math>\mathbb{R}^m</math></span>. We begin by defining the concept of a partial derivative of such functions.</p> | <p>One of the core concepts of multivariable calculus involves the various differentiations of functions from <span class="math-inline"><math>\mathbb{R}^n</math></span> to <span class="math-inline"><math>\mathbb{R}^m</math></span>. We begin by defining the concept of a partial derivative of such functions.</p> | ||
<blockquote style="background: white; border: 1px solid black; padding: 1em;"> | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
Line 25: | Line 25: | ||
<div style="text-align: center;"><math>\begin{align} \quad D_1 \mathbf{f}(\mathbf{c}) &= \lim_{h \to 0} \frac{\mathbf{f}(\mathbf{c} + h(1, 0)) - \mathbf{f}(\mathbf{c})}{h} \\ &= \lim_{h \to 0} \frac{(f_1((c_1, c_2)+ h(1, 0)), f_2((c_1, c_2)+ h(1, 0))) - (f_1(\mathbf{c}), f_2(c_1, c_2)))}{h} \\ &= \lim_{h \to 0} \frac{f_1(c_1 + h, c_2), f_2(c_1 + h, c_2)) - (f_1(c_1, c_2), f_2(c_1, c_2))}{h} \\ &= \lim_{h \to 0} \frac{(f_1(c_1 + h, c_2) - f_1(c_1, c_2), f_2(c_1 + h, c_2) - f_2(c_1, c_2))}{h} \\ &= \lim_{h \to 0} \frac{((c_1 + h)^2 + c_2^2 - [c_1^2 + c_2^2], 2(c_1 + h)(c_2) - 2c_1c_2)}{h} \\ &= \lim_{h \to 0} \frac{(c_1^2 + 2c_1h + h^2) + c_2^2 - c_1^2 - c_2^2, 2c_1c_2 + 2c_2h - 2c_1c_2)}{h} \\ &= \lim_{h \to 0} \frac{(2c_1h + h^2, 2c_2h)}{h} \\ &= \left ( \lim_{h \to 0} \frac{2c_1h + h^2}{h}, \lim_{h \to 0} \frac{2c_2h}{h} \right ) \\ &= \left ( \lim_{h \to 0} [2c_1 + h], \lim_{h \to 0} 2c_2 \right ) \\ &= (2c_1, 2c_2) \end{align}</math></div> | <div style="text-align: center;"><math>\begin{align} \quad D_1 \mathbf{f}(\mathbf{c}) &= \lim_{h \to 0} \frac{\mathbf{f}(\mathbf{c} + h(1, 0)) - \mathbf{f}(\mathbf{c})}{h} \\ &= \lim_{h \to 0} \frac{(f_1((c_1, c_2)+ h(1, 0)), f_2((c_1, c_2)+ h(1, 0))) - (f_1(\mathbf{c}), f_2(c_1, c_2)))}{h} \\ &= \lim_{h \to 0} \frac{f_1(c_1 + h, c_2), f_2(c_1 + h, c_2)) - (f_1(c_1, c_2), f_2(c_1, c_2))}{h} \\ &= \lim_{h \to 0} \frac{(f_1(c_1 + h, c_2) - f_1(c_1, c_2), f_2(c_1 + h, c_2) - f_2(c_1, c_2))}{h} \\ &= \lim_{h \to 0} \frac{((c_1 + h)^2 + c_2^2 - [c_1^2 + c_2^2], 2(c_1 + h)(c_2) - 2c_1c_2)}{h} \\ &= \lim_{h \to 0} \frac{(c_1^2 + 2c_1h + h^2) + c_2^2 - c_1^2 - c_2^2, 2c_1c_2 + 2c_2h - 2c_1c_2)}{h} \\ &= \lim_{h \to 0} \frac{(2c_1h + h^2, 2c_2h)}{h} \\ &= \left ( \lim_{h \to 0} \frac{2c_1h + h^2}{h}, \lim_{h \to 0} \frac{2c_2h}{h} \right ) \\ &= \left ( \lim_{h \to 0} [2c_1 + h], \lim_{h \to 0} 2c_2 \right ) \\ &= (2c_1, 2c_2) \end{align}</math></div> | ||
<p>So the partial derivative of <span class="math-inline"><math>\mathbf{f}</math></span> with respect to the first variable at say <span class="math-inline"><math>(1, 2)</math></span> is <span class="math-inline"><math>D_1 \mathbf{f}(1, 2) = (2, 4)</math></span>.</p> | <p>So the partial derivative of <span class="math-inline"><math>\mathbf{f}</math></span> with respect to the first variable at say <span class="math-inline"><math>(1, 2)</math></span> is <span class="math-inline"><math>D_1 \mathbf{f}(1, 2) = (2, 4)</math></span>.</p> | ||
+ | |||
+ | == The Riemann Integral== | ||
+ | Let <math>f</math> be a bounded function defined on the closed and bounded interval <math>[a, b]</math>. Let <math>P = \{ a = x_0, x_1, ..., x_n = b \}</math> be a partition of <math>[a, b]</math> with: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad a = x_0 < x_1 < ... < x_n = b \end{align}</math></div> | ||
+ | |||
+ | Let <math>\mathcal P[a, b]</math> denote the set of all partitions on <math>[a, b]</math>. For each <math>i \in \{ 1, 2, ..., n \}</math> we define: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad M_i & = \sup \{ f(x) : x \in [x_{i-1}, x_i] \} \\ \quad m_i & = \inf \{ f(x) : x \in [x_{i-1}, x_i] \} \end{align}</math></div> | ||
+ | |||
+ | With the notation above we can define the upper and lower Riemann sums associated with the partition <math>P</math> for the function <math>f</math>. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Definition:''' Let <math>f</math> be a bounded function on the closed and bounded interval <math>[a, b]</math> and let <math>P \in \mathcal \wp [a, b]</math>. The '''Upper Riemann Sum Associated with the Partition <math>P</math> for <math>f</math>''' is <math>\displaystyle{U(P, f) = \sum_{i=1}^{n} M_i \Delta x_i}</math>. The '''Lower Riemann Sum Associated with the Partition <math>P</math> for <math>f</math>''' is <math>\displaystyle{L(P, f) = \sum_{i=1}^{n} m_i \Delta x_i}</math>.</td> | ||
+ | </blockquote> | ||
+ | |||
+ | It can be shown that for any partitions <math>P_1, P_2 \in \mathcal \wp [a, b]</math> with <math>P_1 \subseteq P_2</math> we have that: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad U(P_2, f) \leq U(P_1, f) \quad \mathrm{and} \quad L(P_1, f) \leq L(P_2, f) \end{align}</math></div> | ||
+ | |||
+ | So as we consider partitions that are finer and finer, <math>U(P, f)</math> decreases and <math>L(P, f)</math> increases. It can also be shown that for any partitions <math>P, P' \in \wp [a, b]</math>: | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad L(P, f) \leq U(P', f) \end{align}</math></div> | ||
+ | |||
+ | That is, the set of all upper Riemann sums is bounded below by any lower Riemann sum, and the set of all lower Riemann sums is bounded above by any upper Riemann sum. We now define the upper and lower Riemann integrals of a bounded function <math>f</math> on <math>[a, b]</math>. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Definition:''' Let <math>f</math> be a bounded function on the closed and bounded interval <math>[a, b]</math>. The '''Upper Riemann Integral of <math>f</math>''' is defined to be | ||
+ | :<math> (R) \overline \int_{a}^{b} f(x) \, dx = \inf \{ U(P, f) : P \in \wp [a, b] \} </math> and the '''Lower Riemann Integral of <math>f</math>''' is defined to be | ||
+ | :<math>(R) \underline \int_{a}^{b} f(x) \, dx = \sup \{ L(P, f) : P \in \wp [a, b] \}</math>. | ||
+ | </blockquote> | ||
+ | |||
+ | Another way t o define the upper and lower Riemann integrals of <math>f</math> is through step functions. If <math>\varphi</math> is a step function defined on <math>[a, b]</math> then it is easy to show that the upper and lower Riemann integrals of <math>\varphi</math> exist and define the upper and lower Riemann integrals of <math>f</math> to also be: | ||
+ | |||
+ | <div style="text-align: center;"><math> \begin{align} \quad (R) \overline \int_{a}^{b} f(x) \, dx = \inf \left \{ (R) \int_{a}^{b} \psi(x) \, dx : \psi \text{is a step function}, f(x) \leq \psi (x) \text{on} [a, b] \right \} \end{align}</math></div> | ||
+ | |||
+ | <div style="text-align: center;"><math>\begin{align} \quad (R) \underline \int_{a}^{b} f(x) \, dx = \sup \left \{ (R) \int_{a}^{b} \varphi(x) \, dx : \varphi \text{is a step function}, \varphi(x) \leq f(x) \text{on} [a, b] \right \} \end{align}</math></div> | ||
+ | |||
+ | We are finally able to define what it means for a bounded function <math>f</math> defined on a closed and bounded interval <math>[a,b]</math> to be Riemann integrable. | ||
+ | |||
+ | <blockquote style="background: white; border: 1px solid black; padding: 1em;"> | ||
+ | :'''Definition:''' Let <math>f</math> be a bounded function on the closed and bounded interval <math>[a, b]</math>. Then <math>f</math> is said to be '''Riemann Integrable''' on <math>[a, b]</math> denoted <math>f \in R[a, b]</math> if <math>(R) \overline \int_{a}^{b} f(x) \, dx = \underline \int_{a}^{b} f(x) \, dx </math>. | ||
+ | </blockquote> | ||
==Licensing== | ==Licensing== | ||
Content obtained and/or adapted from: | Content obtained and/or adapted from: | ||
* [http://mathonline.wikidot.com/partial-derivatives-of-functions-from-rn-to-rm Partial Derivatives of Functions from Rn to Rm, mathonline.wikidot.com] under a CC BY-SA license | * [http://mathonline.wikidot.com/partial-derivatives-of-functions-from-rn-to-rm Partial Derivatives of Functions from Rn to Rm, mathonline.wikidot.com] under a CC BY-SA license | ||
+ | * [http://mathonline.wikidot.com/the-riemann-integral The Riemann Integral, mathonline.wikidot.com] under a CC BY-SA license |
Latest revision as of 18:09, 11 November 2021
Partial Derivatives of Functions from Rn to Rm
One of the core concepts of multivariable calculus involves the various differentiations of functions from to . We begin by defining the concept of a partial derivative of such functions.
Definition: Let be open, , and . Denote for each , i.e., is the unit vector in the direction of the coordinate axis. Then the Partial Derivative of at with Respect to the Variable is defined as provided that this limit exists.
Suppose that is open, , and . Then the partial derivative of at with respect to the variable is:
For example, consider the function defined by:
Then the partial derivative of with respect to the variable at the point is:
We can also easily calculate the partial derivatives and . So the definition of a partial derivative for is somewhat justified since the case when yields the definition of the partial derivative for a multivariable real-valued function.
Furthermore, suppose that and that . Then where for each are single-variable real-valued functions. The partial derivative of with respect to the first variable (the only variable, or simply just the derivative) at is:
For example, consider the function defined by:
Then the derivative of is:
And the derivative of at is:
Once again, the definition is justified since when we have that the definition reduces down to the special case of differentiating a single variable vector-valued function.
Now let's look at a more complicated example of computing a partial derivative. Let be defined by:
Then the partial derivative of at with respect to the first variable is:
So the partial derivative of with respect to the first variable at say is .
The Riemann Integral
Let be a bounded function defined on the closed and bounded interval . Let be a partition of with:
Let denote the set of all partitions on . For each we define:
With the notation above we can define the upper and lower Riemann sums associated with the partition for the function .
- Definition: Let be a bounded function on the closed and bounded interval and let . The Upper Riemann Sum Associated with the Partition for is . The Lower Riemann Sum Associated with the Partition for is .
It can be shown that for any partitions with we have that:
So as we consider partitions that are finer and finer, decreases and increases. It can also be shown that for any partitions :
That is, the set of all upper Riemann sums is bounded below by any lower Riemann sum, and the set of all lower Riemann sums is bounded above by any upper Riemann sum. We now define the upper and lower Riemann integrals of a bounded function on .
- Definition: Let be a bounded function on the closed and bounded interval . The Upper Riemann Integral of is defined to be
- and the Lower Riemann Integral of is defined to be
- .
Another way t o define the upper and lower Riemann integrals of is through step functions. If is a step function defined on then it is easy to show that the upper and lower Riemann integrals of exist and define the upper and lower Riemann integrals of to also be:
We are finally able to define what it means for a bounded function defined on a closed and bounded interval to be Riemann integrable.
- Definition: Let be a bounded function on the closed and bounded interval . Then is said to be Riemann Integrable on denoted if .
Licensing
Content obtained and/or adapted from:
- Partial Derivatives of Functions from Rn to Rm, mathonline.wikidot.com under a CC BY-SA license
- The Riemann Integral, mathonline.wikidot.com under a CC BY-SA license