Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • Compute Services
  • System Modeler
  • Finance Platform
  • Wolfram|Alpha Notebook Edition
  • Application Server
  • Enterprise Private Cloud
  • Wolfram Engine
  • Wolfram Player
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

Wolfram Consulting

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Notebook Assistant + LLM Kit
    • Compute Services
    • System Modeler
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Application Server
    • Enterprise Private Cloud
    • Wolfram Engine
    • Wolfram Player
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
Two-Dimensional Expression Input
TECH NOTE

Two-Dimensional Expression Input

Moving through ExpressionsTyping Matrices
Selecting and Deleting ExpressionsTyping Superscripts
Typing FractionsTyping Subscripts
Typing PowersTyping Overscripts
Typing Square RootsTyping Underscripts
Typing Radicals
Moving through Expressions

Moving the Cursor by Typing

You can use the keyboard to move the cursor forward or backward one character or one word at a time. You can also delete the character or word to the right or the left of the cursor, and you can move the cursor to the beginning or end of a line.

Getting out of an Expression

Move to the end of the next-higher subexpression by pressing Ctrl and Space at the same time.
Press Ctrl+Space repeatedly:

Selecting the Next Placeholder

Select the next placeholder by pressing the Tab key.
Pressing the Tab key:
Press Tab repeatedly:
Select the previous placeholder by pressing Shift and Tab at the same time.
Press Shift and Tab at the same time:
Press Shift+Tab repeatedly:

Switching Positions

Move back and forth between complementary positions by pressing Ctrl+5 or Ctrl+%.
First, alternate between a radicand and an index:
Press Ctrl+%:
Press Ctrl+%.
Next, alternate between a superscript and a subscript:
Press Ctrl+%.
Press Ctrl+%.
Finally, alternate between an overscript and an underscript:
Press Ctrl+%:
Press Ctrl+%.
Selecting and Deleting Expressions

Selecting the Next-Higher Subexpression

Select the next-higher subexpression by pressing Ctrl+..
Press Ctrl+. repeatedly:

Deleting to Destructure an Expression

Get rid of the contents of an expression and destructure it by pressing Del (or Backspace).
Press Backspace repeatedly:

Another Example

Press Backspace repeatedly:
Typing Fractions

Typing

Start with the expression that will be the numerator.
Type x:
Create a built-up fraction by pressing the Control and / keys at the same time. The placeholder in the denominator is already selected.
Press Ctrl+/:
Fill in the denominator.
Type y:
Move the insertion point out of the fraction by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

Start with the expression that will be the numerator.
Type x:
Create a built-up fraction by pressing the Control and / keys at the same time. The placeholder in the denominator is already selected.
Press Ctrl+/:
Fill in the denominator.
Type y:
Move the insertion point out of the fraction by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Once the insertion point is out of the fraction, you can continue typing.
Type +z:

Typing

Start with the expression that will be the numerator.
Type x:
Create a built-up fraction by pressing the Control and / keys at the same time. The placeholder in the denominator is already selected.
Press Ctrl+/:
Fill in the denominator.
Type y:
Continue typing in the denominator and then move out of the fraction.
Type +z:
Move the insertion point out of the fraction by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

Create a built-up fraction with Ctrl+/. The numerator and denominator contain placeholders; the one in the numerator is selected.
Press Ctrl+/:
Type an expression in the numerator.
Type x+y:
Select the placeholder in the denominator by pressing the Tab key. (Alternatively, you can select the placeholder by clicking it or dragging.)
Press Tab:
Fill in the numerator.
Type z:
Get out of the fraction by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Another Way of Typing

Start with the expression that will be the numerator.
Type x+y:
Select the expression. (You can select by dragging, by pressing Ctrl+. repeatedly, or by clicking the expression repeatedly.)
Select it:
Create a built-up fraction by pressing Ctrl+/.
Press Ctrl+/:
Fill in the denominator.
Type z:
Get out of the fraction by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Typing Powers

Typing xm

Start with the expression that will be the base.
Type x:
Create a built-up power by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
Type the exponent into the placeholder (which is already selected).
Type m:
Move the insertion point out of the exponent down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing xm+yn

Start with the expression that will be the base.
Type x:
Create a built-up power by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
Type the exponent into the placeholder (which is already selected).
Type m:
Move the insertion point out of the exponent down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Type +:
Add the second power in a similar way.
Type y, press Ctrl+^, type n, and press Ctrl+Space:

