# Math notation

**URL:** https://discourse.julialang.org/t/math-notation/130567
**Category:** General Usage
**Tags:** question
**Created:** [July 9, 2025, 7:01am UTC](https://discourse.julialang.org/t/math-notation/130567 "2025-07-09T07:01:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Lincoln\_Hannah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lincoln_hannah/32/19198_2.png) [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)
#### Post date: [July 9, 2025, 7:01am UTC](https://discourse.julialang.org/t/math-notation/130567/1 "2025-07-09T07:01:31Z")

</div>

Could a set of uni-code characters (e.g. Greek letters) be set to be interpreted as individual variables even if they are next to other characters.

```julia
α=2
δ=3
αδ #6 like 2δ gives 6 in Julia

```

Would allow Julia code to look a bit more like math notation.  
(though may also be confusing)

---

<div class="post-metadata">

### Author: ![kellertuer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kellertuer/32/220707_2.png) [@kellertuer](https://discourse.julialang.org/u/kellertuer)
#### Post date: [July 9, 2025, 7:11am UTC](https://discourse.julialang.org/t/math-notation/130567/2 "2025-07-09T07:11:50Z")

</div>

This would not be unique, since it is unclear whether you meant to write `α*δ` which would be defined in you case or the single variable `αδ`, which would error in you case.

Your proposal would require that variable names that start with greek letters are not allowed to be longer than a single letter, so that would be very limiting (and super breaking to change that now).  
I often see `Δt` which would be forbidden to be used then.

Also – why only limit this to greek letters? Or in other words: also `a`, `C`, … are uni-code characters. Who would decide which ones are fine to be allowed only single letters?

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [July 9, 2025, 7:52am UTC](https://discourse.julialang.org/t/math-notation/130567/3 "2025-07-09T07:52:36Z")

</div>

You could do that within a macro.

---

<div class="post-metadata">

### Author: ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)
#### Post date: [July 9, 2025, 8:25am UTC](https://discourse.julialang.org/t/math-notation/130567/4 "2025-07-09T08:25:57Z")

</div>

> [@Lincoln\_Hannah](#):
>
> `αδ`

Perhaps nicer (for real numbers) than `α*δ` :

```julia
julia> α'δ
6

```

---

<div class="post-metadata">

### Author: ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)
#### Post date: [July 9, 2025, 8:32am UTC](https://discourse.julialang.org/t/math-notation/130567/5 "2025-07-09T08:32:23Z")

</div>

> [@Lincoln\_Hannah](#):
>
> Could a set of uni-code characters (e.g. Greek letters)

Regular non-greek characters, like `a`, are also unicode characters

```julia
julia> 'a'
'a': ASCII/Unicode U+0061 (category Ll: Letter, lowercase)

```
