Math 122 Midterm 2 Review: Differential Equations and Probability

Differential Equations & Verification

  • A solution to a differential equation satisfies the equation identity and given initial conditions when substituted alongside its derivatives.

  • Second-order linear differential equation verification:

    • Equation: y′′−3y′+2y=0y'' - 3y' + 2y = 0 with initial conditions y(0)=5y(0) = 5 and y′(0)=10y'(0) = 10

    • Proposed solution: f(t)=5e2tf(t) = 5e^{2t}

    • Derivatives: y′=10e2ty' = 10e^{2t} and y′′=20e2ty'' = 20e^{2t}

    • Substitution: 20e2t−3(10e2t)+2(5e2t)=020e^{2t} - 3(10e^{2t}) + 2(5e^{2t}) = 0

  • First-order non-linear differential equation verification:

    • Equation: y′+y2=yy' + y^2 = y with initial condition y(0)=12y(0) = \frac{1}{2}

    • Proposed solution: f(t)=(e−t+1)−1f(t) = (e^{-t} + 1)^{-1}

    • Derivative: y′=e−t(e−t+1)2y' = \frac{e^{-t}}{(e^{-t} + 1)^2}

    • Substitution: e−t(e−t+1)2+1(e−t+1)2=1e−t+1=y\frac{e^{-t}}{(e^{-t} + 1)^2} + \frac{1}{(e^{-t} + 1)^2} = \frac{1}{e^{-t} + 1} = y

Separation of Variables & Initial Value Problems

  • General separation technique: Rewrite as g(y) ringingdy=h(t) dtg(y)\ ringing dy = h(t)\,dt, integrate both sides, and solve explicitly for yy.

  • General solutions via separation:

    • dydt=5−ty2  ⟹  y2 dy=(5−t) dt  ⟹  y=15t−32t2+C3\frac{dy}{dt} = \frac{5 - t}{y^2} \implies y^2\,dy = (5 - t)\,dt \implies y = \sqrt[3]{15t - \frac{3}{2}t^2 + C}

    • dydt=t2y2t3+8  ⟹  y−2 dy=t2t3+8 dt  ⟹  y=−3ln⁡∣t3+8∣+C\frac{dy}{dt} = \frac{t^2 y^2}{t^3 + 8} \implies y^{-2}\,dy = \frac{t^2}{t^3 + 8}\,dt \implies y = -\frac{3}{\ln|t^3 + 8| + C} along with the constant solution y=0y = 0

    • y′ey=tet2  ⟹  ey dy=tet2 dt  ⟹  y=ln⁡(12et2+C)y' e^y = t e^{t^2} \implies e^y\,dy = t e^{t^2}\,dt \implies y = \ln\left(\frac{1}{2}e^{t^2} + C\right)

  • Initial value problems (IVPs):

    • y′=2te−2y−e−2yy' = 2te^{-2y} - e^{-2y}, y(0)=3  ⟹  y=12ln⁡(2t2−2t+e6)y(0) = 3 \implies y = \frac{1}{2}\ln(2t^2 - 2t + e^6)

    • dydt=t+1ty\frac{dy}{dt} = \frac{t + 1}{ty}, t>0t > 0, y(1)=−3  ⟹  y=−2t+2ln⁡(t)+7y(1) = -3 \implies y = -\sqrt{2t + 2\ln(t) + 7}

    • y′=(1+t1+y)2y' = \left(\frac{1 + t}{1 + y}\right)^2, y(0)=2  ⟹  y=(1+t)3+263−1y(0) = 2 \implies y = \sqrt[3]{(1 + t)^3 + 26} - 1

  • Slope at a point:

    • For y′=t2−y2y' = t^2 - y^2 passing through (2,3)(2, 3), the slope at t=2t = 2 is y′=22−32=−5y' = 2^2 - 3^2 = -5

Qualitative Analysis & Autonomous Equations

  • Autonomous differential equations have the form y′=g(y)y' = g(y), where equilibrium solutions occur at g(y)=0g(y) = 0.

  • Linear rate equation y′=3−12yy' = 3 - \frac{1}{2}y:

    • Equilibrium solution: y=6y = 6

    • Asymptotic behavior: Trajectories starting at y(0)=4y(0) = 4 increase toward 66, while those starting at y(0)=8y(0) = 8 decrease toward 66.

Phase plot showing z = 3 - 0.5ySolution curves approaching stable equilibrium y = 6
  • Quadratic rate equation y′=6−y2y' = 6 - y^2:

    • Equilibrium solutions: y=6y = \sqrt{6} and y=−6y = -\sqrt{6}

    • For y(0)=3y(0) = 3, y′<0y' < 0, so the solution decreases toward y=6y = \sqrt{6}.

    • For y(0)=−3y(0) = -3, y′<0y' < 0, so the solution diverges toward −∞-\infty.

