Lectures1 2-1 7
Lectures1 2-1 7
Lectures1 2-1 7
1 1 2
− =
(x + 1)(x + 2) (x + 2)(x + 3) (x + 1)(x + 2)(x + 3)
(1 − x)(1 + x + ⋯ + xn−1 ) = (1 − xn )
Visualising Expressions
and Equations
Where is the treasure exactly?
y
200m
500m
x
Cartesian coordinate system
y
Quadrant 2 Quadrant 1
origin
https://www.desmos.com/calculator/rdglesuejh?embed
x
Quadrant 3 Quadrant 4
Showing relationships/equations on graph
y
6 Example: y = 2x
5
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 x
−1
Another −2
example −3
−4
Relationships and
−5
equations are visualised
−6
as lines and curves on
x − y plane
Linear relationships
y = mx
y
https://www.desmos.com/calculator/zw2o7hco m: slope
mi?embed x
Slope: parameter
High slope - line climbs steeply
Low slope - line climbs slowly
Example: Distance = Speed × Time
d
https://www.desmos.com/calculator/hvacrzrj2j?
d = vt
embed t v : slope
https://www.desmos.com/calculator/hvacrzrj2j?
V = IR
embed I R: slope
m: slope
https://www.desmos.com/calculator/om6xxokyvn?
embed b: y intercept
Parabolic shape
Examples
https://www.desmos.com/calculator/d
MOSFET current
kwrlpe2ne?embed Area computations
Distance under
constant acceleration
a, b, c: parameters
Exponentials
y = P (1 + r)x
Examples
https://www.desmos.com/calculator/k Diode current
jhhesi1aw?embed
Compound interest
Iterative computations
P , r: parameters
Functions of one real
variable
What is a function of one real variable?
https://www.desmos.com/calculator/zrxci9p9bb?embed
relationship, but
function not function
Science experiments
Relationships are plotted as graphs
and expressions are derived to fit
the graph!
Notation and definition
Function f
Addition Subtraction
Multiplication Division
f (x)
f (x)g(x),
g(x)
3+x
Examples: 3x, x2 , x10 10x , 2
,…
2 + 3x + 4x
Problems and
Graphical solutions
Problems: Graphical solution
1. A shopper needs to buy a total of 5 Kgs of apples and oranges with a
budget of Rs. 1000. Apples cost Rs. 250 per Kg and oranges cost Rs. 125 per
Kg. How many Kgs of apples and how many Kgs of oranges can the shopper
purchase?
3. On a deposit of Rs. 100000, compare the returns at the end of 1 year under
(a) 10% simple interest per annum and
(b) 1% compound interest compounded quarterly.
What rate of quarterly compound interest is better than 8% simple interest?
y = mx + b
y2 − y1 = m(x2 − x1 )
y2 − y1
=m
x2 − x1
Line through two points
(x2 , y2 )
(x1 , y1 ) and (x2 , y2 )
(x1 , y1 ) y2 − y1
(0, b) Slope m =
x2 − x1
b − y1 b − y1
m= =
0 − x1 −x1
y2 − y1 y2 − y1
y=( )x − ( ) x1 + y1 y2 − y1
=m=
b − y1
x2 − x1 x2 − x1 x2 − x1 −x1
y2 − y1
y − y1
=
y2 − y1 b = −( ) x1 + y1
x − x1 x2 − x1 x2 − x1
Examples
Find the equation of a line through each pair of points.
1. (3, 4) and (5, 10)
2. (−5, 0) and (0, 5)
3. (−3, −4) and (1, 1)
Intersection of two straight lines
y = m2 x + b2 y = m1 x + b1
m1 x0 + b1 = m2 x0 + b2
b2 − b1 m1 b2 − m2 b1
y0 = m1 ( ) + b1 =
b2 − b1
x0 =
m1 − m2 m1 − m2 m1 − m2
Examples
Find the intersection of each pair of lines.
1. y = 3x + 4 and y = 4x + 5
2. 2x + 3y = 4 and 3x + 4y = 5
3. x − 3y = 4 and 2x − 6y = 6
4. 3x − y = 4 and 6x − 2y = 8
Example: Shopping & Linear Relationships
A shopper needs to buy a total of 5 Kgs of apples and oranges
with a budget of Rs. 1000. Apples cost Rs. 250 per Kg and
oranges cost Rs. 125 per Kg. How many Kgs of apples and how
many Kgs of oranges can the shopper purchase?
Quadratics
Techniques involving functions
Given function f : R → R
Eg: f (x) = 3x − 8, f (x) = x2 − 3x + 6, f (x) = 2.5x etc
f (x) = mx + b
b = 0: linear function
0: affine function
b=
f (x) = ax2 + bx + c
a = 0: affine function
We will assume a =
0
f (x) = ax2
b = 0, c = 0: only square term left
Plot is for a > 0
Given y0 , find x0 such that
f (x0 ) = y0
If y0 is not the same sign
as a, no such x0
If y0 is same sign as a, two y0
possibilities
x0 = y0 /a − y0 /a y0 /a
x0 = − y0 /a
Quadratics: Easy case shifted along x
f (x) = a(x − x1 )2
Assume a > 0, a is positive
f (x) = a(x − x1 )2
f (x) = a(x − x1 )2 + y1
Assume a > 0, a is positive
f (x) = a(x − x1 )2 + y1
Assume a > 0, a is positive
f (x) = a(x − x1 )2 + y1
Assume a < 0, a is negative
f (x) = ax2 + bx + c
ax2 + bx + c = a (x2 + x) + c
b
a
2
b2
= a (x + ) + c −
b
2a 4a
−b b2 − 4a(c − y0 )
x0 = ±
2a 2a
Function f : R → R
Roots of f : values of x such that f (x) = 0
x0 x0
Roots of a quadratic
f (x) = ax2 + bx + c = a(x − x1 )2 + y1
−b 4ac − b2
where x1 = , y1 =
2a 4a
−b b2 − 4ac y1 = 0
Roots: ± if b2 − 4ac ≥ 0 −b
2a 2a 1 root:
2a