DorianG
- 27
- 0
Homework Statement
Apologies in advance as I can't use any formatting yet...
In linear algebra class, we're finding the length of vectors (polynomials) by computing its inner product with itself and finding the square root of the resultant value.
The inner product is defined in this case (not sure if it's the standard inner product for the vector space over polynomials) as the value of the integral from -1 to 1 of f(t)g(t) dt, where in the case of length this becomes f(t)f(t) dt as it's the inner product of f(t) with itself.
The problem is that, say the integral of at^4 + bt^3 + ct^2 + dt + c from -1 to 1 was evaluated unusally in some examples in class. Rather than just evaluate each summand and substitute the limits of integration (which results in 0 for all even powers of t), the lecturer noted that, after integrating 1 to get t^1, evaluated from -1 to 1, the integral value was zero. Geometrically, he explained that it is equivalent to the line x=y and thus has equal area above and below the x-axis from -1 to 1, and thus cancels.
As I would take it though, and by evaluating formally, t from -1 to 1 is [1]-[-1] = 1 + 1 = 2.
Which is the correct value to take?
As I see it, a more complex function might have equal area above and below the x-axis between -1 and 1. Without noticing this, as it wouldn't be very obvious, the integral would just be evaluated as normal and not 'seen to be zero' by inspection, wouldn't it?
Is evaluating integrals different when finding the length of a polynomial? And is the length of a polynomial over two values, say in 2-d, actually given by that method? Just a little confused about some of the issues around the algorithm and would appreciate any help.
Thanks!