Phase plot showing z = 6 - y^2Solution curves for y prime equals 6 minus y squared
  • Cubic rate equation y′=y3−9y=y(y2−9)y' = y^3 - 9y = y(y^2 - 9):

    • Equilibrium solutions: y=−3y = -3, y=0y = 0, and y=3y = 3

    • Increasing trajectories (y′>0y' > 0): −3<y<0-3 < y < 0 and y>3y > 3

    • Decreasing trajectories (y′<0y' < 0): y<−3y < -3 and 0<y<30 < y < 3

Solution curves showing multiple equilibrium states for cubic equation
  • Logistic differential equation formulations:

    • dNdt=rN(1−NK)\frac{dN}{dt} = rN\left(1 - \frac{N}{K}\right)

    • dNdt=rKN(K−N)\frac{dN}{dt} = \frac{r}{K}N(K - N)

Numerical Methods: Euler's Method

  • Iterative recurrence formula: yn+1=yn+h⋅g(tn,yn)y_{n+1} = y_n + h \cdot g(t_n, y_n), where hh is the step size.

  • Approximation of y′=2t−y+1y' = 2t - y + 1 with y(0)=5y(0) = 5 and h=0.5h = 0.5 over [0,2][0, 2] (n=4n = 4):

    • Step 00: t0=0t_0 = 0, y0=5y_0 = 5

    • Step 11: t1=0.5t_1 = 0.5, y1=5+0.5(2(0)−5+1)=3y_1 = 5 + 0.5(2(0) - 5 + 1) = 3

    • Step 22: t2=1.0t_2 = 1.0, y2=3+0.5(2(0.5)−3+1)=2.5y_2 = 3 + 0.5(2(0.5) - 3 + 1) = 2.5

    • Step 33: t3=1.5t_3 = 1.5, y3=2.5+0.5(2(1)−2.5+1)=2.75y_3 = 2.5 + 0.5(2(1) - 2.5 + 1) = 2.75

    • Step 44: t4=2.0t_4 = 2.0, y4=2.75+0.5(2(1.5)−2.75+1)=3.375=278y_4 = 2.75 + 0.5(2(1.5) - 2.75 + 1) = 3.375 = \frac{27}{8}

    • Estimated value: f(2)≈278f(2) \approx \frac{27}{8}

Euler's method iterate values and plot

Applications of Differential Equations

  • Balance with continuous withdrawals:

    • Differential equation: y′=0.05y−10000=0.05(y−200000)y' = 0.05y - 10000 = 0.05(y - 200000)

    • Proportional relationship: The rate of change of balance is proportional to the difference between the balance and \\$200000.

    • Rate at t=1t = 1 with y=150000y = 150000: y′=0.05(150000)−10000=−2500y' = 0.05(150000) - 10000 = -2500, decreasing at \\$2500\,\text{per year}.

  • Balance with continuous deposits:

    • Differential equation: y′=0.05y+10000y' = 0.05y + 10000 with y(0)=0y(0) = 0

    • Solution: y(t)=200000(e0.05t−1)y(t) = 200000(e^{0.05t} - 1)

    • Balance after 5 years5\,\text{years}: y(5) = 200000(e^{0.25} - 1) \approx \\$56805

Discrete Random Variables

  • Core formulas:

    • Expected value: E(X)=∑aipiE(X) = \sum a_i p_i

    • Variance: Var(X)=∑(ai−m)2piVar(X) = \sum (a_i - m)^2 p_i, where m=E(X)m = E(X)

    • Standard deviation: σ=Var(X)\sigma = \sqrt{Var(X)}

  • Weekly accident distribution (52 weeks52\,\text{weeks} total):

    • Probabilities: P(X=0)=1152P(X = 0) = \frac{11}{52}, P(X=1)=2652P(X = 1) = \frac{26}{52}, P(X=2)=1352P(X = 2) = \frac{13}{52}, P(X=3)=252P(X = 3) = \frac{2}{52}

    • Expected value: E(X)=0(1152)+1(2652)+2(1352)+3(252)=5852=2926≈1.12E(X) = 0\left(\frac{11}{52}\right) + 1\left(\frac{26}{52}\right) + 2\left(\frac{13}{52}\right) + 3\left(\frac{2}{52}\right) = \frac{58}{52} = \frac{29}{26} \approx 1.12

    • Interpretation: The average number of accidents per week during the year is approximately 1.121.12.

Continuous Random Variables & Density Functions

  • Probability density function (PDF) conditions:

    • f(x)≥0f(x) \ge 0 on the entire domain

    • ∫−∞∞f(x) dx=1\int_{-\infty}^{\infty} f(x)\,dx = 1

    • Probability of an event: P(a≤X≤b)=∫abf(x) dxP(a \le X \le b) = \int_a^b f(x)\,dx

  • PDF verification:

    • f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]: 2x−2≥02x - 2 \ge 0 and ∫12(2x−2) dx=[x2−2x]12=1\int_1^2 (2x - 2)\,dx = [x^2 - 2x]_1^2 = 1

    • f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]: 5x4≥05x^4 \ge 0 and ∫015x4 dx=[x5]01=1\int_0^1 5x^4\,dx = [x^5]_0^1 = 1

  • Probability calculation:

    • For f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]: P(1.5≤X≤1.7)=∫1.51.7(2x−2) dx=[x2−2x]1.51.7=0.24P(1.5 \le X \le 1.7) = \int_{1.5}^{1.7} (2x - 2)\,dx = [x^2 - 2x]_{1.5}^{1.7} = 0.24

  • Cumulative distribution function (CDF) relations:

    • Density from CDF: f(x)=F′(x)f(x) = F'(x)

    • Given F(x)=43−43x−2F(x) = \frac{4}{3} - \frac{4}{3}x^{-2}, f(x)=83x−3f(x) = \frac{8}{3}x^{-3}

    • Given F(x)=1125x3F(x) = \frac{1}{125}x^3, f(x)=3125x2f(x) = \frac{3}{125}x^2

    • CDF from density: F(x)=∫axf(u) duF(x) = \int_a^x f(u)\,du

    • Given f(x)=12(3−x)f(x) = \frac{1}{2}(3 - x) on [1,3][1, 3]: F(x)=32x−14x2−54F(x) = \frac{3}{2}x - \frac{1}{4}x^2 - \frac{5}{4}

Expected Value and Variance for Continuous Variables

  • Core formulas:

    • E(X)=∫xf(x) dxE(X) = \int x f(x)\,dx

    • Var(X)=∫x2f(x) dx−[E(X)]2Var(X) = \int x^2 f(x)\,dx - [E(X)]^2

  • Calculations:

    • f(x)=89xf(x) = \frac{8}{9}x on [0,32][0, \frac{3}{2}]: E(X)=1E(X) = 1, Var(X)=98−12=18Var(X) = \frac{9}{8} - 1^2 = \frac{1}{8}

    • f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]: E(X)=56E(X) = \frac{5}{6}, Var(X)=57−(56)2=5252Var(X) = \frac{5}{7} - \left(\frac{5}{6}\right)^2 = \frac{5}{252}

    • f(x)=12x(1−x)2f(x) = 12x(1 - x)^2 on [0,1][0, 1]: E(X)=25E(X) = \frac{2}{5}, Var(X)=125Var(X) = \frac{1}{25}

    • Assembly time with F(x)=1125x3F(x) = \frac{1}{125}x^3 on [0,5][0, 5] (f(x)=3125x2f(x) = \frac{3}{125}x^2):

    • Average assembly time: E(X)=154 minutesE(X) = \frac{15}{4}\,\text{minutes}

    • Variance: Var(X)=15−(154)2=1516Var(X) = 15 - \left(\frac{15}{4}\right)^2 = \frac{15}{16}

Exponential Distribution

  • Exponential density: f(x)=ke−kxf(x) = ke^{-kx} for x≥0x \ge 0

    • Expected value: E(X)=1kE(X) = \frac{1}{k}

    • Variance: Var(X)=1k2Var(X) = \frac{1}{k^2}

  • Factory accident model (E(X)=0.5 day  ⟹  k=2E(X) = 0.5\,\text{day} \implies k = 2, f(x)=2e−2xf(x) = 2e^{-2x}):

    • Probability between 0.50.5 and 1 day1\,\text{day}: P(0.5<X<1)=∫0.512e−2x dx=e−1−e−2P(0.5 < X < 1) = \int_{0.5}^1 2e^{-2x}\,dx = e^{-1} - e^{-2}

    • Probability less than 8 hours8\,\text{hours} (13 day\frac{1}{3}\,\text{day}): P(X<13)=∫01/32e−2x dx=1−e−2/3P\left(X < \frac{1}{3}\right) = \int_0^{1/3} 2e^{-2x}\,dx = 1 - e^{-2/3}

Normal Distribution & Z-Scores

  • Normal density parameters: Mean E(X)=μE(X) = \mu, Variance Var(X)=σ2Var(X) = \sigma^2

  • Standard normal transform: Z=X−μσZ = \frac{X - \mu}{\sigma}

  • Standard normal areas using A(z)A(z) (area between 00 and zz):

    • Between 0.50.5 and 1.51.5: A(1.5)−A(0.5)=0.2417A(1.5) - A(0.5) = 0.2417

    • Between −0.75-0.75 and 0.750.75: 2A(0.75)=0.54682A(0.75) = 0.5468

    • To the left of −0.3-0.3: 1−(0.5+A(0.3))=0.38211 - (0.5 + A(0.3)) = 0.3821

    • To the right of −1-1: 0.5+A(1)=0.84130.5 + A(1) = 0.8413

  • Gestation period (μ=6 months\mu = 6\,\text{months}, σ=0.5 month\sigma = 0.5\,\text{month}):

    • Gestation between 66 and 7 months7\,\text{months}: P(6≤X≤7)=A(2)=0.4772  ⟹  47.72%P(6 \le X \le 7) = A(2) = 0.4772 \implies 47.72\%

    • Gestation between 55 and 6 months6\,\text{months}: P(5≤X≤6)=A(2)=0.4772  ⟹  47.72%P(5 \le X \le 6) = A(2) = 0.4772 \implies 47.72\%

  • Automobile tire lifespan (μ=25000 miles\mu = 25000\,\text{miles}, σ=2000 miles\sigma = 2000\,\text{miles}):

    • Lifespan between 2800028000 and 30000 miles30000\,\text{miles}: P(28000<X<30000)=A(2.5)−A(1.5)=0.0606P(28000 < X < 30000) = A(2.5) - A(1.5) = 0.0606

    • Lifespan exceeding 29000 miles29000\,\text{miles}: P(X>29000)=1−[0.5+A(2)]=0.0228P(X > 29000) = 1 - [0.5 + A(2)] = 0.0228


Here is the step-by-step walkthrough for Problems 15 through 19 from your review sheet:

