Introduction To Exponential Functions

In this post, I am going to introduce you to the concept of exponential functions. A function that use exponents is the exponential function and it has many uses while calculating growth. You can determine, how fast something is growing with these kinds of functions. When it comes to calculating growth of something like population, for animals, or anything, exponential functions are much faster than any other functions. Therefore, it becomes an important topic of study.

Think of a certain kind of cell that doubles everyday. How do you represent this as a function ? Let’s create a table of values and see how the cell grows within 5 days.

DayNumber of Cells (doubles everyday)
11
22
34
48
516
Table 1 – Growth of Cells in 5 days

Now, you see that this growth can be represented as power of 2 because each of the cells double next day.

Given any day I must be able to compute the number of cells for that day. On day 1, the growth is 2^0 = 1. Here, the exponent is 0 that because we have no growth on first day.

For any day, you can calculate the number of cells using function f(x-1) = 2^{x-1} where x represent the particular day on which you want to know the number of cells count.

On day 5, we have f(5) = 2^{5-1} = 2^4 = 16 cells. Can you imagine how fast this grows ?

Any exponential function has base and an exponent and keeping this in mind, let me define the exponential function.

Definition Of Exponential Functions

Any function f(x) with base b is defined as

\begin{aligned} &f(x) = b^x \\ \\
&or \\ \\
&y = b^x
\end{aligned}

where b is a positive constant except 1 meaning b > 0 \hspace{1px}and\hspace{1px} b \neq 1 and x is any real number.

Figure 1 - Exponential Function with base b and exponent x
Figure 1 – Exponential Function with base b and exponent x

What is not exponential functions?

Consider the following functions.

\begin{aligned}
&f(x) = (-3)^x \\ \\
&f(x) = 1^{x+1}\\ \\
&f(x) = x^x \\\\
&f(x) = x^2 
\end{aligned}

You have to remember two rules for exponential functions, (1) base is a positive constant greater than 0 and not equal to 1 (2) exponent is a variable representing real number. The functions above violates one or both rules, hence, they are not exponential functions.

The function f(x) = (-3)^x will give negative results for odd values of x and positive results for even values of x.

For example,  f(2) = (-3)^2 = 9, but f(3) = (-3)^3 = -27. Therefore, it is not an exponential function.

The next function above, f(x) = 1^{x +1} has proper structure, except that it violates the rule 1, b \neq 1.

Similarly, the function f(x) = x^2 and f(x) = x^x violates rule 1 which says base must be a positive constant, not variable. Also, exponent cannot be a constant which is the violation of rule 2.

Graph Of Exponential Functions

post

Rational Functions

Rational functions are special functions that you cannot call polynomials, but are obtained by dividing polynomials. In other words, they are the quotients of the polynomial division.

A rational function is of form f(x) = \frac{p(x)}{q(x)} where p(x) and q(x) are polynomials and

q(x) \neq 0. The domain of rational function can be any real numbers except those that makes q(x) = 0.

Example #1

f(x) = \frac{x^2 - 9}{3x - 3} is a rational function. The function accept all real number except 1. The value 1 makes the function invalid. Hence, we can write domain of the f(x) as \{x \in R| x \neq 1\}.

Example #2

Find the domain of rational function f(x) = \frac{2x}{x  - 2}.

Solution:

The rational function accepts all values, except 2, which we can write in interval notation also, (-\infty , 2) \cup (2, \infty).

The Reciprocal Function

The simplest of rational function is the reciprocal function f(x) = \frac{1}{x}. The function accepts all real values except 0.

Let us plot the graph of this rational function for following values.

X-1–0.5-0.1-0.01-0.001-0.0001
F(x)-1-2-10-100-1000-10000

As the x value approaches 0 from left, the value of f(x) becomes smaller and smaller boundlessly to -\infty. This can be shown with the arrow notation as follows.

Figure 1 - As x approaches 0 from left, the f(x) increases boundlessly to negative infinity
Figure 1 – As x approaches 0 from left, the f(x) decreases boundlessly to negative infinity

    \[x \to 0^{-} , f(x) \to -\infty\]

x \to 0^{-} , f(x) \to -\infty

What happens when x comes closer to 0 from right side.

X0.00010.0010.010.10.51
F(x)1000010001001021
Figure 2 - As x decreases and comes closer to 0, the f(x) becomes larger and moves towards positive infinity
Figure 2 – As x decreases and comes closer to 0, the f(x) becomes larger and moves towards positive infinity

x \to 0^+,f(x) \to \infty.

As the x value approaches 0 from right , the value of f(x) increases boundlessly to positive infty. This is shown above with arrow notation.

What happens when the value of x moves away from 0, that is, x increases or decreases boundlessly ?

X110100
F(x)10.10.01
x increases
X-1-10-100
F(x)-1-0.1-0.01
x decreases
Figure 3 – x increases or decreases boundlessly

When the x value increases or decreases boundlessly, then the f(x) approaches 0, but not touching 0.

This is shown in arrow notation below.

x \to \infty, f(x) \to 0 and x \to -\infty, f(x) \to 0.

Figure 4 - Graph of reciprocal function
Figure 4 – Graph of reciprocal function

Vertical Asymptotes

There are several rational functions, out of which f(x) = \frac{1}{x^2} is an interesting one. The graph of this function is reflected across the y-axis.

Figure 5 - Graph of f(x) = 1/x^2
Figure 5 – Graph of f(x) = 1/x^2

We can describe the end behavior of this graph in the following manner.

x \to 0^{-}, f(x) \to \infty x \to 0^{+}, f(x) \to \infty
x \to -\infty, f(x) \to 0 x \to \infty, f(x) \to 0

The line x = 0 is called the vertical asymptote of the graph. A rational function can have

  1. one vertical asymptote
  2. many vertical asymptotes
  3. or no vertical asymptotes

The end behavior of rational function around vertical asymptote are:

Figure 7 - As x approaches a f(x) decreases boundless

Figure 7 – As x approaches a, f(x) increases boundless

Figure 7 - As x approaches a f(x) decreases boundless
Figure 7 – As x approaches a, f(x) decreases boundless

As the value of x approaches the a , the f(x) increases or decreases without bound.

This increase or decrease in end behavior is useful in study of calculus. We can describe how the value of x and the function changes using limits.

The x moves closer to a from left or right, the end behavior changes is shown in limits below.

