35.2: Inner Product on Functions
( \newcommand{\kernel}{\mathrm{null}\,}\)
Example
Consider the following functions
f(x)=3x−1
g(x)=5x+3
with inner product defined by ⟨f,g⟩=∫10f(x)g(x)dx.
What is the norm of f(x) in this space?
(Hint: you can use sympy.integrate
to compute the integral)
What is the norm of g(x) in this space?
What is the inner product of f(x) and g(x) in this space?