Norm - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Physics[Vectors][Norm] - calculate the norm of a vector

Calling Sequence

Norm(A)

Norm(A, conjugate = ...)

Parameters

A

-

any algebraic (vectorial or scalar) expression

conjugate = ...

-

optional, can be the word conjugate alone, or the right-hand side can be true or false - by default it is equal to false unless you change the value of Physics:-Setup(normusesconjugate).

Description

• 

If A is a vector in the context of the Physics[Vectors] package, Norm returns its Euclidean norm, that is, A · A unless A is not commutative or the option conjugate = true is passed, or the value of Physics:-Setup(normusesconjugate) is set to true - in all these cases it returns A · A&conjugate0;. To expand the norm of a sum of unprojected vectors in terms of their dot product, use expand. In the case of a scalar, Norm returns the absolute value A. Regarding how a vector is identified in the context of the Physics[Vectors] package see Identify.

• 

The %Norm is the inert form of Norm, that is, it represents the same mathematical operation while holding the operation unperformed. To activate the operation use value.

Examples

> 

with⁡PhysicsVectors

&x,`+`,`.`,Assume,ChangeBasis,ChangeCoordinates,CompactDisplay,Component,Curl,DirectionalDiff,Divergence,Gradient,Identify,Laplacian,∇,Norm,ParametrizeCurve,ParametrizeSurface,ParametrizeVolume,Setup,Simplify,`^`,diff,int

(1)
> 

Setup⁡mathematicalnotation=true

mathematicalnotation=true

(2)
> 

a⁢_i+b⁢_j+c⁢_k

a⁢i∧+b⁢j∧+c⁢k∧

(3)
> 

Norm⁡

a2+b2+c2

(4)
> 

Norm⁡,conjugate

a⁢a&conjugate0;+b⁢b&conjugate0;+c⁢c&conjugate0;

(5)
> 

convert⁡,abs

a2+b2+c2

(6)
> 

Norm⁡A_

A→

(7)

For scalars, Norm returns their absolute

> 

Norm⁡A

A

(8)

See Also

abs, conjugate, convert,VectorCalculus, Identify, operations, Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Physics[Vectors], Setup