Student[VectorCalculus]
TangentPlane
compute the plane tangent to a surface
Calling Sequence
Parameters
Description
Examples
Compatibility
TangentPlane(f, var1, var2, var3, outvars, coordopt)
TangentPlane(f, pt, outvars, coordopt)
f
-
free or position Vector, Vector- or scalar-valued procedure, scalar expression or equation; specify the surface
var1
name=algebraic; specify the name and value of the first parameter
var2
name=algebraic; specify the name and value of the second parameter
var3
name=algebraic; (optional) specify the name and value of the third parameter in the case where f is given as equation
pt
Vector; in the case where f is given as an equation, the point at which the tangent plane is to be computed can be specified as a 3-element Vector
outvars
'outnames'=list(name); (optional) specify the names of the (3) output (cartesian) coordinate system variables
coordopt
'coordinates'=name or 'coordinates'=name[name,name,name]; (optional) specify the coordinate system in which the input f is to be interpreted; this is ignored if f is a Vector with a coordinates or coords attribute; coordinates may be abbreviated as coords
The TangentPlane(f, var1, var2) command computes the plane tangent to the surface f at the point specified by var1 and var2. The surface can be entered as a Vector, a Vector-valued procedure, a scalar expression, or a scalar-valued procedure. If f is entered as a procedure, then it must accept at least 2 arguments; it will be evaluated as f⁡lhs⁡var1,lhs⁡var2 to obtain the expression for the surface and will be evaluated as f⁡rhs⁡var1,rhs⁡var2 to obtain the point of tangency.
The TangentPlane(f, var1, var2, var3) command computes the plane tangent to the surface f at the point specified by the three var parameters, where f is defined implicitly by an equation, for example x2+y2+z2=1. No attempt is made to verify that the point specified by the var parameters is actually on the surface.
The TangentPlane(f, pt) command computes the plane tangent to the surface f at the point specified by the 3-element Vector pt parameters, where f is defined implicitly by an equation, for example x2+y2+z2=1. No attempt is made to verify that the point specified by the pt parameter is actually on the surface.
If f is a scalar expression, an equation, or a scalar-valued procedure, then the current coordinate system must be three-dimensional, e.g., cartesian (in three dimensions), spherical, or cylindrical, or the coordopt option must be provided and specify a three-dimensional coordinate system.
If f is a scalar expression, then the second and third arguments must be equations in which the left-hand sides are the coordinate names from the current coordinate system or from the coordopts option. For example, if f is a scalar expression in x and z, the ambient coordinate system is cartesianx,y,z, and the second and third arguments are x=a and z=b, respectively, then f is parameterized as the Vector <x, f, z>. The tangent plane will be computed at the point x=a, z=f|x=a,z=b, z=b .
If f is a scalar-valued procedure, the second and third arguments must be equations in which the left-hand sides are the coordinate names from the current coordinate system or from the coordopt option. The procedure f will be evaluated at these two names, producing a scalar expression, and the previous paragraph applies.
If f is a procedure, the information in var1 will always be substituted into the first parameter of f, and likewise, the information in var2 will always be substituted into the second parameter.
If f is a Vector, var1 and var2 must specify the names of the two parameters of the surface.
If f is a Vector or a scalar expression, the output is a position Vector. If f is a procedure, the output is a procedure that evaluates to a position Vector. If f is described implicitly, as an equation, then the returned tangent plane will be given as an equation.
If the current coordinate system is not indexed by its coordinate variable names, then the default names will be used, should they be required during computation. For example, if the current coordinate system is cartesian (in three dimensions), then if required, the default names x, y and z will be used as the coordinate variable names.
If the input expression f is not a Vector with a coords attribute, it is interpreted in coordinate system specified by the coordopt option. If this is not given, then the ambient coordinate system (as set, for example, by SetCoordinates) is assumed.
If neither the ambient coordinate system nor the coordinate system in which f is interpreted (see previous item) is cartesian, then the outvars option must be used to provide the names of the output (cartesian) coordinate system variable names.
with⁡StudentVectorCalculus:
TangentPlane⁡f⁡x,y,x=a,y=b
xyD1⁡f⁡a,b⁢x−a+D2⁡f⁡a,b⁢y−b+f⁡a,b
TangentPlane⁡s,t,s2+t2,s=a,t=b
xy2⁢a⁢x−a+2⁢b⁢y−b+a2+b2
TangentPlane⁡s,t↦t2+s2,s2−t2,t⋅s,s=a,t=b
x,y↦VectorCalculus:−Vector⁡x,y,−−2⋅a2+2⋅b2⋅−a2−b2+x−−2⋅a2+2⋅b2⋅−a2+b2+y8⋅a⋅b+a⋅b,attributes=positionvector,coords=cartesianx,y,z
SetCoordinates⁡spherical
sphericalr,φ,θ
TangentPlane⁡1,s,t,s=π4,t=π2
xy−y+2
TangentPlane⁡r=1,1,π4,π2,outnames=u,v,w
2⁢v−222+2⁢w−222=0
SetCoordinates⁡cartesianx,y,z
cartesianx,y,z
TangentPlane⁡x,y↦y2+x2,x=a,y=b
x,y↦VectorCalculus:−Vector⁡x,y,2⋅a⋅x−a+2⋅b⋅y−b+a2+b2,attributes=positionvector,coords=cartesianx,y,z
TangentPlane⁡x2+y2,x=a,y=b
SetCoordinates⁡cartesian
cartesian
`~`normal⁡TangentPlane⁡r2⁢θ,r=1,θ=π4,coords=spherical
xy−2⁢π⁢x+π⁢y−2⁢π−6⁢x+2⁢y2⁢2+π
The Student[VectorCalculus][TangentPlane] command was updated in Maple 17.
The var3, pt, outvars and coordopt parameters were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
Student[MultivariateCalculus]
Student[VectorCalculus][PositionVector]
Student[VectorCalculus][SetCoordinates]
Student[VectorCalculus][TangentLine]
Student[VectorCalculus][TangentVector]
Student[VectorCalculus][Vector]
Download Help Document