Writing [content]|_(a)^(b) gives a Math Processing Error?

Then teach the underlying concepts
Don't copy without citing sources
preview
?

Explanation

Explain in detail...

Explanation:

I want someone to double check my answer

2

Here's my take on this.

Explanation:

From what I can tell, that straight bar symbol, $|$, is not a valid character to be followed by an underscore symbol, $_$, in longer character strings.

I think this has something to do with how delimiters are used in the code. For example, you can write

• without the hashtags

}_a^b

• with the hashtags

}_a^b

and still get a math processing error. But if you write

{_a^b

{_a^b

This time, the left bracket is not considered a valid symbol to be followed by a subscript character. However, if you go

{"regardless of content"}_a^b

you will get

${\left\{\text{regardless of the content}\right\}}_{a}^{b}$

My guess is that when content is involved, meaning when you don't have something like this

|_a^b

${|}_{a}^{b}$

the vertical bar is being seen as a delimiter. Notice what happens when you write

int_a^b x^ndx = |[(x^(n+1))/(n+1)]|_(a)^(b)

${\int}_{a}^{b} {x}^{n} \mathrm{dx} = | \left[\frac{{x}^{n + 1}}{n + 1}\right] {|}_{a}^{b}$

It looks great now because you have two vertical bar delimiters that encapsulate the content, and so the subscript symbol works again.

Notice that it has the right size, too, which delimiters automatically take depending on the content they encapsulate.

Also, notice that you don't get this problem with "regular" characters like letters or numbers

int_a^b x^ndx = [(x^(n+1))/(n+1)] X_(a)^(b)

${\int}_{a}^{b} {x}^{n} \mathrm{dx} = \left[\frac{{x}^{n + 1}}{n + 1}\right] {X}_{a}^{b}$

${\int}_{a}^{b} {x}^{n} \mathrm{dx} = \left[\frac{{x}^{n + 1}}{n + 1}\right] {2}_{a}^{b}$

So, to bypass this issue, you can use double quote marks as an "invisible" character, like we would use for isotope notation, for example

""_a^b"Mg"

$\text{_a^b"Mg}$

In this case, you would have

• without the hashtags

int_a^b x^ndx = [(x^(n+1))/(n+1)]|""_(a)^(b)

• with the hashtags

int_a^b x^ndx = [(x^(n+1))/(n+1)] |""_(a)^(b)

Size is an issue now, since the vertical bar automatically takes the size of a regular charater, but at least it works.

An interesting hack

An interesting way to bypass the size issue is to use a technique we have for writing matrices with invisible brackets.

For example, the curly brackets, $\left\{\right\}$, can be made invisible by adding dots.

{:

with hashtags $\to$ {:

This means that you could write

{: (2/3) ]_a^b

to get something like this

${\left.\left(\frac{2}{3}\right)\right]}_{a}^{b}$

It's not perfect, especially since one can clearly tell that it's a right bracket, not vertical line, but it gets the job done.

In this case, you would have

int_a^b x^ndx = {: ((x^(n+1))/(n+1)) ]_(a)^(b)

${\int}_{a}^{b} {x}^{n} \mathrm{dx} = {\left.\left(\frac{{x}^{n + 1}}{n + 1}\right)\right]}_{a}^{b}$

Then teach the underlying concepts
Don't copy without citing sources
preview
?

Explanation

Explain in detail...

Explanation:

I want someone to double check my answer

1
Oct 23, 2015

As an example:

Content here --> ${\int}_{a}^{b} {x}^{n} \mathrm{dx} = \left[\frac{{x}^{n + 1}}{n + 1}\right] {|}_{a}^{b}$

was written as:

int_a^b x^ndx = [(x^(n+1))/(n+1)]|_(a)^(b)

Even this doesn't work:

Content here --> int_a^b x^ndx = [(x^(n+1))/(n+1)]}_(a)^(b)

written as:

int_a^b x^ndx = [(x^(n+1))/(n+1)]}_(a)^(b)

It's supposed to look somewhat like this:

${\int}_{a}^{b} {x}^{n} \mathrm{dx} = \left[\frac{{x}^{n + 1}}{n + 1}\right]$${|}_{a}^{b}$

• 5 minutes ago
• 13 minutes ago
• 13 minutes ago
• 13 minutes ago
• A minute ago
• 2 minutes ago
• 2 minutes ago
• 3 minutes ago
• 3 minutes ago
• 5 minutes ago
• 5 minutes ago
• 13 minutes ago
• 13 minutes ago
• 13 minutes ago