Methodology
Methodology
Methodology
As for task 1, a quadratic function, f(x) = x2 − 2x + 5 which is in a form of
f(x) = Ax2 + Bx + C is given
where,
1. 2x2 + 4x + 5
2. x2 − 4x + 7
3. −x2 + 4x − 7
4. 3x2 − 2x + 1
5. −x2 + 4x − 9
The roots of f(x) = 0 and coordinates of A’ and B’ are tabulated with the obtained
results.
x2 − 2x + 5
2x2 + 4x + 5
x2 − 4x + 7
Methodology 1
−x2 + 4x − 7
3x2 − 2x + 1
−x2 + 4x − 9
For task 2, a cubic function with one real root,x1 = 1 and two complex roots,x1 and
x3 , g(x) = x3 − 9x2 + βx − 17 where β is a constant. The complex roots of
g(x) = 0 can be determined by the following methods:
1. Method 1
Used formula,
where
Sum of roots= x1 + x2
Product of roots= x1 x2
2. Method 2
The value of β , a constant can be found by using factor theorem where the factor is
1. By subsituting g(1) = 0, the value of β is found. Hence, a cubic function g(x) =
Ax3 + Bx2 + Cx + D where A,B,C and D are all constant are found.
As the β value is obtained, long division is used to obtained the cubic function in a
form of g(x) = (x − x1 )(ax2 + bx + cx) where,
x1 = the factor of the function,
A= the coefficient of x2 ,
Methodology 2
C= a constant
−b ± b2 − 4ac
x=
2a
is used to find the complex roots of g(x) = 0, x2 and x3 .
3. Method 3
By using the value of β that determined in method 2, the complex roots of g(x)=0 is
found by performing the following steps:
(c) The gradient of the line y = mx + c which passes through the real root, x1 and
the point (a, g(a)) for various numbers of a is determined.
a g(a) g ′ (a) m
: : : :
g′ (a) = m is determined and the relation between these values of a, m and the
complex roots of g(x) = 0 is obtained by observing the results.
Methodology 3