F - 1.2 (Quadratics and Cubics)
F - 1.2 (Quadratics and Cubics)
Fall Semester
Learning Block 1
1.2 Quadratic functions
Learning outcomes
1.2.1 Solve a quadratic equation by factorisation
1.2.2 Solve a quadratic equation by completing the
square (CTS)
1.2.3 Recall the quadratic formula for solving
quadratic equations
1.2.4 Find the vertex of a quadratic function and
determine if it is the minimum or the maximum point
1.2.5 Sketch graphs of quadratic functions
1.2.6 Solve application problems involving quadratic
functions
Lecture Outline
Factorization
Solving quadratic
Quadratic functions
Quadratic formula
equation
Competing the
square (CTS)
Finding
coordinates of the
Graphing quadratic vertex
function
Axis of symmetry
Applications
Introduction
A polynomial function of degree 𝒏 is a function
of the form
𝑓(𝑥) = 𝑎𝑛 𝑥 𝑛 + 𝑎𝑛−1 𝑥 𝑛−1 + 𝑎𝑛−2 𝑥 𝑛−2 +. . . +𝑎1 𝑥 + 𝑎0
• 𝑛 is a non-negative integer
• 𝑎0, 𝑎1, 𝑎2, … , 𝑎𝑛 are the coefficients of the polynomial
• 𝑎0, 𝑎1, 𝑎2, … , 𝑎𝑛 ∈ ℝ
• The highest power of 𝑥 is called the degree of the
polynomial
What are polynomial functions of degree 0 and 1?
In this lecture, we will study polynomial functions of
degree 2. They are called quadratic functions.
Quadratic functions
Go to https://www.desmos.com/calculator/fmxds1uvhe
2
𝑦 = 𝑎 𝑥−ℎ +𝑘
𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐
𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐
𝑏
𝑥1 + 𝑥2 = −
𝑎
𝑐
𝑥1 𝑥2 =
𝑎
𝑎 𝑥 − 𝑥1 𝑥 − 𝑥2 = 𝑎 𝑥 2 − 𝑥𝑥1 − 𝑥𝑥2 + 𝑥1 𝑥2
= 𝑎 𝑥 2 − 𝑥1 + 𝑥2 𝑥 + 𝑥1 𝑥2
= 𝑎𝑥 2 − 𝑎 𝑥1 + 𝑥2 𝑥 + 𝑎𝑥1 𝑥2
a) 2𝑥 2 − 6𝑥 = 0
b) 𝑥 2 + 2𝑥 − 24 = 0
Solution
a) The expression in LHS (“Left Hand Side”) has a
common factor of 2𝑥:
2𝑥 𝑥 − 3 = 0
𝑥 = 0 or 𝑥 = 3
Solution
b) 𝑥 2 + 2𝑥 − 24 = 0
Solution
15 16
Vieta’s formula tells us that 𝑚 + 𝑛 = − , 𝑚𝑛 = .
2 2
1 1 𝑚 + 𝑛 −15/2 15
+ = = =−
𝑚 𝑛 𝑚𝑛 16/2 16
➢ When the leading coefficient 𝑎 is not equal to 1,
using Vieta’s formula may not be easy to apply.
𝑛1 = −4, 𝑛2 = 15
2) Rewrite the equation as
6𝑥 2 + 15𝑥 − 4𝑥 − 10 = 0
3) Group: 6𝑥 2 + 15𝑥 − 4𝑥 − 10 = 0
4) Factorize: 3𝑥 2𝑥 + 5 − 2 2𝑥 + 5 = 0
2𝑥 + 5 3𝑥 − 2 = 0
5 2
𝑥 = − and 𝑥 = are the solutions.
2 3
Why does it work?
Suppose 𝑎𝑥 2 + 𝑏𝑥 + 𝑐 = 𝑝𝑥 + 𝑛 𝑞𝑥 + 𝑚
If we multiply out, we get 𝑝𝑞𝑥 2 + 𝑝𝑚 + 𝑞𝑛 𝑥 + 𝑚𝑛
Notice that the coefficient of 𝑥 consists of a sum of
two terms 𝑝𝑚 + 𝑞𝑛. These are the two numbers 𝑛1
and 𝑛2 . So 𝑛1 + 𝑛2 = 𝑏.
Obviously, they are factors of their own product 𝑝𝑞𝑚𝑛,
but we notice that 𝑝𝑞 = 𝑎 and 𝑚𝑛 = 𝑐.
So 𝑛1 𝑛2 = 𝑎𝑐.
You can also explore the ‘criss-cross’ method of
factoring
https://www.youtube.com/watch?v=kgDbUp9vjGA
Your turn!
Factorize by grouping and find the solutions:
−10𝑥 2 − 33𝑥 + 7 = 0
n1 ⋅ n2 = 𝑎𝑐 = −70
n1 + n2 = 𝑏 = −33 ⇒ −35 and 2
2 𝑏 2
To make 𝑥 + 𝑏𝑥 a perfect square, add 2
, the square of
half the coefficient of 𝑥. This gives the perfect square
2 𝑏 2 𝑏 2
𝑥 + 𝑏𝑥 + = 𝑥 +2
2
Example 3 (leading coefficient equals one):
Complete the square 𝑎) 𝑥 2 + 2𝑥 + 3
𝑏) 𝑥 2 + 6𝑥 − 4
𝑎) 𝑥 2 + 2𝑥 + 3 = 𝑥 2 + 2 ⋅ 1𝑥 + 12 − 1 + 3
2
= 𝑥+1 +2
𝑏) 𝑥 2 + 6𝑥 − 4 = 𝑥 2 + 2 ⋅ 3𝑥 + 32 − 9 − 4
= (𝑥 + 3)2 − 13
Example 4 (leading coefficient not equal to one):
Complete the square for
𝑓(𝑥) = 3𝑥 2 + 6𝑥 − 5.
Solution
𝑓(𝑥) = 3(𝑥 2 + 2𝑥) − 5 = 3(𝑥 2 + 2𝑥 + 1) − 3 ⋅ 1 − 5
= 3(𝑥 + 1)2 − 8
Example 4 (leading coefficient not equal to one):
After completing the square, solve the quadratic
equation: 2
3𝑥 + 6𝑥 − 5 = 0
3 𝑥 2 + 2𝑥 + 1 − 3 − 5 = 0
3(𝑥 + 1)2 − 8 = 0
(𝑥 + 1)2 = 8/3
2 6
𝑥 = −1 ±
3
Your turn!
Solve the equation by completing the square:
𝑥2 – 8𝑥 + 13 = 0
𝑥 2 − 8𝑥 + 16 − 16 + 13 = 0
(𝑥 − 4)2 − 3 = 0
𝑥 =4± 3
1.2.3 Recall the Quadratic Formula for
solving quadratic equations
We can use the technique of completing the square to
derive a formula for the solutions to the general
quadratic equation 𝑎𝑥2 + 𝑏𝑥 + 𝑐 = 0.
2 2
𝑏 𝑏 𝑏
𝑎 𝑥2 + 2 ∙ 𝑥+ 2 − +𝑐 =0 ⇔
2𝑎 4𝑎 4𝑎
2 2 2
𝑏 𝑏 𝑏 𝑏2 𝑐
𝑎 𝑥+ = −𝑐 ⇔ 𝑥+ = 2− ⇔
2𝑎 4𝑎 2𝑎 4𝑎 𝑎
3𝑥2 – 5𝑥 – 1 = 0
(3, 2)
vertex
x
-4 4
Your turn!
By completing the square, find the coordinates
of the vertex and the equation of the axis of
symmetry for 𝑓 (𝑥) = 2𝑥2 + 4𝑥 – 1.
𝑓(𝑥) = 2(𝑥 2 + 2𝑥 + 1) − 3 = 2(𝑥 + 1)2 − 3
⇒ Vertex: (−1, −3)
Axis of symmetry: 𝑥 = −1
Example 7
y = f(x)
(0, 1) x
(2, –1)
Solution
Using the vertex (2, –1) into the vertex form,
𝑓(𝑥) = 𝑎(𝑥 − 2)2 − 1
Don’t forget to include the leading coefficient 𝑎!
To find 𝑎, use the given point (0,1)
1 = 𝑎(0 − 2)2 − 1
1 = 4𝑎 − 1 , thus 𝑎 = 1/2
1
𝑓(𝑥) = (𝑥 − 2)2 − 1
2
Try solving this question using 𝑓 𝑥 = 𝑎𝑥 2 + 𝑏𝑥 + 𝑐.
Does it work well?
1.2.5 Sketch graphs of a quadratic functions
Sketching strategy:
1. Does the parabola open upward or downward?
(What is the sign of leading coefficient 𝑎?)
2. y-intercept
4. Vertex
5. Axis of symmetry
Example 8
Sketch the graph of 𝑦 = 𝑥2 + 2𝑥 – 8.
f(x) = x2 + 2x - 8
(0, −8)
(−1, −9)
1.2.6 Solve application problems
Example 9 – projectile motion
As shown in the figure, a ball that is thrown at a 45° angle
with the horizontal travels along a parabolic arc defined by
the equation 𝑦 = 𝑎𝑥 2 + 𝑥 + 𝑐. Use the fact that the ball is
launched at a vertical height of 5 ft and travels a horizontal
distance of 20 ft to find the coefficients 𝑎 and 𝑐. What is the
maximum height attained by the ball?
𝑦
𝑥
20 𝑓𝑡
Solution
We have two unknowns so we must produce two
equations. The first condition is that the ball is
launched at a vertical height of 5 ft. That is, 𝑦 0 = 5.
𝑎∙0+0+𝑐 =5
𝑐=5
The second condition is the ball travels a horizontal
distance of 20 ft, or 𝑦 20 = 0.
2
1
𝑎 ∙ 20 + 20 + 5 = 0 → 𝑎 = −
16
Hence, the model of the parabolic path of the ball is
1 2
𝑦 =− 𝑥 +𝑥+5
16
Solution
What is the maximum height attained by the ball?
(𝑥, 𝑦𝑚𝑎𝑥 )
𝑏 𝑐
● Vieta’s formula 𝑥1 + 𝑥2 = − 𝑎 , 𝑥1 𝑥2 = 𝑎
Composite Inverse of a
functions function
Finding 𝑓 ∘ 𝑔, One-to-one
𝑓∘𝑔∘ℎ functions
Horizontal line
Finding the domain test
of 𝑓 ∘ 𝑔
Finding an inverse
‘Decomposing’ function, its domain
functions and range