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

Online Help

All Products    Maple    MapleSim


Student[MultivariateCalculus]

  

GetRepresentation

  

obtain a representation of a line or plane

 

Calling Sequence

Parameters

Options

Description

Examples

Compatibility

Calling Sequence

GetRepresentation(l, opts)

GetRepresentation(p, opts)

Parameters

l

-

Line ; Line defined by Student[MultivariateCalculus]

opts

-

(optional) control the representation of a Line object

p

-

Plane ; Plane defined by Student[MultivariateCalculus]

Options

• 

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+32t+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: x414=y525=z612. 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: x414=y525,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 x414=y525.

– 

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.

Description

• 

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 ax+by+cz=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.

Examples

withStudent:-MultivariateCalculus:

l1Line1,2,3,7,2,1,variables=u,v,w

l1<< Line 1 >>

(1)

GetRepresentationl1

t·6−4−4+123

(2)

GetRepresentationl1&comma;form=vectors&comma;parameter=k

k·6−4−4+123

(3)

GetRepresentationl1&comma;form=combined_vector

1+6t24t34t

(4)

GetRepresentationl1&comma;form=parametric

u=1+6t&comma;v=24t&comma;w=34t

(5)

GetRepresentationl1&comma;form=symmetric

u616 = v4+12 = w4+34

(6)

The other symmetric forms.

l2Line1&comma;2&comma;3&comma;7&comma;2&comma;3&comma;variables=u&comma;v&comma;w

l2<< Line 2 >>

(7)

GetRepresentationl2&comma;form=symmetric

u616=v4+12,w=3

(8)

l3Line1&comma;2&comma;3&comma;7&comma;2&comma;3&comma;variables=u&comma;v&comma;w

l3<< Line 3 >>

(9)

GetRepresentationl3&comma;form=symmetric

v=2,w=3

(10)

l4Line1&comma;2&comma;7&comma;2&comma;variables=u&comma;v

l4<< Line 4 >>

(11)

GetRepresentationl4&comma;form=symmetric

u616=v4+12

(12)

l5Line1&comma;2&comma;7&comma;2&comma;variables=u&comma;v

l5<< Line 5 >>

(13)

GetRepresentationl5&comma;form=symmetric

v=2

(14)

The option form=equation is available for lines in 2D, but not 3D.

GetRepresentationl4&comma;form=equation

2u3+v=83

(15)

GetRepresentationl4&comma;form=equations

2u3+v=83

(16)

GetRepresentationl1&comma;form=equation

Error, (in Student:-MultivariateCalculus:-Line:-GetRepresentation) a line in 3 dimensions cannot be given by a single equation; try 'form = equations' instead

GetRepresentationl1&comma;form=equations

2u3+v=83&comma;2u3+w=113

(17)

p1Plane2&comma;3&comma;3&comma;0&comma;3&comma;1&colon;

GetRepresentationp1

3y+z=6

(18)

p2Plane9&comma;4&comma;3&comma;9&comma;1&comma;3&comma;1&comma;0&comma;0

p2<< Plane 2 >>

(19)

GetRepresentationp2

3yz=15

(20)

u, v and x can be used in the equation.

p3Plane3&comma;6&comma;1&comma;4&comma;1&comma;5&comma;3&comma;2&comma;0&comma;variables=u&comma;v&comma;x&colon;

GetRepresentationp3

19u+v4x=−55

(21)

Compatibility

• 

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]

Student[MultivariateCalculus][Line]