*Notes to a video lecture on http://www.unizor.com*

__Double Integrals - Pyramid__

As another example of a double integral as a volume of a solid, consider a pyramid with three plains coinciding with three coordinate planes as follows:

base is a right triangle with vertex of the right angle at the origin of coordinates

*and catheti*

**O***(along the X-axis) and*

**OA***(along the Y-axis);*

**OB**point

*on the Z-axis is the top vertex of this pyramid.*

**C**Let the lengths of these sides be

**OA = a**

**OB = b**

**OC = c**Our task is to calculate the volume of this pyramid using the double integral and techniques described in the previous lecture.

We can consider this problem as the problem of determining a volume of a solid bounded on the top by a plane going through three given points

*,*

**A***and*

**B***and defined on the base triangle Δ*

**C***lying in the XY-plane.*

**OAB**Since we intend to integrate a function to determine a volume, let's express the plane going through points

*,*

**A***and*

**B***as a function*

**C***of two arguments*

**f(x,y)***and*

**x***- coordinates of a point that belong to a base triangle.*

**y**Traditional equation of this plane in three-dimensional coordinates is

**x/a + y/b + z/c = 1**from which follows the functional representation

**z = f(x, y) = c·(1 − x/a − y/b)**Since our base in not rectangular, we have to pick the primary argument, let it be

*changing from*

**x***to*

**0***. The argument*

**a***has limits that depend on the value of*

**y***in order for point*

**x***to be within our triangle. For each*

**(x, y)***, therefore, argument*

**x***should change from*

**y***to a point on the hypotenuse of our base triangle.*

**0**Equation of this line on a plane that goes through points

*on the X-axis and*

**A***on the Y-axis is*

**B**

**x/a + y/b = 1**Therefore, the point on a hypotenuse that corresponds to X-coordinate

*is*

**x**

**y = b·(1 − x/a)**So, for each primary coordinate

*(from*

**x***to*

**0***) coordinate*

**a***is changing from*

**y***to*

**0***.*

**b·(1 − x/a)**Using exactly the same logic as in the previous lecture, we can express the volume of this pyramid as a double integral of function

**f(x, y) = c·(1 − x/a − y/b)**on a base triangle Δ

*described by primary argument*

**OAB***changing from*

**x***to*

**0***and dependent argument*

**a***changing from*

**y***to*

**0***.*

**b·(1 − x/a)**Now the formula for a volume of our pyramid would be

*∫*

**V =***[∫*

_{0}^{a}*]*

_{0}^{b·(1−x/a)}**f(x,y)**d**y***d*

**x**where

**f(x, y) = c·(1 − x/a − y/b)**Let's perform the inner integration by

*considering*

**y***constant.*

**x**∫

*=*

_{0}^{b·(1−x/a)}**f(x,y)**d**y**= ∫

*=*

_{0}^{b·(1−x/a)}**c·(1−x/a−y/b)**d**y**=

*∫*

**c·(1−x/a)***−*

_{0}^{b·(1−x/a)}**d****y***∫*

**(c/b)***=*

_{0}^{b·(1−x/a)}**y**d**y**=

*=*

**b·c·(1−x/a)²−b·c·(1−x/a)²/2**=

**b·c·(1−x/a)²/2**Now, to get the volume of our pyramid, we have to integrate this as a function of

*from*

**x***to*

**0***:*

**a***∫*

**V =**

_{0}^{a}**b·c·(1−x/a)²/2**d**x**In this case, to integrate it, let's make a substitution

**t = 1−x/a**Then we can express

*, its differential*

**x***d*and limits of integration

**x***and*

**0***in terms of*

**a***:*

**t**

**x = a − a·t***d*

**x = −a·**d**t**

**x=0****⇒**

*t=1*

**x=a****⇒**

*t=0*As a result of this substitution,

*∫*

**V =***=*

_{1}^{0}**b·c·t²/2 (−a)·**d**t**=

*=*

**(a·b·c/2)·∫**_{0}^{1}**t²**d**t**=

**(a·b·c/2)·(1/3) = a·b·c/6**which corresponds to a known formula for a volume of a pyramid.