Last Updated 10/28/2022

Sage Essentials
Section 4: Solving Equations

The solve command

Example 4

The solvecommand can also be used to solve a system of linear equations. For example, let us find the solutions of the system { x+y=2 xy=0 .

 

 

Here is an example of the solution of a 3 by 3 system with variables x, y, and z.

Solve the system: { x+y+z=1 3x+y=3 x2yz=0

 

Try this!

Solve the system: { 4x+3y=12 5x7y=35 .

 


← Previous Example Next Example →