Skip to main content
Mathematics LibreTexts

35.2: Inner Product on Functions

  • Page ID
    70174
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    from IPython.display import YouTubeVideo
    YouTubeVideo("8ZyeHtgMBjk",width=640,height=360, cc_load_policy=True)

    Example

    Consider the following functions

    \[f(x)=3x-1 \nonumber\]

    \[g(x)=5x+3 \nonumber\]

    \[\text{with inner product defined by }\langle f,g\rangle=\int_0^1{f(x)g(x)dx}. \nonumber\]

    Question 5

    What is the norm of \(f(x)\) in this space?

    (Hint: you can use sympy.integrate to compute the integral)

    Question 6

    What is the norm of \(g(x)\) in this space?

    Question 7

    What is the inner product of \(f(x)\) and \(g(x)\) in this space?


    This page titled 35.2: Inner Product on Functions is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Dirk Colbry via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?