Leaving Certificate Applied Mathematics8.8 Comparing a discrete and a continuous model

All books

8.8 Comparing a discrete and a continuous model — Practise

Work independently. The questions and answers are shown together at the end.

Keep the two models side by side and evaluate both at the same time. The point of the comparison is the difference between them, not either value alone.

  1. H A continuous model gives P=100e0.05tP = 100e^{0.05t}, and a discrete model gives un+1=1.05unu_{n+1} = 1.05u_n with u0=100u_0 = 100. Find the value each model gives at t=n=10t = n = 10.
  2. H Use Euler's method with step h=1h = 1 on dydx=0.5y\dfrac{dy}{dx} = 0.5y with y=100y = 100 when x=0x = 0. Find the estimate of yy after one step.
  3. H Continue the Euler method from y1=150y_1 = 150, still with h=1h = 1 and dydx=0.5y\dfrac{dy}{dx} = 0.5y. Find the estimate of yy after the second step.
  4. H Repeat the first two steps with the smaller step h=0.5h = 0.5 on dydx=0.5y\dfrac{dy}{dx} = 0.5y with y=100y = 100 when x=0x = 0. Find the estimate after two half-steps, that is at x=1x = 1.
  5. H For dydx=0.5y\dfrac{dy}{dx} = 0.5y with y=100y = 100 when x=0x = 0, the exact solution is y=100e0.5xy = 100e^{0.5x}. Find the exact value at x=1x = 1.
  6. H The lake loses 5%5\% of its pollutant each day. A discrete model is un+1=0.95unu_{n+1} = 0.95u_n with u0=400u_0 = 400 kg. Find u10u_{10}.
  7. H The continuous lake model is P=400e−0.05tP = 400e^{-0.05t} kg. Find PP after ten days.
  8. H Explain how the size of the step in Euler's method affects the estimate, and why a discrete model and a continuous model need not agree.

Answers and concise solutions

1. Show the answer

1. The two values

Answer: The continuous model gives 100e0.5≈164.9100e^{0.5} \approx 164.9. The discrete model gives 100(1.05)10≈162.9100(1.05)^{10} \approx 162.9. The discrete value is slightly smaller, because 5%5\% added once a year is a little less than continuous growth at 5%5\% per year.

2. Show the answer

2. The estimate after one step

Answer: One Euler step adds h×dydxh \times \dfrac{dy}{dx} to the current value: y1=100+1(0.5×100)=150y_1 = 100 + 1(0.5 \times 100) = 150.

3. Show the answer

3. The estimate after two steps

Answer: y2=150+1(0.5×150)=150+75=225y_2 = 150 + 1(0.5 \times 150) = 150 + 75 = 225. The estimate grows much faster than the true solution, because the step is large.

4. Show the answer

4. The estimate at x = 1

Answer: The first half-step gives 100+0.5(50)=125100 + 0.5(50) = 125. The second gives 125+0.5(62.5)=156.25125 + 0.5(62.5) = 156.25. Halving the step moves the estimate from 225225 to 156.25156.25, closer to the true value.

5. Show the answer

5. The exact value at x = 1

Answer: Substitute x=1x = 1: y=100e0.5≈164.9y = 100e^{0.5} \approx 164.9. The Euler estimate with h=0.5h = 0.5 was 156.25156.25, still below the exact value, so the method underestimates here.

6. Show the answer

6. The discrete amount after ten days

Answer: u10=400(0.95)10≈239.5u_{10} = 400(0.95)^{10} \approx 239.5 kg. The discrete model removes 5%5\% of the amount at the end of each whole day.

7. Show the answer

7. The continuous amount after ten days

Answer: P=400e−0.5≈242.6P = 400e^{-0.5} \approx 242.6 kg. The continuous model is about 33 kg above the discrete one after ten days, because the removal happens throughout each day rather than all at the end.

8. Show the answer

8. Step size and disagreement

Answer: A smaller step gives a better estimate, because the rate is recalculated more often. A large step uses one rate for a whole interval and drifts from the true curve. A discrete model changes in jumps and a continuous model changes at every instant, so they agree only as the step tends to zero.

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.