Question regarding notation when omitting terms

  • #1
kent davidge
933
56
If we want to expand a function ##f(x)## up to first order around ##x = 0## say, we usually write ##f(x) = f(0) + (df/dx)|_0 x + \mathcal O(x^2)##.

But what if I want to expand ##f(x)## in the whole series, and showing only the first order term in x? What notation do you use for that? (Aside from ##f(x) = f(0) + (df/dx)|_0 x + \sum \frac{d^{k-2}f}{dx^{k-2}}x^{k-2} / (k-2)!##.)

My thought: ##f(x) = f(0) + (df/dx)|_0 x + \mathcal O(x^{\geq 2})##
 

Answers and Replies

  • #2
BvU
Science Advisor
Homework Helper
15,383
4,375
Hi,
if I want to expand ##f(x)## in the whole series
You don't want that, because it doesn't make sense. The only term of interest around zero is the ##x^2## term. All higher order terms in ##f(x) - f(0) - (df/dx)\Big |_0 \; x \ ## vanish for ##x\downarrow 0##.

In other words, ##\mathcal O(x^{2}) ## is the same as your ##\mathcal O(x^{\geq 2})## (or: implies it).
 
  • Like
Likes kent davidge
  • #3
36,300
13,374
x3 < x2 for small x, therefore ##ax^3 \in O(x^2)##, same for all higher orders.
 
  • Like
Likes kent davidge
  • #4
kent davidge
933
56
x3 < x2 for small x, therefore ##ax^3 \in O(x^2)##, same for all higher orders.
I'm not considering only small ##x## though
 
  • #5
BvU
Science Advisor
Homework Helper
15,383
4,375
Doesn't matter. The meaning doesn't change:
$$f(x) - f(0) - (df/dx)\Big |_0 \; x \ = \mathcal O (x^2) \equiv \lim_{x \downarrow 0 }{f(x) - f(0) - (df/dx)\Big |_0 \; x \over x^2} \ \ \text {is finite}$$no more, no less. If you want to consider huge ##x## is upon you -- it probably won't be a good approximation, though.

1575396807986.png
( from wikipedia sin )
 
  • Like
Likes pbuk and kent davidge
  • #6
36,300
13,374
For large x you have to choose between physics and computer science convention of the notation, but in the latter case considering the constant and linear term is irrelevant and you'll likely need a completely new approach.
 
  • Like
Likes kent davidge

Suggested for: Question regarding notation when omitting terms

  • Last Post
Replies
4
Views
771
  • Last Post
Replies
4
Views
582
Replies
5
Views
713
  • Last Post
Replies
6
Views
1K
Replies
12
Views
182
  • Last Post
Replies
2
Views
802
  • Last Post
Replies
4
Views
823
  • Last Post
Replies
17
Views
1K
Replies
12
Views
2K
Top