Category Archives: Factorising

Infinite Product Expansion of cos (x)

Remember

(1)   \begin{equation*}cos(x)=1-\frac{1}{2!}x^2+\frac{1}{4!}x^4-\frac{1}{6!}x^6+...\end{equation*}

We know that cos(x)=0 for odd integer multiples of \frac{\pi}{2}, i.e. \frac{\pi}{2}, \frac{3\pi}{2}, ..., which is \frac{(2n-1)\pi}{2} for n\neq 0

Hence,

    \begin{equation*}0=1-\frac{1}{2!}x^2+\frac{1}{4!}x^4-\frac{1}{6!}x^6+...\end{equation}

for x=\frac{(2n-1)\pi}{2}, n>0

We can factorise our cos(x) expansion

    \begin{equation*}(1-\frac{x^2}{r_1})(1-\frac{x^2}{r_2})...\end{equation}

We know r_1=\frac{\pi}{2}, r_2=\frac{3\pi}{2}, ...

    \begin{equation*}cos(x)=(1-\frac{x^2}{(\frac{\pi}{2})^2})(1-\frac{x^2}{(\frac{3\pi}{2})^2})...(1-\frac{x^2}{(\frac{(2n-1)\pi}{2})^2})\end{equation}

    \begin{equation*}cos(x)=\Pi_{n=1}^{\infty}(1-\frac{x^2}{(\frac{(2n-1)\pi}{2})^2})\end{equation}

    \begin{equation*}cos(x)=\Pi_{n=1}^{\infty}(1-\frac{4x^2}{(2n-1)^2\pi^2})\end{equation}

1 Comment

Filed under Factorising, Identities, Infinite Product Expansion, Interesting Mathematics, Polynomials, Trigonometry

Solving Cubic Functions

I have been thinking about cubics a bit lately because some of my students are solving and then sketching cubics. Plus I am reading An Imaginary Tale by Paul Nahin, which talks about solving cubics and complex numbers.

Cubics must have at least one real root. If one of the roots is a rational number, then we can use the Factor and Remainder Theorem.

For example,

Solve 2x^3-3x^2-3x+2=0

We know the root(s) must be a factor of 2\times3=6.
I always start with 1 or -1
2(1)^3-3(1)^2-3(1)+2=2-3-3+2=-2 \therefore x\neq=1
Try -1
2(-1)^3-3(-1)^2-3(-1)+2=-2-3+3+2=0 \therefore x=-1 and (x+1) is a factor.
Then we can do polynomial long division.

Now we know that 2x^3-3x^2-3x+2=(x+1)(2x^2-5x+2)
And we can factorise the quadratic (or using the quadratic equation formula)
2x^2-5x+2=2x^2-4x-x+2
=2x(x-2)-1(x-2)
=(2x-1)(x-2)
\therefore x=-1, \frac{1}{2}, 2

But what if it is not factorisable?

For example,

Solve 2x^3+5x^2-2x+4=0

How many roots does this equation have?

We could find the derivative and find out how many stationary points the function has.

f'(x)=6x^2+10x-2

This is a quadratic function. Find the discriminant to determine the number of roots.

\Delta=b^2-4ac=100-4(6)(-2)=148

As \Delta>0, there are two stationary points, which means we could have 1, 2 (one root is repeated) or three roots, depending on if the function crosses the x-axis between stationary points. So not much use.

We could try the discriminant of a cubic.

\Delta=18abcd-4b^3d+b^2c^2-4ac^2-27a^2d^2

\Delta=18(2)(5)(-2)(4)-4(5^3)(4)+(5^2)(-2)^2-4(2)(-2)^2-27(2)^2(4)^2=-5100

The discriminant is negative so there is one real root.

From my reading, we need to turn the cubic into a depressed cubic (cubics of the form x^3+px+q=0).

We can do this by using a change of variable.

Let x=t-\frac{5}{6}
2(x^3+\frac{5}{2}x^2-x+2)=0
\therefore x^3+\frac{5}{2}x^2-x+2=0
Substitute t-\frac{5}{6} into the cubic.
(t-\frac{5}{6})^3+\frac{5}{2}(t-\frac{5}{6})^2-(t-\frac{5}{6})+2
(t^3-3(\frac{5}{6})t^2+3(\frac{5}{6})^2t-(\frac{5}{6})^3+\frac{5}{2}(t^2-2(\frac{5}{6})t+(\frac{5}{6})^2)-t+\frac{5}{6}+2
t^3-\frac{5}{2}t^2+\frac{25}{12}t-\frac{125}{216}+\frac{5}{2}t^2-\frac{25}{6}t+\frac{125}{72}-t+\frac{5}{6}+2
t^3-\frac{37}{12}t+\frac{431}{108}

We can then use Cardano’s formula

x=\sqrt[3]{-\frac{q}{2}+\sqrt{(-\frac{q}{2})^2+(\frac{p}{3})^3}}+\sqrt[3]{-\frac{q}{2}-\sqrt{(-\frac{q}{2})^2+(\frac{p}{3})^3}}

p=-\frac{37}{12} and q=\frac{431}{108}
\frac{p}{3}=\frac{-37}{36}
\frac{q}{2}=\frac{431}{216}
(\frac{431}{216})^2+(\frac{-37}{36})^3=\frac{139}{48}
t=\sqrt[3]{\frac{-431}{216}+\sqrt{\frac{139}{48}}}+\sqrt[3]{\frac{-431}{216}-\sqrt{\frac{139}{48}}}
t=-2.21095...
\therefore x=-2.21095...-\frac{5}{6}=-3.044

We can see from the sketch below that there is only one solution and it is about -3.

Leave a Comment

Filed under Cubics, Factorising, Polynomials, Solving