Problem 15: Assembly Time Distribution

Given the cumulative distribution function on [0,5][0, 5]: F(x)=1125x3F(x) = \frac{1}{125}x^3

First, find the probability density function f(x)f(x) by differentiating F(x)F(x): f(x)=F′(x)=ddx(1125x3)=3125x2f(x) = F'(x) = \frac{d}{dx}\left(\frac{1}{125}x^3\right) = \frac{3}{125}x^2 for 0≤x≤50 \le x \le 5.

Part 15(a): Find and Interpret E(X)E(X)

Compute the expected value using E(X)=∫abxf(x) dxE(X) = \int_a^b x f(x)\,dx: E(X)=∫05x(3125x2) dx=3125∫05x3 dxE(X) = \int_0^5 x\left(\frac{3}{125}x^2\right)\,dx = \frac{3}{125}\int_0^5 x^3\,dx E(X)=3125[x44]05=3125(6254)=154=3.75 minutesE(X) = \frac{3}{125}\left[\frac{x^4}{4}\right]_0^5 = \frac{3}{125}\left(\frac{625}{4}\right) = \frac{15}{4} = 3.75\,\text{minutes}

Interpretation: The average time required to complete an assembly on the production line is 3.75 minutes3.75\,\text{minutes} (or 154 minutes\frac{15}{4}\,\text{minutes}).

Part 15(b): Compute Var(X)\text{Var}(X)

Use the variance formula Var(X)=∫abx2f(x) dx−[E(X)]2\text{Var}(X) = \int_a^b x^2 f(x)\,dx - [E(X)]^2:

  1. Calculate the second moment: ∫05x2(3125x2) dx=3125∫05x4 dx=3125[x55]05=3125(31255)=15\int_0^5 x^2\left(\frac{3}{125}x^2\right)\,dx = \frac{3}{125}\int_0^5 x^4\,dx = \frac{3}{125}\left[\frac{x^5}{5}\right]_0^5 = \frac{3}{125}\left(\frac{3125}{5}\right) = 15

  2. Subtract [E(X)]2[E(X)]^2: Var(X)=15−(154)2=15−22516=240−22516=1516=0.9375 minutes2\text{Var}(X) = 15 - \left(\frac{15}{4}\right)^2 = 15 - \frac{225}{16} = \frac{240 - 225}{16} = \frac{15}{16} = 0.9375\,\text{minutes}^2


Problem 16: Exponential Distribution for Factory Accidents

For an exponential distribution, the density function is f(x)=ke−kxf(x) = k e^{-kx} for x≥0x \ge 0, where E(X)=1kE(X) = \frac{1}{k}.

Given E(X)=0.5 day=12 dayE(X) = 0.5\,\text{day} = \frac{1}{2}\,\text{day}: 1k=12  ⟹  k=2\frac{1}{k} = \frac{1}{2} \implies k = 2 Thus, the probability density function is: f(x)=2e−2xf(x) = 2e^{-2x}

Part 16(a): Probability Between 0.50.5 and 1 day1\,\text{day}

P(0.5<X<1)=∫0.512e−2x dx=[−e−2x]0.51P(0.5 < X < 1) = \int_{0.5}^1 2e^{-2x}\,dx = \left[-e^{-2x}\right]_{0.5}^1 P(0.5<X<1)=−e−2−(−e−1)=e−1−e−2≈0.2326P(0.5 < X < 1) = -e^{-2} - (-e^{-1}) = e^{-1} - e^{-2} \approx 0.2326 There is approximately a 23.26%23.26\% chance that the time between accidents is between 0.50.5 and 1 day1\,\text{day}.

Part 16(b): Probability Less Than 8 hours8\,\text{hours} (13 day\frac{1}{3}\,\text{day})

P(X<13)=∫01/32e−2x dx=[−e−2x]01/3P\left(X < \frac{1}{3}\right) = \int_0^{1/3} 2e^{-2x}\,dx = \left[-e^{-2x}\right]_0^{1/3} P(X<13)=−e−2/3−(−e0)=1−e−2/3≈0.4866P\left(X < \frac{1}{3}\right) = -e^{-2/3} - (-e^0) = 1 - e^{-2/3} \approx 0.4866 There is approximately a 48.66%48.66\% chance that the time between accidents is less than 8 hours8\,\text{hours}.


Problem 17: Standard Normal Curve Areas

Let A(z)A(z) denote the area under the standard normal curve between 00 and zz.

Part 17(a): Between 0.50.5 and 1.51.5

Area=A(1.5)−A(0.5)=0.4332−0.1915=0.2417\text{Area} = A(1.5) - A(0.5) = 0.4332 - 0.1915 = 0.2417

Part 17(b): Between −0.75-0.75 and 0.750.75

By symmetry around 00: Area=2×A(0.75)=2(0.2734)=0.5468\text{Area} = 2 \times A(0.75) = 2(0.2734) = 0.5468

Part 17(c): To the Left of −0.3-0.3

Using the area of the left half (0.50.5): Area=0.5−A(0.3)=0.5−0.1179=0.3821\text{Area} = 0.5 - A(0.3) = 0.5 - 0.1179 = 0.3821

Part 17(d): To the Right of −1-1

Area=0.5+A(1)=0.5+0.3413=0.8413\text{Area} = 0.5 + A(1) = 0.5 + 0.3413 = 0.8413


Problem 18: Gestation Period Distribution

Given a normal distribution with mean μ=6 months\mu = 6\,\text{months} and standard deviation σ=0.5 month\sigma = 0.5\,\text{month}. The standard normal transformation is: Z=X−μσZ = \frac{X - \mu}{\sigma}

Part 18(a): Between 66 and 7 months7\,\text{months}

  • For X=6X = 6: Z1=6−60.5=0Z_1 = \frac{6 - 6}{0.5} = 0

  • For X=7X = 7: Z2=7−60.5=2Z_2 = \frac{7 - 6}{0.5} = 2

P(6≤X≤7)=P(0≤Z≤2)=A(2)=0.4772P(6 \le X \le 7) = P(0 \le Z \le 2) = A(2) = 0.4772 Percentage of births: 47.72%47.72\%

Part 18(b): Between 55 and 6 months6\,\text{months}

  • For X=5X = 5: Z1=5−60.5=−2Z_1 = \frac{5 - 6}{0.5} = -2

  • For X=6X = 6: Z2=6−60.5=0Z_2 = \frac{6 - 6}{0.5} = 0

By symmetry: P(5≤X≤6)=P(−2≤Z≤0)=A(2)=0.4772P(5 \le X \le 6) = P(-2 \le Z \le 0) = A(2) = 0.4772 Percentage of births: 47.72%47.72\%


Problem 19: Automobile Tire Lifespan

Given a normal distribution with μ=25000 miles\mu = 25000\,\text{miles} and σ=2000 miles\sigma = 2000\,\text{miles}. The standard score is Z=X−250002000Z = \frac{X - 25000}{2000}.

Part 19(a): Between 2800028000 and 30000 miles30000\,\text{miles}

  • For X=28000X = 28000: Z1=28000−250002000=1.5Z_1 = \frac{28000 - 25000}{2000} = 1.5

  • For X=30000X = 30000: Z2=30000−250002000=2.5Z_2 = \frac{30000 - 25000}{2000} = 2.5

P(28000<X<30000)=P(1.5<Z<2.5)=A(2.5)−A(1.5)P(28000 < X < 30000) = P(1.5 < Z < 2.5) = A(2.5) - A(1.5) P(28000<X<30000)=0.4938−0.4332=0.0606P(28000 < X < 30000) = 0.4938 - 0.4332 = 0.0606

Part 19(b): More Than 29000 miles29000\,\text{miles}

  • For X=29000X = 29000: Z=29000−250002000=2Z = \frac{29000 - 25000}{2000} = 2

