A-level Mathematics/OCR/C1/Polynomials

From testwiki
Revision as of 01:12, 31 July 2017 by imported>PokestarFan (clean up & typo fixing using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You are already familiar with expressions such as 3x+5 or 2x2+8x+2 and perhaps x3+2x2. The general word for an expression that can be written in this form is a polynomial. Excluding the constant term, every power of x in a polynomial is a positive integer. Expressions that have x to a non-integer or negative power are not polynomials.

Basics of polynomials

All polynomials can be written in the form:

a0+a1x+a2x2+a3x3+a4x4anxn.

The numbers a0,a1,a2,a3,a4 are known as the co-efficients, and will often already be known. For example in 4x2+3x+9 the coefficient of x2 is 4. The co-efficients may be 1 or even 0, for example x3+x is still a polynomial.

Degrees of polynomials

The number n, i.e. the highest power in the polynomial is known as the degree, or sometimes the order, of the polynomial. For example, x4+4x2+9 is a degree 4 polynomial. Certain degrees have names, and are often written using certain letters for the coefficients when they are unknown:

  • Degree 0 - Constant - c or k
  • Degree 1 - Linear - ax+b or mx+c
  • Degree 2 - Quadratic - ax2+bx+c
  • Degree 3 - Cubic - ax3+bx2+cx+d
  • Degree 4 - Quartic ax4+bx3+cx2+dx+e

Notation

Most of the polynomials on this page are written in terms of x, for example, 4x2+2x9, although polynomials can be written with other letters. 3z2+z2, for example, is called a polynomial in z.

It is conventional to write polynomials in descending powers for clarity, although a polynomial may have the powers in any order. By writing polynomials in descending powers it is possible to see what the degree of the polynomial is simply by looking at the first term. Performing operations with two or more polynomials are also much simpler when the powers are in order, since like powers are usually grouped during calculations.

Indeed, you may lose marks in your exam if you don't simplify things like x2+5x3x to x2+2x.

Operations with polynomials

Addition

To add polynomials you simply add the co-efficients of each term. If that sounds confusing don't worry as you will probably already know how to do this, it is basically the same as collecting like terms. You add the co-efficients of x together, the co-efficients of x2 together, and so on. For example:

(4x2+2x+9)+(6x22)=10x2+2x+7

Notice that 4+6=10 and 92=7. Some find it helpful to write this out like numerical addition:

4x2 +2x +9
+ 6x2 2
  10x2 +2x +7

When using this method it is essential that terms with x to the same power are lined up, leaving spaces if necessary as in the example above.

Subtraction

For subtraction of polynomials, it is possible to use the same method as above, except subtracting instead of adding. It may get confusing when there are negative terms involved, so it is preferred to reverse the signs in the second row and then add the two polynomials together.

This:

10x2 +2x +7
- 6x2 2
 

4x2

+2x

+9

Would become this:

10x2 +2x +7
+ 6x2 +2
 

4x2

+2x

+9

This method is desirable in the exam because subtracting negative numbers may cause confusion, and mistakes may be overlooked in the pressure of the exam.

Multiplication

To multiply polynomials you simply multiply all the terms in one by all the terms in the other and then sum the results. This method is known as the FOIL Method. It stands for First Outer Inner Last. For example:

(3x2+2x)×(2x25) can be broken down into:

Multiply the First terms together.

3x2×2x2=6x4

Then multiply the Outer terms together.

3x2×5=15x2

Then multiply the Inner terms together.

2x×2x2=4x3

Then multiply the Last terms together.

2x×5=10x

Then we add the results together to give us 6x4+4x315x210x, written in descending powers.

As you become confident with the process, you'll be able to do the entire multiplication in one go without splitting it up, like this:

(3x2+2x)×(2x25)=6x4+4x315x210x

Multiplication table

Some people find it helpful to show this in a table, with one polynomial as rows and the other as columns:

3x2 2x
2x2
5

The headings are then multiplied to produce:

3x2 2x
2x2 6x4 4x3
5 15x2 10x

The answer is the sum of all the cells:

6x4+4x315x210x, as before. This method is particularly useful for multiplying longer polynomials where the answer might not fit on a single line and cause mistakes.

Long multiplication

The polynomials to be multiplied can also be laid out like regular long multiplication, like this:

3x2 2x
× 2x2 5
This is the 1st row multiplied by 5 15x2 10x
This is the 1st row multiplied by 2x2 6x4 4x3
This is the sum of the two answers 6x4 4x3 15x2 10x

Division

Division of polynomials can be done just like regular long division. However, you will need to be quite adept at addition, subtraction and multiplication of polynomials to divide.

For example, to divide x312x242 by x3 you write it like this:

x3|x312x2+0x42

1. Divide the first term of the dividend by the highest term of the divisor. Place the result above the bar (x3 ÷ x = x2).

x2x3|x312x2+0x42

2. Multiply the divisor by the result you just obtained (the first term of the eventual quotient). Write the result under the first two terms of the dividend (x2 * (x-3) = x3 - 3x2).

x2x3|x312x2+0x42x33x2

3. Subtract the product you just obtained from the appropriate terms of the original dividend, and write the result underneath. This can be tricky at times, because of the sign. ((x3-12x2) - (x3-3x2) = -12x2 + 3x2 = -9x2) Then, "pull down" the next term from the dividend.

x2x3|x312x2+0x42x33x2_9x2+0x

4. Repeat the last three steps, except this time use the two terms that you have just written as the dividend.

x29xx3|x312x2+0x42x33x2_9x2+0x9x2+27x_27x42

5. Repeat step 4. This time, there is nothing to "pull down".

x29x27x3|x312x2+0x42x33x2_9x2+0x9x2+27x_27x4227x+81_123

The polynomial above the bar is your answer, and the number left over (-123) is the remainder.

x312x242x3=x29x27 remainder 123

Curves of polynomials

It is possible to look at a polynomial and get an idea to the general shape of its curve. The most important factors are the degree of the polynomial, and the sign of the co-efficient of the highest power. For a more accurate sketch of the graph, you will need to know where the curve has turning points and where it intersects the x and y axis. A sketch with this information will often be sufficiently detailed, and is usually much quicker and easier than plotting the curve point by point.

Turning points

A turning point is where a curve that is decreasing changes to increasing, or vice versa. On a graph, the curve simply changes direction, hence the name turning point. In y=x2, the turning point is at (0,0), the trough of the "bucket". The turning point in y=x2 is a minimum (plural minima), and a maximum (plural maxima) is the same bucket shape, but upside down. For a polynomial of degree n, its curve will have at most n1 turning points.

Behaviour with extreme values of x

What happens to a polynomial at large positive and negative values for x?

If we say 1000 is our large number, we can put it into 6x4+4x315x210x, we can take a look at what happens:

First for x=1000: 6000000000000+40000000001500000010000=6003970000000

Now for x=1000: 6000000000000400000000015000000+10000=5995985010000

The most change in the final answer is made by the x4 term. This is the dominant term. For a polynomial of degree n, xn is the dominant term as x±.

Once you have investigated the behaviour of polynomials with extreme values of x, you may notice that if n is even, it will share the same general shape as x2, and if n is odd it will share the same general shape as x3.

If the coefficient of xn is positive, curves with an even value of n will have a bucket shape, and curves with an odd value of n will generally be negative when x is negative, and positive when x is positive (like y=x).

If the coefficient of xn is negative, curves with an even value of n will have an upside down bucket shape, and curves with an odd value of n will generally be positive when x is negative, and negative when x is positive (similar to y=x).

Intersections with axes

To find where the curve crosses the y axis, you can simply look at the constant term. y=x3+2x29x18, for example, would cross the y axis at 18. If there is no constant term, the curve will go through the origin, (0,0), and would therefore cross the y axis at 0.

In factorised form, you can find the points at which the curve crosses the x axis. y=(x+3)(x+2)(x3) would cross the x axis at 3, 2, and 3, because by making one of the brackets equal to 0, it makes the whole polynomial equal to 0, and y equal to 0. y=0 is of course the line of the x axis. Each instance of the curve crossing the x axis is a root of the equation. A polynomial of degree n will have at most n roots.

To solve an equation means to find every root. Polynomials of degree 2 can be solved using the quadratic formula. For higher degree polynomials you may need to factorise the equation like above, plot the graph point by point and look at where the curve crosses the x axis, or use a [[../../C3/Numerical Methods|numerical method]]. You can check your answers by substituting them into the original equation and seeing if the result is 0.

Quadratic expressions

A quadratic is a polynomial of degree 2, in the form f(x)=ax2+bx+c.

Graph

A quadratic graph is one that can be written in the form y=ax2+bx+c. The graph of y=2x2+8x+2 is shown on the right, and as you can see it has the same characteristic "bucket" shape that all quadratics have, called a parabola. The vertex is the maximum or minimum point. The line of symmetry is the line that divides the graph into two mirror halves. It can be found by the formula b2a.

However, these properties can be more easily deduced from its completed square form ( a(x+d)2+e ). In this form we know that, - d is the axis of symmetry, and that e is maximum or minimum point. If a is greater 0 then the vertex (-d,e) will be a minimum point. If a is less than 0 the vertex (-d,e) will be a maximum point.

Completing the square

Completing the square is the process of changing a quadratic from the form ax2+bx+c to the equivalent form a(x+d)2+e, where a, d and e are constants. For example, the quadratic 2x2+8x+2 would become 2(x+2)26.

Changing a quadratic to completed square form makes it easy to find several things, such as the roots of the quadratic and the vertex of the quadratic, without even requiring a sketch.

Here are the steps for completing the square. Don't worry, it's easier than it looks.

Step Action Example General case
1. Ensure the quadratic is in the conventional form: ax2+bx+c. 2x2+8x+2 ax2+bx+c
2. Unless a=1, "pull/factor out a", that is, divide the entire quadratic by a and put it outside a bracket.

Note: If the quadratic is part of an equation you can divide each side by a, for example 2x2+8x+2=0 simply becomes x2+4x+1=0.

2(x2+4x+1) a(x2+bax+ca)
3. Replace the x2+kx part with (x+k2)2.

It is important to realise that (x+k2)2=x2+kx+k24 which is close to what it was there before but not equal. This will be corrected in the next step. To prevent writing something that isn't actually equal it is a good idea to do both these steps at once in your working once you have got used to the method.

2((x+2)2+1) a((x+b2a)2+ca)
4. Correct the error introduced in the previous step by inserting the subtraction of a suitable number. This suitable number can be found in two ways:
  1. By expanding the term inserted in the previous step and comparing it to the original; or
  2. By remembering that the error is always k24.

This step is known as "completing the square" and gives the method its name.

  1. (x+2)2=x2+4x+4 which is 3 greater than x2+4x+1, so 3 is inserted: 2((x+2)23); or
  2. 424=4 so the error is 4: 2((x+2)24+1)=2((x+2)23)
a((x+b2a)2b24a2+ca)
5. If step 2 was necessary then simplify the result a bit by expanding the outer bracket. Then you are finished. 2(x+2)26 a(x+b2a)2b24a+c
6. Check that what you have obtained expands back to what you started with.

Note: You may feel confident enough to skip this step.

2(x2+4x+4)6

=2x2+8x+86 =2x2+8x+2

a(x2+bax+b24a2)b24a+c

=ax2+bx+b24ab24a+c =ax2+bx+c

So the completed square form of y=2x2+8x+2 is 2(x+2)26. The 6 tells us that the lowest point of the curve is at y=6 and the x+2 tells us that the line of symmetry is at x+2=0 or x=2. Therefore the vertex is at (2,6), and if you look at the graph, you can see that is the case.

The quadratic formula

The quadratic formula is derived from the general case of completing the square:

x=b±b24ac2a

It can be used to find the roots of a quadratic by putting numbers directly into it. For example, for y=2x2+8x+2:

x=8±64164=2±3

so x=2+3 and x=23. The factors of the equation are x+23 and x+2+3.

Here is the way that the quadratic formula is derived from the completing the square formula.

Step Action Example General case
1. To solve an equation in the form ax2+bx+c=0 first complete the square using the method above. 2(x+2)26=0 a(x+b2a)2b24a+c=0
2. Isolate the (x+k)2 term. 2(x+2)2=6

(x+2)2=3

a(x+b2a)2=b24ac

(x+b2a)2=b24a2ca

3. Square root each side, including a ± as the bit inside the bracket might be negative or positive. x+2=±3 x+b2a=±b24a2ca

Then some simplification:

x+b2a=±b24a24ac4a2

x+b2a=±b24ac4a2

x+b2a=±b24ac4a2

x+b2a=±b24ac2a

4. Isolate x. x=±32

x=32 or 32 x0.268 or 3.73

x=±b24ac2ab2a

x=b±b24ac2a

The discriminant

Notice that the quadratic equation contains b24ac inside a square root sign. This part is called the discriminant and can be considered on its own to determine the number of roots of the equation.

  • If b24ac<0 then you will be unable to find the square roots as you don't know how to square root a negative number. The type of numbers you have encountered so far are known as real numbers and so it is said that the quadratic has no real roots.
  • If b24ac=0 then changing the ± sign in front of the square root won't make any difference, because it is zero either way. You will therefore get the same root twice, so it is said the quadratic has one repeated root.
  • If b24ac>0 then the ± will mean you get two answers, and so you can say the quadratic has two distinct (i.e. different) roots.

Template:A-level Mathematics/C1/TOC