<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" xmlns:md="http://cnx.rice.edu/mdml/0.4" id="id2255528">
  <name>The network wave equation</name>
  <metadata>
  <md:version>1.4</md:version>
  <md:created>2008/03/18 16:51:58 GMT-5</md:created>
  <md:revised>2008/04/18 12:37:26.024 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="jchan985">
      <md:firstname>Jesse</md:firstname>
      <md:othername>Lee</md:othername>
      <md:surname>Chan</md:surname>
      <md:email>jchan985@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="jchan985">
      <md:firstname>Jesse</md:firstname>
      <md:othername>Lee</md:othername>
      <md:surname>Chan</md:surname>
      <md:email>jchan985@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>Applied Mathematics</md:keyword>
    <md:keyword>Eigenvalue problem</md:keyword>
    <md:keyword>Finite element</md:keyword>
    <md:keyword>Wave equation</md:keyword>
  </md:keywordlist>

  <md:abstract>This module introduces an overview of the three-dimensional network wave equation, and discusses numerical solutions and eigenvalue approximations using the finite element method.  A Matlab GUI for drawing webs is presented, and eigenvalues from FEM are compared to closed form solutions to the eigenvalues of the one-dimensional network wave equation.

As of present, this module contains a rough draft of the material. Links and external files will be added soon.</md:abstract>
</metadata>
  <content>
    <para id="id2255537">
