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
SUMMARY

The discussion focuses on formatting limits and derivatives in LaTeX, specifically addressing the expression for the limit of a function as it approaches a point. The correct LaTeX syntax is identified as \lim_{x \to c} f^*(x) = \lim_{x \to c} \frac{f(x) - f(c)}{x - c} = f'(c). Users noted that f^' generates an error, while f^{'} and f^\prime are valid alternatives. The importance of using backslashes for predefined functions like lim to ensure proper formatting was also emphasized.

PREREQUISITES
  • Familiarity with LaTeX syntax and environments
  • Understanding of limits and derivatives in calculus
  • Knowledge of mathematical notation and formatting
  • Experience with LaTeX editors and troubleshooting errors
NEXT STEPS
  • Research LaTeX formatting for mathematical expressions
  • Learn about LaTeX error handling and common pitfalls
  • Explore predefined functions in LaTeX and their usage
  • Study advanced LaTeX techniques for typesetting calculus concepts
USEFUL FOR

Mathematicians, educators, students, and anyone involved in typesetting mathematical documents using LaTeX.

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
6K
  • · 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