P(X>29000)=P(Z>2)=0.5−A(2)P(X > 29000) = P(Z > 2) = 0.5 - A(2) P(X>29000)=0.5−0.4772=0.0228P(X > 29000) = 0.5 - 0.4772 = 0.0228

Differential Equations & Verification
  • A solution to a differential equation satisfies the equation identity and given initial conditions when substituted alongside its derivatives.

  • Second-order linear differential equation verification:

    • Equation: y′′−3y′+2y=0y'' - 3y' + 2y = 0 with initial conditions y(0)=5y(0) = 5 and y′(0)=10y'(0) = 10

    • Proposed solution: f(t)=5e2tf(t) = 5e^{2t}

    • Derivatives: y′=10e2ty' = 10e^{2t} and y′′=20e2ty'' = 20e^{2t}

    • Substitution: 20e2t−3(10e2t)+2(5e2t)=020e^{2t} - 3(10e^{2t}) + 2(5e^{2t}) = 0

  • First-order non-linear differential equation verification:

    • Equation: y′+y2=yy' + y^2 = y with initial condition y(0)=12y(0) = \frac{1}{2}

    • Proposed solution: f(t)=(e−t+1)−1f(t) = (e^{-t} + 1)^{-1}

    • Derivative: y′=e−t(e−t+1)2y' = \frac{e^{-t}}{(e^{-t} + 1)^2}

    • Substitution: e−t(e−t+1)2+1(e−t+1)2=1e−t+1=y\frac{e^{-t}}{(e^{-t} + 1)^2} + \frac{1}{(e^{-t} + 1)^2} = \frac{1}{e^{-t} + 1} = y

Separation of Variables & Initial Value Problems
  • General separation technique: Rewrite as g(y) dy=h(t) dtg(y)\,dy = h(t)\,dt, integrate both sides, and solve explicitly for yy.

  • General solutions via separation:

    • dydt=5−ty2  ⟹  y2 dy=(5−t) dt  ⟹  y=15t−32t2+C3\frac{dy}{dt} = \frac{5 - t}{y^2} \implies y^2\,dy = (5 - t)\,dt \implies y = \sqrt[3]{15t - \frac{3}{2}t^2 + C}

    • dydt=t2y2t3+8  ⟹  y−2 dy=t2t3+8 dt  ⟹  y=−3ln⁡(∣t3+8∣)+C\frac{dy}{dt} = \frac{t^2 y^2}{t^3 + 8} \implies y^{-2}\,dy = \frac{t^2}{t^3 + 8}\,dt \implies y = -\frac{3}{\ln(|t^3 + 8|) + C} along with the constant solution y=0y = 0

    • y′ey=tet2  ⟹  ey dy=tet2 dt  ⟹  y=ln⁡(12et2+C)y' e^y = t e^{t^2} \implies e^y\,dy = t e^{t^2}\,dt \implies y = \ln\left(\frac{1}{2}e^{t^2} + C\right)

  • Initial value problems (IVPs):

    • y′=2te−2y−e−2yy' = 2te^{-2y} - e^{-2y}, y(0)=3  ⟹  y=12ln⁡(2t2−2t+e6)y(0) = 3 \implies y = \frac{1}{2}\ln(2t^2 - 2t + e^6)

    • dydt=t+1ty\frac{dy}{dt} = \frac{t + 1}{ty}, t>0t > 0, y(1)=−3  ⟹  y=−2t+2ln⁡(t)+7y(1) = -3 \implies y = -\sqrt{2t + 2\ln(t) + 7}

    • y′=(1+t1+y)2y' = \left(\frac{1 + t}{1 + y}\right)^2, y(0)=2  ⟹  y=(1+t)3+263−1y(0) = 2 \implies y = \sqrt[3]{(1 + t)^3 + 26} - 1

  • Slope at a point:

    • For y′=t2−y2y' = t^2 - y^2 passing through (2,3)(2, 3), the slope at t=2t = 2 is y′=22−32=−5y' = 2^2 - 3^2 = -5

Qualitative Analysis & Autonomous Equations
  • Autonomous differential equations have the form y′=g(y)y' = g(y), where equilibrium solutions occur at g(y)=0g(y) = 0.

  • Linear rate equation y′=3−12yy' = 3 - \frac{1}{2}y:

    • Equilibrium solution: y=6y = 6

    • Asymptotic behavior: Trajectories starting at y(0)=4y(0) = 4 increase toward 66, while those starting at y(0)=8y(0) = 8 decrease toward 66.

  • Quadratic rate equation y′=6−y2y' = 6 - y^2:

    • Equilibrium solutions: y=6y = \sqrt{6} and y=−6y = -\sqrt{6}

    • For y(0)=3y(0) = 3, y′<0y' < 0, so the solution decreases toward y=6y = \sqrt{6}.

    • For y(0)=−3y(0) = -3, y′<0y' < 0, so the solution diverges toward −∞-\infty.

  • Cubic rate equation y′=y3−9y=y(y2−9)y' = y^3 - 9y = y(y^2 - 9):

    • Equilibrium solutions: y=−3y = -3, y=0y = 0, and y=3y = 3

    • Increasing trajectories (y′>0y' > 0): −3<y<0-3 < y < 0 and y>3y > 3

    • Decreasing trajectories (y′<0y' < 0): y<−3y < -3 and 0<y<30 < y < 3

  • Logistic differential equation formulations:

    • dNdt=rN(1−NK)\frac{dN}{dt} = rN\left(1 - \frac{N}{K}\right)

    • dNdt=rKN(K−N)\frac{dN}{dt} = \frac{r}{K}N(K - N)

Numerical Methods: Euler's Method
  • Iterative recurrence formula: yn+1=yn+h⋅g(tn,yn)y_{n+1} = y_n + h \cdot g(t_n, y_n), where hh is the step size.

  • Approximation of y′=2t−y+1y' = 2t - y + 1 with y(0)=5y(0) = 5 and h=0.5h = 0.5 over [0,2][0, 2] (n=4n = 4):

    • Step 00: t0=0t_0 = 0, y0=5y_0 = 5

    • Step 11: t1=0.5t_1 = 0.5, y1=5+0.5(2(0)−5+1)=3y_1 = 5 + 0.5(2(0) - 5 + 1) = 3

    • Step 22: t2=1.0t_2 = 1.0, y2=3+0.5(2(0.5)−3+1)=2.5y_2 = 3 + 0.5(2(0.5) - 3 + 1) = 2.5

    • Step 33: t3=1.5t_3 = 1.5, y3=2.5+0.5(2(1)−2.5+1)=2.75y_3 = 2.5 + 0.5(2(1) - 2.5 + 1) = 2.75

    • Step 44: t4=2.0t_4 = 2.0, y4=2.75+0.5(2(1.5)−2.75+1)=3.375=278y_4 = 2.75 + 0.5(2(1.5) - 2.75 + 1) = 3.375 = \frac{27}{8}

    • Estimated value: f(2)≈278f(2) \approx \frac{27}{8}

Applications of Differential Equations
  • Balance with continuous withdrawals:

    • Differential equation: y′=0.05y−10000=0.05(y−200000)y' = 0.05y - 10000 = 0.05(y - 200000)

    • Proportional relationship: The rate of change of balance is proportional to the difference between the balance and $200000\$200000.

    • Rate at t=1t = 1 with y=150000y = 150000: y′=0.05(150000)−10000=−2500y' = 0.05(150000) - 10000 = -2500, decreasing at $2500 per year\$2500\,\text{per year}.

  • Balance with continuous deposits:

    • Differential equation: y′=0.05y+10000y' = 0.05y + 10000 with y(0)=0y(0) = 0

    • Solution: y(t)=200000(e0.05t−1)y(t) = 200000(e^{0.05t} - 1)

    • Balance after 5 years5\,\text{years}: y(5)=200000(e0.25−1)≈$56805y(5) = 200000(e^{0.25} - 1) \approx \$56805

Discrete Random Variables
  • Core formulas:

    • Expected value: E(X)=∑aipiE(X) = \sum a_i p_i

    • Variance: Var(X)=∑(ai−m)2pi\text{Var}(X) = \sum (a_i - m)^2 p_i, where m=E(X)m = E(X)

    • Standard deviation: σ=Var(X)\sigma = \sqrt{\text{Var}(X)}

  • Weekly accident distribution (52 weeks52\,\text{weeks} total):

    • Probabilities: P(X=0)=1152P(X = 0) = \frac{11}{52}, P(X=1)=2652P(X = 1) = \frac{26}{52}, P(X=2)=1352P(X = 2) = \frac{13}{52}, P(X=3)=252P(X = 3) = \frac{2}{52}

    • Expected value: E(X)=0(1152)+1(2652)+2(1352)+3(252)=5852=2926≈1.12E(X) = 0\left(\frac{11}{52}\right) + 1\left(\frac{26}{52}\right) + 2\left(\frac{13}{52}\right) + 3\left(\frac{2}{52}\right) = \frac{58}{52} = \frac{29}{26} \approx 1.12

    • Interpretation: The average number of accidents per week during the year is approximately 1.121.12.

Continuous Random Variables & Density Functions
  • Probability density function (PDF) conditions:

    • f(x)≥0f(x) \ge 0 on the entire domain

    • ∫−∞∞f(x) dx=1\int_{-\infty}^{\infty} f(x)\,dx = 1

    • Probability of an event: P(a≤X≤b)=∫abf(x) dxP(a \le X \le b) = \int_a^b f(x)\,dx

  • PDF verification:

    • f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]: 2x−2≥02x - 2 \ge 0 and ∫12(2x−2) dx=[x2−2x]12=1\int_1^2 (2x - 2)\,dx = [x^2 - 2x]_1^2 = 1

    • f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]: 5x4≥05x^4 \ge 0 and ∫015x4 dx=[x5]01=1\int_0^1 5x^4\,dx = [x^5]_0^1 = 1

  • Probability calculation:

    • For f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]: P(1.5≤X≤1.7)=∫1.51.7(2x−2) dx=[x2−2x]1.51.7=0.24P(1.5 \le X \le 1.7) = \int_{1.5}^{1.7} (2x - 2)\,dx = [x^2 - 2x]_{1.5}^{1.7} = 0.24

  • Cumulative distribution function (CDF) relations:

    • Density from CDF: f(x)=F′(x)f(x) = F'(x)

    • Given F(x)=43−43x−2F(x) = \frac{4}{3} - \frac{4}{3}x^{-2}, f(x)=83x−3f(x) = \frac{8}{3}x^{-3}

    • Given F(x)=1125x3F(x) = \frac{1}{125}x^3, f(x)=3125x2f(x) = \frac{3}{125}x^2

    • CDF from density: F(x)=∫axf(u) duF(x) = \int_a^x f(u)\,du

    • Given f(x)=12(3−x)f(x) = \frac{1}{2}(3 - x) on [1,3][1, 3]: F(x)=32x−14x2−54F(x) = \frac{3}{2}x - \frac{1}{4}x^2 - \frac{5}{4}