\lim_{x \to a^{-}f(x) = \infty \lim_{x \to a^{-}f(x) =- \infty
\lim_{x \to a^{+}f(x) = \infty \lim_{x \to a^{+}f(x) = -\infty

How To Locate The Vertical Asymptotes ?

If the rational function have vertical asymptotes, then it can be found easily. We know that f(x) = \frac{p(x)}{q(x)} where p(x) and q(x) are two polynomials. There are two conditions to find the vertical asymptotes:

  1. The polynomials p(x) and q(x) have no common factors, if they have common factor must be eliminated.
  2. The value a must be zero of the polynomial q(x), that is, denominator. If a is zero then x = a is the vertical asymptotes.

You can understand this with the help of an example.

Example #3

Find the vertical asymptotes of the rational function: f(x) = \frac{x^2}{x - 3}

Solution:

The given equation f(x) = \frac{x^2}{x - 3} does not have any common factors, therefore, meet the first condition. The denominator accepts all real numbers except 3 which makes it 0.

Therefore, a = 3 is the vertical asymptote in the graph of rational function.

Example #4

Find the vertical asymptote of the rational function: h(x) = \frac{(x + 2}{x^2 - 4}.

Solution:

In the given equation, h(x) = \frac{(x + 2)}{(x - 2)(x + 2)} has a common factor. We reduce the common factor and the equation becomes h(x) = \frac{1}{(x - 2)}.

The function accepts all real values, (-\infty, 2) \cup (2,\infty) except 2. Therefore, x = a = 2 is the vertical asymptotes.

Example #5

Find the vertical asymptotes for the rational function: p(x) = \frac{x - 6}{x^4 + 1}.

Solution:

The function has no common factor, but there is no x value for which the denominator is 0. Therefore, the function does not have a vertical asymptote.

In some cases, the denominator is shows that it has a zero, but after reducing the common factors, the resultant expression has a totally new vertical asymptote.

Example #6

Find the vertical asymptote for the equation: f(x) = \frac{(x - 1)(x + 3}{(x - 1)}.

Solution:

At first we see that the equation has a zero x = a = 1, but when the equation is reduced after reducing the common factors, we get x + 3 and the vertical asymptote is x = a = -3.

Horizontal Asymptotes

The equation x = a represents “vertical asymptote“, similarly, y = b represents the “horizontal asymptotes“. There may be several vertical asymptotes, but there is only one horizontal asymptote.

The function f(x) = \frac{1}{x}, as x increases or decreases without bound x \to \infty or x \to -\infty, the f(x) approaches 0, which is f(x) \to 0. So, we can say that the horizontal asymptote is that which is defined as x \to \pm\infty, f(x) \to b.

Figure 8 - Horizontal Asymptote
Figure 8 – Horizontal Asymptote

We can write them in limit form as:

lim_{x \to -\infty}f(x) = b lim_{x \to +\infty}f(x) = b
post

Zeros of Polynomial Functions

In the previous article, where we introduce polynomials, a brief introduction to the roots of quadratic equations were discussed with some examples. Now you are going to learn the zeros of polynomial in more detail.

The idea of zero is that to find those x values for which f(x) = 0 and it is the x-intercepts in case of quadratic equations which is also a polynomial of degree 2.

Rational Zero Theorem

As we mentioned earlier, the zeros or roots of a polynomial f(x) is nothing but those values of x for which f(x) =0.

If f(x) = a_nx^n + a_{n-1}x^{n-1} + \dots + a_1x + a_{0} is a polynomial with integer coefficients, then \frac{p}{q} is the rational zero of the polynomial f(x) where p is the factor of constant term a_{0} and q is the factor of leading coefficient a_n.

This is could be understood with the help of an example.

Example #1

Find the rational zeros of f(x) = x^4 + 2x^3 - 3.

Solution:

The constant term is -3 and its factors are \pm 1, \pm 3.

Similarly, the leading coefficient is 1 whose factors are \pm1.

Therefore,

Rational Zeros = \frac{\pm1, \pm3}{ \pm1} = \frac{\pm1}{ \pm1 } ,  \frac{\pm3}{ \pm1}

= \pm1,  \pm3

There are total 8 roots for this polynomial equation. The actual roots are \pm1.

Figure 1 - Graph of equation f(x) = x^4 + 2x^3 - 3 shows root at -1 and 1
Figure 1 – Graph of f(x) = x^4 + 2x^3 - 3 shows root at -1 and 1

How To Use The Rational Zero Theorem?

We can use the rational zeros to find the real zero of the polynomial. Note that the polynomial is divided by x - c such that f(x) = 0.

Example #2

Find the real root of the polynomial f(x) = x^3 - x^2 + 3x - 3 from its rational zeros.

Solution:

The constant term is -3 so the factors of constant terms are \pm1, \pm3.

The leading coefficient term is 1 and the factors of leading coefficient are \pm1.

Rational \hspace{2 mm} zeros = \frac{\pm1, \pm3}{\pm1}
= \frac{\pm1}{\pm1}, \frac{\pm3}{\pm1}
=\pm1, \pm3

Now we test each of the root to find the real root of the polynomial. For this we have to use synthetic division. If you are not familiar with the synthetic division, read the previous article.

3 : 1 -1 3 -3
       3 6  27   ( This solution is not suitable because remainder is 24. The remainder should be 0).
    1  2 9  24



1 : 1 -1 3 -3
       1 0  3   ( The real root of the polynomial is 1 ).
    1  0 3  0

After performing a synthetic division we are able to find the real root of the polynomial f(x). You can also plot the graph of the polynomial and then look for root which is x-intercept.

Solving Polynomial Equations

The rational zeros of polynomials are very helpful when the degrees of polynomial equations are higher. Consider the following example.

Example #3

Find the solution to the polynomial equation: f(x) = 2x^3 -3x^2 - 11x + 6.

Solution:

To find solution we must find all the rational roots.

The factors of constant 6 are \pm1, \pm2, \pm3, \pm6 and similarly, the factors of leading coefficient is \pm1. \pm2.

The rational coefficients are \pm1, \pm2, \pm3, \pm6, \frac{\pm1}{\pm2},  \frac{\pm3}{\pm2} , \pm3.

Synthetic Division

Now we can do synthetic division to find the solution.

1 : 2 -3 -11 6
       2  5 -6  ( 1 is a root of polynomial f(x).
    2  5 -6  0

Now we can write the equation as f(x) = ( x - 1)( 2x^2 +5x - 6) and remainder is 0.

Example #4

Find the rational root of the following polynomial: f(x) = x^4 - 2x^2 - 6x + 4.

Solution:

The factors of the constant terms are \pm1 , \pm2, \pm4.

The leading coefficient has following factors : \pm1.

The rational roots are \pm1, \pm2, \pm4.

Synthetic division

To find the factors we now have to use the synthetic division. First we are going test \pm1

1: 1 -2 -6 4
      1  1 -5  ( This has a remainder of -1. We need to have remainder of 0 in the last cell.)
   1  1 -5 -1



2: 1 -2 -6 4
      2  0 -12  ( This has a remainder of -8. We need to have remainder of 0 in the last cell.)
   1  0 -6 -8



-2: 1 -2 -6 4
      -2  8 -4  ( This has a remainder of 0. )
    1 -4  2 0

Therefore, the root of the equation is -2 and x + 2 is a factor.

 f(x) = (x + 2)(x^2 - 4x + 2)

We can use the quadratic formula to solve (x^2 - 4x + 2) and find rest of the roots.

x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \\ \\
= \frac{4 \pm 2\sqrt{2}}{2} \\ \\
 x = 2 + \sqrt{2}  \hspace{2mm} and \hspace{2mm} x = 2 - \sqrt{2}

Fundamental Theorem Of Algebra

The fundamental theorem of algebra states that a polynomial f(x) with a degree n has  n roots. To understand this consider the following graph.

Figure 2 - Fundamental Theorem Of Algebra
Figure 2 – Fundamental Theorem Of Algebra

If f(x) is a polynomial with degree n where n \geq 0 , then the equation has one complex root.

Example #5

From our earlier example,

We have f(x) = ( x - 1) ( 2x^2 +5x - 6) we can factor the second degree polynomial using quadratic formula.

 x = \frac{-5 \pm \sqrt{25 - 48}}{4}
= \frac{-5 \pm i\sqrt{23}}{4}

The roots are \frac{-5 - i\sqrt{23}}{4} and \frac{-5 + i\sqrt{23}}{4}. The complex conjugate is also a root.

Linear Factorization

The linear factorization is states that for a polynomial f(x) = a_nx^n + a_{n-1}x^{n-1} + \dots + a_1x + a_{0} where a_n \neq 0, then the polynomial can be written as product of linear factors, called the linear factorization.

f(x) = a_n(x - c_1) (x - c_2) \dots  (x - c_n) where  c_1, c_2, \dots, c_n are complex numbers.

Example #6

Find the factors of the polynomial: f(x) = x^3 + 6x^2 + 25x.

Solution:

The factors are x(x^2 + 6x + 25 ) = 0

Using the quadratic formula,  x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}

 x = \frac{-6 \pm \sqrt{36-100}}{2}\\ \\
= \frac{-6 \pm \sqrt{-64}}{2}\\ \\
= \frac{-6 \pm i8}{2} \\

Therefore, the roots are  \{ 0, -3 - 4i, -3 + 4i \}

We can write the polynomial  f(x) = (x)(x - (-3-4i)) (x - (-3+4i))

This means that roots are rational , irrational and complex or imaginary numbers. In the next section, we discuss a method to find the real roots for polynomial functions.

Rules of Signs

The rules of signs is also called the Descartes’s rules of signs. In a polynomial with degree n, there are at most n real roots, the rule of signs provide specific information about the number of real roots in a polynomial equation.

If  f(x) =  a_nx^n + a_{n-1}x^{n-1} + \dots + a_1x + a_{0} is a polynomial with degree n with real coefficients, then

number of positive real roots are:

  1. same as the number of sign changes c in  f(x) or
  2. less than number of sign change c by a positive even integer.
  3. If there is only one sign change in f(x), then there is only one real root.

number of negative real roots are:

  1. same as the number of sign changes  cin f(-x) or
  2. less than number of sign change  c by a positive even integer.
  3. If there is only one sign change in  f(-x), then there is exactly one real root.

Example #7

Find the number of real roots in the following polynomial:

f(x) = x^3-7x^2+41x-87

Solution:

First we will find the number of sign changes in the given polynomial function.

Figure 3 - Rules of Signs Change
Figure 3 – Rules of Signs Change

The above equation , there are 3 signs change. Therefore, there are 3 positive real roots of f(x).

Or since, xis positive, we have 3 - 2 = 1 positive real root.

We can find the zeros of the polynomial to confirm this. The factors of the polynomials are (x - 3)(x - ( 2 - 5i))(x + (2 + 5i)).

How Rules Of Signs Are Helpful In Solving Polynomials?

The rules of signs helps us to eliminate the unwanted roots from all the rational roots. To illustrate this, we use an example.

Example #8

Find the real roots of the following polynomial: x^3 - 6x^2 +11x - 6.

Solution:

The number of sign change in this polynomial is 3, therefore, real roots are 3 or 3 - 2 = 1.

Let us find the rational roots of this equation.

Factors of the constant terms is \pm 1, \pm 2 ,\pm 3, \pm 6.

Factors of the leading coefficient is \pm1.

Rational \hspace{2mm}roots =  \frac{\pm 1, \pm 2 ,\pm 3, \pm 6}{\pm 1} = \pm 1, \pm 2 ,\pm 3, \pm 6

The rules of sign inform us that there is no negative real roots in this equation f(x). Therefore, we can eliminate all the negative values. The remaining rational roots are {1, 2, 3, 6}.

Test With Synthetic Division

1: 1 -6 11 -6
      1 -5  6 ( Since, the remainder is zero, 1 is a positive real root of f(x).
   1 -5  6  0



3: 1 -6 11 -6
      3 -9  6 ( Since, the remainder is zero, 3 is a positive real root of f(x).
   1 -3  2  0




2: 1 -6 11 -6
      2 -8  6 ( Since, the remainder is zero, 2 is a positive real root of f(x).
   1 -4  3  0

There are three real roots as per rules of signs.

Summary

In this article, you have learned how to find the rational roots, and under special circumstance such as f(x) = 0, there are complex or imaginary roots, so we can find these roots with the linear factorization and rules of signs technique.

post

Dividing Polynomial Functions

You can divide a polynomial just like numbers and dividing a polynomial will give an expression as quotient and remainder. The polynomial you are going to divide must have more terms than the divisor, else the division will not be fruitful.

In this article, you will learn about polynomial long division and synthetic division techniques.

Polynomial Long Division

To divide a polynomial, you need to follow some steps.

Example #1

Step 1: Keep the terms of the dividend and divisor in standard form, that is, in the descending powers of the variable.

x + 2 )\overline {x^2 + 7x + 10}

Step 2: Take first term of the dividend and divide with the divisor, you will get the first term of the quotient. Do it as if you are dividing two numbers.

x\\
x + 2 )\overline {x^2 + 7x + 10}

Step 3: Multiply every term of the divisor with the first term of the quotient.

x\\
x + 2 )\overline{x^2 + 7x + 10}\\
 x^2 + 2x 

Step 4: Subtract the result of multiplication in step 3 with dividend.

x\\
x + 2 ) \overline{x^2 + 7x + 10} \\
x^2 + 2x\\
\hspace{1.5 cm}\overline{5x + 10} 

Step 5: Bring down the new term from the dividend and repeat the step 1 to 5 until you get a remainder 0 or some other value.

x + 5\\
x + 2 ) \overline{x^2 + 7x + 10} \\
x^2 + 2x\\
\hspace{2 cm}\overline{5x + 10} \\
\hspace{2 cm}5x + 10\\
\hspace{3 cm}\overline{0}\\

The solution to the above polynomial is  x + 5 which is you obtained after the polynomial long division as quotient. Let perform a polynomial long division on another polynomial.

Example #2:

Divide \hspace{3 mm} x - 1 ) \overline{x^3 + 3x^2 + 3x -4} 

Solution:

\begin{aligned}
&\hspace{ 1 cm}x^2 + 4x + 7 \\
&x - 1 ) \overline{x^3 + 3x^2 + 3x - 4} \\
&\hspace{ 1 cm}x^3 - x^2  \\
&\hspace{ 1 cm}\overline{4x^2 + 3x } \\
&\hspace{ 1 cm}4x^2 - 4x\\
&\hspace{ 2 cm}\overline{7x - 4} \\
&\hspace{ 2 cm}7x - 7\\
&\hspace{ 2.7 cm}\overline{11}\\
\end{aligned}

This time the solution is a trinomial x^2 + 4x + 7. Note that the result of polynomial long division is not always zero, you may get a non-zero remainder too.

How do you write answer when the polynomial long division gives you a remainder. As in above case, you can write answers as

\frac{x^3 + 3x^2 + 3x -4}{x - 1} = x^2 + 4x + 7 + \frac{13}{x - 1}

The divisor still tries to divide the remainder so you represent it as a term.

Division Algorithm

We can rewrite the whole dividend , divisor , quotient and remainder as an expression by itself.

x^3 + 3x^2 + 3x -4 = (x - 1)(x^2 + 4x + 7) +11

What we are doing is a check to see whether multiplying and adding the remainder back will give us the original polynomial function p(x)

Let say that the dividend is p(x), divisor is d(x), quotient is q(x) and remainder is r(x).

The degree of divisor d(x) is less than or equal to p(x), where d(x) \neq 0. Also, there exists unique polynomials q(x) and r(x).

The degree of remainder f(x) is 0 or less than degree of divisor d(x). If remainder r(x) = 0, then we can say that divisor d(x) divides polynomial p(x) evenly and q(x) and d(x) are factors of the polynomial.

Synthetic Division

Another way to divide polynomial is much faster and efficient provide that the divisor is in the form (x - c) where c is a constant.

We can take our previous example to perform the synthetic division.

Example #3

Divide using synthetic division method:  x - 1 ) \overline{x^3 + 3x^2 + 3x -4}

Solution:

Step 1: Write the constant $c$ from the divisor and all the coefficients from the dividend.

Divisor c value1st term coefficient 2nd term coefficient 3rd term coefficient 4th term coefficient
11334

Step 3: Write the 1st term coefficient in third column.

Divisor c value1st term coefficient 2nd term coefficient 3rd term coefficient 4th term coefficient
1334
1

Step 4: Multiply 1st term coefficient with c and write the result in second column and second row and add the entries of second column. Write the result in second column, third row.

Divisor c value1st term coefficient 2nd term coefficient 3rd term coefficient 4th term coefficient
1334
1
14

Step 5: Repeat the process from step 1 to 4.

Divisor c value1st term coefficient 2nd term coefficient 3rd term coefficient 4th term coefficient
1334
147
14711

The numbers in the last row is coefficients of quotient q(x) and remainder r(x). Therefore, the result is

q(x) = x^2 + 4x + 7 + \frac{11}{x -1}

Remainder Theorem

Let us remember the division algorithm, which is

f(x) = d(x) . q(x) + r

Suppose we are dividing f(x) with x - c, then remainder will be a constant r, which means,

f(x) = (x - c) q(x) + r

Given the above equation, suppose x = c, then

f(c) = (c - c)q(c) + r\\
= 0 \cdot q(c) + r\\
f(x) = r

Therefore, remainder theorem states that you can use c from x - c and get the remainder.

Example #4

Find the remainder for x^3 + 4x^2 + 3x + 2 divided by x - 1

Solution:

Using reminder theorem, c = 1 and f(x) = r.

f(1) = 1^3 + 4(1)^2 + 3(1) + 2 = 1 + 4 + 3 + 2 = 10

Therefore, remainder is 10.

Verify the results:

1 : 1  4  3  2
       1  5  8
    1  5  8  10

Using the synthetic division we find that the remainder is 10.

Factor Theorem

The factor theorem is derived from division algorithm. Suppose the x - c divides the polynomial f(x). We know that by remainder theorem, f(x) = (x - c) q(x) + r which result in f(x) = r.

Let us replace r in above equation as f(c). Now the division algorithm becomes f(x) = (x -c ) q(x) + f(c).

Suppose if the f(c) = 0 then, the equation becomes f(x) = (x - c) q(x) which implies that x-c is a factor of f(x).

Let us say that x - c is a factor of polynomial f(x).Then,

f(x) = (x - c) q(x) ,  if \hspace{2 mm} x = c\\
f(c) = (c - c) q(c) = 0 \cdot q(c) = 0

If x - c is a factor of f(x), then f(c) = 0. This is known as factor theorem.

Summary

In this article, you learned about polynomial long division, synthetic division, division algorithm and two theorem that are derived from the division algorithms – remainder theorem and factor theorem.

post

Quadratic Functions

Certain functions are symmetric in nature and quadratic function is one of them. If you remember from previous articles, we classified the functions as even and odd which means even functions are symmetric over y-axis and odd functions are symmetric over x-axis in a 2d coordinate plane.

What is a quadratic function ?

A quadratic function is a polynomial function with greatest exponent or degree of 2. Any function of the following form,

f(x) = ax^2 + bx + c 

where a, b, c are real numbers and a \neq 0.

We can use the equation above and plot a graph for the quadratic function.

The Parabola

The graph of quadratic function is called the parabola. Since, the quadratic function is even, the graph is symmetric over y-axis. Suppose f(x) = ax^2 + bx + c is a quadratic function where coefficient {b, c} = 0. Then the quadratic function is f(x) = x^2. The graph of this function is given below.

Figure 1 - The graph of f(x) = x^2 is a parabola.
Figure 1 – The graph of f(x) = x^2 is a parabola.

If you notice, the above function can be written as f(x) = ax^2 where a = 1. If the coefficient of x^2 term is greater than 0, that is, a > 0, then the parabola open upwards.

Let us say, a < 0, then quadratic function f(x) = -x^2 is downward facing.

Figure 2 - If a < 0, parabola is downward facing.
Figure 2 – If a < 0, parabola is downward facing.

Whatever may be the type of parabola, certain features are common to all of these parabolas. Let us discuss each on of them.

Features of Parabola

The parabola has certain common features despite various transformations. It does not matter whether graph of quadratic function is wide, narrow, upward facing, or downward facing, these features are always present.

Consider the following quadratic equation, f(x) = 2x^2 - 4x + 1 and its graph.

Figure 3 - Features of parabola
Figure 3 – Features of parabola

The common features of all parabola are:

  • Axis of symmetry
  • Vertex
  • x-intercepts
  • y-intercept

We shall now discuss each of them briefly.

Axis of Symmetry

The axis of symmetry is the y-axis because parabola is graph of a quadratic function which is even. Any even function reflects along the y-axis in a 2D coordinate plane.

Vertex of Parabola

The vertex of a parabola is lowest or the highest point in the graph. When the function is f(x) = x^2 - 2x + 3, which means coefficient b, c = 0, then the vertex is at (0, 0) on the coordinate plane.

When the parabola is opening upward , the vertex is the lowest point in the graph.

Figure 4 - Vertex is the lowest point in parabola opening upwards.
Figure 4 – Vertex is the lowest point in parabola opening upwards.

When the parabola open downwards, which is f(x) = -x^2 - 2x + 3, the vertex is the highest point on the graph.

Figure 5 - The downward facing parabola has highest point as vertex.
Figure 5 – The downward facing parabola has highest point as vertex.

Now we know the vertex and parabola features. Note that the graph is transforming, and this gives us a standard form of quadratic equation.

Standard Form of Quadratic Equation And Transformation of Graph

The basic form of quadratic equation is f(x) = ax^2 + bx + c where a \neq 0 and b,c = 0. The vertex of such a graph is at (0, 0). If we apply transformation on the parabola, whose vertex (h , k) is away from origin (0,0), we get:

f(x) = a(x - h)^2 + k

where a \neq 0.

Here are some important points to note:

  • If a > 0, then the graph open upwards, else if a < 0, then the graph open downwards.
  • The transformed quadratic function from f(x)=ax^2 has a vertex (h, k).
  • When the value of h is positive, the graph shifts h unit to the right, and if h < 0, the graph shifts h unit to left.
  • When the value of k > 0, then graph shifts upwards in y-axis, otherwise, it shift down k unit along the y-axis.
  • The equation of axis of symmetry is x = h where (h , k) is the vertex.
  • The x-intercepts can be calculated by solving the quadratic equation, that is, f(x) = 0.
  • The y-intercept can be calculated using f(0).

Let us graph a quadratic equation in standard form.

Example #1

Graph the following quadratic equation: f(x) = 2(x - 1)^2 +3.

Solution:

Before we construct the graph, let us observe a few things about this quadratic equation which is in standard form.

a > 0 | a = 2, which means that the graph open upwards. The vertex is (1, 3).

We know that the line of symmetry is x = h, therefore, x = 1. Also, the graph shifts upwards 3 units.

The y-intercept is f(0) = 2(0 - 1)^2 + 3 = 2 + 3 = 5. There is no x-intercepts in the graph because the graph already shifted 3 units up in the y-axis.

Based on the information above we can construct the graph, which look like the following.

Figure 6 - Graph of 2(x -1)^2 + 3
Figure 6 – Graph of 2(x -1)^2 + 3

What if we are given equation in the form: f(x) = ax^2 + bx + c, a \neq 0.

Graphing Equation Of Form: f(x) = ax^2 + bx + c

To solve equation of form f(x) = ax^2 + bx + c, we need to change it into standard form. This is achieved through completing the square process.

Example #2

Change the given equation into standard form: f(x) = 2x^2 + 4x + 5.

Solution:

Let the equation be perfect square.

\begin{aligned}
&2x^2 + 4x + 5 = 0\\ \\ 
&dividing \hspace{2 mm} all \hspace{2 mm}terms\hspace{2 mm} by\hspace{2 mm} 2\\ \\
&=x^2 + 2x + 5/2 = 0 \\ \\
&=(x^2 + 2x + 1) -1 + 5/2 = 0\\ \\
&Completing\hspace{2 mm} square \hspace{2 mm}and \hspace{2 mm}multiply \hspace{2 mm} by\hspace{2 mm} 2\\ \\
&=2(x + 1)^2 - 2 + 5 = 0 \\ \\
&=2(x + 1)^2 + 3 = 0
\end{aligned}

Now, in the standard form, it is easy to graph the equation. The vertex of the above equation is (-1, 3). However, there is an easier way to get coordinates for vertex,

If f(x) = ax^2 + bx + c, a \neq 0, then its vertex is (h, k), where

\begin{aligned}
&h = \frac{-b}{2a}\\\\
& f\left(\frac{-b}{2a}\right)
\end{aligned}

Example #3

Find the vertex of equation: f(x) = 2x^2 + 4x + 5.

Solution:

Vertex is (h, k)

\begin{aligned}
&h = \frac{-4}{4} = -1 \\\\
&k = f(-1) = 2(-1)^2 + 4 (-1) + 5 = 2 - 4 + 5 = 3

\end{aligned}

Therefore, the vertex is (-1, 3).

Maximum and Minimum Points

The quadratic equation problems are find three values starting point, maximum or minimum point on the graph, and ending of the graph. The x-coordinate value of vertex gives the location of maximum or minimum point, and y-coordinate value gives the value of maximum or minimum point in the graph of quadratic equation.

post

Polynomial Functions

In this article, you will learn about a special function called polynomial function. You can think of polynomials as an expression made of variables, exponents, and constants. Here the number of terms are important, hence, the name “Poly” which means “many” and “nomial” means “terms”.

Standard Form

The standard form of polynomial function is in following form.

\begin{aligned}
&f(x) = a_nx^n + a_{n-1}x^{n-1} + ... + a_2x^2 + a_1x + a_0\\ \\
&where\\\\
&;a \neq 0, n \geq 0 \hspace{2 mm} and \hspace{2 mm} \{ a_n, a_{n-1}, ... , a_2, a_1, a_0 \} \in R
\end{aligned}

The value n is non-negative integer and it is called the degree of polynomial function. The value a_n is leading coefficient for variable x with highest power, that is, x^n. Finally, all coefficients are real numbers.

Figure 1 - Components of a Polynomial
Figure 1 – Components of a Polynomial

What Is Not Polynomial Function ?

As we mentioned earlier, the coefficients can be any real number, however, the exponents value must be a non-negative integer.

Example #1

h(x) = -2x^4 + \sqrt{5}x - 5

The function h(x) is a polynomial of degree 4 because the variable x has non-negative integer exponent and the coefficients are real numbers. The negative numbers and radicals are also real numbers.

Example #2

m(x) = 2x^{\frac{2}{3}}+ 3x^2 - x + 3

The function m(x) is not a polynomial function because it has a fraction exponent, it must be a non-negative integer exponent.

Example #3

c(x) = x^{-3} + 3x^2 - x + 1

The exponent in the leading term has a negative value, all exponent in polynomial must be greater than or equal to 0, meaning a non-negative integer.

Polynomial Types Based on Number Of Terms

The terms of polynomial are separated by arithmetic operators such as plus (+) and minus (-). Based on number of terms a polynomial can be classified into:

  • Monomial
  • Binomial
  • Trinomial

Monomial

A monomial is a single term polynomial. A single term can be a constant or a term with variable.

Example #4

f(x) = c where c \neq 0.

Note that the variable x is x^0 = 1 therefore, f(x) = c \cdot x^{0} = c \cdot 1 = c , and it is also known as constant polynomial.

Example #5

f(x) = ax^3 where a \neq 0.

Binomial

If the polynomial has only two terms, then it is known as a binomial.

Example #6

f(x) = ax + b where a \neq 0.

The above is example of binomial polynomial, but the degree is one. Such a polynomial is called linear function.

Trinomial

The trinomials have three terms.

Example #7

g(x) =ax^2 + bx + c where a \neq 0

These type of polynomial are trinomials and a trinomial with degree two is called a quadratic equation. You can read previous article to know more about quadratic functions.

Graph Of Polynomial Functions

The graph of polynomial function has two characteristic:

  • The graph is continuous, meaning it has no breaks.
  • The graph is smooth, meaning the graph is a single function with out sharp edge.

A continuous function can be a piecewise function which is not graph of polynomial.

Figure 2 – Continuous smooth function
Figure 3 – Continuous piecewise function

You can recognize the graph of a polynomial just by looking at the smoothness and continuity. Any sharp corner in graph is not a polynomial function.

End Behavior of Polynomial Functions

If you notice that the graph of polynomial has two ends – rightmost end and leftmost end. The end behavior depends on what kind of polynomial we are dealing with. The graph may go up or down during intervals, but the ends behavior depends of a polynomial f(x) = a_nx^n + a_{n-1}x^{n-1} + ... + a_2x^2 + a_1x + a_{0} depends on

  • coefficient a_n of the leading term a_nx^n in the polynomial.
  • value of exponent n in the leading term a_nx^n.

You can see from the figure 2, that when the value of variable x increases, only leading term dominates , all smaller terms are insignificant. Therefore, we perform a leading coefficient test to determine the end behavior of the polynomial function.

When n is odd:

a_n > 0 (positive)left end decreasesright end increases
a_n < 0 (negative)left end increasesright end decreases
Figure 4 - Odd n value and positive a_n value.
Figure 4 – Odd n value and positive a_n value.
Figure 5 - Odd n value and negative a_n value.
Figure 5 – Odd n value and negative a_n value.

When n is even:

a_n > 0 (positive)left end increasesright end increases
a_n < 0 (negative)left end decreasesright end decreases

The even polynomial has both ends pointing to same direction.

Figure 6- Even n and positive a_n value
Figure 6- Even n and positive a_n value
Figure 7 - Even n and negative a_n value
Figure 7 – Even n and negative a_n value

Figure 6 is graph of f(x) = x^4 and figure 7 is graph of f(x) = -3x^4.

Example #8

Determine the end behavior of the following function: g(x) = 2x^5 - 4x + 4.

Solution:

From the graph above it is easy to understand that this is an odd polynomial function with degree 5. The leading coefficient is a_n = 2 which is greater than 0, that is, a_n > 0.

Therefore, the graph of has leftmost end decreasing and rightmost end increasing as variable x increases without bound.

Figure 8 - Graph of function f(x) = 2x^4 -4x + 4
Figure 8 – Graph of function f(x) = 2x^4 -4x + 4

Zeros Of Polynomial Function

If f(x) is a polynomial function, then value of x for which f(x) =0 is called zero of polynomials. There can be more than one zeros of a polynomial function.

The zeros of a polynomial function are called roots or solutions to the function f(x) = 0. They appear as x-intercept in the graph of a polynomial function.

Example #8

Find the zeros of the polynomial: f(x) = x^3 +5x^2 + 8x + 4.

Solution:

This problem cannot be solved with grouping technique. So checking whether (x + 1) is a solution.

f(-1) = (-1)^3 + 5 (-1)^2 + 8 (-1) + 4 = -1 + 5 - 8 + 4 = 9 - 9 = 0

Therefore, (x + 1) is a solution.

Using (x + 1) we can perform a polynomial division to find the roots.

\begin{aligned}
&\frac{x^3 +5x^2 + 8x + 4}{x + 1} = x^2 + 4x + 4 = (x + 2)^2
\end{aligned}

Therefore, the roots are (x + 1) and (x + 2)^2.

Figure 9 - The zeros of polynomial: x^3 + 5x^2 + 8x + 4 is at -2 and -1
Figure 9 – The zeros of polynomial: x^3 + 5x^2 + 8x + 4 is at -2 and-1

Multiplicities of the Root

In the above example, the root (x + 2) is repeated two times and not crossing the x-axis The graph shows that root (x + 1) which crosses the x-axis. This is called multiplicity of the root.

  • If the multiplicity of the root is even, that means if the root repeat itself even times, it does not cross the x-axis.
  • If the multiplicity of the root is odd, then the root cross the x-axis.

The reason why graph does not cross the x-axis when the multiplicity is even is because when the multiciplity is even, the sign of the f(x) does not change at all.

Example #9

Consider the following graph of g(x) = x^4 - 2x^3 + x^2 which has two roots x=0 and x = 1. The factors of the function are x^2 ( x - 1)^2.

Figure 10 - The graph of  g(x) = x^4 - 2x^3 + x^2
Figure 10 – The graph of g(x) = x^4 - 2x^3 + x^2

The graph clearly shows that the function does not cross the the x-axis at x=0 or x = 1.

Example #10

In this example, we have a polynomial function : x^3 - 6x^2 + 12x - 8 whose factor is (x -2)^3. The x-intercept is 2.

Figure 11 - The graph of  x^3 - 6x^2 + 12x - 8
Figure 11 – The graph of x^3 - 6x^2 + 12x - 8

The graph crosses the x-axis at 2 because the multiplicity of the root is odd.

Q1. What is a polynomial function?

A polynomial function is a function of the form
f(x)=anxn+an1xn1++a1x+a0f(x) = a_nx^n + a_{n-1}x^{n-1} + \dots + a_1x + a_0 where nn is a non-negative integer and an0a_n \neq 0.

Q2. What is the degree of a polynomial function?

The degree is the highest power of the variable with a non-zero coefficient.

Q3. What are the types of polynomial functions?

Polynomial functions are classified as constant, linear, quadratic, cubic, etc., based on their degree.

Q4. Can a polynomial function have negative or fractional powers?

No. A polynomial function can have only non-negative integer powers of the variable.
Q5. What are zeros of a polynomial function?

Q6. How are polynomial functions represented graphically?

They are represented by smooth, continuous curves with no breaks or sharp corners.

Q8. Why are polynomial functions important?

They are widely used in mathematics, science, and engineering to model real-world relationships.

post

Understanding Limits and Continuity

Limits and continuity of function is where calculus topics starts, however, to know calculus you must complete all lessons of pre- calculus with examples.

Limit of a function is a certain value that a function approaches, whereas a function is said to be continuous when the function has no breaks or drawn without taking the pen away from the paper.

How to understand a limit of a function?

Limit of a function is a certain value on x- axis that a function of x approaches from both the sides. When a function of x approaches to n (where n is an integer), then all the values of x are very close to n from both the side of the number line. For example, when function of x approaches to 2, then the the values near to the limit of a function from the left if 1.9, 1.99, 1.999 etc. and from the right is 2.1, 2.01, 2.001 etc.

Limit with an example

Let us say $latex f(x) = x^{2} + 2x – 6$ is a function whose limit is 2, then, the limit of a function can be written as $latex \displaystyle \lim_{x \to 2}&s=1$. This can be showed in the form of a graph.

Figure 1 - Limit example, the value of x approaches 2 from left and right side but never equal to 2.
Figure 1 – Limit example, the value of x approaches 2 from left and right side but never equal to 2.

While finding the limit of a function, what should we observe?

Finding the limit of a function is all about observing the particular value a function approaches from left and right. From figure 1, it can be observed that both the right hand limit and left hand limit of a function approaches to the same number. In the above graph, the limit approaches from both right and left to 2.

$latex \displaystyle \lim_{x \to c^-}&s=1$ means that x approaches c from left and reach all numbers smaller than c.
Similarly,
$latex \displaystyle \lim_{x \to c^-}&s=1$ means that x approaches c from right and reach all numbers greater than c.

Note: the value of x is never equal to c.

Continuity of a function

The limits applies to a continuous function. If the function is continuous, then a limit exists, otherwise not.

What is continuity of a given function?

A function is said to be continuous, when graph for the given function shows no breaks or discontinuity at a point or at least in a given interval.

Figure 2 - Continuous and Discontinuous function example
Figure 2 – Continuous and Discontinuous function example

How to find whether a function is continuous?

Continuity of a function can be examined in two ways.

  • Continuity of a function at a given point
  • Continuity over a given interval

For finding the continuity of is given function is, the given function should have no breaks at the neighbourhood to a given point.

How to determine the continuity of a function at a given point?

For checking the continuity of a function at a given point, then it must satisfy the following conditions viz.,

  • The point at which continuity of a function is examined should be within the domain of the function.
  • Both the left handed and right handed limit of the function approaching to the point should be equal.

Summary

  • Limit of a function is approached from both the sides.
  • If the difference between the nearest value and the limit n is $latex h, h_{1}, h_{2}&s=1$ etc., then the values approaching from the left is $latex n – h, n – h_{1}, n – h_{2}&s=1$.
  • In the same case, the values approaching from the right is $latex n + h, n + h_{1}, n + h_{2}&s=1$ .
  • Continuity is defined as a function without any breaks or jumps.
post

Complex Numbers

Complex numbers are extended number system. The motivation behind complex number is that there is no solution to negative roots. Consider the equation x^2 = -1, there is no x that can satisfy this equation.

Powers Of Imaginary Number i

Therefore, the imaginary number iis introduced as the solution to x^2 +1 = 0.

\begin{aligned}
The \hspace{1mm}imaginary \hspace{1mm} number \hspace{1mm} i = \sqrt{-1}, where \hspace{1mm} i^2 = -1
\end{aligned}

Now, it is possible to find square root of any negative number.

Example #1

Find the square root of -64.

Solution:

The square root of a negative number is possible using complex number .

\begin{aligned}
&\sqrt{-64} = \sqrt{(-1) \cdot 64}\\ \\
&= \sqrt{-1} \cdot \sqrt{64}\\ \\
&= i \cdot 8\\ \\
&\therefore \sqrt{-64} = 8i
\end{aligned}

There are few things to note here, firstly, the product property of square roots does not apply for negative numbers, meaning \sqrt{ab} = \sqrt{a} \cdot \sqrt{b} only works when {a,b} \geq 0. Since, we are able to use an imaginary number, it is fine to use the product property of square roots.

Secondly, you must write imaginary number i to the left of any radical. For example, i\sqrt{6} is the right way, and \sqrt{7}i will create confusion. You can write imaginary number i to the right of a real number. For example, 6i.

What is a complex number ?

Complex number is extended number system. In a complex number , there are two parts – real part and imaginary part. Therefore, real numbers are subset of complex numbers as shown in the following figure.

Figure 1 – Complex Number System

A standard form of complex number is a + bi where a is real number and bi is imaginary part of the complex number.

Figure 2 - The standard form of complex number has two parts - real and imaginary
Figure 2 – The standard form of complex number has two parts – real and imaginary

Real Part Of Complex Numbers

Any real number is a complex number of the form a + bi where b = 0. We can rewrite this complex number as a + 0i.

Imaginary Part Of Complex Numbers

The imaginary part is called pure imaginary number when the real number a = 0, therefore, we can write the pure imaginary numbers as 0 + bi.

Equality Of Complex Numbers

Complex numbers are equal if their real part and imaginary part are equal. Suppose a + bi and c + di are two complex numbers, then

\begin{aligned}
&a + bi = c + di\\ \\
&If \hspace{2mm} and\hspace{2mm} only \hspace{2mm} if \\ \\
&a = c \hspace{2mm}  and\hspace{2mm}  b = d\\ 
\end{aligned}

Adding And Subtracting Two Complex Numbers

To add complex number is simple because you need to add the real parts and imaginary parts of two or more complex numbers separately. If a + bi and c + di are two complex numbers, then their addition is

\begin{aligned}
&(a + bi) + (c + di) = (a + c) + (b + d)(i)\\ 
\end{aligned}

Similarly, subtracting two or more complex number requires us to subtract the real parts and the imaginary parts separately. If a + bi and c + di are two complex numbers in standard form, their subtraction is

\begin{aligned}
&(a + bi) - (c + di) = a + bi - c - di\\ \\
&=(a -c) + (b - d)(i)
\end{aligned}

We will look at some examples to understand this better.

Example #2

Add the following complex numbers and write results in standard form: (3 + 5i) + (7 + 2i).

Solution:

\begin{aligned}
&(3 + 5i) + (7 + 2i)\\ \\
&=(3 + 7) + (5 + 2)(i)\\ \\ 
&=10 + 7i
\end{aligned}

Example #3

Subtract the following complex numbers and write results in standard form: (5 + i) - (6 + 3i).

Solution:

\begin{aligned}
&(5 + i) - (6 + 3i)\\ \\
&(5 - 6) + (1 - 3)(i)\\ \\
&-1 + (-2)(i)\\ \\
&-1 -2(i)
\end{aligned}

Multiplying Complex Numbers

Multiplying two complex number is similar to multiplying any algebraic expression except that you have to remember the powers of “iota”. Suppose a + bi and c + di are two complex numbers then their multiplication is

\begin{aligned}
&(a + bi)(c + di) = ac + adi + bci + bd(i \cdot i)\\ \\
&= ac + (ad + bc)i - bd\\ \\
&=ac - bd + (ad + bc)i
\end{aligned}

The real terms and the imaginary terms are multiplied separately. This results in square of “iota” in one of the terms which is -1.

Therefore, multiplication of two complex number results in another complex number.

There are two types of multiplication methods for complex numbers. First is multiplication by distribution method and second is multiplication as you multiply binomials( using FOIL method).

Example #4 : Distribution method

Multiply the following: 3i(2 + 7i).

Solution:

\begin{aligned}
&3i ( 2 + 7i ) = 3i \cdot 2 + 3i \cdot 7i\\ \\
&= 6i + 21i^2\\ \\
&= 6i + 21(-1) \hspace{1 cm} i^2 = -1\\ \\
&= 6i - 21\\ \\
&= -21 + 6i
\end{aligned}

In the above example, the term 3i is distributed to terms inside of the parentheses. Also, the result is a complex number -21 + 6i which we write in standard form.

Example #5 : FOIL method

Multiply the given complex numbers using FOIL( first, outside, inside, last) method: (2 + 5i)(9 + 3i).

Solution:

\begin{aligned}
&(2 + 5i)(9 + 3i) = 2 \cdot 9 + 2 \cdot 3i  + 5i \cdot 9 + 5i \cdot 3i \\ \\
&= 18 + 6i + 45i + 15i^2 \\ \\
&= 18 + (6 + 45)i + 15 (-1) \hspace{1 cm} i^2 = -1 \\ \\
&= 18 + 51i - 15\\ \\
&= 18 - 15 + 51i\\ \\
&= 3 + 51i
\end{aligned}

Therefore, multiplication by both method- distribution and FOIL result in a complex number when we multiply any two or more complex numbers. Another interesting feature of multiplication of complex number is complex conjugate, about which you will learn in the next section.

Complex Conjugate

The complex conjugate of complex number a + bi is a - bi, similarly, complex conjugate of a - bi is a + bi.

Remember the difference of square in algebra, where (a + b)(a - b) = a^2 - b^2, similarly, multiplying complex conjugates will result in real numbers.

\begin{aligned}
&(a + bi)(a - bi) = a^2 -abi + abi - b^2(i^2)\\ \\
&=a^2 - b^2(-1)\\ \\
&=a^2 + b^2\\ \\
&Similarly,\\ \\
&(a -bi)(a + bi) = a^2 + b^2
\end{aligned}

Clearly, multiplication of complex conjugates results in a real number a^2 + b^2.

Example #6

Find the complex conjugate and product of the complex conjugates of 3 - 2i.

Solution:

\begin{aligned}
&The \hspace{5px}complex \hspace{5px}conjugate \hspace{5px}of \hspace{5px}3 - 2i \hspace{5px}is \hspace{5px}3 + 2i\\ \\
&The\hspace{5px} product \hspace{5px}of \hspace{5px}complex \hspace{5px}conjugates:\\ \\
&(3 - 2i)(3 + 2i) = 9 - 4 (-1) \hspace{1 cm}\because i^2 = -1\\ \\
&=9 + 4 \\ \\
&=13\\ \\
\end{aligned}

The complex conjugates are very important because it help use to solve division involving complex numbers.

Division of Complex Numbers

Imagine that you are dividing two complex numbers, then the goal of the division should be to obtain a real number in the denominator because we are trying to simplify the expression.

If two complex number, a + bi and c + di are given then you must use complex conjugate of denominator to simply the expression.

\begin{aligned}
&\frac{a + bi}{c + di} = \frac{a + bi}{c + di} \cdot \frac{c - di}{c - di}\\ \\
&=\frac{ac -adi + bci  + bd}{c^2 + d^2} \\ \\
&=\frac{ac - (ad - bc)i  + bd}{c^2 + d^2} 
\end{aligned}

You can see from the above example, that by multiplying with complex conjugate of denominator we get a real number in the denominator.

Application Of Complex Number in Solving Quadratic Equations

The quadratic equation is an equation of following form: ax^2 + bx + c = 0, a \neq 0 where a, b, c are real constants. The solution of quadratic equation is given by the formula:

\begin{aligned}
&x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\end{aligned}

The expression d = b^2 - 4ac is called the determinant of a quadratic equation.

  • If the determinant is greater than 0, d > 0, we have real and distinct roots as solution to quadratic equation.
  • If the determinant is equal to 0, d = 0, we have real and equal roots for solution.
  • If the determinant is less than 0, d < 0, we have imaginary roots.

When the roots are imaginary , we can solve it using the complex numbers.

Example #7

Solve the following quadratic equation: x^2 + 2x + 5 = 0

Solution:

We can use the quadratic formula to solve this quadratic equation.

\begin{aligned}
&x = \frac{-2 \pm \sqrt{4 - 20} }{2}\\ \\
&= \frac{-2 \pm \sqrt{-16} }{2}\\ \\
&Therefore, \hspace{2mm}roots \hspace{2mm}are:\\ \\
&\frac{-2 + 4i }{2} \hspace{2mm} ,\frac{-2 - 4i }{2}
\end{aligned}

This is just one of the benefit of complex numbers, there are plenty of situations where complex number are helpful in solving, what is otherwise, not possible with only real numbers.

post

Equations of Circle

In this article, you will learn about distance formula , midpoint , and equations of circle. The circle is a geometric shape that has a special significance in mathematics. To study the circle, in algebraic form, we need to define it in terms of coordinates in a 2d coordinate system also known as Cartesian coordinate system.

Coordinate System

You are familiar with the 2d coordinate system already from previous articles. The 2d coordinate system define an point in terms of an ordered pair (x, y) from origin (0, 0). The x represents horizontal distance from 0 and y represents vertical distance from 0.

Figure 1 - Coordinate System with point (4, 5).
Figure 1 – Coordinate System with point (4, 5).

In the figure 1 above, the point (4, 5) is 4 units in horizontal direction from 0 and 5 units in vertical direction from 0. Therefore, we must study the circle as a set of points in this 2d coordinate system.

Distance Formula

The distance formula is derived from Pythagorean theorem to find the distance between two points in the coordinate system. Suppose that P(x_1, y_1) and Q(x_2, y_2) are two points in the xy plane.

Figure 2 - The distance formula can be applied for two points P and Q because to reach point Q from P, we make a trianglular shape.
Figure 2 – The distance formula can be applied for two points P and Q because to reach point Q from P, we make a triangular shape.

The distance between point P(x_1, y_1) to point Q(x_2, y_2) involve change of x value from x_1 to x_2 value and change in y value from y_1 to y_2. This forms a right triangle in the xy plane.

The distance d is hypotenuse of this right triangle and (x_1 - x_2) and (y_1 - y_2) are the lengths of sides of this right triangle. Therefore, by Pythagorean theorem,

\begin{aligned}
&d^2 = (x_1 - x_2)^2 + (y_1 - y_2)^2\\ \\
&Take \hspace{2mm} square \hspace{2mm} root \hspace{2mm} of \hspace{2mm} both\hspace{2mm}  sides. \\ \\
&\sqrt{d^2}= \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2} \\ \\
&d =\sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2} 
\end{aligned}

