BackSubstitution - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Student[NumericalAnalysis]

  

BackSubstitution

  

solve A.x = b where A is an upper-triangular matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

BackSubstitution(A, b)

BackSubstitution(A)

Parameters

A

-

Matrix; an upper-triangular nxn matrix or an augmented (A|b) nxm matrix where m=n+1

b

-

(optional) Vector; a vector of length n

Description

• 

The BackSubstitution command returns a solution to the equation A.x=b, where A is an upper-triangular matrix, using the back substitution algorithm.

Examples

withStudentNumericalAnalysis:

AMatrix1.1,4.9,7.7,4.4,7.5,8.1,2.7,8,10

A1.14.97.74.47.58.12.7810

(1)

bVector3.4,5.4,3.3

b3.45.43.3

(2)

Lower,UpperMatrixDecompositionA,method=LU,output=L,U

Lower,Upper1004.000000000102.4545454550.33283245701,1.14.97.70−12.10000000−22.7000000000−1.344703226

(3)

cForwardSubstitutionLower,b

c3.4−8.20000000−2.316228400

(4)

BackSubstitutionUpper,c=LinearSolveA,b,method=LU

2.409319491−2.5537490341.722482965=2.409319491−2.5537490341.722482965

(5)

See Also

Student[LinearAlgebra][BackwardSubstitute]

Student[NumericalAnalysis]

Student[NumericalAnalysis][ComputationOverview]

Student[NumericalAnalysis][ForwardSubstitution]

Student[NumericalAnalysis][IterativeApproximate]

Student[NumericalAnalysis][IterativeFormula]

Student[NumericalAnalysis][LinearSolve]

Student[NumericalAnalysis][MatrixDecomposition]