Find the constant polynomial g closest to f

Click For Summary
SUMMARY

The discussion centers on finding the constant polynomial g that is closest to the function f(x) = 1/x in the real linear space C(1, 3) using the inner product defined as (f,g) = integral (1 to 3) f(x)g(x)dx. The solution reveals that the optimal constant polynomial is g = (1/2)log3, where the factor of 1/2 arises from minimizing the distance defined by the inner product. The distance is calculated using the formula || f - g ||^2 = integral (1 to 3) (f(t) - g(t))^2 dt, leading to the conclusion that the correct constant is indeed (1/2)log3.

PREREQUISITES
  • Understanding of inner product spaces
  • Familiarity with integral calculus
  • Knowledge of minimizing functions
  • Proficiency in polynomial approximation techniques
NEXT STEPS
  • Study the properties of inner product spaces in functional analysis
  • Learn about the method of least squares for function approximation
  • Explore the concept of orthogonal projections in vector spaces
  • Investigate the application of calculus in optimization problems
USEFUL FOR

Mathematicians, students studying functional analysis, and anyone interested in optimization techniques in calculus will benefit from this discussion.

Cassi
Messages
18
Reaction score
0

Homework Statement


In the real linear space C(1, 3) with inner product (f,g) = integral (1 to 3) f(x)g(x)dx, let f(x) = 1/x and show that the constant polynomial g nearest to f is g = (1/2)log3.

Homework Equations

The Attempt at a Solution


I seem to be able to get g = log 3 but I do not know where the 1/2 comes from. Here is what I did:
Let fn = summation (k=0 to n) (f, gk) gk
Therefore, (f, gk) = integral (1 to 3) (1/t)(gk)dt and (f, g0) = 0
Hence, (f, g1) = integral (1 to 3) (1/t)dt = log(t) evaluated from 1 to 3 = log (3) - log(1) = log(3) - 0 = log(3).
I don't see where the 1/2 comes from or where my mistake is?
 
Physics news on Phys.org
You need to find the constant [itex]k[/itex] which minimizes the distance between [itex]f = 1/t[/itex] and [itex]g = k[/itex]. The distance is defined in terms of the inner product by [itex]\| f - g \| = \sqrt{(f-g,f-g)}[/itex]. Since squaring is strictly increasing on the positive reals it suffices instead to minimize
[tex]\| f - g \|^2 = \int_1^3 (f(t) - g(t))^2\,dt.[/tex]
 

Similar threads

Replies
2
Views
2K
Replies
9
Views
3K
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
3
Views
2K