Typing xm+n

Start with the expression that will be the base.
Type x:
Create a built-up power by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
Type the exponent into the placeholder (which is already selected).
Type m+n:
Move the insertion point out of the exponent down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

Start with the expression that will be the base.
Type x:
Create a built-up power by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
Type the exponent into the placeholder (which is already selected).
Type m:
Construct a built-up fraction in the exponent.
Press Ctrl+/, type n:
Press the Control key and the Space bar twice to get down to the baseline.
Press Ctrl+Space twice:
Typing Square Roots

Typing

To get a square root sign, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type inside the placeholder (which is already selected).
Type x:
Press the Control key and the Space bar at the same time to get out of the square root.
Press Ctrl+Space:

Typing

To get a square root sign, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type inside the placeholder (which is already selected).
Type x:
Press the Control key and the Space bar at the same time to get out of the square root.
Press Ctrl+Space:
Type the second square root in the same way as the first.
Press Ctrl+@, type y, and press Ctrl+Space:

Typing

To get a square root sign, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type inside the placeholder (which is already selected).
Type x y:
Press the Control key and the Space bar at the same time to get out of the square root.
Press Ctrl+Space:

Another Way of Typing

Start by typing the expression that will be inside the square root.
Type x y:
Select the expression. (You can select by dragging, by pressing Ctrl+. repeatedly, or by clicking the expression repeatedly.)
Select x y:
Press the Control key and the @ key at the same time to put a square root around the selection.
Press Ctrl+@:
Get out of the square root by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Typing Radicals

Typing

To get a radical, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type the radicand inside the placeholder (which is already selected).
Type x:
Press the Control key and the 5 key at the same time.
Press Ctrl+5 or Ctrl+%:
Type the index.
Type n:
Get out of the radical and down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

To get a radical, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type the radicand inside the placeholder (which is already selected).
Type x:
Press the Control key and the 5 key at the same time.
Press Ctrl+5 or Ctrl+%:
Type the index.
Type n:
Get out of the radical and down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Type the second radical in the same way as the first.
Press Ctrl+@, type y, press Ctrl+%, type n, and press Ctrl+Space:

Typing

To get a radical, press the Control key and the 2 key at the same time.
Press Ctrl+2 or Ctrl+@:
Type the expression in the placeholder (which is already selected).
Type x y:
Press the Control key and the % key at the same time to create an index.
Press Ctrl+%:
Type the index in the placeholder (which is already selected).
Type n:
Get out of the radical and down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:
Typing Matrices

Creating a New Matrix

Choose Insert ▶ Table/Matrix ▶ New. Use the dialog box that pops up to create a matrix:

29.gif

Filling in Placeholders in a Matrix

Suppose the entry in the top-left position is selected.
Type an entry and select the next placeholder with the Tab key; repeat. (Use Shift+Tab to go backward.)
Type a, press Tab:
Type b, press Tab:
Type c, press Tab:
Press the Control key and the Space bar at the same time to get out of the grid.
Type d, press Ctrl+Space:
Move the insertion point to get out of the matrix.
Press RightArrow:

Adding a New Column in a Matrix

Place the insertion point to the right of any entry; here the insertion point is to the right of the entry at the top left.
Place the insertion point:
Press the Control and Comma keys at the same time. A column of placeholders will appear, with the top one selected.
Press Ctrl+Comma:

Adding a New Row in a Matrix

Place the insertion point to the right of any entry; here the insertion point is to the right of the entry at the top left.
Place the insertion point:
Press the Control and Enter keys at the same time. A row of placeholders will appear, with the first one selected.
Press Ctrl+Enter:
Typing Superscripts

Typing Superscript xi

Type the symbol that will have the superscript.
Type x:
Create a superscript by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
Type the superscript into the placeholder (which is already selected).
Type i:
Move the insertion point out of the superscript position down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing Superscript xi j

Type the symbol that will have the superscript.
Type x:
Create a superscript by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
To avoid multiplying the two superscripts, separate them with an invisible comma . To type the alias for an invisible comma, press the Escape key before and after typing a comma.
Type i, press Esc, type a comma, press Esc, and type j:
Get out of the superscript position down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing Superscript x2 3

