Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Practice Problems for Final Exam - Mathematical Modeling | MATH 442, Exams of Mathematics

Material Type: Exam; Class: MATH MODELING; Subject: MATHEMATICS; University: Texas A&M University; Term: Unknown 2008;

Typology: Exams

2019/2020
On special offer
20 Points
Discount

Limited-time offer


Uploaded on 11/25/2020

koofers-user-u8n
koofers-user-u8n 🇺🇸

10 documents

1 / 8

Discount

On special offer

Related documents


Partial preview of the text

Download Practice Problems for Final Exam - Mathematical Modeling | MATH 442 and more Exams Mathematics in PDF only on Docsity! M442 Practice Problems for Final Exam Calculators will be allowed on the final. Unjustified answers will not receive credit. 1. For the ODE system y′1 = y2 y′2 = 8y1 − 2y31, identify each equilibrium point at the linearized level from the following list: orbit, saddle, stable node, unstable node, improper stable node, improper unstable node, stable spiral, unstable spiral. 2. Find all equilibrium points for the system y′1 = y2 y′2 = y3 y′3 = y1 − 1, and determine whether or not each is stable. 3. Solve the ODE system y′1 = y1 − 2y2; y1(0) = 0 y′2 =3y1 + y2; y2(0) = 1. 4. For the Lotka-Volterra model x′ = ax − bxy y′ = − ry + cxy, suppose the birth and death rates a and r are known respectively to be .01 and .02, and that (20, 10) is known to be an equilibrium point. Find values for the parameters b and c. 5a. Show that Pr{A ∩ Bc} = Pr{A} − Pr{A ∩ B}. 5b. Use (5a) to establish Pr{Ac ∩ Bc} = 1 − Pr{A} − Pr{B} + Pr{A ∩ B}. 6. A bin of 5 electrical components is known to contain exactly 2 that are defective. If the components are tested one at a time in random order, until both defectives are discovered, find the expected number of tests that are made. Keep in mind that you don’t necessarily have to test the defectives. For example, if you draw three working components in a row, you can conclude that the remaining two are defective. Also, compute the variance of the number of tests. 1 7. The covariance of two random variables X and Y is defined to be Cov(X, Y ) := E[(X − E[X])(Y − E[Y ])]. Show that Cov(X, Y ) = E[XY ] − E[X]E[Y ]. 8. Show that for any sequence of random variables X1, X2, ..., Xn (not necessarily indepen- dent or with the same distributions), Var( n ∑ k=1 Xk) = n ∑ k=1 Var(Xk) + ∑ j 6=k Cov(Xj, Xk). 9. Show that for any two discrete random variables X and Y E[XY ] = E[Y E[X|Y ]]. 10. A laboratory blood test is 95 percent effective in detecting a certain disease when the disease is present. However, the test also yields a “false positive” result for 1% of healthy people tested. If .5% of the population actually has the disease, what is the probability a person has the disease given that the test result is positive. 11. Suppose a fair coin is flipped until it lands heads on three consecutive flips. What is the expected number of flips required? 12. Suppose U1 and U2 are both uniform random variables on [0, 1]. Determine whether or not the random variable X = U1 + U2 is a uniform random variable on [0, 2]. 13. Prove that for any random variable X, and for any constants k > 0 and r > 0, Pr{|X| ≥ k} ≤ 1 kr E[|X|r]. Hint. Use Markov’s inequality: Pr{Y ≥ a} ≤ E[Y ] a . 14a. Let U1 and U2 denote uniform random variables on [−1, 1], and note that pairs (U1, U2) are contained in a square of area 4 centered at (0, 0). Explain how simulation can be used in this framework to estimate a value for π. 14b. Determine the number of simulations in (14a) that would be required to ensure that the probability of your error’s exceeding .01 is smaller than .05. Solutions. 1. The equilibrium points solve the system of algebraic equations y2 = 0 8y1 − 2y31 = 0, 2 4. By definition, the equilibrium point (20, 10) must solve 0 = .01(20) − b(20)(10) 0 = − .02(10) + c(20)(10). Solving these equations for b and c, we conclude b = .001 c = .001. 5a. See homework practice problems. 5b. Replacing A in (5a) with Ac, we have Pr{Ac ∩ Bc} = Pr{Ac} − Pr{Ac ∩ B}. Clearly Pr{Ac} = 1 − Pr{A}, and if we again use (5a) with the roles of A and B switched, we have Pr{Ac ∩ B} = Pr{B} − Pr{A ∩ B}. Combining these observations, we obtain the conclusion. 6. Let the random variable N denote the number of tests that have to be made. Then the expected value is computed from the relation from class E[N ] = ∑4 n=2 nPr(N = n), where a single test cannot possibly be conclusive, and we would never require 5. The probability Pr(N = 2), for example, is the probability that one of two defectives is drawn out of five components (2/5) times the probability that a single defective is drawn out of the four remaining components (1/4). For N = 2 and N = 3, the probabilities are (G=”good”, D=”defective”) DGD, GDD, GGG, and respectively DGG, GDG, GGD. E[N ] = 2 · 2 5 · 1 4 + 3( 2 5 · 3 4 · 1 3 + 3 5 · 2 4 · 1 3 + 3 5 · 2 4 · 1 3 ) + 4( 2 5 · 3 4 · 2 3 + 3 5 · 2 4 · 2 3 + 3 5 · 2 4 · 2 3 ) = 3.5. Alternatively (and as is recommended), we could compute the probability that 4 draws are required as 1 − Pr{Fewer than four draws required}. The variance is now straightforward: Var[N ] = 1.52 · 1 10 + .52 · 3 10 + .52 · 3 5 = 9 20 = .45. 7. Cov(X, Y ) =E[(X − E[X])(Y − E[Y ])] =E[XY − E[X]Y − XE[Y ] + E[X]E[Y ]] =E[XY ] − E[X]E[Y ]. 5 8. Var( n ∑ k=1 Xk) =E[( n ∑ k=1 Xk) 2] − E[ n ∑ k=1 Xk] 2 =E[ n ∑ k=1 X2k + ∑ j 6=k XjXk] − ( n ∑ k=1 E[Xk]) 2 = n ∑ k=1 E[X2k ] + ∑ j 6=k E[XjXk] − n ∑ k=1 E[Xk] 2 − ∑ j 6=k E[Xj]E[Xk] = n ∑ k=1 Var(Xk) + ∑ j 6=k Cov(Xj , Xk). 9. E[XY ] = ∑ x,y xyPr{{X = x} ∩ {Y = y}} = ∑ y y ∑ x xPr{{X = x} ∩ {Y = y}} = ∑ y y ∑ x xPr{{X = x}|{Y = y}}Pr{Y = y} = ∑ y yE[X|Y = y]Pr{Y = y} = E[Y E[X|Y ]]. 10. We define the events A =event the person has the disease B =event the test is positive. Now use Bayes’ Lemma to compute Pr{A|B} = Pr{B|A}Pr{A} Pr{B|A}Pr{A} + Pr{B|Ac}Pr{Ac} = .95(.005) .95(.005) + .01(.995) = .3231. 11. Let N denote the number of flips required until three consecutive heads occur, and let T denote the number of flips required until tails occurs. Proceed by conditioning, E[N ] = ∞ ∑ k=1 E[N |T = k]Pr{T = k} = (1 + E[N ])1 2 + (2 + E[N ]) 1 4 + (3 + E[N ]) 1 8 + 3 1 8 . Solving for E[N ], we find 1 8 E[N ] = 14 8 ⇒ E[N ] = 14. 6 12. Since U1 and U2 are both uniform on [0, 1], we know that for all a, b ∈ [0, 1], a ≤ b, there holds Pr{a ≤ Uk ≤ b} = b − a, k = 1, 2. Now let c, d ∈ [0, 2], c ≤ d. The question becomes, is it true that Pr{c ≤ X ≤ d} = d − c 2 . (1) (Keep in mind that if c = 0 and d = 2 the probability must be 1.) Intuitively, we think that X should not be uniform, because there are many more ways to get a sum such as 1 than a sum such as 0. In order to find a counterexample to (1), consider a particular pair of values, say c = 1 2 and d = 3 2 . We have Pr{1 2 ≤ X ≤ 3 2 } = Pr{1 2 ≤ U1 + U2 ≤ 3 2 } ≥Pr{1 2 ≤ U1 ≤ 1}Pr{U2 ≤ 1 2 } + Pr{U1 ≤ 1 2 }Pr{1 2 ≤ U2 ≤ 1} + Pr{1 4 ≤ U1 ≤ 1 2 }Pr{1 4 ≤ U2 ≤ 1 2 } = 1 2 + 1 16 > 1 2 . If X were uniformly distributed on [0, 2] we would have Pr{1 2 ≤ X ≤ 3 2 } = 1 2 . 13. Consider the positive random variable Y := |X|r. According to Markov’s inequality, we must have Pr{Y ≥ kr} ≤ 1 kr E[Y ], or Pr{|X|r ≥ kr} ≤ 1 kr E[|X|r]. Finally, for k > 0 and r > 0, Pr{|X|r ≥ kr} = Pr{|X| ≥ k}, and this proves the statement. 14a. First, observe that we can introduce π into this problem by considering the area of the inscribed circle; i.e., the circle centered at the origin with radius 1. The area of this circle is π, and so the probability of a randomly generated point (U1, U2) appearing in this circle is π 4 . Let X be defined as follows: X = { 1 (U1, U2) in circle 0 otherwise . 7
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved