Professional Documents
Culture Documents
1
What is Operation Research?
What is Operation Research?
What is Operation Research?
During World War II, British military leaders asked
scientists and mathematicians to analyze several
military problems, involving
• the deployment of radar
• the management of convoys, bombing,
antisubmarine, and mining operations.
4
What is Operation Research?
6
What is Operation Research?
The Methodology of Operations Research
8
9
10
Deterministic vs Stochastic
Models
Deterministic models
assume all data are known with certainty
Stochastic models
explicitly represent uncertain data via
random variables or stochastic processes
12
Chapter 12
lim f ( x) c
x a
14
Example 1
15
Example 1
Solution
1. To verify this result, evaluate x2-2x for values of x close
to, but not equal to, 2.
2. To verify this result, observe that as x gets near 0,
becomes either a very large positive number or a very
1 1
large x negative number.. Thus, as x approaches 0, x will
not approach any single number.
16
Definition: A function f(x) is continuous at
a point a if
lim f ( x) f (a)
x a
17
Example
Bakeco orders sugar from Sugarco. The per-
pound purchase price of the sugar depends on
the size of the order. Let
x = number of pounds of sugar purchased by
Bakeco
f(x) = cost of ordering x pounds of sugar
Then
f(x) =25x for 0 ≤ x < 100
f(x) =20x for 100 ≤ x ≤ 200
f(x) =15x for x > 200
For all values of x, determine if x is continuous
or discontinuous.
18
19
Example – cont’d
Solution
It is clear that
lim f ( x) and lim f ( x)
x100 x200
20
Differentiation
The derivative of a function f(x) at x = a
(written f’(a)] is defined to be
f (a x) f (a)
lim
x 0 x
23
Differentiation
Higher Derivatives
We define f(2)(a)=f ′′(a) to be the derivative of the
function f ′(x) at x=a.
Similarly, we can define (if it exists) f(n)(a) to be the
derivative of f(n-1)(x) at x=a.
24
Differentiation
Given that fn+1(x) exists for every point on the
interval [a,b], Taylor’s theorem allows us to write for
any h satisfying 0 ≤ h ≤ b – a,
i n
f (i ) (a) i f ( n1) ( p) n1
(1) f ( a h) f ( a ) h h
i 1 i! (n 1)!
where (1) will hold for some number p between a and
a + h.
Equation (1) is the nth-order Taylor series
expansion of the f(x) about a.
25
Example 4
Find the first-order Taylor series expansion of
e-x about x = 0.
Solution
Since f′(x) = -e-x and f′′(x) = e-x, we know that (1) will
hold on any interval [0,b]. Also, f(0) = 1, f′(0) = -1,
and f′′(x) = e-x. Then (1) yields the following first-
order Taylor series expansion for e-x about x=0:
27
Differentiation
Suppose that for each i, we increase xi by a
small amount Δxi. Then the value of f will
increase by approximately
i n
f
i 1 xi
xi
28
Review of Integral Calculus
A knowledge of the basics of integral calculus
is valuable when studying random variables.
Consider two functions: f(x) and F(x).
If F′(x)= f(x), we say that F(x) is the
indefinite integral of f(x).
The fact that F(x) is the indefinite integral of
f(x) is written
F ( x) f ( x)dx
b
f ( x)dx F (b) F (a)
a
30
Example
Suppose that at time t (measured in hours,
and the present t=0), the rate a(t) at which
customer enter a bank is a(t)=100t. During the
next 2 hours, how many customers will enter
the bank?
31
12.2 Differentiation of Integrals
In order to differentiate a function whose
value depends on an integral you should let
f(x, y) be a function of variables x and y, and
let g(y) and h(y) be functions of y. Then
F ( y)
h( y )
f ( x, y )dx
g ( y)
is a function only of y.
Leibniz’s rule for differentiating an
integral states that
f ( x, y)
F ( y) f ( x, y)dx, then F ( y) h( y) f (h( y), y) g ( y) f ( g ( y), y)
h( y ) h( y )
dx
g ( y) g ( y) y
32
Example
𝑦 2 𝑦𝑑𝑥
For 𝐹 𝑦 = 1 𝑥
find 𝐹′ 𝑦 .
33
12.3 Basic Rules of Probability
Definition: Any situation where the outcome
is uncertain is called an experiment.
Definition: For any experiment, the sample
space S of the experiment consists of all
possible outcomes for the experiment.
For example, if we toss a die and are
interested in the number of dots showing,
then S={1,2,3,4,5,6}
34
12.3 Basic Rules of Probability
Definition: An event E consists of any
collection of points (set of outcomes) in the
sample space.
Definition: A collection of events E1, E2,…,En
is said to be a mutually exclusive collection
of events if for i ≠ j (i=1,2,…,n and
j=1,2,…n), Ei and Ej have no points in
common.
35
12.3 Basic Rules of Probability
With each event E, we associate an event Ē. Ē
consists of the points in the sample space that
are not in E.
With each event E, we also associate a number
P(E), which is the probability that event E will
occur when we perform the experiment.
The probabilities of events must satisfy the
following rules of probability:
36
12.3 Basic Rules of Probability
Rule 1For any event E, P(E) ≥ 0.
Rule 2 If E=S (that is, if E contains all points in the
sample space), then P(E) = 1.
Rule 3 If E1, E2,…,En is mutually exclusive
collection of events, then
k n
P( E1 E2 ... En ) P( Ek )
k 1
37
12.3 Basic Rules of Probability
For two events E1 and E2, P(E2\E1) (the
conditional probability of E2 given E1) is the
probability that the event E2 will occur given
that E1 has occurred. Then,
𝑃 𝐸2 \𝐸1 = 𝑃(𝐸1 ∩𝐸2 )
𝑃(𝐸 )
1
39