Type the symbol that will have the superscript.
Type x:
Create a superscript by pressing the Control key and the 6 key at the same time.
Press Ctrl+6 or Ctrl+^:
To avoid multiplying the two superscripts, separate them with an invisible comma . To type the alias for an invisible comma, press the Escape key before and after typing a comma.
Type 2, press Esc, type a comma, press Esc, and type 3:
Get out of the superscript position down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing Superscript xni

Type the symbol that will have the superscript.
Type x:
Create a superscript by pressing the Control key and the 6 key (or the ^ key) at the same time.
Press Ctrl+6 or Ctrl+^:
Type the superscript into the placeholder (which is already selected).
Type n:
Create a subscript of a superscript by pressing the Control key and the _ key at the same time.
Press Ctrl+_:
Type i:
Press the Control key and the Space bar at the same time twice to get down to the baseline.
Press Ctrl+Space:
Press Ctrl+Space:
Typing Subscripts

Typing xi

Type the symbol that will have the subscript.
Type x:
Create a subscript by pressing the Control key and the - key at the same time.
Press Ctrl+- or Ctrl+_:
Type the subscript into the placeholder (which is already selected).
Type i:
Move the insertion point out of the subscript position up to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing xi j

Type the symbol that will have the subscript.
Type x:
Create a subscript by pressing the Control key and the - key at the same time.
Press Ctrl+- or Ctrl+_:
Type the subscript into the placeholder (which is already selected).
Type i:
Press the Space bar and then type j.
Press Space and type j:
*To avoid multiplying the two subscripts, separate them with an invisible comma . To type the alias for an invisible comma, press the Escape key before and after typing a comma.
Press Esc, type a comma, press Esc, and type j:
Move the insertion point out of the subscript position up to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing x2 3

Type the symbol that will have the subscript.
Type x:
Create a subscript by pressing the Control key and the - key at the same time.
Press Ctrl+- or Ctrl+_:
Type the subscript into the placeholder (which is already selected).
Type 2:
To avoid multiplying the two subscripts, separate them with an invisible comma . To type the alias for an invisible comma, press the Escape key before and after typing a comma.
Press Esc, type a comma, press Esc, and type 3:
Move the insertion point out of the subscript position up to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing xni

The first three steps create and fill in the subscript and its subscript.
Type x, then press Ctrl+_:
Type n, then press Ctrl+_:
Type i:
Press the Control key and the Space bar at the same time twice to get up to the baseline.
Press Ctrl+Space twice:
Typing Overscripts

Typing

Type the expression that will have an overscript.
Type x:
Create an overscript by pressing the Control key and the 7 key at the same time.
Press Ctrl+7 or Ctrl+&:
Type an underscore into the placeholder (which is already selected).
Type _:
Move the insertion point out of the overscript position down to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

Press the Control key and the 7 key at the same time.
This creates a pair of placeholders, one on the baseline and another in the overscript position.
Press Ctrl+7 or Ctrl+&:
Type an underscore into the placeholder in the overscript (which is already selected).
Type _:
Press the Tab key to select the placeholder that is on the baseline.
Press Tab:
Type the expression under the overscript.
Type x+y:
Press the Control key and the Space bar to get out of the overscripted expression.
Press Ctrl+Space:
Typing Underscripts

Typing

Type the expression that will have an underscript.
Type x:
Create an underscript by pressing the Control and Shift keys and the , key at the same time.
Press Ctrl+Shift+,:
Type an underscore into the placeholder (which is already selected).
Type _:
Move the insertion point out of the underscript position up to the baseline by pressing the Control key and the Space bar at the same time.
Press Ctrl+Space:

Typing

Press the Control and Shift keys and the , key at the same time.
This creates a pair of placeholders, one on the baseline and another in the underscript position.
Press Ctrl+Shift+,:
Type the expression into the placeholder (which is already selected).
Type x+y:
Press the Tab key to select the placeholder that is under the baseline.
Press Tab:
Type an underscore.
Type _:
Press the Control key and the Space bar at the same time to get out of the underscripted expression.
Press Ctrl+Space:

Typing

Type lim, and press Ctrl+Shift+,:
Type x:
Press Esc, type ->, and press Esc:
Type a, and press Ctrl+Space:
Type f[x]:

Related Guides

    ▪
  • Notebook Formatting & Styling
Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • Compute Services
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Engine
  • Wolfram Player

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2026 Wolfram
© 2026 Wolfram | Legal & Privacy Policy |
English