# How to make a matrix in geogebra

In this online lesson I'll explain how to create a square and rectangular matrix on Geogebra.

## How to make a square matrix

In this example you will realize a simple 2x2 square matrix with two rows and two columns.

Type {{1,2}, {3,4}} using curly brackets.

The outermost curly brackets enclose the rows of the matrix separated from each other by commas.

Now hit enter.

Geogebra automatically assigns an identifier to the matrix. For example, m1.

**How to give the matrix another name?** If you want to give the matrix a precise name, write the identifier and the equal symbol before the matrix. For example, name = {{1,2}, {3,4}}. In this way Geogebra assigns the matrix to the identifier you just wrote.

## How to make a rectangular matrix

You can also make a rectangular matrix. For example a 3x2 matrix.

In this case the matrix is made up of 3 rows and two columns.

Write **{{1,2}, {3,4}, {5,6}}** on Geogebra and press enter.

Geogebra shows you the matrix with the elements you have entered.

After creating a matrix, you can use it to do any matrix calculation operations.

For example, you can add two matrices, calculate the determinant of a square matrix, make the row-column product between two matrices, calculate the inverse matrix, the transposed matrix, the rank, etc.

If you like this StemKB lesson, keep following us.