Jesse Chan
Web Report (1st draft)</para>
    <para id="id2255579">The motion of most musical instrument strings can be described by the one dimensional wave equation on an interval <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>∈</m:mo><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>ℓ</m:mi><m:mo>]</m:mo></m:mrow></m:math>, with <m:math overflow="scroll"><m:mrow><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>,</m:mo><m:mn>0</m:mn><m:mo>)</m:mo><m:mo>=</m:mo><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>,</m:mo><m:mi>ℓ</m:mi><m:mo>)</m:mo><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow></m:math>, where <m:math overflow="scroll"><m:mi>u</m:mi></m:math> is the displacement of the string and <m:math overflow="scroll"><m:mi>ℓ</m:mi></m:math> is the strings length. The eigenvalues derived from this model progress in a well-known linear fashion, similar to the Western scale, leading to a pleasant sound when the string is plucked. A network of connected strings can be expressed in a similar manner; however, the progression of eigenvalues is much less regular and depends largely on the topology of the network. We examine these eigenvalues and their associated eigenvectors using a finite element discretization of such networks, then compare these results to closed form eigensolutions based on Joachim Von Below's examination of networks of strings in “A Characteristic Equation Associated to an Eigenvalue Problem on <m:math overflow="scroll"><m:msup><m:mi>c</m:mi><m:mn>2</m:mn></m:msup></m:math>-Networks", <emphasis>Linear Algebra and its Applications</emphasis>, Volume 71 (1985), p309-325.</para>
    <section id="uid1">
      <name>Introduction</name>
      <para id="id2255957">The purpose of the Physics of Strings seminar has traditionally been to study the motion of a vibrating string by analyzing its eigenfunctions and eigenvalues, equivalent to the string's fundamental modes and fundamental frequencies, respectively. The progression of these eigenvalues and eigenvectors tell us a great deal about the string; for example, given eigenvalues of a string, we can determine how quickly its vibrations decay, and whether the frequency of a vibration affects how quickly it's damped.</para>
      <para id="id2255969">The properties of the string, likewise, can tell us something about the eigenvalues. Physical constants, such as the length of the string, are proportionally related to the eigenvalues. Given data on the vibration of a string, there are also methods to reverse-engineer the eigenvalues of that string. There are several models of a vibrating string, and the most detailed ones can reproduce eigenvalues that accurately match the reverse-engineered string eigenvalues. However, while much research has been done on several models of a single string, the behavior of networks of strings is less well understood.</para>
      <para id="id2255982">We seek to mathematically model and investigate the motion of networks of strings, specifically by understanding eigenvalues and the corresponding modes of vibration. We study these behaviors within the context of the tritar (a guitar-like instrument based upon a Y-shaped network of 3 strings) and in the vibrations of more complex networks such as spiderwebs.</para>
      <section id="uid2">
        <name>The wave equation</name>
        <para id="id2255998">The vibration of a string in one dimension can be understood through the standard wave equation, given by</para>
        <equation id="id2256003">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfrac>
                <m:mrow>
                  <m:msup>
                    <m:mi>∂</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                  <m:mi>u</m:mi>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msup>
                    <m:mi>t</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                </m:mrow>
              </m:mfrac>
              <m:mo>=</m:mo>
              <m:msup>
                <m:mi>c</m:mi>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mfrac>
                <m:mrow>
                  <m:msup>
                    <m:mi>∂</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                  <m:mi>u</m:mi>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msup>
                    <m:mi>x</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                </m:mrow>
              </m:mfrac>
              <m:mo>,</m:mo>
              <m:mspace width="2.em"/>
              <m:mi>u</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mi>u</m:mi>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>ℓ</m:mi>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256110">where <m:math overflow="scroll"><m:mi>c</m:mi></m:math> is a constant describing wave speed and <m:math overflow="scroll"><m:mi>ℓ</m:mi></m:math> is the length of the string. We take Dirichlet boundary conditions at the ends and assume without loss of generality <m:math overflow="scroll"><m:mrow><m:mi>c</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow></m:math>. This second order partial differential equation can likewise be rewritten as a system of two ordinary differential equations in time</para>
        <equation id="id2256148">
          <m:math mode="display" overflow="scroll">
            <m:mtable displaystyle="true">
              <m:mtr>
                <m:mtd columnalign="right">
                  <m:mfrac>
                    <m:mrow>
                      <m:mi>∂</m:mi>
                      <m:mi>u</m:mi>
                    </m:mrow>
                    <m:mrow>
                      <m:mi>∂</m:mi>
                      <m:mi>t</m:mi>
                    </m:mrow>
                  </m:mfrac>
                </m:mtd>
                <m:mtd>
                  <m:mo>=</m:mo>
                </m:mtd>
                <m:mtd columnalign="left">
                  <m:mi>v</m:mi>
                </m:mtd>
              </m:mtr>
              <m:mtr>
                <m:mtd columnalign="right">
                  <m:mfrac>
                    <m:mrow>
                      <m:mi>∂</m:mi>
                      <m:mi>v</m:mi>
                    </m:mrow>
                    <m:mrow>
                      <m:mi>∂</m:mi>
                      <m:mi>t</m:mi>
                    </m:mrow>
                  </m:mfrac>
                </m:mtd>
                <m:mtd>
                  <m:mo>=</m:mo>
                </m:mtd>
                <m:mtd columnalign="left">
                  <m:mrow>
                    <m:msup>
                      <m:mi>c</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:mfrac>
                      <m:mrow>
                        <m:msup>
                          <m:mi>∂</m:mi>
                          <m:mn>2</m:mn>
                        </m:msup>
                        <m:mi>u</m:mi>
                      </m:mrow>
                      <m:mrow>
                        <m:mi>∂</m:mi>
                        <m:msup>
                          <m:mi>x</m:mi>
                          <m:mn>2</m:mn>
                        </m:msup>
                      </m:mrow>
                    </m:mfrac>
                  </m:mrow>
                </m:mtd>
              </m:mtr>
            </m:mtable>
          </m:math>
        </equation>
        <para id="id2256243">or equivalently, the first order matrix equation</para>
        <equation id="id2256248">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfrac>
                <m:mi>∂</m:mi>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:mi>t</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mi>I</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mrow>
                        <m:msup>
                          <m:mi>c</m:mi>
                          <m:mn>2</m:mn>
                        </m:msup>
                        <m:mfrac>
                          <m:msup>
                            <m:mi>∂</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                          <m:mrow>
                            <m:mi>∂</m:mi>
                            <m:msup>
                              <m:mi>x</m:mi>
                              <m:mn>2</m:mn>
                            </m:msup>
                          </m:mrow>
                        </m:mfrac>
                      </m:mrow>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
      </section>
      <section id="uid3">
        <name>Eigenvalues, eigenfunctions, and their significance</name>
        <para id="id2256360">We are especially interested in the eigenvalues <m:math overflow="scroll"><m:mi>λ</m:mi></m:math> and associated eigenfunctions of the wave equation, such that</para>
        <equation id="id2256374">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mi>I</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfrac>
                        <m:msup>
                          <m:mi>∂</m:mi>
                          <m:mn>2</m:mn>
                        </m:msup>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msup>
                            <m:mi>x</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                        </m:mrow>
                      </m:mfrac>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>=</m:mo>
              <m:mi>λ</m:mi>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>,</m:mo>
              <m:mspace width="2.em"/>
              <m:mfrac>
                <m:mrow>
                  <m:msup>
                    <m:mi>∂</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                  <m:mi>u</m:mi>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msup>
                    <m:mi>x</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                </m:mrow>
              </m:mfrac>
              <m:mo>=</m:mo>
              <m:msup>
                <m:mi>λ</m:mi>
                <m:mn>2</m:mn>
              </m:msup>
              <m:mi>u</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256503">Since only trigonometric functions satisfy both our equation and our boundary conditions, our eigenfunction to take the form <m:math overflow="scroll"><m:mrow><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo><m:mo>=</m:mo><m:mi>A</m:mi><m:mo form="prefix">sin</m:mo><m:mo>(</m:mo><m:mi>λ</m:mi><m:mi>x</m:mi><m:mo>)</m:mo><m:mo>+</m:mo><m:mi>B</m:mi><m:mo form="prefix">cos</m:mo><m:mo>(</m:mo><m:mi>λ</m:mi><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:math>. Applying our boundary condition at <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow></m:math> to <m:math overflow="scroll"><m:mrow><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:math> reveals that <m:math overflow="scroll"><m:mrow><m:mi>B</m:mi><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow></m:math>. Since we can then set <m:math overflow="scroll"><m:mi>A</m:mi></m:math> as an arbitrary scaling factor, our eigenfunction <m:math overflow="scroll"><m:mrow><m:mi>u</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:math> is simply <m:math overflow="scroll"><m:mrow><m:mo form="prefix">sin</m:mo><m:mfenced separators="" open="(" close=")"><m:mi>λ</m:mi><m:mi>x</m:mi></m:mfenced></m:mrow></m:math>. By applying our second boundary condition at <m:math overflow="scroll"><m:mrow><m:mi>x</m:mi><m:mo>=</m:mo><m:mi>ℓ</m:mi></m:mrow></m:math>, we can see that <m:math overflow="scroll"><m:mi>λ</m:mi></m:math> is of the form <m:math overflow="scroll"><m:mfrac><m:mrow><m:mi>i</m:mi><m:mi>π</m:mi><m:mi>n</m:mi></m:mrow><m:mi>ℓ</m:mi></m:mfrac></m:math> for any nonzero integer <m:math overflow="scroll"><m:mi>n</m:mi></m:math>. We then get the eigenpairs</para>
        <equation id="id2256704">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>λ</m:mi>
                <m:mi>n</m:mi>
              </m:msub>
              <m:mo>=</m:mo>
              <m:mfrac>
                <m:mrow>
                  <m:mi>i</m:mi>
                  <m:mi>π</m:mi>
                  <m:mi>n</m:mi>
                </m:mrow>
                <m:mi>ℓ</m:mi>
              </m:mfrac>
              <m:mo>,</m:mo>
              <m:mspace width="2.em"/>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mi>n</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mo form="prefix">sin</m:mo>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>λ</m:mi>
                  <m:mi>n</m:mi>
                </m:msub>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2256776">These eigenfunctions constitute an infinite-dimensional basis for any solution to the wave equation, with <m:math overflow="scroll"><m:mrow><m:msub><m:mi>u</m:mi><m:mi>i</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> orthogonal to <m:math overflow="scroll"><m:mrow><m:msub><m:mi>u</m:mi><m:mi>j</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mi>i</m:mi><m:mo>≠</m:mo><m:mi>j</m:mi></m:mrow></m:math> with respect to the inner product <m:math overflow="scroll"><m:mrow><m:mrow><m:mo>〈</m:mo><m:msub><m:mi>u</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>u</m:mi><m:mi>j</m:mi></m:msub><m:mo>〉</m:mo></m:mrow><m:mo>≡</m:mo><m:msubsup><m:mo>∫</m:mo><m:mn>0</m:mn><m:mi>ℓ</m:mi></m:msubsup><m:msub><m:mi>u</m:mi><m:mi>i</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:msub><m:mi>u</m:mi><m:mi>j</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:mspace width="0.166667em"/><m:mi>d</m:mi><m:mi>x</m:mi></m:mrow></m:math> . Intuitively, these correspond to the fundamental modes of a string - any vibration of the string can be decomposed into a linear combination of the fundamentals. The magnitude of each eigenvalue, likewise, is related to the frequency at which the corresponding fundamental mode vibrates - in other words, each eigenvalue is tied to a note in the progression of the Western scale. As we will see, this linear progression of the eigenvalues is lost when a single string is replaced by a network of strings, leading to more of a dissonant sound when a network is plucked.</para>
      </section>
      <section id="uid4">
        <name>Finite element solution method</name>
        <para id="id2256946">In this report, we use the finite element method to numerically solve for solutions to the wave equation. The idea behind this method is based on picking a finite-dimensional set of <m:math overflow="scroll"><m:mi>N</m:mi></m:math> basis functions <m:math overflow="scroll"><m:mrow><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> that span the space on which the solution is defined. We then calculate the best approximation <m:math overflow="scroll"><m:mrow><m:msub><m:mi>u</m:mi><m:mi>N</m:mi></m:msub><m:mo>=</m:mo><m:msubsup><m:mo>∑</m:mo><m:mrow><m:mi>j</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>N</m:mi></m:msubsup><m:msub><m:mi>c</m:mi><m:mi>j</m:mi></m:msub><m:msub><m:mi>φ</m:mi><m:mi>j</m:mi></m:msub></m:mrow></m:math> to the solution from the span of these basis functions via the solution to a matrix equation <m:math overflow="scroll"><m:mrow><m:mi>A</m:mi><m:mi>c</m:mi><m:mo>=</m:mo><m:mi>f</m:mi></m:mrow></m:math>, where</para>
        <equation id="id2257052">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>A</m:mi>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>...</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>N</m:mi>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>...</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>N</m:mi>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>N</m:mi>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>n</m:mi>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>...</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>n</m:mi>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>N</m:mi>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>,</m:mo>
              <m:mspace width="2.em"/>
              <m:mi>f</m:mi>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:mi>f</m:mi>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:mi>f</m:mi>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mo>⋮</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfenced separators="" open="〈" close="〉">
                        <m:mi>f</m:mi>
                        <m:mo>,</m:mo>
                        <m:msub>
                          <m:mi>φ</m:mi>
                          <m:mi>N</m:mi>
                        </m:msub>
                      </m:mfenced>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257411"><m:math overflow="scroll"><m:mi>A</m:mi></m:math> is called the Gramian matrix - a matrix whose <m:math overflow="scroll"><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow></m:math>th entry is the inner product between the <m:math overflow="scroll"><m:mi>i</m:mi></m:math> and <m:math overflow="scroll"><m:mi>j</m:mi></m:math>th basis functions. After solving for the vector <m:math overflow="scroll"><m:mrow><m:mi>c</m:mi><m:mo>=</m:mo><m:msup><m:mrow><m:mo>[</m:mo><m:msub><m:mi>c</m:mi><m:mn>1</m:mn></m:msub><m:mo>,</m:mo><m:msub><m:mi>c</m:mi><m:mn>2</m:mn></m:msub><m:mo>,</m:mo><m:mo>...</m:mo><m:mo>,</m:mo><m:msub><m:mi>c</m:mi><m:mi>N</m:mi></m:msub><m:mo>]</m:mo></m:mrow><m:mi>T</m:mi></m:msup></m:mrow></m:math>, we can reconstruct our best approximation to the solution.</para>
        <para id="id2257510">We first derive what is called the “weak form" of our PDE. Given a function <m:math overflow="scroll"><m:mrow><m:mi>v</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:math> obeying the same boundary conditions as <m:math overflow="scroll"><m:mi>u</m:mi></m:math>, multiply both sides of our wave equation by this function and integrate over the interval <m:math overflow="scroll"><m:mrow><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>ℓ</m:mi><m:mo>]</m:mo></m:mrow></m:math></para>
        <equation id="id2257560">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mrow>
                  <m:mi>t</m:mi>
                  <m:mi>t</m:mi>
                </m:mrow>
              </m:msub>
              <m:mi>v</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
              <m:mo>=</m:mo>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mrow>
                  <m:mi>x</m:mi>
                  <m:mi>x</m:mi>
                </m:mrow>
              </m:msub>
              <m:mi>v</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257633">If we integrate the right hand side by parts and apply Dirichlet boundary conditions, we get</para>
        <equation id="id2257641">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mrow>
                  <m:mi>t</m:mi>
                  <m:mi>t</m:mi>
                </m:mrow>
              </m:msub>
              <m:mi>v</m:mi>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
              <m:mo>=</m:mo>
              <m:mo>-</m:mo>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mi>x</m:mi>
              </m:msub>
              <m:msub>
                <m:mi>v</m:mi>
                <m:mi>x</m:mi>
              </m:msub>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257720">This form of the wave equation is called the weak form. We now expand <m:math overflow="scroll"><m:mi>u</m:mi></m:math> in the space spanned by our basis functions</para>
        <equation id="id2257737">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mi>N</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
                <m:mi>N</m:mi>
              </m:munderover>
              <m:msub>
                <m:mi>c</m:mi>
                <m:mi>j</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:msub>
                <m:mi>φ</m:mi>
                <m:mi>j</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2257815">Let <m:math overflow="scroll"><m:mrow><m:mi>v</m:mi><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow><m:mo>=</m:mo><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> for <m:math overflow="scroll"><m:mrow><m:mi>i</m:mi><m:mo>∈</m:mo><m:mo>{</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>...</m:mo><m:mo>,</m:mo><m:mi>N</m:mi><m:mo>}</m:mo></m:mrow></m:math>. Plugging this into the wave equation's weak form, we get the relation</para>
        <equation id="id2257889">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
                <m:mi>N</m:mi>
              </m:munderover>
              <m:msubsup>
                <m:mi>c</m:mi>
                <m:mi>j</m:mi>
                <m:mrow>
                  <m:mo>'</m:mo>
                  <m:mo>'</m:mo>
                </m:mrow>
              </m:msubsup>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msub>
                <m:mi>φ</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:msub>
                <m:mi>φ</m:mi>
                <m:mi>j</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
              <m:mo>=</m:mo>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
                <m:mi>N</m:mi>
              </m:munderover>
              <m:msub>
                <m:mi>c</m:mi>
                <m:mi>j</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:msubsup>
                <m:mo>∫</m:mo>
                <m:mn>0</m:mn>
                <m:mi>ℓ</m:mi>
              </m:msubsup>
              <m:msubsup>
                <m:mi>φ</m:mi>
                <m:mi>i</m:mi>
                <m:mo>'</m:mo>
              </m:msubsup>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:msubsup>
                <m:mi>φ</m:mi>
                <m:mi>j</m:mi>
                <m:mo>'</m:mo>
              </m:msubsup>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mspace width="0.166667em"/>
              <m:mi>d</m:mi>
              <m:mi>x</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258075">Note that if we define a new “energy" inner product <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mfenced separators="" open="(" close=")"><m:mi>u</m:mi><m:mo>,</m:mo><m:mi>v</m:mi></m:mfenced><m:mo>≡</m:mo><m:mfenced separators="" open="〈" close="〉"><m:msub><m:mi>u</m:mi><m:mi>x</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>v</m:mi><m:mi>x</m:mi></m:msub></m:mfenced></m:mrow></m:math>, we can then rewrite our whole relation as</para>
        <equation id="id2258134">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
                <m:mi>N</m:mi>
              </m:munderover>
              <m:msubsup>
                <m:mi>c</m:mi>
                <m:mi>i</m:mi>
                <m:mrow>
                  <m:mo>'</m:mo>
                  <m:mo>'</m:mo>
                </m:mrow>
              </m:msubsup>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mfenced separators="" open="〈" close="〉">
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>,</m:mo>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
              </m:mfenced>
              <m:mo>=</m:mo>
              <m:munderover>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>=</m:mo>
                  <m:mn>1</m:mn>
                </m:mrow>
                <m:mi>N</m:mi>
              </m:munderover>
              <m:msub>
                <m:mi>c</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mi>a</m:mi>
              <m:mfenced separators="" open="(" close=")">
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>,</m:mo>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258268">for <m:math overflow="scroll"><m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>...</m:mo><m:mo>,</m:mo><m:mi>N</m:mi></m:mrow></m:math>. Thus, we have <m:math overflow="scroll"><m:mi>N</m:mi></m:math> unknowns along with <m:math overflow="scroll"><m:mi>N</m:mi></m:math> linear equations; we can now formulate our problem as the matrix equation</para>
        <equation id="id2258321">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>M</m:mi>
              <m:msup>
                <m:mi>c</m:mi>
                <m:mrow>
                  <m:mo>'</m:mo>
                  <m:mo>'</m:mo>
                </m:mrow>
              </m:msup>
              <m:mo>=</m:mo>
              <m:mi>K</m:mi>
              <m:mi>c</m:mi>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258351">where <m:math overflow="scroll"><m:mi>M</m:mi></m:math> is the Gramian matrix created using regular inner products, and <m:math overflow="scroll"><m:mi>K</m:mi></m:math> is the Gramian matrix resulting from energy inner products.</para>
        <para id="id2258377">Using the finite element method, we choose these basis functions to be piecewise linear “hat" functions. If we partition the space <m:math overflow="scroll"><m:mrow><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>ℓ</m:mi><m:mo>]</m:mo></m:mrow></m:math> into <m:math overflow="scroll"><m:mi>n</m:mi></m:math> segments of the form <m:math overflow="scroll"><m:mrow><m:mo>[</m:mo><m:msub><m:mi>x</m:mi><m:mrow><m:mi>k</m:mi><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msub><m:mo>,</m:mo><m:msub><m:mi>x</m:mi><m:mi>k</m:mi></m:msub><m:mo>]</m:mo></m:mrow></m:math>, with <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mn>1</m:mn></m:msub><m:mo>&lt;</m:mo><m:msub><m:mi>x</m:mi><m:mn>2</m:mn></m:msub><m:mo>&lt;</m:mo><m:mo>...</m:mo><m:mo>&lt;</m:mo><m:msub><m:mi>x</m:mi><m:mi>N</m:mi></m:msub></m:mrow></m:math>, we can define these hat functions as</para>
        <equation id="id2258487">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>φ</m:mi>
                <m:mi>k</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mi>x</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="{" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>x</m:mi>
                          <m:mo>-</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>-</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mi>k</m:mi>
                          </m:msub>
                          <m:mo>-</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>-</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="1.em"/>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>x</m:mi>
                          <m:mo>∈</m:mo>
                          <m:mo>[</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>-</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                          <m:mo>,</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mi>k</m:mi>
                          </m:msub>
                          <m:mo>]</m:mo>
                        </m:mrow>
                        <m:mo>,</m:mo>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mfrac>
                        <m:mrow>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>+</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                          <m:mo>-</m:mo>
                          <m:mi>x</m:mi>
                        </m:mrow>
                        <m:mrow>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>+</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                          <m:mo>-</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mi>k</m:mi>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="1.em"/>
                        <m:mtext>if</m:mtext>
                        <m:mspace width="4.pt"/>
                        <m:mrow>
                          <m:mi>x</m:mi>
                          <m:mo>∈</m:mo>
                          <m:mo>[</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mi>k</m:mi>
                          </m:msub>
                          <m:mo>,</m:mo>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mrow>
                              <m:mi>k</m:mi>
                              <m:mo>+</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msub>
                          <m:mo>]</m:mo>
                        </m:mrow>
                        <m:mo>,</m:mo>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd columnalign="left">
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd columnalign="left">
                      <m:mrow>
                        <m:mspace width="1.em"/>
                        <m:mtext>otherwise</m:mtext>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2258732">for <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mo>...</m:mo><m:mo>,</m:mo><m:mi>N</m:mi></m:mrow></m:math>. Since the support of <m:math overflow="scroll"><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub></m:math> and <m:math overflow="scroll"><m:msub><m:mi>φ</m:mi><m:mi>j</m:mi></m:msub></m:math> overlap only if <m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>i</m:mi><m:mo>-</m:mo><m:mi>j</m:mi><m:mo>|</m:mo><m:mo>≤</m:mo><m:mn>1</m:mn></m:mrow></m:math>, most of the entries of <m:math overflow="scroll"><m:mi>M</m:mi></m:math> and <m:math overflow="scroll"><m:mi>K</m:mi></m:math> are automatically zero. For the rest of the terms, the inner products are easy to compute. If we take a uniform discretization of <m:math overflow="scroll"><m:mrow><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mn>1</m:mn><m:mo>]</m:mo></m:mrow></m:math> into these <m:math overflow="scroll"><m:mi>n</m:mi></m:math> segments, with <m:math overflow="scroll"><m:mrow><m:mi>h</m:mi><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>/</m:mo><m:mo>(</m:mo><m:mi>N</m:mi><m:mo>+</m:mo><m:mn>1</m:mn><m:mo>)</m:mo></m:mrow></m:math> and <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mi>k</m:mi></m:msub><m:mo>=</m:mo><m:mi>k</m:mi><m:mi>h</m:mi></m:mrow></m:math>, then for <m:math overflow="scroll"><m:mrow><m:mo>|</m:mo><m:mi>i</m:mi><m:mo>-</m:mo><m:mi>j</m:mi><m:mo>|</m:mo><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mfenced separators="" open="〈" close="〉"><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub></m:mfenced><m:mo>=</m:mo><m:mn>2</m:mn><m:mi>h</m:mi><m:mo>/</m:mo><m:mn>3</m:mn></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mfenced separators="" open="〈" close="〉"><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>φ</m:mi><m:mi>j</m:mi></m:msub></m:mfenced><m:mo>=</m:mo><m:mi>h</m:mi><m:mo>/</m:mo><m:mn>6</m:mn></m:mrow></m:math>, <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mfenced separators="" open="(" close=")"><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>φ</m:mi><m:mi>j</m:mi></m:msub></m:mfenced><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>/</m:mo><m:mi>h</m:mi></m:mrow></m:math>, and <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mfenced separators="" open="(" close=")"><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:msub><m:mi>φ</m:mi><m:mi>i</m:mi></m:msub></m:mfenced><m:mo>=</m:mo><m:mo>-</m:mo><m:mn>2</m:mn><m:mo>/</m:mo><m:mi>h</m:mi></m:mrow></m:math>. <m:math overflow="scroll"><m:mi>M</m:mi></m:math> and <m:math overflow="scroll"><m:mi>K</m:mi></m:math> are just</para>
        <equation id="id2259127">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mi>M</m:mi>
              <m:mo>=</m:mo>
              <m:mfrac>
                <m:mi>h</m:mi>
                <m:mn>6</m:mn>
              </m:mfrac>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>4</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>4</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>4</m:mn>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>,</m:mo>
              <m:mspace width="2.em"/>
              <m:mi>K</m:mi>
              <m:mo>=</m:mo>
              <m:mfrac>
                <m:mn>1</m:mn>
                <m:mi>h</m:mi>
              </m:mfrac>
              <m:mfenced separators="" open="[" close="">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mrow>
                        <m:mo>-</m:mo>
                        <m:mn>2</m:mn>
                      </m:mrow>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd/>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mrow>
                        <m:mo>-</m:mo>
                        <m:mn>2</m:mn>
                      </m:mrow>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd/>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd/>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mo>⋱</m:mo>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd/>
                    <m:mtd/>
                    <m:mtd>
                      <m:mn>1</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mrow>
                        <m:mo>-</m:mo>
                        <m:mn>2</m:mn>
                      </m:mrow>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2259276">We can solve for our coefficients <m:math overflow="scroll"><m:mi>c</m:mi></m:math> by rewriting <m:math overflow="scroll"><m:mrow><m:mi>M</m:mi><m:msup><m:mi>c</m:mi><m:mrow><m:mo>'</m:mo><m:mo>'</m:mo></m:mrow></m:msup><m:mo>=</m:mo><m:mi>K</m:mi><m:mi>c</m:mi></m:mrow></m:math> as a system of equations</para>
        <equation id="id2259319">
          <m:math mode="display" overflow="scroll">
            <m:mtable displaystyle="true">
              <m:mtr>
                <m:mtd columnalign="right">
                  <m:msup>
                    <m:mi>c</m:mi>
                    <m:mo>'</m:mo>
                  </m:msup>
                </m:mtd>
                <m:mtd>
                  <m:mo>=</m:mo>
                </m:mtd>
                <m:mtd columnalign="left">
                  <m:mi>d</m:mi>
                </m:mtd>
              </m:mtr>
              <m:mtr>
                <m:mtd columnalign="right">
                  <m:msup>
                    <m:mi>d</m:mi>
                    <m:mo>'</m:mo>
                  </m:msup>
                </m:mtd>
                <m:mtd>
                  <m:mo>=</m:mo>
                </m:mtd>
                <m:mtd columnalign="left">
                  <m:mrow>
                    <m:msup>
                      <m:mi>M</m:mi>
                      <m:mrow>
                        <m:mo>-</m:mo>
                        <m:mn>1</m:mn>
                      </m:mrow>
                    </m:msup>
                    <m:mi>K</m:mi>
                    <m:mi>c</m:mi>
                  </m:mrow>
                </m:mtd>
              </m:mtr>
            </m:mtable>
          </m:math>
        </equation>
        <equation id="id2259387">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfrac>
                <m:mi>∂</m:mi>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:mi>t</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>c</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>d</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mi>I</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mrow>
                        <m:msup>
                          <m:mi>M</m:mi>
                          <m:mrow>
                            <m:mo>-</m:mo>
                            <m:mn>1</m:mn>
                          </m:mrow>
                        </m:msup>
                        <m:mi>K</m:mi>
                      </m:mrow>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>c</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>d</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2259478">We can see the relation to the continuous system,</para>
        <equation id="id2259484">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:mfrac>
                <m:mi>∂</m:mi>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:mi>t</m:mi>
                </m:mrow>
              </m:mfrac>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mo>=</m:mo>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                    <m:mtd>
                      <m:mi>I</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mfrac>
                        <m:msup>
                          <m:mi>∂</m:mi>
                          <m:mn>2</m:mn>
                        </m:msup>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msup>
                            <m:mi>x</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                        </m:mrow>
                      </m:mfrac>
                    </m:mtd>
                    <m:mtd>
                      <m:mn>0</m:mn>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
              <m:mfenced separators="" open="[" close="]">
                <m:mtable>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>u</m:mi>
                    </m:mtd>
                  </m:mtr>
                  <m:mtr>
                    <m:mtd>
                      <m:mi>v</m:mi>
                    </m:mtd>
                  </m:mtr>
                </m:mtable>
              </m:mfenced>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2259581">where <m:math overflow="scroll"><m:mfrac><m:msup><m:mi>∂</m:mi><m:mn>2</m:mn></m:msup><m:mrow><m:mi>∂</m:mi><m:msup><m:mi>x</m:mi><m:mn>2</m:mn></m:msup></m:mrow></m:mfrac></m:math> is approximated by <m:math overflow="scroll"><m:mrow><m:msup><m:mi>M</m:mi><m:mrow><m:mo>-</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:mi>K</m:mi></m:mrow></m:math>. With this discretization, we can numerically calculate the time solution of the wave equation given some initial condition, as well as approximate the eigenvalues <m:math overflow="scroll"><m:mi>λ</m:mi></m:math>.</para>
        <section id="uid5">
          <name>Damping</name>
          <para id="id2259654">A closely related equation is the wave equation with viscous damping (resulting from a viscous medium in which the string vibrates, i.e. air). To simulate this effect, a velocity-dependent damping function <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:math> is added to the equation</para>
          <equation id="id2259679">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:mi>u</m:mi>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>t</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:mo>=</m:mo>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:mi>u</m:mi>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>x</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:mo>-</m:mo>
                <m:mn>2</m:mn>
                <m:mi>a</m:mi>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:mi>u</m:mi>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:mi>t</m:mi>
                  </m:mrow>
                </m:mfrac>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2259766">For the cases we consider here, we shall take <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo><m:mo>=</m:mo><m:mi>a</m:mi></m:mrow></m:math>, some constant.</para>
          <para id="id2259793">Thankfully, the finite element discretization of this equation doesn't involve much new work; all we do is reuse some of our calculations. If we make the substitution for <m:math overflow="scroll"><m:mi>u</m:mi></m:math></para>
          <equation id="id2259807">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:msub>
                  <m:mi>u</m:mi>
                  <m:mi>N</m:mi>
                </m:msub>
                <m:mo>=</m:mo>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msub>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2259873">we get</para>
          <equation id="id2259879">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msubsup>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                  <m:mrow>
                    <m:mo>'</m:mo>
                    <m:mo>'</m:mo>
                  </m:mrow>
                </m:msubsup>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mo>=</m:mo>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msub>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msubsup>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                  <m:mrow>
                    <m:mo>'</m:mo>
                    <m:mo>'</m:mo>
                  </m:mrow>
                </m:msubsup>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mo>-</m:mo>
                <m:mn>2</m:mn>
                <m:mi>a</m:mi>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msubsup>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                  <m:mo>'</m:mo>
                </m:msubsup>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2260053">Taking an inner product with <m:math overflow="scroll"><m:msub><m:mi>φ</m:mi><m:mi>k</m:mi></m:msub></m:math> for <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mo>=</m:mo><m:mn>1</m:mn><m:mo>,</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mo>...</m:mo><m:mo>,</m:mo><m:mi>N</m:mi></m:mrow></m:math> leads us to the following discretization</para>
          <equation id="id2260102">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:mi>M</m:mi>
                <m:msup>
                  <m:mi>c</m:mi>
                  <m:mrow>
                    <m:mo>'</m:mo>
                    <m:mo>'</m:mo>
                  </m:mrow>
                </m:msup>
                <m:mo>=</m:mo>
                <m:mi>K</m:mi>
                <m:mi>c</m:mi>
                <m:mo>-</m:mo>
                <m:mn>2</m:mn>
                <m:mi>a</m:mi>
                <m:mi>M</m:mi>
                <m:msup>
                  <m:mi>c</m:mi>
                  <m:mo>'</m:mo>
                </m:msup>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2260148">We usually refer to the matrix <m:math overflow="scroll"><m:mrow><m:mo>-</m:mo><m:mn>2</m:mn><m:mi>a</m:mi><m:mi>M</m:mi></m:mrow></m:math> as the damping matrix <m:math overflow="scroll"><m:mi>G</m:mi></m:math>. Again, we can solve this by writing it out as a system of ordinary differential equations</para>
          <equation id="id2260182">
            <m:math mode="display" overflow="scroll">
              <m:mtable displaystyle="true">
                <m:mtr>
                  <m:mtd columnalign="right">
                    <m:msup>
                      <m:mi>c</m:mi>
                      <m:mo>'</m:mo>
                    </m:msup>
                  </m:mtd>
                  <m:mtd>
                    <m:mo>=</m:mo>
                  </m:mtd>
                  <m:mtd columnalign="left">
                    <m:mi>d</m:mi>
                  </m:mtd>
                </m:mtr>
                <m:mtr>
                  <m:mtd columnalign="right">
                    <m:msup>
                      <m:mi>d</m:mi>
                      <m:mo>'</m:mo>
                    </m:msup>
                  </m:mtd>
                  <m:mtd>
                    <m:mo>=</m:mo>
                  </m:mtd>
                  <m:mtd columnalign="left">
                    <m:mrow>
                      <m:msup>
                        <m:mi>M</m:mi>
                        <m:mrow>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msup>
                      <m:mi>K</m:mi>
                      <m:mi>c</m:mi>
                      <m:mo>-</m:mo>
                      <m:msup>
                        <m:mi>M</m:mi>
                        <m:mrow>
                          <m:mo>-</m:mo>
                          <m:mn>1</m:mn>
                        </m:mrow>
                      </m:msup>
                      <m:mi>G</m:mi>
                    </m:mrow>
                  </m:mtd>
                </m:mtr>
              </m:mtable>
            </m:math>
          </equation>
          <equation id="id2260265">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:mfrac>
                  <m:mi>∂</m:mi>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:mi>t</m:mi>
                  </m:mrow>
                </m:mfrac>
                <m:mfenced separators="" open="[" close="]">
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mi>c</m:mi>
                      </m:mtd>
                    </m:mtr>
                    <m:mtr>
                      <m:mtd>
                        <m:mi>d</m:mi>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                </m:mfenced>
                <m:mo>=</m:mo>
                <m:mfenced separators="" open="[" close="]">
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mn>0</m:mn>
                      </m:mtd>
                      <m:mtd>
                        <m:mi>I</m:mi>
                      </m:mtd>
                    </m:mtr>
                    <m:mtr>
                      <m:mtd>
                        <m:mrow>
                          <m:msup>
                            <m:mi>M</m:mi>
                            <m:mrow>
                              <m:mo>-</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msup>
                          <m:mi>K</m:mi>
                        </m:mrow>
                      </m:mtd>
                      <m:mtd>
                        <m:mrow>
                          <m:msup>
                            <m:mi>M</m:mi>
                            <m:mrow>
                              <m:mo>-</m:mo>
                              <m:mn>1</m:mn>
                            </m:mrow>
                          </m:msup>
                          <m:mi>G</m:mi>
                        </m:mrow>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                </m:mfenced>
                <m:mfenced separators="" open="[" close="]">
                  <m:mtable>
                    <m:mtr>
                      <m:mtd>
                        <m:mi>c</m:mi>
                      </m:mtd>
                    </m:mtr>
                    <m:mtr>
                      <m:mtd>
                        <m:mi>d</m:mi>
                      </m:mtd>
                    </m:mtr>
                  </m:mtable>
                </m:mfenced>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2260367">Should I write about eigenvalues here?
</para>
        </section>
      </section>
    </section>
    <section id="uid6">
      <name>Networks of strings</name>
      <para id="id2260381">Unlike our simple one dimensional case, it is much more difficult to determine the closed form eigenvalues and eigenfunctions of a network of strings. To this end, we apply the finite element method to numerically simulate the behavior of a network wave equation.</para>
      <section id="uid7">
        <name>Network wave equation</name>
        <para id="id2260396">Let the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th string in a network of strings be defined on an interval from <m:math overflow="scroll"><m:mrow><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:msub><m:mi>ℓ</m:mi><m:mi>i</m:mi></m:msub><m:mo>]</m:mo></m:mrow></m:math>, where <m:math overflow="scroll"><m:msub><m:mi>ℓ</m:mi><m:mi>i</m:mi></m:msub></m:math> is the length of that particular string. To generalize the wave equation to a network of strings in three dimensions, we reference Schmidt's [Find REFERENCE
] system of equations for the planar displacement <m:math overflow="scroll"><m:mrow><m:msub><m:mi>u</m:mi><m:mi>i</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> of the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th string, where <m:math overflow="scroll"><m:mrow><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub><m:mo>∈</m:mo><m:mrow><m:mo>[</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:msub><m:mi>ℓ</m:mi><m:mi>i</m:mi></m:msub><m:mo>]</m:mo></m:mrow></m:mrow></m:math> . We define the stensor matrix</para>
        <equation id="id2260536">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mo>=</m:mo>
              <m:msub>
                <m:mi>k</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>[</m:mo>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>s</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>-</m:mo>
                  <m:mn>1</m:mn>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mi>I</m:mi>
                <m:mo>+</m:mo>
                <m:msub>
                  <m:mi>v</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:msubsup>
                  <m:mi>v</m:mi>
                  <m:mi>i</m:mi>
                  <m:mi>T</m:mi>
                </m:msubsup>
                <m:mo>]</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2260608">where <m:math overflow="scroll"><m:msub><m:mi>k</m:mi><m:mi>i</m:mi></m:msub></m:math> is stiffness, <m:math overflow="scroll"><m:mrow><m:msub><m:mi>s</m:mi><m:mi>i</m:mi></m:msub><m:mo>&gt;</m:mo><m:mn>1</m:mn></m:mrow></m:math> is prestress (string tension), and <m:math overflow="scroll"><m:msub><m:mi>v</m:mi><m:mi>i</m:mi></m:msub></m:math> is a unit vector specifying 3-dimensional orientation of the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th string. We characterize network movement by</para>
        <equation id="id2260675">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>ρ</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mi>I</m:mi>
              <m:mfrac>
                <m:mrow>
                  <m:msup>
                    <m:mi>∂</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msup>
                    <m:mi>t</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                </m:mrow>
              </m:mfrac>
              <m:mo>=</m:mo>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:msup>
                    <m:mi>∂</m:mi>
                    <m:mn>2</m:mn>
                  </m:msup>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msubsup>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                    <m:mn>2</m:mn>
                  </m:msubsup>
                </m:mrow>
              </m:mfrac>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2260766">where <m:math overflow="scroll"><m:msub><m:mi>ρ</m:mi><m:mi>i</m:mi></m:msub></m:math> is the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th strings density. <m:math overflow="scroll"><m:mi>I</m:mi></m:math> is the 3-by-3 identity matrix. Our boundary conditions are Dirichlet at endpoints and a condition enforcing force balance laws and connectivity of each leg at the joint. We define an end of the first string to have position 0, and for the other endpoints, we consider them to be at position <m:math overflow="scroll"><m:msub><m:mi>ℓ</m:mi><m:mi>k</m:mi></m:msub></m:math> on their respective <m:math overflow="scroll"><m:mi>k</m:mi></m:math>th string. Our Dirichlet conditions can be written as</para>
        <equation id="id2260835">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mn>1</m:mn>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
              <m:mo>,</m:mo>
              <m:mspace width="1.em"/>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mi>k</m:mi>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>ℓ</m:mi>
                  <m:mi>k</m:mi>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2260902">If we define the set <m:math overflow="scroll"><m:msub><m:mi>S</m:mi><m:mi>i</m:mi></m:msub></m:math> to be the set of integer indices of all strings incident to a joint at the end of the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th string, the force-balance joint conditions connecting strings in the set <m:math overflow="scroll"><m:mrow><m:mo>{</m:mo><m:mi>i</m:mi><m:mo>,</m:mo><m:msub><m:mi>S</m:mi><m:mi>i</m:mi></m:msub><m:mo>}</m:mo></m:mrow></m:math> can be described by</para>
        <equation id="id2260959">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mi>i</m:mi>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:mrow>
              </m:mfrac>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>ℓ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:munder>
                <m:mo>∑</m:mo>
                <m:mrow>
                  <m:mi>j</m:mi>
                  <m:mo>∈</m:mo>
                  <m:msub>
                    <m:mi>S</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:mrow>
              </m:munder>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mi>j</m:mi>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mi>j</m:mi>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>j</m:mi>
                  </m:msub>
                </m:mrow>
              </m:mfrac>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2261082">This network wave equation stensor matrix can also be mathematically derived from the nonlinear model of Antman; the linear, one dimensional wave equation is derived by taking the orientation vector <m:math overflow="scroll"><m:mi>v</m:mi></m:math> to be a standard basis vector.</para>
        <figure id="uid8" orient="horizontal">
          <media type="application/postscript" src="tritarpure.eps">
            <param name="print-width" value=".4"/>
