Finite Final

59 flashcardsby Leroy
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
Membership (E)
x={red, blue, yellow}
yellow E x
"yellow is an element of x"
one element in a set
2
Subset (C)
x={red, blue, yellow}
{red, blue} C x
"red and blue are a subset of x"
a set contained within a set
3
Union (U)
A U B
merging two sets together
in A or in B
4
Intersection (n)
elements in A AND in B
must be in both to be correct
5
Complement (A vs. A')
A'
set of elements in the universal set that aren't in A
6
Morgan's laws
A' n B'= (A U B)'
A' U B'= (A n B)'
7
Cartesian product
A={Chicago, Indy, Milwaukee} and B={Detriot, St.Louis}
A x B={(C,D), (C,S), (I,D), (I,S), (M,D), (M,S)}
B x A= {(D,C), (D,I), (D,M), (S,C), (S,I), (S,M)}
they are not equal
8
disjoint sets
when two sets have no elements in common
9
pairwise disjoint
every set in the collection is disjoint from every other set in the collection
10
partition of a set
collection of pairwise, disjoint, non-empty sets who union is the universal set
11
calculate how many subsets in a set
2^n
12
counting for Cartesian products
n(A x B)= n(A) x n(B)
13
counting for union sets
n(A U B)=n(A) + n(B) - n(A n B)
14
counting for union sets when there are 3 sets
n(A U B U C)=n(A) + n(B) + n(C) - n(A n B) - n(A n C) - n(B n C) + n(A n B n C)
15
experiment
activity that produces two or more possible outcomes
ex:
flipping a coin, rolling a die, playing a chess match
16
outcomes
what the experiment produces
ex:
2 outcomes in flipping a coin
6 outcomes in rolling a die
17
sample space
possible outcomes of an experiment put into a set
ex:
(heads, tails) in flipping a coin
(1,2,3,4,5,6) in rolling a die
18
multiplication principle
when a given stage does depend on choices made earlier
ex:
A license plate number consists of 4 letters of the alphabet following by two of the digits 0-9. The letters I and O are not allowed. How big is the sample space?
L L L L D D
24 24 24 24 10 10 = 24^4 x 10^2
19
event
subset of the sample space of an experiment
ex:
"rolling a total of 5" when two die are rolled
{(4,1), (3,2), (2,3), (1,4)} 4/36
20
probability of an event
**weights must add up to 1**
ex:
sample space contains 5 outcomes (O1, O2, O3, O4, O5). The weights are w1= .3, w2= .1, w3= 2w5, w4= w1+2w5. What are the values of all the weights?
w1= .3
w2= .1
w3= .12
w4= .42
w5= .06

ex:
What is the probability of the event {O2, O5}?
w2+w5= .16
21
equally likely outcomes
Pr(E)= n(E)/n(S)
22
slot method (the license example)
doing something with repeated stages
23
permutations
P(n,r)= n!/(n-r)!
- count the number of ways of both selecting and assigning items to specific roles
24
combinations
C(n,r)= n!/(n-r)! r!
- count the number of ways of selecting some number of items
ex:
How many Poker hands contain at least one Ace?
C(4,1)xC(48,4) + C(4,2)xC(48,3) + C(4,3)xC(48,2) + C(4,4)xC(48,1)
25
C(n,0)
1
26
C(n,n)
1
27
C(n,1)
n
28
Permutations vs. Combinations
permutations: counting all the possible arrangements of the chosen elements, selecting and arranging

combinations: different arrangements of the selected elements are not considered distinct, selecting but NOT arranging
29
mutually exclusive
both can't happen at the same time
30
independence
two events are independent when the probability that both events occur is the product of their probabilities
ex:
Pr[E]=.4
Pr[F]=.5
Pr[E n F]=.2
31
Pr[EIF]
the conditional probability of E given F

Pr[EIF]= Pr[E n F]/Pr[F]
32
Bernoulli processes
when there are two possible outcomes

C(n,r) x p^r x q^n-r
33
random variable
the numerical quantity associated with the outcomes of an experiment
34
expected value (mean)
random variable1 x probability1 + random variable2 x probability1 + .....

*when you have to write out the chart with event and probability of it
35
expected value of a binomial
E(x)= np

ex. a weighted coin with probability Pr[H]=.4 is flipped 10 times. What is the expected value of the number of heads?
n x p
10 x .4= 4
36
slope
m= riseun
37
slope intercept form
y= mx+b
*use when you have y-intercept and slope
38
two-point form
y-y1= y2-y1/x2-x1 (x-x1)
*use when you have two points
39
point-slope form
y-y1= m(x-x1)
*use when you have a point and slope
40
standard form
Ax+By=C
41
y=C
horizontal line with a slope of 0
42
x=C
vertical line with an undefined slope
43
three reduction operations
1. reorder the equations
2. multiply an equation by an nonzero number
3. add or subtract any two equations
44
2x2 inverse matrix
(1/ad-bc) d -b
-c a
45
3x3 inverse matrix
superaugment matrix A and I
simplified matrix on the right is the inverse matrix
46
model for industrial production
coal: X(production of coal)=Acc(internal demand for coal)+Asc(internal demand for steel)+Dc(coal for external demand)

steel: X(production of steel)=Ass(internal demand for steel)+Acs(internal demand for coal)+Ds(steel for external demand)
47
production schedule
matrix X= production of coal
production of steel
48
external demand vector
matrix D= external demand for coal
external demand for steel
49
technology matrix
matrix A= amount C needed for C amount C needed for S
amount S needed for S amount S needed for C
50
unknown vector X
X= (I-A)^-1 x D

(I-A)
1 0 - .3 .4 = .7 -.4
0 1 .1 .8 -.1 .2

(I-A)^-1
.7 -.4 = .2 .4 ----> ad-bc= .1
-.1 .2 .1 .7 divide everything by .1

(I-A)^-1 x D
2 4 x 20 = 280
1 7 60 440

you need to produce 280 units of coal and 440 units of steel to produce 20 units of coal and 60 units of steel
51
model for industrial production with 3 industries
I-A and then superaugment that to I, once that is simplified multiple it by D
52
implicit constraints in linear programming
x>=0, y>=0
53
maximizing and minimizing an unbounded set
- pick points on the rays that keep going
- test those along with the other vertices that bind the set
-max and min can't be the test points
54
Markov chain
use this instead of Bernoulli process when a particular outcome depends on the outcome of the preceding trial
55
Markov chain matrix multiplication
probability that a driver will be downtown after dropping off his SECOND customer?
X2= X0 x P^2

X0= [.2 .8]
P^2= .45 .55
.44 .56
X2= [.442 .558]
56
stable vector for 2x2 matrix
determine the probability of a particular outcome of the kth stage of the Markov process

WP=W

add w1+w2=1 to one of the two equations (aka drop one)
57
shortcut to get stable vector for 2x2 matrix
P= 1-a a
1-b b

W= b/(a+b) a/(a+b)
58
stable vector for 3x3 matrix
WP=W

get all the variables to one side to make it equal 0
add w1+w2=1 to one of the three equations (aka drop one)
solve to get w3, then w2, then w1
59
Markov chain regularity
after some number of transitions, P^k has all positive entries
Study all 59 cards for free