The distance formula is d = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}.

Note that the length (x_1 - x_2) or (x_2 - x_1) does not matter as long as we take |x_1 - x_2| or |x_2 - x_1|. Similarly, we must take positive y value, which is |y_1 - y_2| or |y_2 - y_1|.

Example #1

Find the distance between point (-4, 7) and (1, 2).

Solution:

Figure 3 - Find distance between (-4, 7) and (1, 2).
Figure 3 – Find distance between (-4, 7) and (1, 2).

Solution:

\begin{aligned}
&Let \hspace{1mm} x_1 = -4 \hspace{1mm} and \hspace{1mm} y_1 = 7,\hspace{1mm}\\ 
&also \hspace{1mm}x_2 = 1 \hspace{1mm}and\hspace{1mm} y_2 = 2. \hspace{1mm}Then, \\
&(-4) - 1| = |-5| = 5 \hspace{1mm} and \hspace{1mm} |7-2| = |5| = 5
\end{aligned}

The distance between (-4, 7) and (1, 2) is:

\begin{aligned}
&d = \sqrt{5^2 + 5^2}\\ \\
&d = \sqrt{50}\\ \\
&d = \sqrt{25 \cdot 2}\\ \\
&d = \sqrt{25} \cdot \sqrt{2}  \hspace{1cm} By Rule \sqrt{ab} = \sqrt{a} \cdot \sqrt{b}, {a,b} > 0\\ \\
&d = 5\sqrt{2}
\end{aligned}

Mid-Point Formula

Given any two point on the xy plane, you can find the mid-point M(x, y). If P(x_1, y_1)and Q(x_2,y_2) are two points on the xy plane.

Then the mid-point formula is given as

\begin{aligned}
M(x, y) = \left( \frac{x_1 + x_2}{2},\frac{y_1 + y_2}{2}\right )
\end{aligned}

Example #2

Find the mid-point M(x, y)of points (2, 6) and (6,10) .

Solution:

We can easily find the mid-point M(x, y) using the mid-point formula, which is \left( \frac{x_1 + x_2}{2},\frac{y_1 + y_2}{2}\right ) . Given points – (2, 6) and (6, 10) .

\begin{aligned}
&Let \hspace{2mm} x_1 = 2, \hspace{2mm}  and \hspace{2mm}  x_2 = 6\\ \\
&Similarly, \\ \\
&y_1 = 6,\hspace{2mm}  and \hspace{2mm} y_2 = 10\\ \\
&Using \hspace{2mm} mid-point \hspace{2mm} formula, \hspace{2mm}  get \\ \\
&M(x, y) = \frac{2 + 6}{2}, \frac{6 + 10}{2}\\ \\
&=\frac{8}{2},\frac{16}{2}\\ \\
&=(4,8)
\end{aligned}

