Student[MultivariateCalculus] - Maple Programming Help

Home : Support : Online Help : Education : Student Packages : Multivariate Calculus : Computation : Student/MultivariateCalculus/ChangeOfVariables

Student[MultivariateCalculus]

 ChangeOfVariables
 return the change of variables of a multivariate integral function or algebraic expression
 Revert
 return to previous form of multivariate integral

 Calling Sequence ChangeOfVariables(f, g) ChangeOfVariables(f, h) Revert(m)

Parameters

 f - algebraic expression or inert multiple integral g - list of equations h - list of indexed names m - inert integral with unevaluated region of integration

Description

 • The ChangeOfVariables command returns a new integral or algebraic expression specified by the change of variables equations.
 • The second parameter of the command can be either a list of equations representing a suitable transformation or a list with two entries containing coordinate systems.
 In the first form, the transformation equations must specify new variable names for any coordinate that is to be changed; unchanged variables can be omitted from the transformation or given in the form of an identity equation, such as $x=x$. For example, ChangeOfVariables(Int(Int(a*x,x),y), [u=a*x]) is valid, as is ChangeOfVariables(Int(Int(a*x,x),y), [u=a*x,y=y]), but ChangeOfVariables(Int(Int(a*x,x),y), [y=a*x,x=y]) is not.
 • The coordinate systems available are cartesian and polar for two dimensions, and cartesian, cylindrical, and spherical for three dimensions.
 The coordinate systems must be specified in the form [OldCoordinateSystem[OldVariables],NewCoordinateSystem[NewVariables]]. Examples:
 * [polar[r,theta], cartesian[x,y]]
 * [cylindrical[r,theta,u], cartesian[x,y,z]]
 * [spherical[R,theta1,phi], cylindrical[r,theta2,z]]
 In the polar, cylindrical, and spherical coordinate systems, the first variable is assumed to be the radial component.
 • In general, when working with definite integrals, it is not always possible to find a new region of integration after applying a change of variables. Thus, if ChangeOfVariables cannot find the new region of integration, it retains the old region and indicates that the region has not been converted. If this occurs, use the Revert function to return to the previous integral before ChangeOfVariables was applied. Revert only works on integrals where the region of integration cannot be found. Otherwise, the same integral is returned.

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{MultivariateCalculus}\right]\right):$
 > $a≔\mathrm{Int}\left(\mathrm{Int}\left(x,x=1..4\right),y=2..5\right)$
 ${a}{≔}{?}$ (1)
 > $b≔\mathrm{ChangeOfVariables}\left(a,\left[\mathrm{cartesian}\left[x,y\right],\mathrm{polar}\left[r,\mathrm{\theta }\right]\right]\right)$
 ${b}{≔}{?}$ (2)
 > $c≔\mathrm{ChangeOfVariables}\left(b,\left[r=u+v,\mathrm{\theta }=v-2\right]\right)$
 ${c}{≔}{?}$ (3)
 > $\mathrm{Revert}\left(b\right)$
 ${?}$ (4)
 > $\mathrm{Revert}\left(c\right)$
 ${?}$ (5)
 > $\mathrm{Revert}\left(\mathrm{Revert}\left(c\right)\right)$
 ${?}$ (6)
 > $a≔\mathrm{Int}\left(\mathrm{Int}\left(\mathrm{Int}\left(xy,x\right),y\right),z\right)$
 ${a}{≔}{?}$ (7)
 > $\mathrm{ChangeOfVariables}\left(a,\left[\mathrm{cartesian}\left[x,y,z\right],\mathrm{cylindrical}\left[r,\mathrm{\theta },u\right]\right]\right)$
 ${?}$ (8)
 > $\mathrm{ChangeOfVariables}\left(a,\left[\mathrm{cartesian}\left[x,y,z\right],\mathrm{cylindrical}\left[r,\mathrm{\theta },z\right]\right]\right)$
 ${?}$ (9)
 > $\mathrm{ChangeOfVariables}\left(a,\left[x=u+1,y=y,z=w-2\right]\right)$
 ${?}$ (10)
 > $\mathrm{ChangeOfVariables}\left(x+z,\left[x=u+1,z=w-2\right]\right)$
 ${u}{-}{1}{+}{w}$ (11)