Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Summations  The summation symbol should be one of the easiest math symbols for you.

Slides:



Advertisements
Similar presentations
MATH 224 – Discrete Mathematics
Advertisements

Unit 0, Pre-Course Math Review Session 0.2 More About Numbers
A sequence is a set of numbers arranged in a definite order
Fundamentals of Forensic DNA Typing Slides prepared by John M. Butler June 2009 Appendix 3 Probability and Statistics.
Discrete Structures Chapter 2 Part A Sequences Nurul Amelina Nasharuddin Multimedia Department.
Summation Notation. Terminology k –index of summation 1- lower limit n-upper limit.
Summation Notation.  Shorthand way of expressing a sum  Uses the Greek letter sigma: ∑ k is called the index of summation n is called the upper limit.
8.4 Logarithms p. 486.
Using the Properties of Logs. You already learned how to solve simple log equations. Now we are going a step or two farther. These equations are solved.
Fundamentals of Probability
Logarithms 28 August, 2015F L1 MH Objectives : To know what log means To learn the laws of logs To simplify logarithmic expressions To solve equations.
Unit 4: Mathematics Introduce the laws of Logarithms. Aims Objectives
Aim: What is the natural logarithms? Do Now: HW: p.338 # 8,16,20,26,30,38,42,48,50,52,56,58 Given f(x) = e x write the inverse function.
Logarithms AS Physics Skills. Homework Complete logarithms homework sheet.
1 Logarithms Definition If y = a x then x = log a y For log 10 x use the log button. For log e x use the ln button.
Derivative of the logarithmic function
MAC 1105 Section 4.3 Logarithmic Functions. The Inverse of a Exponential Function 
Solving Exponential Equations…
Arithmetic of Positive Integer Exponents © Math As A Second Language All Rights Reserved next #10 Taking the Fear out of Math 2 8 × 2 4.
Sequences Informally, a sequence is a set of elements written in a row. – This concept is represented in CS using one- dimensional arrays The goal of mathematics.
Probability Lesson 1 Aims:
MATH 224 – Discrete Mathematics
Copyright © Cengage Learning. All rights reserved. Solving Exponential and Logarithmic Equations SECTION 6.4.
Unit 11, Part 2: Introduction To Logarithms. Logarithms were originally developed to simplify complex arithmetic calculations. They were designed to transform.
1 Managerial Finance Professor Andrew Hall Statistics In Finance Probability.
Unit 9 Seminar Agenda Rational Exponents Logarithmic Functions
Unit 11, Part 2: Introduction To Logarithms. Logarithms were originally developed to simplify complex arithmetic calculations. They were designed to transform.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Section 3.3a!!!. First, remind me… What does the horizontal line test tell us??? More specifically, what does it tell us about the function This function.
A summary of the algebra concepts. Sequences and Series Some sequences are arithmetic because there is a common difference between terms. We call the.
46: Indices and Laws of Logarithms
Sequences & Summation Notation 8.1 JMerrill, 2007 Revised 2008.
Factorial Notation For any positive integer n, n! means: n (n – 1) (n – 2)... (3) (2) (1) 0! will be defined as equal to one. Examples: 4! = =
Logarithmic Functions & Graphs, Lesson 3.2, page 388 Objective: To graph logarithmic functions, to convert between exponential and logarithmic equations,
Integrals 5. Evaluating Definite Integrals Evaluating Definite Integrals We have computed integrals from the definition as a limit of Riemann sums.
Algorithms and their Applications CS2004 ( ) Dr Stephen Swift 3.1 Mathematical Foundation.
Array Cs212: DataStructures Lab 2. Array Group of contiguous memory locations Each memory location has same name Each memory location has same type a.
Inverses. Additive Inverse Inverses are related to the properties of real numbers. The additive inverse is the same number with the opposite sign – it.
Summer 2004CS 4953 The Hidden Art of Steganography A Brief Introduction to Information Theory  Information theory is a branch of science that deals with.
Chapter 5-The Integral Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
Logarithms - Change of Base When working with logarithms, we sometimes want to enter the log into the calculator. If the base is 10 or e, this is done.
Aim: What is the summation notation?
Objectives The student will be able to:  use Sigma Notation  find the mean absolute deviation of a data set SOL: A
Table of Contents Logarithm Properties - Product Rule The Product Rule for logarithms states that... read as “the log of the product is the sum of the.
Section 9-4 Sequences and Series.
11.4 Properties of Logarithms. Logarithms A logarithm is an operation, a little like taking the sine of an angle. Raising a constant to a power is called.
MAT 1221 Survey of Calculus Section 4.5 Derivatives of Logarithmic Functions
Logarithmic Functions Recall that for a > 0, the exponential function f(x) = a x is one-to-one. This means that the inverse function exists, and we call.
Probability. What is probability? Probability discusses the likelihood or chance of something happening. For instance, -- the probability of it raining.
46: Indices and Laws of Logarithms
Entropy (YAC- Ch. 6)  Introduce the thermodynamic property called Entropy (S)  Entropy is defined using the Clausius inequality  Introduce the Increase.
Properties of Logarithms. Basic Properties All logarithmic functions have certain properties. The basic properties are:
3.3 Day 2 Condensing Logarithmic Expressions The Change of Base Property Pg. 408 # even, even.
Aim: What is the common logarithms?
Lesson 3.4 Properties of Logarithms
Chapter 3 Exponential & Logarithmic Functions. 3.1 Exponential Functions Objectives –Evaluate exponential functions. –Graph exponential functions. –Evaluate.
Introduction To Logarithms. Warm up You are investing $2500 in an account that earns 4% interest. How much money will you have in your account at the.
Definition if and only if y =log base a of x Important Idea Logarithmic Form Exponential Form.
CSE373: Data Structures and Algorithms Lecture 3: Math Review; Algorithm Analysis Linda Shapiro Winter 2015.
Section 13.6: Sigma Notation. ∑ The Greek letter, sigma, shown above, is very often used in mathematics to represent the sum of a series.
7.4 Logarithms p. 499 What you should learn: Goal1 Goal2 Evaluate logarithms Graph logarithmic functions 7.4 Evaluate Logarithms and Graph Logarithmic.
5.1 Exponential Functions
Logarithms and Logarithmic Functions
A Brief Introduction to Information Theory
Pre-AP Pre-Calculus Chapter 3, Section 4
Sets A set is simply any collection of objects
Common Logarithms.
Series.
Summation Notation.
46: Indices and Laws of Logarithms
Presentation transcript:

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Summations  The summation symbol should be one of the easiest math symbols for you computer science majors to understand – if you don’t now, you will!

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Summations  The summation symbol should be one of the easiest math symbols for you computer science majors to understand – if you don’t now, you will!  This symbol simply means to add up a series of numbers  The equivalent in C is: –int j, sum = 0; –for(j = 0; j < n; j++) –{ sum = sum + X j ; }  How many times will this loop?

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Summations  n = total number of elements  P = probability of occurrence of a particular element  X = element  j = index  If p j is the same for all elements (this is called equiprobable), then what is a simple, everyday name for ‘a’?  Sometimes, ‘n’ is not shown so it just means to SUM over the entire set, whatever the size

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Logarithms  Definition: log b N = x is such that b X = N  Read as “the logarithm base b of N equals x”  You have two logarithm buttons on your calculator –“log” and “ln” –log is base 10 and ln is base e (e ~ 2.71) –ln is called the natural log and has numerous scientific applications  You also have three inverse log buttons –10 X, e X, y x  Unfortunately, we will deal with log base 2, and you do not (likely) have this buttons available   However, there is a formula to help you out

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Logarithms  log b N = log a N/log a b  The value of ‘a’ is arbitrary, so you can use either log base 10 or log base ‘e’  Some other properties of logarithms (base is irrelevant) –log (N * M) = log N + log M note: 10 x * 10 y = 10 (x + y) –log (N / M) = log N – log M –log N M = M log N –log b b = 1 (base matches number) –log 1 = 0 –log 0 = undefined  For log base 2, we will use the notation “lg” –log 2 N = lg N  Unless otherwise indicated, log N will imply a base of 10

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Logarithms  Examples – should be able to answer by inspection –3 + 5 = ?  You see how quickly you can answer the above question? That’s how fast you need to be able to answer these: –log 1? –log 10? –log 100? –log 1000? –log ? –lg 1? –lg 2? –lg 256? –lg 1024? –lg ?  Don’t wait, learn the properties now!

Summer 2004CS 4953 The Hidden Art of Steganography Required Math - Logarithms  A few other properties: –Log N > 0 if N > 1 –Log N = 0 if N = 1 –Log N 0 && N < 1  What about the inverse lg?  Example, what is the inverse lg of 8?  inv log 6?  inv log 0?  inv lg 12?

Summer 2004CS 4953 The Hidden Art of Steganography Background - Probability  Probability may be defined in several ways  It may be the likelihood of outcomes of a certain set of events, for example, the flipping of a coin –How many possible outcomes are there?  Another way of looking at probability is that it is a measure of human surprise at the outcome  More surprise, more information, lower probability  Probability is always between zero and one –Probability = zero means it will NOT happen (is this EVER true?) –Probability = one means it will happen (is this ever true?)