Student[MultivariateCalculus]
GetRepresentation
obtain a representation of a line or plane
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
GetRepresentation(l, opts)
GetRepresentation(p, opts)
l
-
Line ; Line defined by Student[MultivariateCalculus]
opts
(optional) control the representation of a Line object
p
Plane ; Plane defined by Student[MultivariateCalculus]
The following options are available.
form = equation, equations, vectors, combined_vector, parametric, symmetric (if called on a Line object)
form = equation, equations (if called on a Plane object)
The standard representations for the given object. The default is vectors for a Line and equation for a Plane.
In vectors form, the result is an expression of the form t⁢.⁢12⁢+⁢34.
In combined_vector form, the two vectors of vectors form are combined to obtain an expression of the form t⁢+⁢32⁢t⁢+⁢4.
In parametric form, the expressions from combined_vector form are used in equations to obtain a list of
In symmetric form, the result is a little more complicated to describe:
For a line in 3D space, symmetric form is typically an object displayed as an equation with three parts, each of which is a linear expression in one of the coordinate variables. This is an example: x4−14⁢=y5−25=⁢z6−12. Such 'equations' cannot be handled by Maple, and indeed this is not an equation that you can use in other parts of Maple - only for display.
If a line in 3D is parallel to one of the coordinate planes, then there is no equation of that form that describes the line. Instead, GetRepresentation returns a sequence of two equations, like this: x4−14=y5−25,z=2.
If a line in 3D is parallel to two of the coordinate planes (that is, it is parallel to one of the coordinate axes), then GetRepresentation returns a sequence of two equations, like this: x=−1,z=2.
For a line in 2D, Maple typically returns an equation of the form x4−14=y5−25.
If a line in 2D is parallel to a coordinate axis, then there is no equation of that form that describes the line. Instead, GetRepresentation returns an equation of the form x=−1.
parameter = name
The free variable used in vectors, combined_vector, and parametric form. The default is the parameter used when constructing the line. In turn, the default for that is t.
The GetRepresentation command returns a representation of a line or plane.
For a Plane object p, the command returns the equation of p in the form a⁢x+b⁢y+c⁢z=d.
For consistency with lines in 3D (see below), one can pass the option form = equations (plural) to GetRepresentation to get this equation in a set. The only other valid value for form is equation (singular), which is the default - it returns just the equation.
For a Line object l, several forms of representation are available. These are selected by the form option (see below).
When form = symmetric is selected for a typical line in 3D space (see the options below), the result is not a normal Maple equation - Maple does not support equations involving three expressions. The value returned can only be used for displaying this 'equation'. The other forms all result in normal Maple equations and expressions.
with⁡Student:-MultivariateCalculus:
l1≔Line⁡1,2,3,7,−2,−1,variables=u,v,w
l1≔<< Line 1 >>
GetRepresentation⁡l1
t·6−4−4+123
GetRepresentation⁡l1,form=vectors,parameter=k
k·6−4−4+123
GetRepresentation⁡l1,form=combined_vector
1+6⁢t2−4⁢t3−4⁢t
GetRepresentation⁡l1,form=parametric
u=1+6⁢t,v=2−4⁢t,w=3−4⁢t
GetRepresentation⁡l1,form=symmetric
u6−16 = −v4+12 = −w4+34
The other symmetric forms.
l2≔Line⁡1,2,3,7,−2,3,variables=u,v,w
l2≔<< Line 2 >>
GetRepresentation⁡l2,form=symmetric
u6−16=−v4+12,w=3
l3≔Line⁡1,2,3,7,2,3,variables=u,v,w
l3≔<< Line 3 >>
GetRepresentation⁡l3,form=symmetric
v=2,w=3
l4≔Line⁡1,2,7,−2,variables=u,v
l4≔<< Line 4 >>
GetRepresentation⁡l4,form=symmetric
u6−16=−v4+12
l5≔Line⁡1,2,7,2,variables=u,v
l5≔<< Line 5 >>
GetRepresentation⁡l5,form=symmetric
v=2
The option form=equation is available for lines in 2D, but not 3D.
GetRepresentation⁡l4,form=equation
2⁢u3+v=83
GetRepresentation⁡l4,form=equations
GetRepresentation⁡l1,form=equation
Error, (in Student:-MultivariateCalculus:-Line:-GetRepresentation) a line in 3 dimensions cannot be given by a single equation; try 'form = equations' instead
GetRepresentation⁡l1,form=equations
2⁢u3+v=83,2⁢u3+w=113
p1≔Plane⁡2,3,−3,0,3,1:
GetRepresentation⁡p1
3⁢y+z=6
p2≔Plane⁡9,4,−3,9,−1,−3,−1,0,0
p2≔<< Plane 2 >>
GetRepresentation⁡p2
3⁢y−z=15
u, v and x can be used in the equation.
p3≔Plane⁡3,6,1,4,1,−5,3,2,0,variables=u,v,x:
GetRepresentation⁡p3
−19⁢u+v−4⁢x=−55
The Student[MultivariateCalculus][GetRepresentation] command was introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
See Also
Student[MultivariateCalculus][Line]
Download Help Document