Skip to main content
Chemistry LibreTexts

469: Let's Teach High School Students Computer Algebra Methods

  • Page ID
    135020
  • The algebra problem shown below appears in my grandson's 9th grade math text. He is asked to solve for x and y using the "guess and check" method. It is early in the semester so I do not object, figuring he will be taught more reliable standard methods soon. The method I strongly recommend is to stress that if you have two unknowns, you need two equations, and that those equations should be stated explicitly up front. After that some standard method should be used to find the solution or solutions, by hand or using a calculator or a computer. In this case there are two solutions.

    Screen Shot 2019-01-30 at 1.18.15 PM.png

    In what follows two computer algebra methods using Mathcad are presented. The total area (yellow plus green) is 450, so my two equations are given below. This is the most important part in solving the problem - setting it up and it is what should be stressed in math education. Let the computer or calculator do the tedious stuff. The Mathcad syntax for the first method is as follows:

    \(\begin{bmatrix}
    (x+6) \cdot (y + 10) = 450\\
    x \cdot y = 180
    \end{bmatrix}\) solve, (x, y) \(\rightarrow\begin{pmatrix}
    12 & 15\\
    9 & 20
    \end{pmatrix}\)

    The second method involves eliminating y in the first equation by substitution using the second equation, solving for x and then using the second equation to get the appropriate values for y.

    x := (x + 6) \(\cdot\) (y + 10) = 450 substitute, y = \(\frac{180}{x} \rightarrow \frac{10 \cdot (x+6) \cdot (x+18)}{x} = 450\) solve, x \(\rightarrow \begin{pmatrix}
    9\\
    12
    \end{pmatrix}\)

    Write y in terms of x: y := \(\frac{180}{x}\) Display y values: y = \(\begin{pmatrix}
    20\\
    15
    \end{pmatrix}\)

    High school students are facile in using the computer for word processing, and the internet for resourcing term papers and social networking purposes. It's time they were taught how to use the computer to solve math and science problems.

    Solution templates can be provided to the students so that they can concentrate on setting up the problem, rather than the programming syntax.

    Template for first method: \(\begin{pmatrix}
    \square = \blacksquare\\
    \blacksquare = \blacksquare
    \end{pmatrix}\) solve, \(\begin{pmatrix}
    \blacksquare & \blacksquare
    \end{pmatrix} \rightarrow\)

    Template for second method: ■ := ■ = ■ substitute, ■ = ■ \(\rightarrow\) solve, ■ \(\rightarrow\)