Therefore, the mid-point M(x,y) = (4, 8).

Figure 4 - Mid point of (2, 6) and (6, 10) is the point (4, 8).
Figure 4 – Mid point of (2, 6) and (6, 10) is the point (4, 8).

Standard Equation of Circle

A circle on the xy plane is set of all points that equidistant from a fixed point called the center of the circle. The equal distance between center and any point on the circle is called a radius.

Figure 5 - Circle with radius r and center at (h,k).
Figure 5 – Circle with radius r and center at (h,k).

Consider the circle in figure 5, with radius r and center at (h, k). The point (x, y) lies on the circle. Therefore, by distance formula, we know that,

\begin{aligned}
&r = \sqrt{(x-h)^2 + (y - k)^2}\\ 
\end{aligned}

This is the standard equation of a circle with center at (h, k).

Circle With Center At The Origin

In the co-ordinate system, the origin is point (0, 0). A circle whose center is at (h, k) = (0, 0) has the following equation.

\begin{aligned}
&r = \sqrt{(x - 0)^2 + (y - 0)^2}\\ \\
&r = \sqrt{x^2 + y^2}\\ \\
&or\\ \\
&r^2 = x^2 + y^2
\end{aligned}

Example #3

Find the radius of a circle whose center is at (1, 2) and the point (7, 10) lies on the circle.

