Linked Questions
12 questions linked to/from Solve with v9 (issues with Subscript, Overscript, Superscript etc)
1
vote
0
answers
4k
views
How to assign (and retrieve) variables with subscripts? [duplicate]
I like to give subscripts to my variable names when the variables are related. I.e.,
Subscript[r, i] = 3
3
A problem arises when I later assign ...
2
votes
0
answers
47
views
LaTeX symbols inside Expectation [duplicate]
I use LaTeX in my Mathematica code (using "^+4"), and was surprised that the first line in the code below evaluates correctly, but the second (essentially identical) line does not:
...
4
votes
2
answers
1k
views
Recursion problem
I try to make designation
a = {Subscript[a,1], Subscript[a,2], Subscript[a,3]}
but receive mistake
$RecursionLimit::reclim: Recursion depth of 1024 exceeded.
...
4
votes
2
answers
2k
views
Using Greek letters with subscripts as symbols
I'd like to use Subscript[ϕ, 1] as a function name:
Subscript[ϕ, 1][x_] = C1 + C2*x + C3*Exp[α*x] + C4*Exp[-α*x]
But as I use
...
3
votes
1
answer
192
views
Simplifying algebraically
Is there a way to derive an simplified expression from other equations. Or create an alternate form such that the main equation takes other equations and manipulates the main function.
Here is what I ...
2
votes
1
answer
373
views
How to treat Subscript objects as constants when using D
I want to define a constant vector {$k_x , k_y , k_z$}.
The problem is that Mathematica gives me
D[$k_x$,x]$=k_1$. I want this to be zero, because $k_x$ is a constant.
Clearly D[$k_x$,x]$=k_1$ makes ...
2
votes
3
answers
199
views
Replacing constant factors
Goal: I want to multiply all constant factors in an expression by 2.
For example,
4 x^2 (4 Subscript[a, 1] + Subscript[a, 2] - 7 Subscript[c, 4])
should be ...
1
vote
1
answer
166
views
Using both subscripted and non-subscripted variables in an equation
I'm getting started with Mathematica, as I have been using Maple in the past. Is it possible to define two variables $\alpha_1, \alpha_2$ and then still use $\alpha$ as a parameter of a function and, ...
2
votes
1
answer
95
views
Derivatives and subscripts [closed]
Is there a way to declare that subscripted letters are not functions of the letter? By default, this happens:
...
0
votes
0
answers
140
views
Plotting a curve defined implicitly
I have defined the function functiontoplot using the following piece of code:
...
0
votes
1
answer
79
views
Using Subscripted Notation without Introducing new identifier
I would like to use subscripted notation such as $\sigma_x$ as identifiers for use as variables. In this example I am using the Pauli Matrices so that I would use notation such as:
$$
\sigma_x = \{\{...
0
votes
1
answer
83
views
Avoiding For loops to perform an assignment to a variable with indices of user-choice [duplicate]
I am looking for an efficient way to perform the following operation without For loops
...