Polynomials

We have previously, on page XX (fragment 24), introduced some basic algebra and straight line graph plotting. In this section we will introduce some simple mathematical curves, and in doing so, show that all numbers may be represented by a point on a given curve or curves.

We will start by looking at some every day numbers, and show how they can be represented by algebraic notation. If you are already familiar with such concepts, you may wish to skip this section.

From numbers to algebra

We all use numbers in our daily lives. Some examples of numbers we use are:Most of the time we give very little thought as to what these numbers mean from a mathematical perspective.

Height 1.54m Weight 53kg Price £4.99 Answer to life, the universe, and everything 42 Attendance at a sporting fixture 21,988 The units of measurement are unimportant for this exercise.

What does a number like 21,988 actually mean?

Firstly, we know that it is a count of the number of people who attended a sporting fixture. Counting is one of the first skills we learn, often using our fingers. It is no coincidence that our counting system revolves around the number of fingers, or digits, that we have. A count of something is a one-to-one correspondence between the number and the physical thing.

We can break 21,988 down into its constituent parts:21,988 = 20,000 + 1,000 + 900 + 80 + 8We call each of the numbers being added together in this equation terms.

We can break each term down a little further:21,988 = (2 × 10,000) + (1 × 1,000) + (9 × 100) + (8 × 10) + (8 × 1)The brackets, or parenthesis, around the 2 × 10,000 means "do this calculation first".

100 is 10 × 10, or 10 squared. We can also write this as 10^{2}. Likewise, 1,000 is 10 × 10 × 10, or 10 cubed. We can also write this as 10^{3}. We call these powers of 10. For consistency, we can extend this logic to all other powers of 10, although, some may not be obvious, for instance 10^{1}is 10, and 10^{0}is 1.

We can now rewrite our breakdown of 21,988:21,988 = (2 × 10This example is very specific to the number 21,988. What if we want to write a generic formula for any number?^{4}) + (1 × 10^{3}) + (9 × 10^{2}) + (8 × 10^{1}) + (8 × 10^{0})

Firstly, we can replace all instances of 10 with x, and 21,988, with y:y = (2 × xWe now need to replace the digits 2, 1, 9, 8 and 8. We will replace them with an a, but as they are all different, we need to distinguish between them. We can do this by using a sub-scripted number, which for clarity, will be the same as the power of x. We call these coefficients, and we call the number attached to the coefficient an index:^{4}) + (1 × x^{3}) + (9 × x^{2}) + (8 × x^{1}) + (8 × x^{0})y = (aWe can tidy this equation up a bit. We stated above that 10_{4}× x^{4}) + (a_{3}× x^{3}) + (a_{2}× x^{2}) + (a_{1}× x^{1}) + (a_{0}× x^{0})^{1}is 10, and 10^{0}is 1. We can be more generic and state that x^{1}is x, and x^{0}is 1. This simplifies the last two terms of the equation to:(aWe can also remove the ×, by either using a . in its place (i.e. a_{1}× x) + a_{0}_{1}.x), or, as we will do here, just implying multiplication. Because multiplication has a higher precedence than addition, we can also remove the parenthesis. Applying this to the entire equation then gives:y = aThis is fine, for a number of 5 digits or less (i.e. a_{4}x^{4}+ a_{3}x^{3}+ a_{2}x^{2}+ a_{1}x + a_{0}_{4}= 0 cancels out x^{4}, and hence will give a 4 digit number), but what about numbers consisting of an arbitrary number of digits? We can replace the index number of most significant term with n, and the index number of the next most significant term with n-1:y = aWe call this type of equation, a polynomial, where poly means many, and nomial means term._{n}x^{n}+ a_{n}_{-1}x^{n}^{-1}+ … + a_{2}x^{2}+ a_{1}x + a_{0}

We call the most significant index the degree of the polynomial. In the last equation, the degree is n, and in the 21,988 example, the degree is 4.

It will be noted, that because our least significant index number is 0 (that is we count from 0 and not 1), n will always be 1 less than the maximum number of digits in the number.

We now have an abstract representation of any number.

To bring all of this full-circle, if we set x to 10, a_{4}to 2, a_{3}to 1, a_{2}to 9, a_{1}to 8 and a_{0}to 8, we get:y = (2 × 10In our 21,988 example, x was always 10. This does not always have to be the case. On page XX (fragment 77), when we introduce bits, we will be dealing with powers of 2 and 16.^{4}) + 10^{3}+ (9 × 10^{2}) + (8 × 10) + 8

We shall now look at a number of different polynomial equations, by plotting the resultant value of y for various values of x.

## Wednesday, 29 October 2008

### Introducing polynomials

Below is my first draft of my section introduction. Hopefully it introduces polynomials from a perspective that everyone can understand. I welcome any comments from my fellow authors.

Subscribe to:
Post Comments (Atom)

## No comments:

Post a Comment