# Inserting a matrix in Mathematica Online

**URL:** <https://community.wolfram.com/t/inserting-a-matrix-in-mathematica-online/24003>\
**Category:** Questions\
**Tags:** mathematica, ui-ux-and-ide\
**Created:** [May 15, 2024, 11:07pm UTC](https://community.wolfram.com/t/inserting-a-matrix-in-mathematica-online/24003 "2024-05-15T23:07:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johngore](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@johngore](https://community.wolfram.com/u/johngore)\
**Post date:** [May 15, 2024, 11:07pm UTC](https://community.wolfram.com/t/inserting-a-matrix-in-mathematica-online/24003/1 "2024-05-15T23:07:25Z")

</div>

How do I insert a matrix in Mathematica Online? The documentation says it should be under the Insert menu, but it is not there in my Online session.

Also, is there a good place that describes the Online interface for someone who is used to the desktop interface?

Thanks.

---

<div class="post-metadata">

**Author:** ![ronsmith150](https://avatars.discourse-cdn.com/v4/letter/r/3e96dc/32.png) [@ronsmith150](https://community.wolfram.com/u/ronsmith150)\
**Post date:** [May 22, 2024, 4:40pm UTC](https://community.wolfram.com/t/inserting-a-matrix-in-mathematica-online/24003/2 "2024-05-22T16:40:30Z")

</div>

In Mathematica a matrix is a list of lists so to enter a 3 x 3 identity matrix type:  
{{1,0,0},{0,1,0},{0,0,1}} or more simply IdentityMatrix[3].  
To get a dot product type:

```
{{1,0,0},{0,1,0},{0,0,1}}.{{a,b,c},{d,e,f},{g,h,i}}

```

or

```
Dot[{{1,0,0},{0,1,0},{0,0,1}},{{a,b,c},{d,e,f},{g,h,i}}]

```

In the Desktop version of Mathematica, keyboard entry or the Basic Math Assistant allows you to enter a matrix of the size you require with empty place holders but this doesn’t seem to be possible with Mathematica Online.
