Question about expanding a function to first order

Click For Summary

Discussion Overview

The discussion revolves around the validity of approximating a function using a first-order Taylor expansion, specifically in the context of the expression ##f(x+\Delta x) \approx f(x) + f'(x)\Delta x##. Participants explore the conditions under which this approximation holds, particularly focusing on the size of ##\Delta x## relative to ##x## and the implications of different function behaviors.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question whether the first-order approximation is valid when ##\Delta x## is not necessarily small, suggesting that the relationship between ##f'(x)## and the difference quotient can vary significantly.
  • One participant provides an example where ##\Delta x## is large and negative, indicating that the function values can differ greatly, challenging the approximation's validity.
  • Another participant asserts that a first-order approximation requires ##\Delta x## to be "small" in some sense, implying that restrictions on the values of ##\Delta x## may be necessary for the approximation to hold.
  • Examples such as ##f(x)=x^2## and ##\sin x## are mentioned to illustrate the behavior of the approximation under different conditions.
  • Participants discuss the implications of Taylor's Theorem, noting that the error of the approximation depends on the second derivative of the function.
  • There is a mention of linear and constant functions where the first-order expansion is valid everywhere, highlighting exceptions to the general rule.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the validity of the first-order approximation when ##\Delta x## is not small. Multiple competing views remain regarding the conditions under which the approximation can be applied.

Contextual Notes

The discussion highlights limitations related to the assumptions about the size of ##\Delta x## and the behavior of different functions, particularly in relation to their derivatives.

hgandh
Messages
26
Reaction score
2
If we have a function ##f(x+\Delta x)## where ##\Delta x << x##, is it valid to approximate this as:
$$f(x + \Delta x) \approx f(x) + f'(x)\Delta x$$
even if ##\Delta x## is not necessarily small? If not, what is the valid expansion to first order?
 
Physics news on Phys.org
If ##\Delta x## is big, then ##f'(x)## and ##\dfrac{f(x+\Delta x)-f(x)}{\Delta x}## can be very different, regardless how small ##\Delta x## versus ##x## is. E.g. ##x## could be positive and ##\Delta x## a large negative number, i.e. the function values can be quite different.
 
fresh_42 said:
If ##\Delta x## is big, then ##f'(x)## and ##\dfrac{f(x+\Delta x)-f(x)}{\Delta x}## can be very different, regardless how small ##\Delta x## versus ##x## is. E.g. ##x## could be positive and ##\Delta x## a large negative number, i.e. the function values can be quite different.
If I restrict it to positive values only, would this become valid then?
 
hgandh said:
If I restrict it to positive values only, would this become valid then?
No. To use a first order approximation, ##\Delta x ## must be "small" in some sense.

You can try some examples, like ##f(x)=x^2##.
 
PS another perhaps even more illustrative example would be ##\sin x##.
 
Exceptions would be linear, constant functions where expansion would be valid everywhere.
 
hgandh said:
If we have a function ##f(x+\Delta x)## where ##\Delta x << x##, is it valid to approximate this as:
$$f(x + \Delta x) \approx f(x) + f'(x)\Delta x$$
even if ##\Delta x## is not necessarily small? If not, what is the valid expansion to first order?

You can answer this yourself. Draw a curve, any curve. That's ##f(x)##. Draw the tangent line at any point ##x_0##. That's the line ##f(x_0) + f'(x_0) \Delta x##. How far is the line from the curve? Anywhere it's "close enough", whatever that means to you, is a place where the approximation is "good enough".

Intuitively you can see that if the curve bends rapidly away from the tangent line, then the error gets big quickly, whereas if the curve is relatively flat and stays close to the line, then the approximation is pretty good over a larger range.

Taylor's Theorem expresses that rigorously with the error term. If you stop at the first derivative, the amount of error depends on the second derivative, i.e. how fast the slope of the curve changes.
 
RPinPA said:
You can answer this yourself. Draw a curve, any curve. That's ##f(x)##. Draw the tangent line at any point ##x_0##. That's the line ##f(x_0) + f'(x_0) \Delta x##. How far is the line from the curve? Anywhere it's "close enough", whatever that means to you, is a place where the approximation is "good enough".

Intuitively you can see that if the curve bends rapidly away from the tangent line, then the error gets big quickly, whereas if the curve is relatively flat and stays close to the line, then the approximation is pretty good over a larger range.

Taylor's Theorem expresses that rigorously with the error term. If you stop at the first derivative, the amount of error depends on the second derivative, i.e. how fast the slope of the curve changes.
Interesting. This gives a formal proof that a linear function gives a perfect approximation, since f"(x)==0 for f(x)=mx+b.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K