MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Readability confuses mathematica?

patrick.m.lahey at (patrick_m_lahey) wrote:
> I am new to mathematica so perhaps there is a simple answer to this
> Consider:
> In[1]:= D[x-x0,x]
> except that x0 is really x ctrl-- 0 (x subscript 0).  Normally that
> would be a completely independent variable from x but not according to
> mathematica!
> Out[1]=1-Subscript(1,0)[x,0]
> (the (1,0) is a superscript of Subscript).
> One of the things that attracted me to mathematica was the ability to
> work with expressions that closely mirrored the true expressions of
> interest (a readability issue really...).
> Is there anything that can be done here?

Considering that Subscript[x,0] appears to involve x itself, I suggest
that you use _literally_ D[x-x0,x] or D[x-x_0,x], either of which gives
just 1, as desired.


  • Prev by Date: Re: Readability confuses mathematica?
  • Next by Date: Re: Unevaluated
  • Previous by thread: Re: Readability confuses mathematica?
  • Next by thread: RE: Readability confuses mathematica?