2. This means anything multiplying this x-b becomes 0 as well when x=b right?
His definition of linear is also wrong in my book.
Linear: f(x) = a x
Affine: f(x) = a x + b
(For some a, b)
2. This means anything multiplying this x-b becomes 0 as well when x=b right?
His definition of linear is also wrong in my book.
Linear: f(x) = a x
Affine: f(x) = a x + b
(For some a, b)
There are two variations of "linear function". To quote https://en.wikipedia.org/wiki/Linear_function:
> In mathematics, the term linear function refers to two distinct but related notions:
> - In calculus and related areas, a linear function is [...] a polynomial function of degree one or zero.
> - In linear algebra, mathematical analysis, and functional analysis, a linear function is a linear map.
I personally prefer the terminology "linear function" for the former definition (polynomials of degree 1 or 0), and "linear transform" for the latter definition (a linear map).
This is not “wrong”, but just a different convention.
f(0) = A, f(1) = B,
then the unique solution is
f(t) = (1-t)A + tB
The more general version with a and b is just composing this with a transformation of [a, b] into [0, 1]
Relevant keywords: linear interpolation, affine combination, barycentric coordinates.
Without having read the actual page, I assume he's going to move a and b close to eachother to approximate the tangent of the function at a point.
edit: In higher level math, you use circles/spheres or parabolas/paraboloids to approximate functions, but in high school level calculus you stick to using a straight line to approximate a function
I've tried learning calculus 3-4 times during my life, using materials for an "absolute beginner", and this has always been my experience, as if one were teaching programming by going from "This is a variable. It can store data." directly to "A monad is a monoid in the category of endofunctors." To this day I have no idea what calculus even is, or what it's for.
x-b x-a
f(x) = A --- + B ---
a-b b-a
You can calculate f(a) and f(b) to confirm that it works.However, I don't find this kind of guide any good for learning math...