impera Open Impera

IB MYP Extended Mathematics · Algebra

Polynomial and rational functions

1Polynomials

A polynomial is a sum of terms, each a number times a whole-number power of $x$: $4x^3 - 2x^2 + 7x - 5$.

  • The degree is the highest power. Degree 1 is linear, 2 quadratic, 3 cubic, 4 quartic.
  • The leading coefficient is the number in front of the highest power.
  • The constant term has no $x$, and is the $y$-intercept of the graph.

Polynomials are added and subtracted by collecting like terms, and multiplied by expanding every term by every term.

Worked example

Expand (x + 2)(x² − 3x + 4)

  1. $x \times (x^2 - 3x + 4) = x^3 - 3x^2 + 4x$.
  2. $2 \times (x^2 - 3x + 4) = 2x^2 - 6x + 8$.
  3. Add: $x^3 - x^2 - 2x + 8$.

Shapes of graphs: the degree and the sign of the leading coefficient decide what happens at the far left and right.

  • A cubic with a positive leading coefficient rises from bottom left to top right, usually with two turning points.
  • A polynomial of degree $n$ has at most $n$ roots and at most $n - 1$ turning points.
  • At a repeated root the graph touches the axis and turns back instead of crossing.
Check yourself

What is the degree of 5x⁴ − 2x³ + x − 9?

  • 5

  • 9

  • 3

  • 4

Show the answer

4

The degree is the highest power of x.

2The factor and remainder theorems

Two theorems connect dividing a polynomial with substituting a number into it.

  • Remainder theorem: when $f(x)$ is divided by $(x - a)$, the remainder is $f(a)$.
  • Factor theorem: if $f(a) = 0$, then $(x - a)$ is a factor of $f(x)$, and $x = a$ is a root.
Worked example

The remainder

  1. Find the remainder when $f(x) = x^3 + 2x - 5$ is divided by $(x - 2)$.
  2. $f(2) = 8 + 4 - 5 = 7$.
  3. The remainder is 7, with no division needed.
Worked example

Factorising a cubic

  1. Factorise $f(x) = x^3 - 6x^2 + 11x - 6$.
  2. Try small factors of the constant term: $f(1) = 1 - 6 + 11 - 6 = 0$. So $(x - 1)$ is a factor.
  3. Divide: $x^3 - 6x^2 + 11x - 6 = (x - 1)(x^2 - 5x + 6)$.
  4. Factorise the quadratic: $(x - 2)(x - 3)$.
  5. $f(x) = (x - 1)(x - 2)(x - 3)$, so the roots are 1, 2 and 3.

For a factor $(x + 3)$, substitute $x = -3$: use the value that makes the bracket zero.

Check yourself

f(x) = x³ − 4x + 3. What is the remainder when f(x) is divided by (x − 2)?

  • 0

  • −5

  • 3

  • 5

Show the answer

3

f(2) = 8 − 8 + 3 = 3.

3Dividing polynomials

To find the other factor once you know one, divide. Long division works like long division of numbers; comparing coefficients is often quicker.

Worked example

Divide x³ − 6x² + 11x − 6 by (x − 1) by comparing coefficients

  1. The other factor is a quadratic: $(x - 1)(x^2 + bx + c)$.
  2. The $x^3$ terms match already.
  3. The constants: $-1 \times c = -6$, so $c = 6$.
  4. The $x^2$ terms: $bx^2 - x^2 = -6x^2$, so $b = -5$.
  5. Check the $x$ terms: $cx - bx = 6x + 5x = 11x$. Correct.
  6. Quotient: $x^2 - 5x + 6$.
Worked example

A division with a remainder

  1. Divide $x^2 + 5x + 9$ by $(x + 2)$.
  2. $x^2 + 5x + 9 = (x + 2)(x + 3) + 3$.
  3. Quotient $x + 3$, remainder 3.
  4. Check with the remainder theorem: $f(-2) = 4 - 10 + 9 = 3$.

In general: polynomial = divisor × quotient + remainder.

Check yourself

x³ + 2x² − 5x − 6 = (x − 2)(x² + bx + 3). What is b?

  • 0

  • 2

  • 4

  • −4

Show the answer

4

Comparing x² terms: b − 2 = 2, so b = 4.

4Rational functions and asymptotes

A rational function is one polynomial divided by another, such as $y = \dfrac{1}{x}$ or $y = \dfrac{2x + 1}{x - 3}$.

Division by zero is impossible, so the function is undefined where the denominator is zero. The graph has asymptotes: lines it approaches but never reaches.

  • Vertical asymptote: where the denominator is zero.
  • Horizontal asymptote: the value $y$ approaches as $x$ becomes very large.
Worked example

Analyse y = (2x + 1)/(x − 3)

  1. Vertical asymptote: $x - 3 = 0$, so $x = 3$.
  2. Horizontal asymptote: for large $x$, the function is close to $\frac{2x}{x} = 2$, so $y = 2$.
  3. $x$-intercept: the numerator is zero when $x = -\frac{1}{2}$.
  4. $y$-intercept: put $x = 0$: $y = -\frac{1}{3}$.
  5. The graph has two separate branches, one each side of $x = 3$.

The simplest case, $y = \dfrac{1}{x}$, has asymptotes along both axes, and models inverse proportion. The graph of $y = \dfrac{1}{x - 2} + 3$ is the same curve moved 2 right and 3 up, with asymptotes $x = 2$ and $y = 3$.

Check yourself

Where is the vertical asymptote of y = 5/(x + 4)?

  • x = −4

  • x = 4

  • y = 5

  • y = 0

Show the answer

x = −4

The denominator is zero when x = −4.

5Simplifying and solving with algebraic fractions

Algebraic fractions follow the same rules as numerical ones. To simplify, factorise first, then cancel common factors.

Worked example

Simplify (x² − 9)/(x² + 5x + 6)

  1. Factorise: $\dfrac{(x + 3)(x - 3)}{(x + 3)(x + 2)}$.
  2. Cancel $(x + 3)$: $\dfrac{x - 3}{x + 2}$.
  3. You may cancel only factors, never single terms. The $x^2$ terms cannot be crossed out.
Worked example

Add 2/(x + 1) + 3/(x − 2)

  1. Common denominator: $(x + 1)(x - 2)$.
  2. $\dfrac{2(x - 2) + 3(x + 1)}{(x + 1)(x - 2)}$.
  3. $= \dfrac{5x - 1}{(x + 1)(x - 2)}$.

To solve an equation with fractions, multiply both sides by the denominators.

Worked example

Solve 2/(x − 1) = 3/(x + 2)

  1. Cross-multiply: $2(x + 2) = 3(x - 1)$.
  2. $2x + 4 = 3x - 3$.
  3. $x = 7$.
  4. Check: $\frac{2}{6} = \frac{1}{3}$ and $\frac{3}{9} = \frac{1}{3}$.

Reject any solution that makes a denominator zero.

Check yourself

What is (x² + 4x)/(x² − 16) simplified?

  • x/(x + 4)

  • x/(x − 4)

  • 4x/−16

  • (x + 4)/(x − 4)

Show the answer

x/(x − 4)

x(x + 4) over (x + 4)(x − 4); the factor (x + 4) cancels.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera