Linear Algebra/Topic: Computer Algebra Systems/Solutions
Answers for this Topic use Maple as the computer algebra system. In particular, all of these were tested on Maple V running under MS-DOS NT version 4.0. (On all of them, the preliminary command to load the linear algebra package along with Maple's responses to the Enter key, have been omitted.) Other systems have similar commands.
- Problem 1
Use the computer to solve the two problems that opened this chapter.
- This is the Statics problem.
- This is the Chemistry problem.
- The commands
> A:=array( [[40,15],
yield the answer .
- Here there is a free variable:
> A:=array( [[7,0,-7,0],
prompts the reply .
- Problem 2
Use the computer to solve these systems from the first subsection, or conclude "many solutions" or "no solutions".
These are easy to type in. For instance, the first
> A:=array( [[2,2],
gives the expected answer of . The others are entered similarly.
- The answer is and .
- The answer is and .
- This system has infinitely many solutions. In the first subsection, with as a parameter, we got and . Maple responds with , for some reason preferring as a parameter.
- There is no solution to this system. When the array and vector are given to Maple and it is asked to linsolve(A,u), it returns no result at all, that is, it responds with no solutions.
- The solutions is .
- There are many solutions. Maple gives .
- Problem 3
Use the computer to solve these systems from the second subsection.
As with the prior question, entering these is easy.
- This system has infinitely many solutions. In the second subsection we gave the solution set as
- The solution set has only one member
- This system's solution set is infinite
- There is a unique solution
- This system has infinitely many solutions; in the second subsection we described the solution set with two parameters
- The solution set is empty and Maple replies to the linsolve(A,u) command with no returned solutions.
- Problem 4
What does the computer give for the solution of the general system?
In response to this prompting
> A:=array( [[a,c],
Maple thought for perhaps twenty seconds and gave this reply.