<!--NOTE: printwidth changes size of image in printed PDF (if specified in .tex file)-->
            <media type="image/png" src="tritarpure.png"><!-- NOTE: width parameter changes size of image online (pixels). original width is 495. --><param name="width" value="495"/></media>
          </media>
          <caption>An example of the notation for the simple tritar case. Here, <m:math overflow="scroll"><m:msub><m:mi>x</m:mi><m:mi>i</m:mi></m:msub></m:math> denotes position on the <m:math overflow="scroll"><m:mi>i</m:mi></m:math>th string, and <m:math overflow="scroll"><m:mrow><m:msub><m:mi>S</m:mi><m:mn>1</m:mn></m:msub><m:mo>=</m:mo><m:mrow><m:mo>{</m:mo><m:mn>2</m:mn><m:mo>,</m:mo><m:mn>3</m:mn><m:mo>}</m:mo></m:mrow></m:mrow></m:math>.</caption>
        </figure>
        <para id="id2261168">The network wave equation is much more tractable for a concrete example. We begin by covering the network wave equation for the simplest net - a Y-shaped net called a “tritar", in honor of the http://www.tritare.com
 guitar with Y-shaped strings. For our simple case, then, we have the boundary conditions</para>
        <equation id="id2261185">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mn>1</m:mn>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
              <m:mo>,</m:mo>
              <m:mspace width="1.em"/>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mn>2</m:mn>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>ℓ</m:mi>
                  <m:mn>2</m:mn>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
              <m:mo>,</m:mo>
              <m:mspace width="1.em"/>
              <m:msub>
                <m:mi>u</m:mi>
                <m:mn>3</m:mn>
              </m:msub>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>ℓ</m:mi>
                  <m:mn>3</m:mn>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:mn>0</m:mn>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2261313">with the force balance equation</para>
        <equation id="id2261320">
          <m:math mode="display" overflow="scroll">
            <m:mrow>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mn>1</m:mn>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mn>1</m:mn>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mn>1</m:mn>
                  </m:msub>
                </m:mrow>
              </m:mfrac>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:msub>
                  <m:mi>ℓ</m:mi>
                  <m:mn>1</m:mn>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>=</m:mo>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mn>2</m:mn>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mn>2</m:mn>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mn>2</m:mn>
                  </m:msub>
                </m:mrow>
              </m:mfrac>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
              <m:mo>+</m:mo>
              <m:msub>
                <m:mi>P</m:mi>
                <m:mn>3</m:mn>
              </m:msub>
              <m:mfrac>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>u</m:mi>
                    <m:mn>3</m:mn>
                  </m:msub>
                </m:mrow>
                <m:mrow>
                  <m:mi>∂</m:mi>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mn>3</m:mn>
                  </m:msub>
                </m:mrow>
              </m:mfrac>
              <m:mrow>
                <m:mo>(</m:mo>
                <m:mn>0</m:mn>
                <m:mo>,</m:mo>
                <m:mi>t</m:mi>
                <m:mo>)</m:mo>
              </m:mrow>
            </m:mrow>
          </m:math>
        </equation>
        <para id="id2261469">We will investigate this example further using a discretization of the network.</para>
      </section>
      <section id="uid9">
        <name>Finite element discretization of the network wave equation</name>
        <para id="id2261485">To model behavior and structure of a continuous network, we discretize and solve our equations using the finite element method. For the most part, applying FEM to our network model is the same as applying it to a simple string - the hat functions overlap and form a basis for the structure of each leg. The exception is at a joint, which has a new type of hat function, with its support spanning a small section of each string connected at that joint.</para>
        <figure id="uid10" orient="horizontal"><media type="application/postscript" src="tritarHats.eps">
            <param name="print-width" value=".48"/>