Solution:

Given center (h,k) = (1,2) and a point (x, y) = (7, 10), we can use the standard equation of the circle to find the length of radius r.

\begin{aligned}
&r = \sqrt{(x-h)^2 + (y - k)^2}\\ \\
&r = \sqrt{(7-1)^2 + (10-2)^2} \\ \\
&r = \sqrt{6^2 + 8^2}\\ \\
&r = \sqrt{36 + 64}\\ \\
&r = \sqrt{100} \\ \\
&r = 10 \hspace{2mm}
\end{aligned}

Therefore, the length of radius is 10 for circle whose center is at (1, 2) and (7, 10) is a point on the circle.

Example #4

Find the center (h, k) of the circle whose radius 5 and the point (6,8). Also, k = h + 1.

Solution:

We are given the value of radius r = 5and the point (6, 8) on the circle. To find the center point (h, k)of the circle, we must use the distance formula which is r = \sqrt{(x-h)^2 + (y - k)^2} and the value of k = h + 1

\begin{aligned}
&r = \sqrt{(x-h)^2 + (y-k)^2}\\ \\
&5= \sqrt{(6 - h)^2 + (8-k)^2}\\ \\
&But, \hspace{2mm} k = h + 1 \\ \\
&5= \sqrt{(6 - h)^2 + (8-(h+1))^2}\\ \\
&5 = \sqrt{(6 - h)^2+ (7 - h)^2)}\\ \\
&5 = \sqrt{36 - 12h + h^2 + 49 - 14h + h^2}\\ \\
&5 = \sqrt{85 - 26h + 2h^2 }\\ \\
&Square \hspace{2mm} both\hspace{2mm}  sides \\ \\
&25 = 85 - 26h + 2h^2 \\ \\
&2h^2 - 26h + 85 - 25 = 0\\ \\
&2h^2 - 26h + 60 = 0\\ \\
&h^2 - 13h + 30 = 0 \\ \\
&(h - 3) (h - 10) = 0\\ \\
&By \hspace{2mm} zero\hspace{2mm}  product \hspace{2mm} property\\ \\
&\therefore x = 3 \hspace{2mm} or \hspace{2mm}  x = 10
\end{aligned}

