Professional Documents
Culture Documents
Engineering Lec1
Engineering Lec1
Absolute Value
Division By Zero
Lecture 1
Introduction
Absolute Value
Division By Zero
Introduction
2).
the set.) The set is unbounded. It goes from minus innity () to plus innity ().
The set of real numbers is denoted IR. If a number x is a real number, we may write
Introduction
Absolute Value
Division By Zero
Each number corresponds to a unique point along the line and conversely,
Introduction
Absolute Value
Division By Zero
ordered. Integers, rational numbers share the same property (as they are part of the set of real numbers), but for example, complex numbers do not.
a > b, which means a is strictly greater than b , if a b is a strictly positive number (i.e. positive, non-null). Equivalently a stands on the right of b along the real line.
Introduction
Absolute Value
Division By Zero
Note that dividing by a number follows the same rules as multiplying by a number. If the number we divide by is positive then we keep the same inequality, if it is negative we need to reverse the inequality, as we see above for multiplication. Recall than dividing by c , is nothing but multiplying by 1/c .
Introduction
Absolute Value
Division By Zero
means greater than or equal to. < means strictly less than. means less than or equal to. All these inequalities follow similar properties.
Introduction
Absolute Value
Division By Zero
Absolute Value
absolute value of a number is the value of the number disregarding its sign, or to be more specic considering it as positive. denoted |a| (also called the modulus of a) is a if a < 0, |a| = a if a 0.
Introduction
Absolute Value
Division By Zero
Division By Zero
Dividing by zero does not make any sense. NEVER DIVIDE BY
ZERO!!!!!!!
consider below some examples where we divide by zero and reach silly conclusions.
a = c. b Multiplying the equation by b , we obtain a = bc . Now, imagine b = 0, that means that a = 0, while c can still be anything we want! Going back to the initial equation, we have 0 = c , c IR. 0 It clearly does not make sense. Rule: Do not ever divide an equation by something that could be zero.
Introduction
Absolute Value
Division By Zero
Division By Zero
Example 2: 1 = 2 ?!
In this example, we are going to wrongly show that 1 = 2, again due to a wrong division by zero along the way. Again we start from the most harmless of all equation: a = b.
Now we multiply the equation by b to get, ab = b 2 . Then we add (b 2 2ab ) on both sides of the equation, ab + (b 2 2ab ) = b 2 + (b 2 2ab ). Simplifying (b 2 ab ) = 2(b 2 ab ). 1 = 2. which is obviously wrong. What happened? In the last step, we have divided the equation by b 2 ab . But since a = b , b 2 ab = 0, we have therefore divided by zero, and have reached a stupid conclusion.
Introduction
Absolute Value
Division By Zero
ax 2 + bx + c = 0,
The two real solutions (or roots) to the quadratic equation are
where x is the unknown and a, b and c are three real constants. We shall assume that a = 0. Note: if a = 0, the equation becomes linear bx + c = 0 so x = c /b. b b 2 4ac , 2a
x= provided b 2 4ac 0.
ax 2 + bx + c = 0, and that a and c have opposite sign, you will always nd two real solutions. Obviously, b 2 is positive as it is a square. If a and c have opposite sign, ac must be negative. So -4ac is positive. Therefore b 2 4ac is positive, so we can evaluate b 2 4ac.
Introduction
Absolute Value
Division By Zero
This manipulation is called completing the square. Our quadratic equation is then 2 2 b c b c b = 0, x2 + x + = x + a a 2a 4a2 a or 2 2 b b 4ac x+ . = 2a 4a2
Introduction
Absolute Value
Division By Zero
If b 2 4ac 0, b 2 4ac =
2 2 2 b 4ac b . = x+ 2a 2a b 2 4ac b = , 2a 2a
2 b 2 4ac , therefore
Finally
x=
b 2 4ac , 2a
Introduction
Absolute Value
Division By Zero
If d 0, let us dene =
d . The solutions (or roots) x1 and x2 to the quadratic equation can be expressed as x1 = b , 2a b + 2a
and x2 =
If = 0, then x1 = x2 . There is only one root, called a double root. If = 0, then the two roots are dierent. Note that then x2 x1 = /a = 0. If d < 0, there cannot be real solutions. Going back to the result
2 b 4ac b 2 = x+ , 2a 4a2 we have an equation where the left-hand side is positive (as it is a square of a real number) and the right-hand side is negative. This is impossible for real numbers.
Introduction
Absolute Value
Division By Zero
x1 = and x2 =
Then
b , 2a b + 2a
x1 + x2 =
b b + b = . 2a a 1 1 (b )(b +) = 2 (b 2 2 ), 4a2 4a
and x1 x2 = b 2a b + 2a =
x1 x2 =
Introduction
Absolute Value
Division By Zero
x2 +
b c x + = 0, a a
the coecient in front of the term in x (namely b /a) is the opposite of the sum of the roots (namely (x1 + x2 )), while the constant term (namely c /a) is the product of the roots (namely x1 x2 ). These properties are very handy when one of the roots is obvious. We can deduce the second one very rapidly.
We also see the obvious result that
x2 +
c b x + = x 2 (x1 + x2 )x + x1 x2 = (x x1 )(x x2 ) = 0. a a
the equation.
Introduction
Absolute Value
Division By Zero
x 2 4x + 3 = 0 It is clear that x1 = 1 is a solution as (1)2 4 1 + 3 = 0. To nd the second root, we may use the fact that the sum of the roots is the opposite of the coecient in front of x , which is therefore 4 = (4), hence the second root x2 must be 4 1 = 3. Alternatively we could have used the fact that the product of the roots is the constant term in the equation: 3 .