Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

## #1 Re: Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 22:09:31

y - f(a) = f '(a)(x - a)?

Yes.

It is the best linear approximation around a

Why?

Obviously at an intuitive level this is clear, I'm interested in the proof of WHY it is the best linear approximation. Besides the fact that all Calculus books hammer this into your head a million times, there has to be a WHY; an explanation of why any other line provides a worst approximation.

I'm being meticulous on purpose.

## #2 Re: Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 21:56:13

Good to learn, thanks!

Now, this looks like we are now getting into some heavy machinery for what seems to be a pretty basic and fundamental problem of showing that the derivative is the best linear approximation. There must be a simpler way of proving this fundamental fact. Anyways Taylor series etc depend on the derivative and its properties, namely that it is THE best linear approximation. We would be using circular logic if one were to prove this simple fact using such machinery.

Do you have any idea how to prove this using basic tools? Geometry or something? Im at a loss.

Thanks again for this conversation

## #3 Re: Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 21:39:09

Yes. This is what I meant when I said "But that's just one way of looking at the error". You can "define" your error to be whatever you want (as long as it's logical). You can define the error to be the sum of the absolute values (like I first said) of the differences but then you run into non-differentiability problems because of the absolute value and hence the minimization-maximization tools of calculus cannot be applied, which is why one uses least squares so that it is differentiable.

But I see a problem in this, if i remember correctly you use least squares to do a best-fit to a data set of finite points. How do you overcome the fact that an interval has infinite points?

## #4 Re: Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 21:15:18

I have never heard of doing that.

Me neither. I was just shooting ideas of what came to mind.

In Numerical Analysis we try to come up with the greatest error in some interval

But that's just one way of looking at the error, I guess.

What does that mean the "error of the whole interval?"

First of all I didnt say "the error OF the whole interval", I said "the error ON the whole interval". My idea was: I know what the error between F and L is at a single point. Then I wondered: How do I measure the error between F and L over the whole interval I? A plausible answer (although of course it may be wrong, hence why I'm asking here) was to take the error between F and L at every single point of the interval and add them up. (this is exactly the integral over I of |F - L|). This is then what I will call the error between F and L over the interval I. Then by looking at this integral, im assigning an "error" over the whole interval I to the line L.

I suspect we may have a misunderstanding. I'm not completely sure I have been able to explain conceptually what I'm trying to understand.

## #5 Re: Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 21:01:38

Hello,

Can you be more specific?

How do you measure the error between a function F and a line L in an interval I around a point c? At each point x in I, i can measure the error as just the absolute value of the difference: |F(x) - L(x)|. But that's just the error at the point x. What's the error on the whole interval? The integral of |F - L| over the interval I?

Thanks.

## #6 Help Me ! » How to prove that the derivative is THE best linear approximation? » 2013-01-31 14:15:24

LRKM
Replies: 11

To be simple, take the case of a function from R to R, and a point c in R. What does it mean exactly that the derivative is THE best linear approximation? I guess it means that in the set of all lines passing through (c,f(c)), the line having slope = f'(c) , ie, the tangent line, is the one that provides a better approximation around a small interval I at c. However, how do we decide when a line is a "better approximation" than another line? Of course, we must speak of the error between the function values and the values of the line in the interval I, but how do we formalize this?

Thanks very much.
{"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://www.mathisfunforum.com/search.php?action=show_user_posts&user_id=198164", "fetch_time": 1501016608000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-30/segments/1500549425381.3/warc/CC-MAIN-20170725202416-20170725222416-00316.warc.gz", "warc_record_offset": 474927142, "warc_record_length": 4586, "token_count": 1141, "char_count": 4632, "score": 3.75, "int_score": 4, "crawl": "CC-MAIN-2017-30", "snapshot_type": "latest", "language": "en", "language_score": 0.9134365320205688, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00025-of-00064.parquet"}