We try to use the value of x in the equation. It seems that x = 3 seems more appropriate. Let us verify.

\begin{aligned}
&5 = \sqrt{(6-3)^2+(8-4)^2}\\ \\
&5 = \sqrt{3^2 +4^2 }  \hspace{1cm}  \because k = h + 1 = 3 + 1 = 4\\ \\
&5 = \sqrt{9 + 16}\\ \\
&5 = \sqrt{25 }\\ \\
&\therefore 5 = 5
\end{aligned}

General Equation Of Circle

Suppose a circle has center at (3, 7) with a point on the circle (x, y). Therefore, we can find the standard equation of the circle using,

\begin{aligned}
&r^2 = (x - h)^2 + (y - k)^2\\ \\
&r^2 = (x - 3)^2 + (y - 7)^2\\ \\
&r^2 = x^2 - 6x + 9 + y^2 - 14y + 49\\ \\
&r^2 = x^2 + y^2 - 6x - 14y + 58 
\end{aligned}

Therefore, the general equation of circle is x^2 + y^2 + Ax + By + C = r^2where A, B, C are real constants.

Example #5

Given the general equation of circle r^2 = x^2 + y^2 -6x -14y + 58 find the coordinates for center (h, k)of the circle.

Solution:

Given general equation of circle. We will solve it step-by-step. First group the similar variables together and move constant to the right side of the equation.

\begin{aligned}x^2 - 6x + y^2 -14y = - 58\end{aligned}

Now solve for x and y by completing the square. Note that you have to add same value on both side of the equation.

