Using Desmos: Inputting Greek Letters
Created: 2025/3/18

In Desmos, you can input Greek letters like α,β,θ,ϕ,π,τ\alpha,\beta,\theta,\phi,\pi,\tau and more.

The process is straightforward: just type alpha, beta, and so on.

However, for other Greek letters like λ,γ\lambda,\gamma, you’ll need to use a few tricks. This article introduces three methods to do so.

① Copy and Paste LaTeX

Desmos uses LaTeX\LaTeX, a popular typesetting system for mathematics, to process mathematical expressions.

In LaTeX\LaTeX, Greek letters are written using commands like \lambda, \gamma, and so on, with a backslash (\).

While you can write Greek letters in LaTeX\LaTeX format, Desmos doesn’t let you directly type \ in mathematical expressions.

Technically, you can type it, but it will automatically be escaped as \backslash. To work around this, you can copy Greek letters in LaTeX\LaTeX format and paste them directly into the expression.

As shown in the image above, type something like \lambda in the description, then copy and paste it into the expression.

On smartphones, pasting into the expression area might not work well. If that happens, try using a larger device like a computer.

Note
Desmos uses a WYSIWYG math editor called MathQuill. Internally, it uses a div tag instead of a standard input tag to simulate an input field. This is why native input assistance on smartphones may not work properly.

② Use DesModder

DesModder is a browser extension available for Chrome, Firefox, and other browsers.

Chrome Web Store: https://chromewebstore.google.com/detail/desmodder-for-desmos/eclmfdfimjhkmjglgdldedokjaemjfjp

Firefox Add-ons: https://addons.mozilla.org/ja/firefox/addon/desmodder-for-desmos/

DesModder offers many features, which I’ll cover in another article, but one of them is the ability to input Greek letters directly in Desmos.

After installing and enabling the extension, you can type various Greek letters directly in Desmos.

However, some letters with conflicting names can be tricky. For example, typing epsilon might result in eψlone\psi lon because psi gets converted midway.

To avoid this, you can temporarily insert a space, like eps ilo, to prevent automatic conversion. Then, remove the space and type n to input ϵ\epsilon.

Some letters, like varepsilon and varphi, are even harder to input because they conflict with Desmos’ built-in functions (e.g., the var\mathrm{var} function for variance). In such cases, copying and pasting in LaTeX\LaTeX format is usually the best option.

③ Use the Console

This method is for users familiar with basic JavaScript.

You can directly manipulate Desmos through the browser console. On Chrome, open the console with command+option+J on Mac or Ctrl+Shift+J on Windows. Here, you can run JavaScript commands.

The Desmos graph is stored in an object called Calc. Try typing Calc in the console.

You can view various information about the graph.

Using methods of the Calc object, you can manipulate the graph. For example, to retrieve the list of expressions, use Calc.getExpressions().

To add an expression, use Calc.setExpression({ latex:'y=\\lambda x' }).

Remember, in JavaScript, \ is a special character, so you need to escape it as \\.

For more details, check out the Desmos API Documentation.

SHARE
Images are created with the Desmos Graphing Calculator, used with permission from Desmos Studio PBC.
© 2024 UNS Physics. All Rights Reserved.