# Calculus/Algebra

 ← Precalculus Calculus Trigonometry → Algebra

This section is intended to review algebraic manipulation. It is important to understand algebra in order to do calculus. If you have a good knowledge of algebra, you should probably just skim this section to be sure you are familiar with the ideas.

## Rules of arithmetic and algebra

The following laws are true for all ${\displaystyle a,b,c}$ whether these are numbers, variables, functions, or more complex expressions involving numbers, variable and/or functions.

• Commutative Law: ${\displaystyle a+b=b+a}$ .
• Associative Law: ${\displaystyle (a+b)+c=a+(b+c)}$ .
• Additive Identity: ${\displaystyle a+0=a}$ .
• Additive Inverse: ${\displaystyle a+(-a)=0}$ .

### Subtraction

• Definition: ${\displaystyle a-b=a+(-b)}$ .

### Multiplication

• Commutative law: ${\displaystyle a\times b=b\times a}$ .
• Associative law: ${\displaystyle (a\times b)\times c=a\times (b\times c)}$ .
• Multiplicative identity: ${\displaystyle a\times 1=a}$ .
• Multiplicative inverse: ${\displaystyle a\times {\frac {1}{a}}=1}$ , whenever ${\displaystyle a\neq 0}$
• Distributive law: ${\displaystyle a\times (b+c)=(a\times b)+(a\times c)}$ .

### Division

• Definition: ${\displaystyle {\frac {a}{b}}=a\times {\frac {1}{b}}}$ , whenever ${\displaystyle b\neq 0}$ .

Let's look at an example to see how these rules are used in practice.

 ${\displaystyle {\frac {(x+2)(x+3)}{x+3}}}$ ${\displaystyle =\left[(x+2)\times (x+3)\right]\times \left({\frac {1}{x+3}}\right)}$ (from the definition of division) ${\displaystyle =(x+2)\times \left[(x+3)\times \left({\frac {1}{x+3}}\right)\right]}$ (from the associative law of multiplication) ${\displaystyle =((x+2)\times (1)),\qquad x\neq -3}$ (from multiplicative inverse) ${\displaystyle x+2,\qquad x\neq -3}$ (from multiplicative identity)

Of course, the above is much longer than simply cancelling ${\displaystyle x+3}$ out in both the numerator and denominator. But, when you are cancelling, you are really just doing the above steps, so it is important to know what the rules are so as to know when you are allowed to cancel. Occasionally people do the following, for instance, which is incorrect:

${\displaystyle {\frac {2\times (x+2)}{2}}={\frac {2}{2}}\times {\frac {x+2}{2}}=1\times {\frac {x+2}{2}}={\frac {x+2}{2}}}$ .

The correct simplification is

${\displaystyle {\frac {2\times (x+2)}{2}}=\left(2\times {\frac {1}{2}}\right)\times (x+2)=1\times (x+2)=x+2}$ ,

where the number ${\displaystyle 2}$ cancels out in both the numerator and the denominator.

## Interval notation

There are a few different ways that one can express with symbols a specific interval (all the numbers between two numbers). One way is with inequalities. If we wanted to denote the set of all numbers between, say, 2 and 4, we could write "all ${\displaystyle x}$ satisfying ${\displaystyle 2 ." This excludes the endpoints 2 and 4 because we use ${\displaystyle <}$ instead of ${\displaystyle \leq }$ . If we wanted to include the endpoints, we would write "all ${\displaystyle x}$ satisfying ${\displaystyle 2\leq x\leq 4}$ ." This includes the endpoints.

Another way to write these intervals would be with interval notation. If we wished to convey "all ${\displaystyle x}$ satisfying ${\displaystyle 2 " we would write ${\displaystyle (2,4)}$ . This does not include the endpoints 2 and 4. If we wanted to include the endpoints we would write ${\displaystyle [2,4]}$ . If we wanted to include 2 and not 4 we would write ${\displaystyle [2,4)}$ ; if we wanted to exclude 2 and include 4, we would write ${\displaystyle (2,4]}$ .

Thus, we have the following table:

