Basic Algebra Lecture
Basic Algebra Lecture
What is an Equation
• An equation says that two things are equal. It
will have an equals sign "=" like this:
𝒙 + 1 = 5
• The equation above says: what is on the left (𝒙
+ 1) is equal to what is on the right (5). The 2
sides are equal when the value of 𝒙 is 4.
• So an equation is like a statement
"this equals that”
Parts of an Equation
Parts of an Equation
0 Constant 7
1 Linear 𝒙+3
2 Quadratic 𝒙2-𝒙+2
3 Cubic 𝒙3-𝒙2+5
Higher degree equations
are usually harder to solve.
Adding and Subtracting Polynomials
• To add and subtract polynomials
we simply add or subtract
any like terms together
Like Terms
• Like terms are terms that have the same variable
part.(Note: the coefficients can be different)
• Example:
Place like
terms 2𝒙2 + 3𝒙2 + 6𝒙 - 2𝒙 + 5-1
together:
= 5𝒙2 + 4𝒙 + 4
Expanding
Expanding
• "Expanding" means removing the ( )
• Whatever is inside the ( ) needs to be treated
as a "package".
• So when you multiply, you have to multiply by
everything inside the "package".
• Example: Expand 3(5+2)
3(5+2) = 3 * 5 + 3 * 2
= 21
• In Algebra putting two things next to each
other usually means to multiply.
• So 3(a+b) means to multiply 3 by (a+b)
= 3*a + 3*b = 3a + 3b
• -3(a – 5) = -3a + -3(-5) = -3a + 15
• 2y (y - a) = 2y*y + 2y(-a) = 2y2 – 2ay
• a(2-b+c) = 2a – ab +ac
• Example: Simplify the expression
6 𝑥 + 2 + 4 6𝑥 + 9
Solution:
6 𝑥 + 2 + 4 6𝑥 + 9
= 6𝑥 + 12 + 24𝑥 + 36
= 6𝑥 + 24𝑥 + 12 + 36
= 30𝑥 + 48
• Example: 9 2𝑥 − 6 − 4(5𝑥 − 8)
• Ans: 𝑥 = −2𝑥 − 22
= −2(𝑥 + 11)
Solving Linear Equations
Solving a Linear equation
• The basic rule is using transposition to isolate the
variable to one side of the equation (usually, the
left side), and the constants to the right side, so
that you can solve the equation.
We will look at 2 methods:
• Method 1: Performing the same operation on
both sides of the equation
• Method 2: A shortcut that allows you to work
faster, where we isolate the variable by
moving like terms to one side of the equation.
Method 1: Solving a Linear Equation
• Figure out what to remove to get "𝒙 = ..."
• Remove it by doing the opposite operation
• Perform the operation on both sides
• Example 1: 𝒙+9 = 11 (We want to remove the 9)
𝒙 + 9 - 9 = 11 – 9 (Subtract 9 from both sides)
𝒙+0=2 𝒙=2
• Example 2:
4 𝒙 = 8 (We want to remove the 4)
4 𝒙 /4 = 8/4 (Divide both sides of equation by 4)
𝒙=2
Method 2: Solving a Linear Equation
• We isolate the variable by moving like terms to one side of the equation.
To maintain the equality of both sides, there are two rules for Method 2.
• When moving a term to the other side of the equal sign:
1. Change the sign (for addition and subtraction of terms in the
equation)
2. Flip the coefficient (for multiplication and division of terms in the
equation)
• Solve 𝒙 + 9 = 11
Notice that our previous method of subtracting 9 from both sides is
basically moving 9 over to the other side of the equation and changing
the sign. 𝑥 = 11 − 9 𝑥=2
• Solve -4 𝒙 = 8
8
𝑥= 𝑥 = −2
−4
• Here, dividing both sides by -4 is basically flipping -4 over to the other
side.
Solving equations with variables on
both sides
Consider the equation 𝑥 − 6 = −2𝑥 + 3
• To isolate the variable, we need to get all the
variable terms to one side and the constant
terms to the other side.
• Next, we combine like terms and then isolate
the variable by multiplying or dividing.
Solve 𝒙 − 𝟔 = −𝟐𝒙 + 𝟑
• Step 1: Get all the variable terms to one side and the constant
terms to the other side.
𝑥 + 2𝑥 = 3 + 6 (Adding 2𝑥 and 6 to both sides, or using
Method 2)
• Step 2: Combine like terms
3𝑥 = 9
• Step 3: Divide or multiply to isolate the variable
• Dividing both sides of the equation by 3, or using Method 2
𝑥 =3
• Check:
Substituting 𝑥 =3 into the original equation, 𝑥 − 6 = −2𝑥 + 3
3 − 6 = −2 ∗ 3 + 3
−3 = −3
Word Problems using Linear Equations
• The length of a rectangle is twice that of its
width. The perimeter of the rectangle is 24 cm.
What is the width of the rectangle?
Let L be the length, and W be the width of the
rectangle.
L = 2W……………(1)
2L + 2W = 24………(2)
Substituting the value of L from (1) into (2),
2(2W) + 2W = 24
4W + 2W = 24
6W = 24
W = 24/6 = 4 cm.
Word Problems using Linear Equations
• Marcus, Sally and Sammy decided to share 20
sweets. Marcus took 8 sweets and Sally took
three times as many as Sammy. How many
sweets did Sammy receive?
• Let s be the number of sweets that Sammy
received
No. of sweets taken by Sally = 3s
8 + 3s + s = 20
4s + 8 = 20
4s = 20 – 8 = 12
s = 12/4 = 3
Sammy received 3 sweets
Solving a System of Linear Equations
• In some word problems, we may need to translate the
sentences into more than one equation.
• If we have two unknown variables then we would need
at least two equations to solve the variable. In general,
if we have n unknown variables then we would need at
least n equations to solve the variable.
• There are a combination of techniques you can use to
eliminate a variable when you need to solve more than
one equation:
– Multiply or divide an equation by a constant
– Adding or subtracting the equations
• Once we have eliminated a variable, we substitute the
value of the variable in one of the equations to find the
value of the other variable.
• Example 1:
2𝑥 + 3𝑦 = −2 ……..(equation 1)
4𝑥 − 3𝑦 = 14 ……..(equation 2)
• We can add equations (1) and (2) to eliminate the variable y since the +3y and -3y
will cancel out.
• Adding the two equations, we get
2𝑥 + 3𝑦 + 4𝑥 − 3𝑦 = −2 + 14
2𝑥 + 4𝑥 + 3𝑦 − 3𝑦 = 12
6𝑥 = 12 𝑥 = 12/6 𝑥=2
We can now substitute the value of 𝑥 into either equation (1) or (2).
Let us use equation (1)
2(2) + 3𝑦 = -2
4 + 3𝑦 = -2
3𝑦 = −2 − 4
3𝑦 = −6 𝑦 = -6/3 = -2
• The formula on the right, is the rule, that tells you how
to calculate the subject.
𝑨
Divide both sides by 𝜋: = 𝑟2
𝝅
𝐴
Take square root on both sides: =𝑟
𝜋
𝐴
Swap sides: 𝑟=
𝜋
Cross Multiplication
Cross Multiplication
Cross Multiply
• Cross multiplying means multiplying the numerator on
one side of the equation by the denominator on the
other side of the equation.
• To find the solution of an equation:
Given an equation, we want to solve for 𝑥
𝑥 2
=
8 𝑥
Cross multiplying, 𝑥 ∗ 𝑥 = 2*8
= 𝑥 2 = 16
Taking the square root on both sides of the equation,
2
𝑥= 16 = +4 or -4
Inequalities
Inequalities
• An inequality is a mathematical sentence in
which two expressions are joined by relational
symbols such as >, < etc.
Inequalities
= 0.008
Negative Exponents
• That last example showed an easier way to
handle negative exponents:
Exponent = 0 Indeterminate
Fractional Exponents
• But what if the exponent is a fraction?
• An exponent of 1/2 is actually square root
• And an exponent of 1/3 is cube root
• An exponent of 1/4 is 4th root
• And so on!
With () : (ab)2 = ab × ab
Without () : ab2 = a × (b)2 = a × b × b
• Rule 2: 𝒙m ÷ 𝒙n = 𝒙(m-n)
Powers are subtracted
For example: 65 ÷ 63 = 6(5-3) = 62 = 36
Rules for Exponents
• Rule 3: (𝒙m)n = 𝒙m*n
• Rule 4: 𝒙1 = 𝒙
• Rule 6: 1m = 1
1 1
• Example 2: 2-3 = =
23 8
Laws of Exponents Summary
(m and n can be positive or negative)
Law Example
𝒙1 = 𝒙 61 = 6
𝒙0 = 1 70 = 1
𝒙-1 = 1/𝒙 4-1 = 1/4
• (2𝒙y)(4y) = 8𝒙y2
𝑥3𝑦 𝑥 3 𝑦𝑧 2 𝑥2
• = = 𝑥3-1y1-2 = 𝑥2y-1 =
𝑦2 𝑥𝑦 2 𝑧 2 𝑦
• (Note that the 𝑧2s cancelled out)
• When we multiply or divide by a number with
a negative power, the same rules apply.
• Example 1: 92.9-2 = 9(2+(-2)) = 90 = ____?
2 1
This is the same as 9. = 90
92
7 2 72 49
( ) =
3 32
=
9
Logarithms
Logarithms
• Exponents and Logarithms are related, let's
find out how ...
𝑒𝑥𝑝
𝑏𝑎𝑠𝑒 = 𝑅𝑒𝑠𝑢𝑙𝑡 means
log 𝑏𝑎𝑠𝑒 𝑅𝑒𝑠𝑢𝑙𝑡 = e𝑥𝑝
• Therefore, using the common log, where the
base is 10,
𝒆𝒙𝒑
𝟏𝟎 = 𝑹𝒆𝒔𝒖𝒍𝒕 means
𝐥𝐨𝐠 𝑹𝒆𝒔𝒖𝒍𝒕 = 𝐞𝒙𝒑
Natural Logarithms: Base "e"
• Another base that is often used is e (Euler's
Number) which is approximately 2.71828.
• This is called a "natural logarithm".
Mathematicians use this one a lot.
• On a calculator it is the "ln" button.
• Example: ln(7.389) = loge(7.389) ≈ 2
Laws of Logarithms
• 𝑙𝑜𝑔 1 = 0 (since 100 = 1)
• log 𝑎 + log 𝑏 = 𝑙𝑜𝑔 𝑎𝑏 (or vice versa)
Eg., 𝑙𝑜𝑔 2 + 𝑙𝑜𝑔 5 = 𝑙𝑜𝑔 10
𝑎
• 𝑙𝑜𝑔 𝑎 - 𝑙𝑜𝑔 𝑏 = 𝑙𝑜𝑔 (or vice versa)
𝑏
54
Eg., 𝑙𝑜𝑔 54 - 𝑙𝑜𝑔 9 = 𝑙𝑜𝑔 = 𝑙𝑜𝑔 6
9
• 𝑙𝑜𝑔 𝑎𝑛 = n 𝑙𝑜𝑔 𝑎 Eg., 𝑙𝑜𝑔 5 = 3 𝑙𝑜𝑔 5
3
Solving equations using Logs
• Solve 𝑙𝑜𝑔 𝑥 = 2
• We know that 𝑙𝑜𝑔 𝑅𝑒𝑠𝑢𝑙𝑡 = e𝑥𝑝
means 10𝑒𝑥𝑝 = 𝑅𝑒𝑠𝑢𝑙𝑡
• Writing the original equation in exponent
form,
102 = 𝑥
Hence, 𝑥 = 100
Solving equations using Logs
1
• Solve 𝑙𝑜𝑔 𝑥 =
2
• We know that 𝑙𝑜𝑔 𝑅𝑒𝑠𝑢𝑙𝑡 = e𝑥𝑝
means 10𝑒𝑥𝑝 = 𝑅𝑒𝑠𝑢𝑙𝑡
Writing the original equation in exponent form,
1
10 = 𝑥
2
Hence, 𝑥 = 10
= 3.16 rounded to 2 dp.
Solving equations using Logs
• Solve 2𝑥 = 15
• We would have no problem solving this equation if the
question was 2𝑥 = 16