﻿<?xml version="1.0" encoding="utf-8"?>
<topicDiscussion xmlns="http://eteach.engr.wisc.edu/schemas/topicDiscussion-v1p0"
  xmlns:misc="http://engage.doit.wisc.edu/schemas/eteach-misc-v1p0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xhtml="http://www.w3.org/1999/xhtml"
  xsi:schemaLocation="http://eteach.engr.wisc.edu/schemas/topicDiscussion-v1p0 file:/C:/Documents%20and%20Settings/mike/My%20Documents/Visual%20Studio%202005/Projects/SamplePages/Installer/Resources/TopicDiscussionSchema.xsd">
  <header>
    Simple linear systems
  </header>
  <body>
    <xhtml:p>
      Linear systems of algebraic equations consist of N equations and N unknowns where the unknown variables all appear to the first power. Linear systems of equations are an essential aspect of nearly all engineering disciplines. They very often represent a mathematical model of N balance relationships that characterize an engineering system. This might be currents entering and leaving a node in an electrical circuit, numbers of cars per hour entering and leaving an intersection of a network of roads, forces on a node in a structural lattice such as you find on a bridge, or it could be the result of a numerical method that relates finite difference quantities to one another. There are countless examples of linear systems. The mathematical underpinning of linear systems is called linear algebra.
    </xhtml:p>
    <xhtml:p>
      Consider the high school algebra problem of weighing fruit. The combined weight of four apples and three bananas is three pounds. The combined weight of two apples and nine bananas is four pounds. What are the weight of one apple and the weight of one banana? First build a mathematical model of this problem.
    </xhtml:p>

    <xhtml:p style="margin: auto;text-align: center">
      4 apples plus 3 bananas equals 3 pounds &#8594;
        <math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
          <semantics>
            <mrow>
              <mn>4</mn>
              <mi>a</mi>
              <mo>+</mo>
              <mn>3</mn>
              <mi>b</mi>
              <mo>=</mo>
              <mn>3</mn>
            </mrow>
            <annotation encoding='MathType-MTEF'>
            </annotation>
          </semantics>
        </math>
      <misc:mathAltImage>
        <misc:alt/>
        <misc:href>
          4a+3b=3.gif
        </misc:href>
      </misc:mathAltImage>
        <xhtml:br/>2 apples plus 9 bananas equals 4 pounds &#8594;
        <math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
          <semantics>
            <mrow>
              <mn>2</mn>
              <mi>a</mi>
              <mo>+</mo>
              <mn>9</mn>
              <mi>b</mi>
              <mo>=</mo>
              <mn>4</mn>
            </mrow>
            <annotation encoding='MathType-MTEF'>
            </annotation>
          </semantics>
        </math>
      <misc:mathAltImage>
        <misc:alt/>
        <misc:href>
          2a+9b=4.gif
        </misc:href>
      </misc:mathAltImage>
       
      
    </xhtml:p>
    <xhtml:p>
      With these two pieces of information you can determine the answer. You need to solve for a and b. multiply the second equation by two and subtract it from the first equation.
    </xhtml:p>
    <xhtml:p>
      <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
        <semantics>
          <mrow>
            <mrow>
              <mo>(</mo>
              <mrow>
                <mn>4</mn>
                <mi>a</mi>
                <mo>+</mo>
                <mn>3</mn>
                <mi>b</mi>
              </mrow>
              <mo>)</mo>
            </mrow>
            <mo>&#x2212;</mo>
            <mn>2</mn>
            <mrow>
              <mo>(</mo>
              <mrow>
                <mn>2</mn>
                <mi>a</mi>
                <mo>+</mo>
                <mn>9</mn>
                <mi>b</mi>
              </mrow>
              <mo>)</mo>
            </mrow>
            <mo>=</mo>
            <mn>3</mn>
            <mo>&#x2212;</mo>
            <mn>2</mn>
            <mo>&#x00D7;</mo>
            <mn>4</mn>
            <mo>&#x2192;</mo>
            <mo>&#x2212;</mo>
            <mn>15</mn>
            <mi>b</mi>
            <mo>=</mo>
            <mo>&#x2212;</mo>
            <mn>5</mn>
          </mrow>
          <annotation encoding='MathType-MTEF'>
          </annotation>
        </semantics>
      </math>
      <misc:mathAltImage>
        <misc:alt/>
        <misc:href>
          sol1.gif
        </misc:href>
      </misc:mathAltImage>

    </xhtml:p>
    <xhtml:p>
      This gives   
      <math display='inline' xmlns='http://www.w3.org/1998/Math/MathML'>
      <semantics>
        <mrow>
          <mi>b</mi>
          <mo>=</mo>
          <mn>1</mn>
          <mo>/</mo>
          <mn>3</mn>
        </mrow>
        <annotation encoding='MathType-MTEF'>
        </annotation>
      </semantics>
    </math>
      <misc:mathAltImage>
        <misc:alt/>
        <misc:href>
          b=33.gif
        </misc:href>
      </misc:mathAltImage>       
    or bananas weigh a third of a pound. To find the weight of an apple, substitute the banana weight into one of the equations and solve for a.
  </xhtml:p>
    <xhtml:p>
      <math display='block' xmlns='http://www.w3.org/1998/Math/MathML'>
        <semantics>
          <mrow>
            <mn>2</mn>
            <mi>a</mi>
            <mo>+</mo>
            <mn>9</mn>
            <mo>&#x00D7;</mo>
            <mrow>
              <mo>(</mo>
              <mrow>
                <mrow>
                  <mn>1</mn>
                  <mo>/</mo>
                  <mn>3</mn>
                </mrow>

              </mrow>
              <mo>)</mo>
            </mrow>
            <mo>=</mo>
            <mn>4</mn>
            <mo>&#x2192;</mo>
            <mn>2</mn>
            <mi>a</mi>
            <mo>=</mo>
            <mn>4</mn>
            <mo>&#x2212;</mo>
            <mn>3</mn>
            <mo>=</mo>
            <mn>1</mn>
            <mo>&#x2192;</mo>
            <mi>a</mi>
            <mo>=</mo>
            <mrow>
              <mn>1</mn>
              <mo>/</mo>
              <mn>2</mn>
            </mrow>

          </mrow>
          <annotation encoding='MathType-MTEF'>
          </annotation>
        </semantics>
      </math>
      <misc:mathAltImage>
        <misc:alt/>
        <misc:href>
          sol2.gif
        </misc:href>
      </misc:mathAltImage>
    </xhtml:p>
    <xhtml:p>
      An apple weighs ½ pound.
    </xhtml:p>
    <xhtml:p>
      The basic method is to combine the equations to obtain an equation with only one of the variables. After solving for that variable, use it in one of the equations to solve for the other variable.
    </xhtml:p>
    </body>
</topicDiscussion>
  