<!--NOTE: printwidth changes size of image in printed PDF (if specified in .tex file)-->
            <media type="image/png" src="tritarHats.png"><!-- NOTE: width parameter changes size of image online (pixels). original width is 612. --><param name="width" value="612"/></media>
          </media>
          <caption>Finite element discretization of a tritar, with a pyramidal hat function <m:math overflow="scroll"><m:msub><m:mi>φ</m:mi><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub></m:msub></m:math> at the joint. <m:math overflow="scroll"><m:mrow><m:msup><m:mi>r</m:mi><m:mn>1</m:mn></m:msup><m:mo>,</m:mo><m:msup><m:mi>r</m:mi><m:mn>2</m:mn></m:msup></m:mrow></m:math> and <m:math overflow="scroll"><m:msup><m:mi>r</m:mi><m:mn>3</m:mn></m:msup></m:math> denote the first, second, and third strings, respectively, which are discretized into <m:math overflow="scroll"><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub></m:math>,<m:math overflow="scroll"><m:msub><m:mi>n</m:mi><m:mn>2</m:mn></m:msub></m:math>, and <m:math overflow="scroll"><m:msub><m:mi>n</m:mi><m:mn>3</m:mn></m:msub></m:math> parts, respectively.</caption>
        </figure>
        <section id="uid11">
          <name>The tritar example case</name>
          <para id="id2261620">Let us write out the discretization for the example net in <cnxn target="uid10"/>. If we take a uniform discretization of each string into <m:math overflow="scroll"><m:mrow><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub><m:mo>,</m:mo><m:msub><m:mi>n</m:mi><m:mn>2</m:mn></m:msub></m:mrow></m:math>, and <m:math overflow="scroll"><m:msub><m:mi>n</m:mi><m:mn>3</m:mn></m:msub></m:math> pieces (with <m:math overflow="scroll"><m:mrow><m:mi>N</m:mi><m:mo>=</m:mo><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub><m:mo>+</m:mo><m:msub><m:mi>n</m:mi><m:mn>2</m:mn></m:msub><m:mo>+</m:mo><m:msub><m:mi>n</m:mi><m:mn>3</m:mn></m:msub></m:mrow></m:math>), respectively, we can again derive a system of differential equations to describe the evolution of the coefficients <m:math overflow="scroll"><m:mrow><m:msub><m:mi>c</m:mi><m:mi>k</m:mi></m:msub><m:mrow><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math> over time. Define the <m:math overflow="scroll"><m:mi>N</m:mi></m:math> basis hat functions as being . Consider first the <m:math overflow="scroll"><m:mi>k</m:mi></m:math>th hat function on string <m:math overflow="scroll"><m:mi>i</m:mi></m:math>, where <m:math overflow="scroll"><m:mrow><m:mi>k</m:mi><m:mo>≠</m:mo><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub></m:mrow></m:math>. We multiply each side of the network wave equation by the non-joint hat functions <m:math overflow="scroll"><m:msub><m:mi>φ</m:mi><m:mi>k</m:mi></m:msub></m:math> and integrate over the support of that function. After integration by parts, we have the relation</para>
          <equation id="id2261800">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:msub>
                  <m:mi>ρ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mi>I</m:mi>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:msub>
                      <m:mi>u</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>t</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>,</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>k</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>=</m:mo>
                <m:mo>-</m:mo>
                <m:msub>
                  <m:mi>P</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>u</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>φ</m:mi>
                      <m:mi>k</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2262005">analagous to the one dimensional finite element discretization of a string. If we substitute in our approximation from the basis of hat functions</para>
          <equation id="id2262013">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:msub>
                  <m:mi>u</m:mi>
                  <m:mi>N</m:mi>
                </m:msub>
                <m:mo>=</m:mo>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msub>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>x</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2262079">we arrive at the relation</para>
          <equation id="id2262085">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:msub>
                  <m:mi>ρ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mi>I</m:mi>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:msub>
                      <m:mi>c</m:mi>
                      <m:mi>j</m:mi>
                    </m:msub>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>t</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>t</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:mi>k</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>=</m:mo>
                <m:mo>-</m:mo>
                <m:msub>
                  <m:mi>P</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msub>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>φ</m:mi>
                      <m:mi>j</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>φ</m:mi>
                      <m:mi>k</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2262348">Let <m:math overflow="scroll"><m:mi>L</m:mi></m:math> be the number of connections in our web; <m:math overflow="scroll"><m:mrow><m:mi>L</m:mi><m:mo>=</m:mo><m:mn>3</m:mn></m:mrow></m:math> for our tritar. Defining our inner products <m:math overflow="scroll"><m:mfenced separators="" open="〈" close="〉"><m:mo>·</m:mo><m:mo>,</m:mo><m:mo>·</m:mo></m:mfenced></m:math> and <m:math overflow="scroll"><m:mrow><m:mi>a</m:mi><m:mfenced separators="" open="(" close=")"><m:mo>·</m:mo><m:mo>,</m:mo><m:mo>·</m:mo></m:mfenced></m:mrow></m:math> as</para>
          <equation id="id2262426">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:mfenced separators="" open="〈" close="〉">
                  <m:mi>u</m:mi>
                  <m:mo>,</m:mo>
                  <m:mi>v</m:mi>
                </m:mfenced>
                <m:mo>=</m:mo>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>i</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>L</m:mi>
                </m:munderover>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mi>u</m:mi>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mi>v</m:mi>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mo>,</m:mo>
                <m:mspace width="1.em"/>
                <m:mi>a</m:mi>
                <m:mfenced separators="" open="(" close=")">
                  <m:mi>u</m:mi>
                  <m:mo>,</m:mo>
                  <m:mi>v</m:mi>
                </m:mfenced>
                <m:mo>=</m:mo>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>i</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>L</m:mi>
                </m:munderover>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:mi>u</m:mi>
                    <m:mo>(</m:mo>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mfrac>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:mi>v</m:mi>
                    <m:mo>(</m:mo>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                    <m:mo>)</m:mo>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msub>
                      <m:mi>x</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                </m:mfrac>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
                <m:msub>
                  <m:mi>x</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2262657">we see these inner products behave much like the simple string inner products on the topology our network. This gives the relation</para>
          <equation id="uid12">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:msub>
                  <m:mi>ρ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mi>I</m:mi>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:msub>
                      <m:mi>c</m:mi>
                      <m:mi>j</m:mi>
                    </m:msub>
                    <m:mrow>
                      <m:mo>(</m:mo>
                      <m:mi>t</m:mi>
                      <m:mo>)</m:mo>
                    </m:mrow>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>t</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:mfenced separators="" open="〈" close="〉">
                  <m:msub>
                    <m:mi>φ</m:mi>
                    <m:mi>j</m:mi>
                  </m:msub>
                  <m:mo>,</m:mo>
                  <m:msub>
                    <m:mi>φ</m:mi>
                    <m:mi>k</m:mi>
                  </m:msub>
                </m:mfenced>
                <m:mo>=</m:mo>
                <m:mo>-</m:mo>
                <m:msub>
                  <m:mi>P</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>j</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mi>N</m:mi>
                </m:munderover>
                <m:msub>
                  <m:mi>c</m:mi>
                  <m:mi>j</m:mi>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mi>a</m:mi>
                <m:mfenced separators="" open="(" close=")">
                  <m:msub>
                    <m:mi>φ</m:mi>
                    <m:mi>j</m:mi>
                  </m:msub>
                  <m:mo>,</m:mo>
                  <m:msub>
                    <m:mi>φ</m:mi>
                    <m:mi>k</m:mi>
                  </m:msub>
                </m:mfenced>
              </m:mrow>
            </m:math>
          </equation>
          <para id="id2262835">The joint is a different case. Let us our joint hat function be <m:math overflow="scroll"><m:mrow><m:msub><m:mi>φ</m:mi><m:msub><m:mi>n</m:mi><m:mn>1</m:mn></m:msub></m:msub><m:mrow><m:mo>(</m:mo><m:mi>x</m:mi><m:mo>)</m:mo></m:mrow></m:mrow></m:math>. Then, since integration by parts moves a derivative from one function to another with the addition of a boundary value, we get</para>
          <equation id="id2262872">
            <m:math mode="display" overflow="scroll">
              <m:mtable displaystyle="true">
                <m:mtr>
                  <m:mtd columnalign="right">
                    <m:mrow>
                      <m:msub>
                        <m:mi>ρ</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                      <m:mi>I</m:mi>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:msup>
                            <m:mi>∂</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>1</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msup>
                            <m:mi>t</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                        </m:mrow>
                      </m:mfrac>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:msub>
                        <m:mi>φ</m:mi>
                        <m:msub>
                          <m:mi>n</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                      <m:mo>=</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                      <m:msub>
                        <m:mi>u</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>1</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>1</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>φ</m:mi>
                            <m:msub>
                              <m:mi>n</m:mi>
                              <m:mn>1</m:mn>
                            </m:msub>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>1</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>1</m:mn>
                      </m:msub>
                    </m:mrow>
                  </m:mtd>
                </m:mtr>
                <m:mtr>
                  <m:mtd columnalign="right">
                    <m:mrow>
                      <m:msub>
                        <m:mi>ρ</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                      <m:mi>I</m:mi>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:msup>
                            <m:mi>∂</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>2</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msup>
                            <m:mi>t</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                        </m:mrow>
                      </m:mfrac>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:msub>
                        <m:mi>φ</m:mi>
                        <m:msub>
                          <m:mi>n</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                      <m:mo>=</m:mo>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                      <m:msub>
                        <m:mi>u</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:mn>0</m:mn>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>2</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>2</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>2</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>φ</m:mi>
                            <m:msub>
                              <m:mi>n</m:mi>
                              <m:mn>1</m:mn>
                            </m:msub>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>2</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>2</m:mn>
                      </m:msub>
                    </m:mrow>
                  </m:mtd>
                </m:mtr>
                <m:mtr>
                  <m:mtd columnalign="right">
                    <m:mrow>
                      <m:msub>
                        <m:mi>ρ</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                      <m:mi>I</m:mi>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>3</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:msup>
                            <m:mi>∂</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>3</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msup>
                            <m:mi>t</m:mi>
                            <m:mn>2</m:mn>
                          </m:msup>
                        </m:mrow>
                      </m:mfrac>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>3</m:mn>
                        </m:msub>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:msub>
                        <m:mi>φ</m:mi>
                        <m:msub>
                          <m:mi>n</m:mi>
                          <m:mn>1</m:mn>
                        </m:msub>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:msub>
                          <m:mi>x</m:mi>
                          <m:mn>3</m:mn>
                        </m:msub>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                      <m:mo>=</m:mo>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                      <m:msub>
                        <m:mi>u</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                      <m:mrow>
                        <m:mo>(</m:mo>
                        <m:mn>0</m:mn>
                        <m:mo>,</m:mo>
                        <m:mi>t</m:mi>
                        <m:mo>)</m:mo>
                      </m:mrow>
                      <m:mo>-</m:mo>
                      <m:msub>
                        <m:mi>P</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                      <m:msubsup>
                        <m:mo>∫</m:mo>
                        <m:mn>0</m:mn>
                        <m:msub>
                          <m:mi>ℓ</m:mi>
                          <m:mn>3</m:mn>
                        </m:msub>
                      </m:msubsup>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>u</m:mi>
                            <m:mn>3</m:mn>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>3</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mfrac>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>φ</m:mi>
                            <m:msub>
                              <m:mi>n</m:mi>
                              <m:mn>1</m:mn>
                            </m:msub>
                          </m:msub>
                        </m:mrow>
                        <m:mrow>
                          <m:mi>∂</m:mi>
                          <m:msub>
                            <m:mi>x</m:mi>
                            <m:mn>3</m:mn>
                          </m:msub>
                        </m:mrow>
                      </m:mfrac>
                      <m:mspace width="0.166667em"/>
                      <m:mi>d</m:mi>
                      <m:msub>
                        <m:mi>x</m:mi>
                        <m:mn>3</m:mn>
                      </m:msub>
                    </m:mrow>
                  </m:mtd>
                </m:mtr>
              </m:mtable>
            </m:math>
          </equation>
          <para id="id2263610">after integrating over each string where the joint hat function is nonzero. If we recall that our force balance equation was <m:math overflow="scroll"><m:mrow><m:msub><m:mi>P</m:mi><m:mn>1</m:mn></m:msub><m:msub><m:mi>∂</m:mi><m:msub><m:mi>x</m:mi><m:mn>1</m:mn></m:msub></m:msub><m:msub><m:mi>u</m:mi><m:mn>1</m:mn></m:msub><m:mrow><m:mo>(</m:mo><m:msub><m:mi>ℓ</m:mi><m:mn>1</m:mn></m:msub><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:msub><m:mi>P</m:mi><m:mn>2</m:mn></m:msub><m:msub><m:mi>∂</m:mi><m:msub><m:mi>x</m:mi><m:mn>2</m:mn></m:msub></m:msub><m:msub><m:mi>u</m:mi><m:mn>2</m:mn></m:msub><m:mrow><m:mo>(</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:mo>-</m:mo><m:msub><m:mi>P</m:mi><m:mn>3</m:mn></m:msub><m:msub><m:mi>∂</m:mi><m:msub><m:mi>x</m:mi><m:mn>3</m:mn></m:msub></m:msub><m:msub><m:mi>u</m:mi><m:mn>3</m:mn></m:msub><m:mrow><m:mo>(</m:mo><m:mn>0</m:mn><m:mo>,</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow></m:math>, however, we can sum these equations together to achieve the relation</para>
          <equation id="id2263760">
            <m:math mode="display" overflow="scroll">
              <m:mrow>
                <m:munderover>
                  <m:mo>∑</m:mo>
                  <m:mrow>
                    <m:mi>i</m:mi>
                    <m:mo>=</m:mo>
                    <m:mn>1</m:mn>
                  </m:mrow>
                  <m:mn>3</m:mn>
                </m:munderover>
                <m:msub>
                  <m:mi>ρ</m:mi>
                  <m:mi>i</m:mi>
                </m:msub>
                <m:mi>I</m:mi>
                <m:msubsup>
                  <m:mo>∫</m:mo>
                  <m:mn>0</m:mn>
                  <m:msub>
                    <m:mi>ℓ</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                </m:msubsup>
                <m:mfrac>
                  <m:mrow>
                    <m:msup>
                      <m:mi>∂</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                    <m:msub>
                      <m:mi>u</m:mi>
                      <m:mi>i</m:mi>
                    </m:msub>
                  </m:mrow>
                  <m:mrow>
                    <m:mi>∂</m:mi>
                    <m:msup>
                      <m:mi>t</m:mi>
                      <m:mn>2</m:mn>
                    </m:msup>
                  </m:mrow>
                </m:mfrac>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>,</m:mo>
                  <m:mi>t</m:mi>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:msub>
                  <m:mi>φ</m:mi>
                  <m:msub>
                    <m:mi>n</m:mi>
                    <m:mn>1</m:mn>
                  </m:msub>
                </m:msub>
                <m:mrow>
                  <m:mo>(</m:mo>
                  <m:msub>
                    <m:mi>x</m:mi>
                    <m:mi>i</m:mi>
                  </m:msub>
                  <m:mo>)</m:mo>
                </m:mrow>
                <m:mspace width="0.166667em"/>
                <m:mi>d</m:mi>
 