Endpoint conditions Inequality notation Interval notation
Including both 2 and 4 all ${\displaystyle x}$ satisfying ${\displaystyle 2\leq x\leq 4}$
${\displaystyle [2,4]}$
Not including 2 nor 4 all ${\displaystyle x}$ satisfying ${\displaystyle 2
${\displaystyle (2,4)}$
Including 2 not 4 all ${\displaystyle x}$ satisfying ${\displaystyle 2\leq x<4}$
${\displaystyle [2,4)}$
Including 4 not 2 all ${\displaystyle x}$ satisfying ${\displaystyle 2
${\displaystyle (2,4]}$

In general, we have the following table:

Meaning Interval Notation Set Notation
All values greater than or equal to ${\displaystyle a}$ and less than or equal to ${\displaystyle b}$ ${\displaystyle [a,b]}$ ${\displaystyle \{x:a\leq x\leq b\}}$
All values greater than ${\displaystyle a}$ and less than ${\displaystyle b}$ ${\displaystyle (a,b)}$ ${\displaystyle \{x:a
All values greater than or equal to ${\displaystyle a}$ and less than ${\displaystyle b}$ ${\displaystyle [a,b)}$ ${\displaystyle \{x:a\leq x
All values greater than ${\displaystyle a}$ and less than or equal to ${\displaystyle b}$ ${\displaystyle (a,b]}$ ${\displaystyle \{x:a
All values greater than or equal to ${\displaystyle a}$ ${\displaystyle [a,\infty )}$ ${\displaystyle \{x:x\geq a\}}$
All values greater than ${\displaystyle a}$ ${\displaystyle (a,\infty )}$ ${\displaystyle \{x:x>a\}}$
All values less than or equal to ${\displaystyle a}$ ${\displaystyle (-\infty ,a]}$ ${\displaystyle \{x:x\leq a\}}$
All values less than ${\displaystyle a}$ ${\displaystyle (-\infty ,a)}$ ${\displaystyle \{x:x
All values ${\displaystyle (-\infty ,\infty )}$ ${\displaystyle \{x:x\in \mathbb {R} \}}$

Note that ${\displaystyle \infty }$ and ${\displaystyle -\infty }$ must always have an exclusive parenthesis rather than an inclusive bracket. This is because ${\displaystyle \infty }$ is not a number, and therefore cannot be in our set. ${\displaystyle \infty }$ is really just a symbol that makes things easier to write, like the intervals above.

The interval ${\displaystyle (a,b)}$ is called an open interval, and the interval ${\displaystyle [a,b]}$ is called a closed interval.

Intervals are sets and we can use set notation to show relations between values and intervals. If we want to say that a certain value is contained in an interval, we can use the symbol ${\displaystyle \in }$ to denote this. For example, ${\displaystyle 2\in [1,3]}$ . Likewise, the symbol ${\displaystyle \notin }$ denotes that a certain element is not in an interval. For example ${\displaystyle 0\notin (0,1)}$ .

There are a few rules and properties involving exponents and radicals that you'd do well to remember. As a definition we have that if ${\displaystyle n}$ is a positive integer then ${\displaystyle a^{n}}$ denotes ${\displaystyle n}$ factors of ${\displaystyle a}$ . That is,

${\displaystyle a^{n}=a\cdot a\cdot a\cdots a\qquad (n~{\mbox{times}})}$

If ${\displaystyle a\neq 0}$ then we say that ${\displaystyle a^{0}=1}$ .

If ${\displaystyle n}$ is a negative integer then we say that ${\displaystyle a^{-n}={\frac {1}{a^{n}}}}$ .

If we have an exponent that is a fraction then we say that ${\displaystyle a^{\frac {m}{n}}={\sqrt[{n}]{a^{m}}}=({\sqrt[{n}]{a}})^{m}}$ . In the expression ${\displaystyle {\sqrt[{n}]{a}}}$ , ${\displaystyle n}$ is called the index of the radical, the symbol ${\displaystyle {\sqrt {\;\;}}}$ is called the radical sign, and ${\displaystyle a}$ is called the radicand.

In addition to the previous definitions, the following rules apply:

Rule Example
${\displaystyle a^{n}\cdot a^{m}=a^{n+m}}$ ${\displaystyle 3^{6}\cdot 3^{9}=3^{15}}$
${\displaystyle {\frac {a^{n}}{a^{m}}}=a^{n-m}}$ ${\displaystyle {\frac {x^{3}}{x^{2}}}=x^{1}=x}$
${\displaystyle (a^{n})^{m}=a^{n\cdot m}}$ ${\displaystyle (x^{4})^{5}=x^{20}}$
${\displaystyle (ab)^{n}=a^{n}b^{n}}$ ${\displaystyle (3x)^{5}=3^{5}x^{5}}$
${\displaystyle \left({\frac {a}{b}}\right)^{n}={\frac {a^{n}}{b^{n}}}}$ ${\displaystyle \left({\frac {7}{3}}\right)^{3}={\frac {7^{3}}{3^{3}}}}$

We will use the following conventions for simplifying expressions involving radicals:

1. Given the expression ${\displaystyle a^{\frac {b}{c}}}$, write this as ${\displaystyle {\sqrt[{c}]{a^{b}}}}$
2. No fractions under the radical sign
3. No radicals in the denominator
4. The radicand has no exponentiated factors with exponent greater than or equal to the index of the radical
 Example: Simplify the expression ${\displaystyle \left({\frac {1}{8}}\right)^{\frac {1}{2}}}$ Using convention 1, we rewrite the given expression as (1) ${\displaystyle \left({\frac {1}{8}}\right)^{\frac {1}{2}}={\sqrt[{2}]{\left({\frac {1}{8}}\right)^{1}}}={\sqrt {\frac {1}{8}}}}$ The expression now violates convention 2. To get rid of the fraction in the radical, apply the rule ${\displaystyle \left({\frac {a}{b}}\right)^{n}={\frac {a^{n}}{b^{n}}}}$ and simplify the result: (2) ${\displaystyle {\sqrt {\frac {1}{8}}}={\frac {\sqrt {1}}{\sqrt {8}}}={\frac {1}{\sqrt {8}}}}$ The resulting expression violates convention 3. To get rid of the radical in the denominator, multiply by ${\displaystyle {\frac {\sqrt {8}}{\sqrt {8}}}}$: (3) ${\displaystyle {\frac {1}{\sqrt {8}}}={\frac {1}{\sqrt {8}}}\cdot {\frac {\sqrt {8}}{\sqrt {8}}}={\frac {\sqrt {8}}{8}}}$ Notice that ${\displaystyle 8=2^{3}}$. Since the index of the radical is 2, our expression violates convention 4. We can reduce the exponent of the expression under the radical as follows: (4) ${\displaystyle {\frac {\sqrt {8}}{8}}={\frac {\sqrt {2^{3}}}{8}}={\frac {\sqrt {2^{2}\cdot 2}}{8}}={\frac {2\cdot {\sqrt {2}}}{8}}={\frac {\sqrt {2}}{4}}}$

#### Exercise

1. Simplify the expression ${\displaystyle 144^{\frac {5}{3}}}$

${\displaystyle 1728{\sqrt[{3}]{12}}}$

## Logarithms

Consider the equation

(5) ${\displaystyle y=b^{x}}$

${\displaystyle b}$ is called the base and ${\displaystyle x}$ is called the exponent. Suppose we would like to solve for ${\displaystyle x}$ . We would like to apply an operation to both sides of the equation that will get rid of the base on the right-hand side of the equation. The operation we want is called the logarithm, or log for short, and it is defined as follows:

Definition: (Formal definition of a logarithm)
${\displaystyle \log _{b}y}$ is the number ${\displaystyle x}$ such that ${\displaystyle y=b^{x}}$

The result of applying the operation to both sides of the equation is

(6) ${\displaystyle \log _{b}y=x}$

Logarithms are taken with respect to some base. What equation 6 is saying is that ${\displaystyle x}$ is the exponent of ${\displaystyle b}$ that will give you ${\displaystyle y}$.

### Example

 Example: Calculate ${\displaystyle \log _{10}100000}$ ${\displaystyle \log _{10}100000}$ is the number ${\displaystyle x}$ such that ${\displaystyle 10^{x}=100000}$. Well ${\displaystyle 10^{5}=100000}$, so ${\displaystyle \log _{10}100000=5}$

### Common bases for logarithms

When the base is not specified, ${\displaystyle \log }$ is taken to mean the base 10 logarithm. Later on in our study of calculus we will commonly work with logarithms with base ${\displaystyle e\approx 2.718282}$ . In fact, the base ${\displaystyle e}$ logarithm comes up so often that it has its own name and symbol. It is called the natural logarithm, and its symbol is ${\displaystyle \ln }$ . In computer science the base 2 logarithm often comes up.

### Properties of logarithms

Logarithms have the property that ${\displaystyle \log _{b}x+\log _{b}y=\log _{b}(x\cdot y)}$ . To see why this is true, suppose that ${\displaystyle \log _{b}x=r}$ , ${\displaystyle \log _{b}y=s}$ , and ${\displaystyle \log _{b}(x\cdot y)=t}$ . These assumptions imply that ${\displaystyle x=b^{r}}$ , ${\displaystyle y=b^{s}}$ , and ${\displaystyle x\cdot y=b^{t}}$ . Then by substitution, ${\displaystyle x\cdot y=b^{r}\cdot b^{s}=b^{t}}$ . By the property of exponents, we know that ${\displaystyle b^{r}\cdot b^{s}=b^{r+s}}$ , so ${\displaystyle b^{r+s}=b^{t}}$ . The equation will only hold if the exponents on each side are equal, so ${\displaystyle r+s=t}$ . Applying our assumptions, we have what we wanted to show, namely, ${\displaystyle \log _{b}x+\log _{b}y=\log _{b}(x\cdot y)}$ .

Historically, the development of logarithms was motivated by the usefulness of this fact for simplifying hand calculations by replacing tedious multiplication by table look-ups and addition.

Another useful property of logarithms is that ${\displaystyle \log _{b}a^{c}=c\cdot \log _{b}a}$ . To see why, consider the expression ${\displaystyle \log _{b}a^{c}}$ . Let us represent the value of this expression with ${\displaystyle x}$ . Then we have ${\displaystyle \log _{b}a^{c}=x}$ . If we make each side of the equation the exponent of ${\displaystyle b}$, then after simplification we have ${\displaystyle a^{c}=b^{x}}$ . Now raise each side of the equation to the power ${\displaystyle {\frac {1}{c}}}$ and simplify to get ${\displaystyle a=b^{\frac {x}{c}}}$ . Now if you take the base ${\displaystyle b}$ log of both sides, you get ${\displaystyle \log _{b}a={\frac {x}{c}}}$ . Solving for ${\displaystyle x}$ shows that ${\displaystyle x=c\cdot \log _{b}a}$ , which is what we wanted to show.

### Converting between bases

Most scientific calculators have the ${\displaystyle \log }$ and ${\displaystyle \ln }$ functions built in. But what if you want to compute a logarithm for a different base? For example, suppose you want to compute ${\displaystyle \log _{2}45}$ . To answer this specific question, let's first come up with a general formula and then apply it to our specific problem. Consider how one might compute ${\displaystyle \log _{b}a}$, where ${\displaystyle b}$ and ${\displaystyle a}$ are given known numbers, when we can only compute logarithms in some base ${\displaystyle \beta }$. Let the value of ${\displaystyle \log _{b}a}$ be ${\displaystyle x}$ . Then the definition of logarithm implies that ${\displaystyle a=b^{x}}$ . If we take the base ${\displaystyle \beta }$ log of each side, we get ${\displaystyle \log _{\beta }a=\log _{\beta }b^{x}=x\cdot \log _{\beta }b}$ . Solving for ${\displaystyle x}$ , we find that ${\displaystyle x={\frac {\log _{\beta }a}{\log _{\beta }b}}}$ . So for our example, if we use base 10, we get ${\displaystyle \log _{2}45={\frac {\log 45}{\log 2}}\approx {\frac {1.653212514}{0.301029996}}\approx 5.491853096}$ .

## Factoring and roots

Given the expression ${\displaystyle x^{2}+3x+2}$ , one may ask "what are the values of ${\displaystyle x}$ that make this expression 0?" If we factor we obtain

${\displaystyle x^{2}+3x+2=(x+2)(x+1)}$

.

If ${\displaystyle x=-1,-2}$ , then one of the factors on the right becomes zero. Therefore, the whole must be zero. So, by factoring we have discovered the values of ${\displaystyle x}$ that render the expression zero. These values are termed "roots." In general, given a quadratic polynomial ${\displaystyle px^{2}+qx+r}$ that factors as

${\displaystyle px^{2}+qx+r=(ax+c)(bx+d)}$

then we have that ${\displaystyle x=-{\frac {c}{a}}}$ and ${\displaystyle x=-{\frac {d}{b}}}$ are roots of the original polynomial.

A special case to be on the look out for is the difference of two squares, ${\displaystyle a^{2}-b^{2}}$ . In this case, we are always able to factor as

${\displaystyle a^{2}-b^{2}=(a+b)(a-b)}$

.

For example, consider ${\displaystyle 4x^{2}-9}$ . On initial inspection we would see that both ${\displaystyle 4x^{2}}$ and ${\displaystyle 9}$ are squares (${\displaystyle (2x)^{2}=4x^{2}}$ and ${\displaystyle 3^{2}=9}$) . Applying the previous rule we have

${\displaystyle 4x^{2}-9=(2x+3)(2x-3)}$

.

The following is a general result of great utility.

Given any quadratic equation ${\displaystyle ax^{2}+bx+c=0\ ,\ a\neq 0}$, all solutions of the equation are given by the quadratic formula:

${\displaystyle x={\frac {-b\pm {\sqrt {b^{2}-4ac}}}{2a}}}$ .
 Example: Find all the roots of ${\displaystyle 4x^{2}+7x-2}$ Finding the roots is equivalent to solving the equation ${\displaystyle 4x^{2}+7x-2=0}$ . Applying the quadratic formula with ${\displaystyle a=4\ ,\ b=7\ ,\ c=-2}$ , we have: ${\displaystyle x={\frac {-7\pm {\sqrt {7^{2}-4(4)(-2)}}}{2(4)}}}$ ${\displaystyle x={\frac {-7\pm {\sqrt {49+32}}}{8}}}$ ${\displaystyle x={\frac {-7\pm {\sqrt {81}}}{8}}}$ ${\displaystyle x={\frac {-7\pm 9}{8}}}$ ${\displaystyle x={\frac {2}{8}}\ ,\ x={\frac {-16}{8}}}$ ${\displaystyle x={\frac {1}{4}}\ ,\ x=-2}$

The quadratic formula can also help with factoring, as the next example demonstrates.

 Example: Factor the polynomial ${\displaystyle 4x^{2}+7x-2}$ We already know from the previous example that the polynomial has roots ${\displaystyle x={\frac {1}{4}}}$ and ${\displaystyle x=-2}$ . Our factorization will take the form ${\displaystyle C(x+2)\left(x-{\tfrac {1}{4}}\right)}$ All we have to do is set this expression equal to our polynomial and solve for the unknown constant C: ${\displaystyle C(x+2)\left(x-{\tfrac {1}{4}}\right)=4x^{2}+7x-2}$ ${\displaystyle C\left(x^{2}+\left(-{\tfrac {1}{4}}+2\right)x-{\tfrac {2}{4}}\right)=4x^{2}+7x-2}$ ${\displaystyle C\left(x^{2}+{\tfrac {7}{4}}x-{\tfrac {1}{2}}\right)=4x^{2}+7x-2}$ You can see that ${\displaystyle C=4}$ solves the equation. So the factorization is ${\displaystyle 4x^{2}+7x-2=4(x+2)\left(x-{\tfrac {1}{4}}\right)=(x+2)(4x-1)}$

Note that if ${\displaystyle 4ac>b^{2}}$ then the roots will not be real numbers.

## Simplifying rational expressions

Consider the two polynomials

${\displaystyle p(x)=a_{n}x^{n}+a_{n-1}x^{n-1}+\cdots +a_{1}x+a_{0}}$

and

${\displaystyle q(x)=b_{m}x^{m}+b_{m-1}x^{m-1}+\cdots +b_{1}x+b_{0}}$

When we take the quotient of the two we obtain

${\displaystyle {\frac {p(x)}{q(x)}}={\frac {a_{n}x^{n}+a_{n-1}x^{n-1}+\cdots +a_{1}x+a_{0}}{b_{m}x^{m}+b_{m-1}x^{m-1}+\cdots +b_{1}x+b_{0}}}}$

The ratio of two polynomials is called a rational expression. Many times we would like to simplify such a beast. For example, say we are given ${\displaystyle {\frac {x^{2}-1}{x+1}}}$ . We may simplify this in the following way:

${\displaystyle {\frac {x^{2}-1}{x+1}}={\frac {(x+1)(x-1)}{x+1}}=x-1,\qquad x\neq -1}$

This is nice because we have obtained something we understand quite well, ${\displaystyle x-1}$ , from something we didn't.

## Formulas of multiplication of polynomials

Here are some formulas that can be quite useful for solving polynomial problems:

${\displaystyle (a+b)^{2}=a^{2}+2ab+b^{2}}$
${\displaystyle (a-b)^{2}=a^{2}-2ab+b^{2}}$
${\displaystyle (a-b)(a+b)=a^{2}-b^{2}}$
${\displaystyle (a\pm b)^{3}=a^{3}\pm 3a^{2}b+3ab^{2}\pm b^{3}}$
${\displaystyle a^{3}\pm b^{3}=(a\pm b)(a^{2}\mp ab+b^{2})}$

## Polynomial Long Division

Suppose we would like to divide one polynomial by another. The procedure is similar to long division of numbers and is illustrated in the following example:

### Example

 Divide ${\displaystyle x^{2}-2x-15}$ (the dividend or numerator) by ${\displaystyle x+3}$ (the divisor or denominator) Similar to long division of numbers, we set up our problem as follows: ${\displaystyle {\begin{array}{rl}\\x+3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x^{2}-2x-15\end{array}}\end{array}}}$ First we have to answer the question, how many times does ${\displaystyle x+3}$ go into ${\displaystyle x^{2}}$? To find out, divide the leading term of the dividend by leading term of the divisor. So it goes in ${\displaystyle x}$ times. We record this above the leading term of the dividend: ${\displaystyle {\begin{array}{rl}&~~\,x\\x+3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x^{2}-2x-15\end{array}}\\\end{array}}}$ , and we multiply ${\displaystyle x+3}$ by ${\displaystyle x}$ and write this below the dividend as follows: ${\displaystyle {\begin{array}{rl}&~~\,x\\x+3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x^{2}-2x-15\end{array}}\\&\!\!\!\!-{\underline {(x^{2}+3x)~~~}}\\\end{array}}}$ Now we perform the subtraction, bringing down any terms in the dividend that aren't matched in our subtrahend: ${\displaystyle {\begin{array}{rl}&~~\,x\\x+3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x^{2}-2x-15\end{array}}\\&\!\!\!\!-{\underline {(x^{2}+3x)~~~}}\\&\!\!\!\!~~~~~~-5x-15~~~\\\end{array}}}$ Now we repeat, treating the bottom line as our new dividend: ${\displaystyle {\begin{array}{rl}&~~\,x-5\\x+3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x^{2}-2x-15\end{array}}\\&\!\!\!\!-{\underline {(x^{2}+3x)~~~}}\\&\!\!\!\!~~~~~~-5x-15~~~\\&\!\!\!\!~~~-{\underline {(-5x-15)~~~}}\\&\!\!\!\!~~~~~~~~~~~~~~~~~~~0~~~\\\end{array}}}$ In this case we have no remainder.

### Application: Factoring Polynomials

We can use polynomial long division to factor a polynomial if we know one of the factors in advance. For example, suppose we have a polynomial ${\displaystyle P(x)}$ and we know that ${\displaystyle r}$ is a root of ${\displaystyle P}$ . If we perform polynomial long division using P(x) as the dividend and ${\displaystyle (x-r)}$ as the divisor, we will obtain a polynomial ${\displaystyle Q(x)}$ such that ${\displaystyle P(x)=(x-r)Q(x)}$ , where the degree of ${\displaystyle Q}$ is one less than the degree of ${\displaystyle P}$ .

### Exercise

2. Factor ${\displaystyle x-1}$ out of ${\displaystyle 6x^{3}-4x^{2}+3x-5}$ .

${\displaystyle (x-1)(6x^{2}+2x+5)}$

### Application: Breaking up a rational function

Similar to the way one can convert an improper fraction into an integer plus a proper fraction, one can convert a rational function ${\displaystyle P(x)}$ whose numerator ${\displaystyle N(x)}$ has degree ${\displaystyle n}$ and whose denominator ${\displaystyle D(x)}$ has degree ${\displaystyle d}$ with ${\displaystyle n\geq d}$ into a polynomial plus a rational function whose numerator has degree ${\displaystyle \nu }$ and denominator has degree ${\displaystyle \delta }$ with ${\displaystyle \nu <\delta }$ .

Suppose that ${\displaystyle N(x)}$ divided by ${\displaystyle D(x)}$ has quotient ${\displaystyle Q(x)}$ and remainder ${\displaystyle R(x)}$ . That is

${\displaystyle N(x)=D(x)Q(x)+R(x)}$

Dividing both sides by ${\displaystyle D(x)}$ gives

${\displaystyle {\frac {N(x)}{D(x)}}=Q(x)+{\frac {R(x)}{D(x)}}}$

${\displaystyle R(x)}$ will have degree less than ${\displaystyle D(x)}$ .

#### Example

 Write ${\displaystyle {\frac {x-1}{x-3}}}$ as a polynomial plus a rational function with numerator having degree less than the denominator. ${\displaystyle {\begin{array}{rl}&~~\,1\\x-3\!\!\!\!&{\big )}\!\!\!{\begin{array}{lll}\hline \,x-1\end{array}}\\&\!\!\!\!-{\underline {(x-3)~~~}}\\&\!\!\!\!~~~~~~~~~2~~~\\\end{array}}}$ so ${\displaystyle {\frac {x-1}{x-3}}=1+{\frac {2}{x-3}}}$
 ← Precalculus Calculus Trigonometry → Algebra