# Questions tagged [subscript]

The tag has no usage guidance.

74 questions
Filter by
Sorted by
Tagged with
101 views

### «Hidden rocks» of the algebra of indexed values

Some time ago, our community generally believed that one should avoid operating indexed variables such as Subscript[a,1]. I remember to have several times adviced ...
30 views

### TagSet::sym Error using Subscript [duplicate]

I am a beginner to Mathematica and I am trying to get it to solve some equations of a function (vector) $B$ of three components, but first I want it to know that the derivates with respect to one ...
54 views

### Writing a variable-labelling function that will subscript a specific variable in a derivative or other function?

I have made a function which takes any expression and should replace it with one whose variables are identical, but replaced by those with a chosen subscript (inside the "{}" part goes a set of ...
59 views

### Summations on Variables with subscripts

One of my equations uses a set of variables which ultimately for a set of certain values gives a list of 8 numbers: c=13.9506 (31 - k) following cc(sub k) = Round[Table[13.950621339931203...
54 views

### How do I define a function that accepts a subscripted variable?

How do I define a function with subscripted variable? I want to write the following expression $\qquad f[a_9] =1+ a_7 + a_9$ I wrote ...
43 views

### Sets of k expressions, being k a variable

I need to write something like Table[Subscript[A,i] = i, {i,5}] in order to define a set of expressions. All is OK with this, but if I try to left the number of expressions as a variable k... Table[...
107 views

### Is there a way to use a subscript as variable? [duplicate]

I'm really new with Mathematica, and I could not find a previously question similar to this one. Is there a way that Mathematica can be made to recognize and treat a subscript letter as variable so ...
27 views

### Variable subscript substitution - easy way?

I have a Mathematica expression with about 900 terms, that looks roughly like this: $X_{1,1} + Y_{1,2} + Z_{1,3} + XX_{1,4} + XY_{1,5} + ...$ Is it possible to perform a fast method to copy this ...
40 views

### Plotting with sub and superscripts on the PlotLabels

Bug persists through 12.0. I'm trying to produce a plot with PlotLabels that include sub- and superscripts. However, I haven't been able to do it consistently. ...
62 views

### total differential of a subscripted variable

During use of sub-scripted variables, I came across the following issue Dt[Subscript[x,0]] gives Why is mathematica treating x and not x$_0$ as the ...
94 views

### Using ParametricNDSolve with n subscripted functions

I want to calculate trajectories of an n-pendulum. For the number n=1 it's just a pendulum, for n=2 a double pendulum , for n=3 a triple and so on. The Solver has to solve n equations for the angle. ...
74 views

### Subscript and superscript symbols for chemical calculations

I have some very unhandy, big equations which contain quantities like $n_{AB}(^{13}C)$, now i would like to adapt this notation also in Mathematica so I do not need to think of a new one. Is there a ...
114 views

### How to stop Mathematica from deriving index? [duplicate]

If I have two variables $k, k_x$ with $k_x\neq f(k)$, it is obvious that $$\frac{\partial k_x}{\partial k}=0$$ In Mathematica, I need the Subscript[] function to ...
89 views

### Trying to solve a system of equation with a subscripted variable with Reduce

When I run Reduce[expr, vars] in which one of the variables has a subscript, Mathematica gives me an output after some minutes (the system has 10 equations), but if ...
57 views

### Different output to Solve command in Mathematica changing a variable for a subscripted variable

I have a system of equations that is solved with the Solve command in Mathematica 10.2, when one of the variables is changed for a subscripted variable the answer is not the same, the difference is ...
100 views

### Sequential subscripts etc. in a unified notation

I am trying to generate a notation system to handle a variety of things in chemistry-standard notation. One key aspect of this is to be able to define symbols that have multiple subscripts, ...
77 views

### Changing the elements of the list based on subscripts

Say I have a list of lists: {{Subscript[a,1],Subscript[a,1]+Subscript[a,2],Subscript[a,-3]}, {Subscript[a,1],Subscript[a,-2],Subscript[a,-4]}} Now, in the ...
66 views

### Connection between a symbol and its subscript form?

I have read all about subscript forms and that they are DownValues of Subscript[]. I still do not understand the following: ...
194 views

254 views

### assign 2 letters in a subscript

Suppose I want to solve an equation for the matrix elements of $\bar{W}$: $$\alpha W_{ba}+\beta W_{bb}=x; \alpha W_{aa}+\beta W_{ab}=y$$ Using the syntax ...
95 views

### Why are scripts not allowed as components of vectors?

In Mathematica, I attempted to construct an arbitrary vector $\vec{a}$ using the Subscript: ...
When I first learned of Mathematica and started to use it, I soon discovered that Mathematica supported subscripted and superscripted variables such as $M_{i j}$. Naively, I first thought that I ...