Expected Value and Variance for Continuous Variables
  • Core formulas:

    • E(X)=∫xf(x) dxE(X) = \int x f(x)\,dx

    • Var(X)=∫x2f(x) dx−[E(X)]2\text{Var}(X) = \int x^2 f(x)\,dx - [E(X)]^2

  • Calculations:

    • f(x)=89xf(x) = \frac{8}{9}x on [0,32][0, \frac{3}{2}]: E(X)=1E(X) = 1, Var(X)=98−12=18\text{Var}(X) = \frac{9}{8} - 1^2 = \frac{1}{8}

    • f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]: E(X)=56E(X) = \frac{5}{6}, Var(X)=57−(56)2=5252\text{Var}(X) = \frac{5}{7} - \left(\frac{5}{6}\right)^2 = \frac{5}{252}

    • f(x)=12x(1−x)2f(x) = 12x(1 - x)^2 on [0,1][0, 1]: E(X)=25E(X) = \frac{2}{5}, Var(X)=125\text{Var}(X) = \frac{1}{25}

    • Assembly time with F(x)=1125x3F(x) = \frac{1}{125}x^3 on [0,5][0, 5] (f(x)=3125x2f(x) = \frac{3}{125}x^2):

    • Average assembly time: E(X)=154 minutesE(X) = \frac{15}{4}\,\text{minutes}

    • Variance: Var(X)=15−(154)2=1516\text{Var}(X) = 15 - \left(\frac{15}{4}\right)^2 = \frac{15}{16}

Exponential Distribution
  • Exponential density: f(x)=ke−kxf(x) = ke^{-kx} for x≥0x \ge 0

    • Expected value: E(X)=1kE(X) = \frac{1}{k}

    • Variance: Var(X)=1k2\text{Var}(X) = \frac{1}{k^2}

  • Factory accident model (E(X)=0.5 day  ⟹  k=2E(X) = 0.5\,\text{day} \implies k = 2, f(x)=2e−2xf(x) = 2e^{-2x}):

    • Probability between 0.50.5 and 1 day1\,\text{day}: P(0.5<X<1)=∫0.512e−2x dx=e−1−e−2P(0.5 < X < 1) = \int_{0.5}^1 2e^{-2x}\,dx = e^{-1} - e^{-2}

    • Probability less than 8 hours8\,\text{hours} (13 day\frac{1}{3}\,\text{day}): P(X<13)=∫01/32e−2x dx=1−e−2/3P\left(X < \frac{1}{3}\right) = \int_0^{1/3} 2e^{-2x}\,dx = 1 - e^{-2/3}

Normal Distribution & Z-Scores
  • Normal density parameters: Mean E(X)=μE(X) = \mu, Variance Var(X)=σ2\text{Var}(X) = \sigma^2

  • Standard normal transform: Z=X−μσZ = \frac{X - \mu}{\sigma}

  • Standard normal areas using A(z)A(z) (area between 00 and zz):

    • Between 0.50.5 and 1.51.5: A(1.5)−A(0.5)=0.2417A(1.5) - A(0.5) = 0.2417

    • Between −0.75-0.75 and 0.750.75: 2A(0.75)=0.54682A(0.75) = 0.5468

    • To the left of −0.3-0.3: 1−(0.5+A(0.3))=0.38211 - (0.5 + A(0.3)) = 0.3821

    • To the right of −1-1: 0.5+A(1)=0.84130.5 + A(1) = 0.8413

  • Gestation period (μ=6 months\mu = 6\,\text{months}, σ=0.5 month\sigma = 0.5\,\text{month}):

    • Gestation between 66 and 7 months7\,\text{months}: P(6≤X≤7)=A(2)=0.4772  ⟹  47.72%P(6 \le X \le 7) = A(2) = 0.4772 \implies 47.72\%

    • Gestation between 55 and 6 months6\,\text{months}: P(5≤X≤6)=A(2)=0.4772  ⟹  47.72%P(5 \le X \le 6) = A(2) = 0.4772 \implies 47.72\%

  • Automobile tire lifespan (μ=25000 miles\mu = 25000\,\text{miles}, σ=2000 miles\sigma = 2000\,\text{miles}):

    • Lifespan between 2800028000 and 30000 miles30000\,\text{miles}: P(28000<X<30000)=A(2.5)−A(1.5)=0.0606P(28000 < X < 30000) = A(2.5) - A(1.5) = 0.0606

    • Lifespan exceeding 29000 miles29000\,\text{miles}: P(X>29000)=1−[0.5+A(2)]=0.0228P(X > 29000) = 1 - [0.5 + A(2)] = 0.0228

Review Problems Walkthrough

Problem 1: Differential Equation Verification

  • Part 1(a): Show that f(t)=5e2tf(t) = 5e^{2t} satisfies y′′−3y′+2y=0y'' - 3y' + 2y = 0 with y(0)=5y(0) = 5 and y′(0)=10y'(0) = 10.

    • First derivative: y′=10e2ty' = 10e^{2t}

    • Second derivative: y′′=20e2ty'' = 20e^{2t}

    • Substitution into differential equation: 20e2t−3(10e2t)+2(5e2t)=(20−30+10)e2t=020e^{2t} - 3(10e^{2t}) + 2(5e^{2t}) = (20 - 30 + 10)e^{2t} = 0

    • Check initial values: y(0)=5e0=5y(0) = 5e^0 = 5, y′(0)=10e0=10y'(0) = 10e^0 = 10. Both hold.

  • Part 1(b): Show that f(t)=(e−t+1)−1f(t) = (e^{-t} + 1)^{-1} satisfies y′+y2=yy' + y^2 = y with y(0)=12y(0) = \frac{1}{2}.

    • First derivative: y′=−(e−t+1)−2(−e−t)=e−t(e−t+1)2y' = -(e^{-t} + 1)^{-2}(-e^{-t}) = \frac{e^{-t}}{(e^{-t} + 1)^2}

    • Substitution of y′+y2y' + y^2: e−t(e−t+1)2+1(e−t+1)2=e−t+1(e−t+1)2=1e−t+1=y\frac{e^{-t}}{(e^{-t} + 1)^2} + \frac{1}{(e^{-t} + 1)^2} = \frac{e^{-t} + 1}{(e^{-t} + 1)^2} = \frac{1}{e^{-t} + 1} = y

    • Check initial value: y(0)=(e0+1)−1=(1+1)−1=12y(0) = (e^0 + 1)^{-1} = (1 + 1)^{-1} = \frac{1}{2}. The solution holds.

Problem 2: Savings Account Balance Model

  • Equation: y′=0.05y−10000y' = 0.05y - 10000

  • Part 2(a): If after 1 year1\,\text{year} the balance is $150000\$150000, determine whether it is increasing or decreasing and at what rate.

    • Rate of change: y′=0.05(150000)−10000=7500−10000=−2500y' = 0.05(150000) - 10000 = 7500 - 10000 = -2500

    • Conclusion: The balance is decreasing at a rate of $2500 per year\$2500\,\text{per year}.

  • Part 2(b): Write the equation in the form y′=k(y−M)y' = k(y - M).

    • Factoring out 0.050.05 gives: y′=0.05(y−200000)y' = 0.05(y - 200000), where k=0.05k = 0.05 and M=200000M = 200000.

  • Part 2(c): Describe the differential equation in words.

    • The rate of growth of the account balance is directly proportional to the difference between the balance and $200000\$200000.

Problem 3: Separation of Variables

  • Part 3(a): dydt=5−ty2\frac{dy}{dt} = \frac{5 - t}{y^2}

    • Separate variables: y2 dy=(5−t) dty^2\,dy = (5 - t)\,dt

    • Integrate: ∫y2 dy=∫(5−t) dt  ⟹  13y3=5t−12t2+C1\int y^2\,dy = \int (5 - t)\,dt \implies \frac{1}{3}y^3 = 5t - \frac{1}{2}t^2 + C_1

    • Explicit solution: y=15t−32t2+C3y = \sqrt[3]{15t - \frac{3}{2}t^2 + C}

  • Part 3(b): dydt=t2y2t3+8\frac{dy}{dt} = \frac{t^2 y^2}{t^3 + 8}

    • Constant solution: y=0y = 0

    • Separate variables for y≠0y \neq 0: y−2 dy=t2t3+8 dty^{-2}\,dy = \frac{t^2}{t^3 + 8}\,dt

    • Integrate (using substitution u=t3+8u = t^3 + 8): −y−1=13ln⁡(∣t3+8∣)+C1-y^{-1} = \frac{1}{3}\ln(|t^3 + 8|) + C_1

    • Explicit solution: y=−3ln⁡(∣t3+8∣)+Cy = -\frac{3}{\ln(|t^3 + 8|) + C} and y=0y = 0

  • Part 3(c): y′ey=tet2y' e^y = t e^{t^2}

    • Separate variables: ey dy=tet2 dte^y\,dy = t e^{t^2}\,dt

    • Integrate: ey=12et2+Ce^y = \frac{1}{2}e^{t^2} + C

    • Explicit solution: y=ln⁡(12et2+C)y = \ln\left(\frac{1}{2}e^{t^2} + C\right)

Problem 4: Initial Value Problems

  • Part 4(a): y′=2te−2y−e−2yy' = 2te^{-2y} - e^{-2y}, y(0)=3y(0) = 3

    • Factor: dydt=(2t−1)e−2y\frac{dy}{dt} = (2t - 1)e^{-2y}

    • Separate and integrate: e2y dy=(2t−1) dt  ⟹  12e2y=t2−t+C1  ⟹  e2y=2t2−2t+Ce^{2y}\,dy = (2t - 1)\,dt \implies \frac{1}{2}e^{2y} = t^2 - t + C_1 \implies e^{2y} = 2t^2 - 2t + C

    • Apply initial condition y(0)=3y(0) = 3: e6=0−0+C  ⟹  C=e6e^6 = 0 - 0 + C \implies C = e^6

    • Explicit solution: y=12ln⁡(2t2−2t+e6)y = \frac{1}{2}\ln(2t^2 - 2t + e^6)

  • Part 4(b): dydt=t+1ty\frac{dy}{dt} = \frac{t + 1}{ty}, t>0t > 0, y(1)=−3y(1) = -3

    • Separate and integrate: y dy=(1+1t) dt  ⟹  12y2=t+ln⁡(t)+C1  ⟹  y2=2t+2ln⁡(t)+Cy\,dy = \left(1 + \frac{1}{t}\right)\,dt \implies \frac{1}{2}y^2 = t + \ln(t) + C_1 \implies y^2 = 2t + 2\ln(t) + C

    • Apply initial condition y(1)=−3y(1) = -3: (−3)2=2(1)+2ln⁡(1)+C  ⟹  9=2+C  ⟹  C=7(-3)^2 = 2(1) + 2\ln(1) + C \implies 9 = 2 + C \implies C = 7

    • Explicit solution (taking negative root since y(1)=−3y(1) = -3): y=−2t+2ln⁡(t)+7y = -\sqrt{2t + 2\ln(t) + 7}

  • Part 4(c): dydt=(1+t1+y)2\frac{dy}{dt} = \left(\frac{1 + t}{1 + y}\right)^2, y(0)=2y(0) = 2

    • Separate and integrate: (1+y)2 dy=(1+t)2 dt  ⟹  13(1+y)3=13(1+t)3+C1  ⟹  (1+y)3=(1+t)3+C(1 + y)^2\,dy = (1 + t)^2\,dt \implies \frac{1}{3}(1 + y)^3 = \frac{1}{3}(1 + t)^3 + C_1 \implies (1 + y)^3 = (1 + t)^3 + C

    • Apply initial condition y(0)=2y(0) = 2: (1+2)3=(1+0)3+C  ⟹  27=1+C  ⟹  C=26(1 + 2)^3 = (1 + 0)^3 + C \implies 27 = 1 + C \implies C = 26

    • Explicit solution: y=(1+t)3+263−1y = \sqrt[3]{(1 + t)^3 + 26} - 1

Problem 5: Qualitative Analysis & Graphing Solutions

  • Part 5(a): y′=3−12yy' = 3 - \frac{1}{2}y, with y(0)=4y(0) = 4 and y(0)=8y(0) = 8

    • Equilibrium: 3−12y=0  ⟹  y=63 - \frac{1}{2}y = 0 \implies y = 6

    • Behavior: When y<6y < 6, y′>0y' > 0 (increasing); when y>6y > 6, y′<0y' < 0 (decreasing). Solutions asymptotically approach the stable equilibrium y=6y = 6.

  • Part 5(b): y′=6−y2y' = 6 - y^2, with y(0)=−3y(0) = -3 and y(0)=3y(0) = 3

    • Equilibria: 6−y2=0  ⟹  y=6≈2.456 - y^2 = 0 \implies y = \sqrt{6} \approx 2.45 and y=−6≈−2.45y = -\sqrt{6} \approx -2.45

    • Behavior: For y(0)=3y(0) = 3, y′<0y' < 0, decreasing toward y=6y = \sqrt{6}. For y(0)=−3y(0) = -3, y′<0y' < 0, decreasing toward −∞-\infty.

  • Part 5(c): y′=y3−9y=y(y−3)(y+3)y' = y^3 - 9y = y(y - 3)(y + 3), with y(0)=−4,−1,2,4y(0) = -4, -1, 2, 4

    • Equilibria: y=−3y = -3, y=0y = 0, y=3y = 3

    • Trajectory signs: y′<0y' < 0 on (−∞,−3)(-\infty, -3), y′>0y' > 0 on (−3,0)(-3, 0), y′<0y' < 0 on (0,3)(0, 3), y′>0y' > 0 on (3,∞)(3, \infty)

    • Asymptotics: y(0)=−4y(0) = -4 diverges to −∞-\infty; y(0)=−1y(0) = -1 increases toward 00; y(0)=2y(0) = 2 decreases toward 00; y(0)=4y(0) = 4 diverges to ∞\infty.

Problem 6: Savings Account Continuous Deposits

  • Part 6(a): Differential equation for continuous deposits of $10000 per year\$10000\,\text{per year} and 5%5\% interest:

    • y′=0.05y+10000y' = 0.05y + 10000

  • Part 6(b): Solve assuming f(0)=0f(0) = 0 and calculate balance after 5 years5\,\text{years}.

    • General solution: y(t)=Ce0.05t−200000y(t) = C e^{0.05t} - 200000

    • Apply y(0)=0y(0) = 0: 0=C−200000  ⟹  C=200000  ⟹  y(t)=200000(e0.05t−1)0 = C - 200000 \implies C = 200000 \implies y(t) = 200000(e^{0.05t} - 1)

    • At t=5t = 5: y(5)=200000(e0.25−1)≈200000(1.284025−1)≈$56805y(5) = 200000(e^{0.25} - 1) \approx 200000(1.284025 - 1) \approx \$56805

Problem 7: Slope at a Point

  • Given y′=t2−y2y' = t^2 - y^2 passing through (2,3)(2, 3):

    • Evaluate slope at t=2t = 2 and y=3y = 3: y′=22−32=4−9=−5y' = 2^2 - 3^2 = 4 - 9 = -5

Problem 8: Euler's Method Approximation

  • Differential equation: y′=2t−y+1y' = 2t - y + 1, y(0)=5y(0) = 5, step size h=2−04=0.5h = \frac{2 - 0}{4} = 0.5 on [0,2][0, 2]

    • Iteration 00: t0=0t_0 = 0, y0=5y_0 = 5

    • Iteration 11: t1=0.5t_1 = 0.5, y1=5+0.5(2(0)−5+1)=3y_1 = 5 + 0.5(2(0) - 5 + 1) = 3

    • Iteration 22: t2=1.0t_2 = 1.0, y2=3+0.5(2(0.5)−3+1)=2.5y_2 = 3 + 0.5(2(0.5) - 3 + 1) = 2.5

    • Iteration 33: t3=1.5t_3 = 1.5, y3=2.5+0.5(2(1.0)−2.5+1)=2.75y_3 = 2.5 + 0.5(2(1.0) - 2.5 + 1) = 2.75

    • Iteration 44: t4=2.0t_4 = 2.0, y4=2.75+0.5(2(1.5)−2.75+1)=3.375=278y_4 = 2.75 + 0.5(2(1.5) - 2.75 + 1) = 3.375 = \frac{27}{8}

    • Estimate: f(2)≈278=3.375f(2) \approx \frac{27}{8} = 3.375

Problem 9: Discrete Random Variable

  • Part 9(a): Probability distribution table (52 weeks52\,\text{weeks}):

    • P(X=0)=1152P(X = 0) = \frac{11}{52}

    • P(X=1)=2652=12P(X = 1) = \frac{26}{52} = \frac{1}{2}

    • P(X=2)=1352=14P(X = 2) = \frac{13}{52} = \frac{1}{4}

    • P(X=3)=252=126P(X = 3) = \frac{2}{52} = \frac{1}{26}

  • Part 9(b): Compute E(X)E(X).

    • E(X)=0(1152)+1(2652)+2(1352)+3(252)=5852=2926≈1.12E(X) = 0\left(\frac{11}{52}\right) + 1\left(\frac{26}{52}\right) + 2\left(\frac{13}{52}\right) + 3\left(\frac{2}{52}\right) = \frac{58}{52} = \frac{29}{26} \approx 1.12

  • Part 9(c): Interpretation.

    • The expected number of accidents at the intersection is approximately 1.12 accidents per week1.12\,\text{accidents per week}.

Problem 10: Verification of Probability Density Functions

  • Part 10(a): f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]

    • Non-negativity: For 1≤x≤21 \le x \le 2, x−1≥0  ⟹  2(x−1)≥0x - 1 \ge 0 \implies 2(x - 1) \ge 0

    • Area condition: ∫122(x−1) dx=[x2−2x]12=(4−4)−(1−2)=1\int_1^2 2(x - 1)\,dx = [x^2 - 2x]_1^2 = (4 - 4) - (1 - 2) = 1

  • Part 10(b): f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]

    • Non-negativity: For 0≤x≤10 \le x \le 1, 5x4≥05x^4 \ge 0

    • Area condition: ∫015x4 dx=[x5]01=1−0=1\int_0^1 5x^4\,dx = [x^5]_0^1 = 1 - 0 = 1

Problem 11: Continuous Probability Calculation

  • Density f(x)=2(x−1)f(x) = 2(x - 1) on [1,2][1, 2]:

    • P(1.5≤X≤1.7)=∫1.51.7(2x−2) dx=[x2−2x]1.51.7=(2.89−3.4)−(2.25−3.0)=−0.51−(−0.75)=0.24P(1.5 \le X \le 1.7) = \int_{1.5}^{1.7} (2x - 2)\,dx = [x^2 - 2x]_{1.5}^{1.7} = (2.89 - 3.4) - (2.25 - 3.0) = -0.51 - (-0.75) = 0.24

Problem 12: Density from Cumulative Distribution Function

  • Given F(x)=43−43x−2F(x) = \frac{4}{3} - \frac{4}{3}x^{-2} on [1,2][1, 2]:

    • Differentiate CDF: f(x)=F′(x)=ddx(43−43x−2)=−43(−2x−3)=83x−3=83x3f(x) = F'(x) = \frac{d}{dx}\left(\frac{4}{3} - \frac{4}{3}x^{-2}\right) = -\frac{4}{3}(-2x^{-3}) = \frac{8}{3}x^{-3} = \frac{8}{3x^3}

Problem 13: Cumulative Distribution Function from Density

  • Given f(x)=12(3−x)f(x) = \frac{1}{2}(3 - x) on [1,3][1, 3]:

    • Integrate density: F(x)=∫1x12(3−u) du=12[3u−12u2]1x=12(3x−12x2−52)=32x−14x2−54F(x) = \int_1^x \frac{1}{2}(3 - u)\,du = \frac{1}{2}\left[3u - \frac{1}{2}u^2\right]_1^x = \frac{1}{2}\left(3x - \frac{1}{2}x^2 - \frac{5}{2}\right) = \frac{3}{2}x - \frac{1}{4}x^2 - \frac{5}{4}

Problem 14: Expected Value and Variance for Continuous Variables

  • Part 14(a): f(x)=89xf(x) = \frac{8}{9}x on [0,32][0, \frac{3}{2}]

    • Expected value: E(X)=∫03/289x2 dx=89[x33]03/2=827(278)=1E(X) = \int_0^{3/2} \frac{8}{9}x^2\,dx = \frac{8}{9}\left[\frac{x^3}{3}\right]_0^{3/2} = \frac{8}{27}\left(\frac{27}{8}\right) = 1

    • Second moment: ∫03/289x3 dx=89[x44]03/2=29(8116)=98\int_0^{3/2} \frac{8}{9}x^3\,dx = \frac{8}{9}\left[\frac{x^4}{4}\right]_0^{3/2} = \frac{2}{9}\left(\frac{81}{16}\right) = \frac{9}{8}

    • Variance: Var(X)=98−(1)2=18\text{Var}(X) = \frac{9}{8} - (1)^2 = \frac{1}{8}

  • Part 14(b): f(x)=5x4f(x) = 5x^4 on [0,1][0, 1]

    • Expected value: E(X)=∫015x5 dx=[56x6]01=56E(X) = \int_0^1 5x^5\,dx = \left[\frac{5}{6}x^6\right]_0^1 = \frac{5}{6}

    • Second moment: ∫015x6 dx=[57x7]01=57\int_0^1 5x^6\,dx = \left[\frac{5}{7}x^7\right]_0^1 = \frac{5}{7}

    • Variance: Var(X)=57−(56)2=57−2536=5252\text{Var}(X) = \frac{5}{7} - \left(\frac{5}{6}\right)^2 = \frac{5}{7} - \frac{25}{36} = \frac{5}{252}

  • Part 14(c): f(x)=12x(1−x)2f(x) = 12x(1 - x)^2 on [0,1][0, 1]

    • Expected value: E(X)=∫0112(x2−2x3+x4) dx=12(13−12+15)=12(130)=25E(X) = \int_0^1 12(x^2 - 2x^3 + x^4)\,dx = 12\left(\frac{1}{3} - \frac{1}{2} + \frac{1}{5}\right) = 12\left(\frac{1}{30}\right) = \frac{2}{5}

    • Second moment: ∫0112(x3−2x4+x5) dx=12(14−25+16)=12(160)=15\int_0^1 12(x^3 - 2x^4 + x^5)\,dx = 12\left(\frac{1}{4} - \frac{2}{5} + \frac{1}{6}\right) = 12\left(\frac{1}{60}\right) = \frac{1}{5}

    • Variance: Var(X)=15−(25)2=525−425=125\text{Var}(X) = \frac{1}{5} - \left(\frac{2}{5}\right)^2 = \frac{5}{25} - \frac{4}{25} = \frac{1}{25}

Problem 15: Assembly Time Distribution

  • Given F(x)=1125x3F(x) = \frac{1}{125}x^3 on [0,5][0, 5], so f(x)=F′(x)=3125x2f(x) = F'(x) = \frac{3}{125}x^2.

  • Part 15(a): Find and interpret E(X)E(X).

    • Computation: E(X)=∫05x(3125x2) dx=3125[x44]05=154=3.75 minutesE(X) = \int_0^5 x\left(\frac{3}{125}x^2\right)\,dx = \frac{3}{125}\left[\frac{x^4}{4}\right]_0^5 = \frac{15}{4} = 3.75\,\text{minutes}

    • Interpretation: The average assembly completion time is 3.75 minutes3.75\,\text{minutes}.

  • Part 15(b): Compute Var(X)\text{Var}(X).

    • Second moment: ∫05x2(3125x2) dx=3125[x55]05=15\int_0^5 x^2\left(\frac{3}{125}x^2\right)\,dx = \frac{3}{125}\left[\frac{x^5}{5}\right]_0^5 = 15

    • Variance: Var(X)=15−(154)2=15−22516=1516=0.9375 minutes2\text{Var}(X) = 15 - \left(\frac{15}{4}\right)^2 = 15 - \frac{225}{16} = \frac{15}{16} = 0.9375\,\text{minutes}^2

Problem 16: Exponential Distribution for Factory Accidents

  • Density: f(x)=ke−kxf(x) = k e^{-kx} with E(X)=1k=0.5 day  ⟹  k=2E(X) = \frac{1}{k} = 0.5\,\text{day} \implies k = 2, so f(x)=2e−2xf(x) = 2e^{-2x}.

  • Part 16(a): Probability between 0.50.5 and 1 day1\,\text{day}.

    • P(0.5<X<1)=∫0.512e−2x dx=[−e−2x]0.51=e−1−e−2≈0.2326 (23.26%)P(0.5 < X < 1) = \int_{0.5}^1 2e^{-2x}\,dx = [-e^{-2x}]_{0.5}^1 = e^{-1} - e^{-2} \approx 0.2326\,\text{(23.26\%)}

  • Part 16(b): Probability less than 8 hours8\,\text{hours} (\frac{1}{3}\,\text{day}$).\n - P\left(X < \frac{1}{3}\right) = \int_0^{1/3} 2e^{-2x}\,dx = [-e^{-2x}]_0^{1/3} = 1 - e^{-2/3} \approx 0.4866\,\text{(48.66\%)}\n\n#### Problem 17: Standard Normal Curve Areas\n\n- Using standard normal table values for A(z)(areafrom(area from0totoz):\n - Part 17(a): Between 0.5andand1.5::A(1.5) - A(0.5) = 0.4332 - 0.1915 = 0.2417\n - Part 17(b): Between -0.75andand0.75::2 \times A(0.75) = 2(0.2734) = 0.5468\n - Part 17(c): To the left of -0.3::0.5 - A(0.3) = 0.5 - 0.1179 = 0.3821\n - Part 17(d): To the right of -1::0.5 + A(1) = 0.5 + 0.3413 = 0.8413\n\n#### Problem 18: Gestation Period Distribution\n\n- Normal parameters: \mu = 6\,\text{months},,\sigma = 0.5\,\text{month},withstandardscore, with standard scoreZ = \frac{X - 6}{0.5}.\n\n- Part 18(a): Between 6andand7\,\text{months}.\n - Score range: Z_1 = \frac{6 - 6}{0.5} = 0totoZ_2 = \frac{7 - 6}{0.5} = 2\n - Probability: P(6 \le X \le 7) = P(0 \le Z \le 2) = A(2) = 0.4772 \implies 47.72\%\n\n- Part 18(b): Between 5andand6\,\text{months}.\n - Score range: Z_1 = \frac{5 - 6}{0.5} = -2totoZ_2 = \frac{6 - 6}{0.5} = 0\n - Probability: P(5 \le X \le 6) = P(-2 \le Z \le 0) = A(2) = 0.4772 \implies 47.72\%\n\n#### Problem 19: Automobile Tire Lifespan\n\n- Normal parameters: \mu = 25000\,\text{miles},,\sigma = 2000\,\text{miles},withstandardscore, with standard scoreZ = \frac{X - 25000}{2000}.\n\n- Part 19(a): Between 28000andand30000\,\text{miles}.\n - Score range: Z_1 = \frac{28000 - 25000}{2000} = 1.5totoZ_2 = \frac{30000 - 25000}{2000} = 2.5\n - Probability: P(28000 < X < 30000) = A(2.5) - A(1.5) = 0.4938 - 0.4332 = 0.0606\n\n- Part 19(b): More than 29000\,\text{miles}.\n - Score: Z = \frac{29000 - 25000}{2000} = 2\n - Probability: P(X > 29000) = P(Z > 2) = 0.5 - A(2) = 0.5 - 0.4772 = 0.0228$$