compute the line tangent to a curve in Rn
TangentLine(f, var1, var2, outvars, coordopt)
TangentLine(f, pt, outvars, coordopt)
free or position Vector, Vector- or scalar-valued procedure, scalar expression or equation; specify the curve
name=algebraic; specify the name and value of the first parameter
name=algebraic; specify the name and value of the second parameter
Vector; in the case where f is given as an equation, the point at which the tangent line is to be computed can be specified as a Vector (of the same dimensionality)
'outnames'=list(name); (optional) specify the names of the output (cartesian) coordinate system variables
'coordinates'=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 TangentLine(f, var1) command computes the line tangent to the curve f at the point specified by var1. The curve 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 1 argument; it will be evaluated as f⁡lhs⁡var to obtain the expression for the curve and will be evaluated as f⁡rhs⁡var to obtain the point of tangency.
A curve in two-dimensional space can be specified using any of the calling sequences. A curve in three- or higher-dimensional space can only be specified using the calling sequence TangentLine(f, var1) where f is a vector or a vector-valued procedure. The coordopt will be ignored in this case if the vector f has its own coordinate system attached, but the outvars option can be included.
The TangentLine(f, var1, var2) command computes the line tangent to the curve f at the point specified by the two var parameters, where f is defined implicitly by an equation, for example x2+y2=1. No attempt is made to verify that the point specified by the var parameters is actually on the curve.
The TangentLine(f, pt) command computes the line tangent to the curve f at the point specified by the 2-element Vector pt parameters, where f is defined implicitly by an equation, for example x2+y2=1. No attempt is made to verify that the point specified by the pt parameter is actually on the curve.
If f is a scalar expression, an equation, or a scalar-valued procedure, then the current coordinate system must be two-dimensional, e.g., cartesian (in two dimensions) or polar, or the coordopt option must be provided and specify a two-dimensional coordinate system.
If f is a scalar expression, then the second argument must be an equation in which the left-hand side is one of the coordinate names from the current coordinate system or from the coordopt option, if provided. For example, if f is a scalar expression in x, the ambient coordinate system is cartesianx,y, and the second argument is x=a, then f is parameterized as the Vector <x, f>. The tangent line will be computed at the point x=a, y=f|x=a.
If f is a scalar-valued procedure, the second argument must be an equation in which the left-hand side is one of coordinate variable names from the current coordinate system or from the coordopt option. The procedure f will be evaluated at this variable, producing a scalar expression, and the previous paragraph applies.
If f is a Vector or Vector-valued procedure, var must be an equation whose left hand side is the curve parameter.
If f is a Vector or a scalar, 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 line 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 cartesian of the appropriate dimension, then the outvars option must be used to provide the names of the output (cartesian) coordinate system variable names.
The VectorCalculus[TangentLine] command was updated in Maple 17.
The var2, pt, outvars and coordopt parameters were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)