My calculus textbook says that both lim(x->a)((f(x)-f(a))/(x-a) = f'(x) and lim(h->0)((f(x+h)-f(x))/h) = f'(x)
So I could use either lim(x->a)((f(x)-f(a))/(x-a) or lim(h->0)((f(x+h)-f(x))/h) to calculate f'(x) and I should get the same result, right?
They're exactly the same thing. Just set a=x-h and one turns into the other.
~~~
Yeah, and factoring polynomials doesn't work like that.
(x^4-a^4)/(x-a) does not equal x^3 - a^3, and it's easy to demonstrate this fact, as reversing that should give the original answer:
(x^3 - a^3) * (x-a) does not equal (x^4 - a^4) when you do an expansion.
Division of polynomials seems like "magic" when you first see the results, I'm guessing you have no idea how you'd go about that. It just seems like you need to memorize the results and just trust they are correct and worked out by previous generations of genius mathematicians. Luckily, it's a lot more simple, but it was never taught to me in class or at college.
Polynomial long division is one way to divide arbitrary polynomials by other arbitrary polynomials. The principles are identical to regular long division, except you use "base x" instead of "base 10". e.g. you need to eliminate the highest power of x on each round, then add those to your final divisor.
First, since x-a has one power of x, and x^4-^4 has 4 powers of x, the (x-a) must be multiplied by x^3 to match the highest term. x^3(x-a) = x^4 - ax^3. Subtract this result from the original polynomial, then add the x^3 factor to your final answer:
x^4 - a^4 - (x^4 - ax^3) = ax^3 - a^4 remainder, with (x^3) times (x-a) taken out.
At this stage it would be perfectly legitimate to write (x^4-a^4)/(x-a) = x^3 + (ax^3 - a^4)/(x-a), which shows how this process works in terms of normal algebra. It's just regrouping the top of the fraction into parts divisible by (x-a) and them eliminating (x-a)/(x-a) for those sections until there's nothing left above a fraction. But to keep it simple, you don't write out the "full equation" each time, you just write out the remainder part that you need to factor next. So we take the remainder (ax^3 - a^4)/(x-a) and do the same process for that as we did for the original fractionNow, the higest term of x = ax^3, so multiply (x-a) by ax^2 to eliminate the higest term (x-a)*ax^2 = (ax^3 - a^2x^2)
ax^3 - a^4 - (ax^3 - a^2x^2) = a^2x^2 - a^4 remainder, with (x^3 + ax^2) times (x-a) taken out
To eliminate a^2x^2, that's (x-a) times a^2x, i.e. subtract (a^2x^2 - a^3x) :
a^2x^2 - a^4 - (a^2x^2 - a^3x) = a^3x - a^4 remainder, with (x^3 + ax^2 + a^2x) times (x-a) taken out
The final term of x is a^3x, so take out a^3 times (x-a) = (a^3x - a^4)
a^3x - a^4 - (a^3x - a^4), which leaves zero remainder and the job is done.
Now, you take all the factors of (x-a) you needed to remove and add them together, and that's your answer
(x^4-a^4)/(x-a) = (x^3 + ax^2 + a^2x + a^3)
Presto, division of arbitrary polynomials from basic algebraic principles.