[\begin{aligned}(x^2 - 6x + 9 ) + (y^2 - 14y + 49) = - 58 + 9 + 49\end{aligned}

The equation is in standard form and we can find the value of (h, k) easily.

[\begin{aligned}(x - 3)^2 + (y - 7)^2 = 0^2\end{aligned}

The center of the circle is at (h, k) = (3, 7).

post

Inverse Functions

In the previous article, you learned about composite function, in this article, you will learn about inverse functions. The term “inverse” means to “undo” something and which is what the “inverse” of a function do. If a function f(x) find the y value for an x value, the inverse of the function does the opposite, meaning it finds the x value for a given y value.

Function and its inverse

Remember from previous articles, that the function f(x) is set of ordered pair (x. y), that is, for every input x there is a one and only y.

Figure 1 - Function f(x) is an ordered pair such as (x1, y1), (x2, y2)
Figure 1 – Function f(x) is an ordered pair such as (x1, y1), (x2, y2)

Suppose g(x) is function that takes input y and gives us the value x. We are just undoing the function f(x). Therefore, if g(x) is inverse function of f(x), then it is denoted as f^{-1}(x).

Figure 2 - The function g(x) is inverse function with ordered pair (y1, x1), (y2, x2).
Figure 2 – The function g(x) is inverse function with ordered pair (y1, x1), (y2, x2).

The inverse of the function f^{-1}(x) is the set of ordered pairs (y, x).

One-To-One Relationship

If you look at the figure 2, you will find that there is a one-to-one relationship between function f(x) and its inverse g(y) = f^{-1}(x).

If there are two functions f(x) and its inverse function f^{-1}(x), then

    \begin{align*}f(f^{-1}(x)) = x\end{align}

Where x is all values in the domain of inverse function f^{-1}(x). Similarly,

    \begin{align*}f^{-1}(f(x)) = x\end{align}

Where x is all values in the domain of function f(x).

If a function f(x) does not maintain the one-to-one relationship, there is no inverse. Consider the quadratic function f(x) = x^2. The function has same outputs for f(-2) = 4 and f(2) = 4.

Figure 3 - Inverse is not a function
Figure 3 – Inverse is not a function

If we take an inverse of the function which is f^{-1}(4) = \pm2 implies that there are two values for f^{-1}(4). Therefore, inverse is not a function because a function can only have one output for given input x.

Horizontal Line Test

The easiest way to understand whether a function has inverse or not is to perform a horizontal line test on the graph of the function. To understand this concept , we will use our previous example of quadratic function f(x) = x^2. The graph of function is given below.

Figure 4 - Horizontal Line Test for f(x) = x^2
Figure 4 – Horizontal Line Test for f(x) = x^2

We perform a horizontal line test , that is, draw a horizontal line and if the line intersect the graph of function f(x) = x^2 it has no inverse function. The figure 4 above, shows that the horizontal line intersect the graph of parabola, at (-2, 4) and (2, 4). Therefore, f(x) = x^2 has no inverse.

Graph of Inverse Function

The graph of inverse function, if exists, can be obtained easily by changing the set of ordered pair (x, y) to the set of ordered pair (y, x).

For example, consider the graph of exponential function f(x)=2^x which is an exponential function. The function passes the horizontal line test, therefore, an inverse function exists.

xf(x) =2^x
-40.0625
-30.125
-20.25
-10.5
01
12
24
38
Values for the exponential function f(x) = 2^x
Figure 5 – Graph of exponential function

The inverse function is set of all ordered pairs (y, x). The inverse function of exponential function is f^{-1}(x) = log_2(x).

Figure 6 – Inverse of exponential function is the logarithmic function f*{-1}(x) = log_2(x)
xf^{-1}(x)
0.0625-4
0.125-3
0.25-2
0.5-1
10
21
42
83
Values for logarithmic functions

Note that the inverse function is accepting all positive x values, and all inverse function (shown in red) will reflect over the line ( in green) y = x. The ordered pairs (x, y) in exponential function is replaced with ordered pair (y , x).

How To Find The Inverse Function ?

To find the inverse of the function you must follow the following steps. If f(x) is a function with an expression, then

  1. Write y instead of f(x).
  2. Interchange the x and y in the equation.
  3. Solve the equation for y and if the equation does not define y in terms of x, then there is no inverse. Otherwise, you will have an equation that defines y in terms of x.
  4. Replace y with f^{-1}(x).

Now, it is necessary to verify the inverse function, that can be done by verifying f(f^{-1}(x)) = x and f^{-1}(f(x)) = x. The composition of (f \circ f^{-1}) and (f^{-1} \circ f(x)) is an algebraic proof of inverse function.

Example #1

Find the inverse function of f(x) =2^{x+1}.

Solution:

The given equation is f(x) =2^{x+1}. exponential equation and we expect to find a logarithmic function as inverse. But, we will go through all the steps to find the inverse of this function.

    \begin{align*} &f(x) =2^{x+1}\\ \\ &Step1\\ & y = 2^{x + 1}\\ \\ &Step2\\ &x = 2^{y + 1} \\ \\ &Step3\\ & x = 2^y \cdot 2\\ \\ & x/2 = 2^y\\ \\ & 2^y = x /2\\ \\ & Take\hspace{2mm}  log \hspace{2mm} with \hspace{2mm}  base \hspace{2mm} 2 \hspace{2mm} of \hspace{2mm} both \hspace{2mm} \\ \\ & \log_2 (2^y) = \log_2(x / 2)\\ \\ & y = \log_2(x) - \log_2(2)         \hspace{1 cm}         By\hspace{2mm} Rule \hspace{2mm}\log_a(M/N) = \log_a(M) - log_a(N)\\ \\ & y = \log_2(x) - 1                   \hspace{1 cm}    By\hspace{2mm} Rule \hspace{2mm} \log_a(a) = 1\\ \\ &Step4\\  & f^{-1}(x) = \log_2(x) - 1\\ \end{align}

Now , we must verify if the inverse function is correct, by using composition of functions. Therefore,

    \begin{align*}&f^{-1}(f(x)) = \log_2(2^{x + 1} ) - 1\\ \\ &x =\log_2(2^{x + 1} ) - 1      \hspace{1 cm}   By \hspace{2mm} Rule \hspace{2mm} log_a(a^x) = x\\ \\  &x  =( x +1 ) - 1\\ \\ &x = x + 1 - 1\\ \\  & x = x \end{align}

Similarly,

    \begin{align*}&f(f^{-1}(x)) = \log_2(2^{x + 1}) - 1\\ \\ &x = \log_2(2^{x + 1}) - 1\\ \\ &x = (x + 1) - 1    \hspace{1 cm}  By  \hspace{2mm} Rule \hspace{2mm}log_a(a^x) = x \\ \\ &x = x + 1 - 1\\ \\ &x = x\\ \\ \end{align}

Example #2

Find the inverse function of the function f(x) = 7x - 3.

Solution:

The function f(x) = 7x - 3 is a linear function. Therefore, an inverse function exists, but we will verify whether inverse exist of not by following our steps to find the inverse of a function.

    \begin{align*}&f(x) = 7x - 3\\ \\ &Step \hspace{2mm}1 \\ &y = 7x - 3\\ \\ &Step \hspace{2mm} 2\\ &x = 7y - 3\\ \\ &Step \hspace{2mm} 3\\ &x + 3 = 7y\\ \\ &7y = x + 3\\ \\ &y = \frac{x + 3}{7}\\ \\ Step \hspace{2mm}4\\ &f^{-1} = \frac{x + 3}{7} \end{align}

Now, we must verify the inverse function.

    \begin{align*} &f^{-1}(f(x)) = \left (\frac{7x - 3 + 3}{7}\right ) \\ \\  &x = \frac{7x}{7}\\ \\ &x = x \end{align}

Similarly,

    \begin{align*} &f(f^{-1}(x)) = 7\left (\frac{x + 3}{7}\right ) - 3\\ \\ &x = (x + 3) - 3\\ \\ &x = x + 3 - 3\\ \\ &x = x \end{align}

Restricted Domain

It is possible to find an inverse function to functions that does not have any inverse if we restrict the domain. It means we only accept set of ordered pairs (x, y) of function f(x) for which there exist ordered pairs (y, x).

Consider the graph of absolute value function [latedpage]f(x) = |x|. This graph did not pass the horizontal line test and for each y value, there exist two x values.

Figure 7 - Graph of absolute function is f(x) = |x| and it fails the horizontal line test.
Figure 7 – Graph of absolute function is f(x) = |x| and it fails the horizontal line test.

The graph will pass the horizontal line test if we restrict the domain to x \geq 0, therefore, an inverse of absolute value function exists if we choose values between the interval [0, \infty].

Figure 8 - Graph of absolute function with restricted domain.
Figure 8 – Graph of absolute function with restricted domain.

The inverse of the new restricted absolute function is as follows.

    \begin{align*} &y = |x|\\ \\ &x = |y|\\ \\ &|x| = || y || \\ & y = |x| where \hspace{2mm} x \geq 0\\\\ & f^{-1}(x) = |x|  \end{align}

We must observe two things,

  1. The absolute value cannot be a negative number, therefore, f(x) = |x| where x \geq 0.
  2. The function f(x) and its inverse does not reflect over x = y, but f(x) = f^{-1}(x) = |x| = x = y.
post