How Do You Correctly Format Limits and Derivatives in LaTeX?

  • Context: MHB 
  • Thread starter Thread starter Math Amateur
  • Start date Start date
  • Tags Tags
    Functions Limits
Click For Summary

Discussion Overview

The discussion revolves around formatting limits and derivatives in LaTeX, particularly focusing on the correct syntax for expressions involving limits and derivatives. Participants share their experiences and seek assistance in resolving formatting issues within the LaTeX environment.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Peter expresses difficulty with a LaTeX expression involving limits and derivatives, specifically questioning the formatting of f^' versus f^{'}.
  • Some participants suggest that using f^{'} or f^\prime may resolve the error encountered with f^'.
  • There is a mention that pre-defined functions like lim require a backslash to render correctly in LaTeX.

Areas of Agreement / Disagreement

Participants generally agree on the need for specific formatting in LaTeX, but there is no consensus on why certain expressions cause errors, indicating some uncertainty in the technical details.

Contextual Notes

Limitations include the lack of clarity on why specific LaTeX commands result in errors, as well as the dependence on the LaTeX environment's handling of certain expressions.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
I have just posted an edit to my (very) recent post:

[h=1]http://mathhelpboards.com/analysis-50/apostol-continuity-amp-differentiabilty-14190.html[/h]in the Analysis Forum.

I am having trouble with the following Latex expression:\text{lim}_{x \rightarrow c} f^* (x) = \text{lim}_{x \rightarrow c} frac{f(x) - f(c)}{x-c} = f^'(c) = f^*(c) = f^*(c)
Can someone help me to get it right?

(I am assuming that experienced Latex users can see what I am trying to achieve ... )

Peter
 
Physics news on Phys.org
Peter said:
I have just posted an edit to my (very) recent post:

[h=1]http://mathhelpboards.com/analysis-50/apostol-continuity-amp-differentiabilty-14190.html[/h]in the Analysis Forum.

I am having trouble with the following Latex expression:\text{lim}_{x \rightarrow c} f^* (x) = \text{lim}_{x \rightarrow c} frac{f(x) - f(c)}{x-c} = f^'(c) = f^*(c) = f^*(c)
Can someone help me to get it right?

(I am assuming that experienced Latex users can see what I am trying to achieve ... )

Peter

\lim_{x \to c} f^*(x) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c)

inside the LaTeX environment this gives

$\displaystyle \lim_{x \to c} f^*(x) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c) $
 
Prove It said:
\lim_{x \to c} f^*(x) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c)

inside the LaTeX environment this gives

$\displaystyle \lim_{x \to c} f^*(x) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c) $
Thanks for the help, Prove It ... have now corrected my post in the Analysis Forum

By the way, i found that the Latex editor was still objecting to

f^' and seems to insist on f'

Not sure why f^' is an error?

Peter
 
Hello Peter,

While I cannot explain why, it does seem that f^' throws an error while f^{'} does not. You could also use f^\prime as well. :D

I assume you noticed by reading Prove It's post that for pre-defined functions (such as lim) all you need is to precede it with a backslash in order for it to render non-italicized.
 
MarkFL said:
Hello Peter,

While I cannot explain why, it does seem that f^' throws an error while f^{'} does not. You could also use f^\prime as well. :D

I assume you noticed by reading Prove It's post that for pre-defined functions (such as lim) all you need is to precede it with a backslash in order for it to render non-italicized.
Thanks Mark ... thanks for clarifying that ...

Yes, noted that lim was a pre-defined function ...

Thanks again,

Peter
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
30
Views
2K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
25K