TangentPlane - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


VectorCalculus

  

TangentPlane

  

compute the plane tangent to a surface

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

TangentPlane(f, var1, var2, var3, outvars, coordopt)

TangentPlane(f, pt, outvars, coordopt)

Parameters

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[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

Description

• 

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 flhsvar1,lhsvar2 to obtain the expression for the surface and will be evaluated as frhsvar1,rhsvar2 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 or Vector-valued procedure, 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 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 3-dimensional cartesian, then the outvars option must be used to provide the names of the output (cartesian) coordinate system variable names.

Examples

withVectorCalculus&colon;

SetCoordinatescartesianx,y,z

cartesianx,y,z

(1)

TangentPlanefx&comma;y&comma;x=a&comma;y=b

xyD1fa&comma;bxa+D2fa&comma;byb+fa&comma;b

(2)

TangentPlanes&comma;t&comma;s2+t2&comma;s=a&comma;t=b

xy2axa+2byb+a2+b2

(3)

TangentPlanes&comma;tt2+s2&comma;s2t2&comma;ts&comma;s=a&comma;t=b

x&comma;yVectorx&comma;y&comma;2a2+2b2a2b2+x2a2+2b2a2+b2+y8ab+ab&comma;attributes=positionvector&comma;coords=cartesianx,y,z

(4)

SetCoordinatessphericalr,φ,θ

sphericalr,φ,θ

(5)

TangentPlane1&comma;s&comma;t&comma;s=π4&comma;t=π2&comma;outnames=u&comma;v&comma;w

uvv+2

(6)

TangentPlaner=1&comma;1&comma;π4&comma;π2&comma;outnames=u&comma;v&comma;w

2v222+2w222=0

(7)

SetCoordinatescartesianx,y,z

cartesianx,y,z

(8)

TangentPlanex&comma;yy2+x2&comma;x=a&comma;y=b

x&comma;yVectorx&comma;y&comma;2axa+2byb+a2+b2&comma;attributes=positionvector&comma;coords=cartesianx,y,z

(9)

TangentPlanex2+y2&comma;x=a&comma;y=b

xy2axa+2byb+a2+b2

(10)

`~`normalTangentPlaner2θ&comma;r=1&comma;θ=π4&comma;coords=sphericalr,φ,θ

xy2πx+πy2π6x+2y22+π

(11)

Compatibility

• 

The 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

VectorCalculus

VectorCalculus[PositionVector]

VectorCalculus[SetCoordinates]

VectorCalculus[TangentLine]

VectorCalculus[TangentVector]

VectorCalculus[Vector]