Choosing and Using Numerical Methods in Real Problems | OCR A Level Maths notes

Free preview: Choosing and Using Numerical Methods in Real Problems

Choosing the Right Numerical Tool

Year 2 (A level only)

A doctor asks: "after an injection, for how long is the drug strong enough to work?" That sounds like a simple question. The answer needs a model, a sketch, a change of sign, Newton-Raphson, and some common sense. This note puts the last few notes together, the way real problems (and exam questions) do.

Your toolkit

  • Real models often lead to equations that algebra cannot solve, and one problem may need several methods.
  • Here is what each tool from the last four notes is for.
JobMethod
Find roughly where a root isSketch a graph, then use a change of sign
Find the root accuratelyFixed-point iteration or Newton-Raphson
Prove the accuracyChange of sign at the upper and lower bounds
Find an area, distance or totalTrapezium rule (from a formula or a table of data)

๐Ÿ’ก In plain words

  • Locate, then refine, then prove. Add the trapezium rule whenever you need an area or total.

The recipe for an equation in context

  1. Set up the equation from the words, then move everything to one side: f(t) = 0.
  2. Locate each root you need, from a graph or a sign change.
  3. Refine with the method the question asks for (Newton-Raphson needs f'(t)).
  4. Prove the accuracy with the bounds.
  5. Interpret: answer the question that was asked, with units.

Graph of drug concentration C = 8t e to the minus 0.5t, rising to a maximum of 5.89 at t = 2 and crossing the level C = 2 at t = 0.289 and t = 6.523

Following the graph

  • The concentration of a drug in the blood, C mg/l, t hours after a dose is modelled by C=8te−0.5t.
  • The drug only works when C is above 2 mg/l, shown by the horizontal line.
  • The curve rises to a maximum at (2, 5.89), then decays. It crosses C = 2 twice: once on the way up (t โ‰ˆ 0.289) and once on the way down (t โ‰ˆ 6.523).
  • To find these times we must solve 8te−0.5t=2. The t and the e−0.5t cannot be separated by algebra, so we use Newton-Raphson.

๐Ÿ‘€ Watch me do it: find the later time when C = 2, to 3 d.p.

What I writeWhy I do it
f(t)=8te−0.5t−2Step 1: move everything to one side. Newton-Raphson needs f(t) = 0.
f′(t)=8e−0.5t+8t(−0.5e−0.5t)Product rule: u=8t, v=e−0.5t.
=8e−0.5t(1−0.5t)Factorise out 8e−0.5t.
t0=6Step 2: read from the graph.
t1=6−0.3898−0.7966=6.4893Step 3: f(6) = 0.3898 and f'(6) = โˆ’0.7966.
t2=6.5232, t3=6.5234Agree to 3 d.p.
f(6.5225)=0.0006>0, f(6.5235)=−0.00009<0Step 4: sign change at the bounds, f continuous, so t = 6.523 (3 d.p.).
Similarly the earlier time is 0.289. The drug works for about 6.523−0.289=6.23 hours.Step 5: the question asked "for how long", so subtract.

โœ๏ธ YOUR TURN 1

Try this first:

Use differentiation to confirm that the maximum concentration is at t = 2, and find its exact value.

Answer:

  • dCdt=8e−0.5t(1−0.5t). 8e−0.5t is never 0, so 1−0.5t=0, giving t = 2.
  • C=8(2)e−1=16e≈5.89 mg/l. โœ“ It matches the graph.

โœ๏ธ YOUR TURN 2

Try this first:

The doctor plans a second dose when the concentration falls back to 1 mg/l. Show that this happens between t = 8 and t = 9.

Answer:

  • Let k(t)=8te−0.5t−1. Everything on one side.
  • k(8)=64e−4−1=0.172>0 and k(9)=72e−4.5−1=−0.200<0.
  • Sign change and k is continuous, so C = 1 at some time between 8 and 9 hours (on the way down, after the maximum at t = 2).

The Trapezium Rule with Real Data

When data come from measurements, there is no formula to integrate. But the trapezium rule still works on a table of values. It only ever needed heights at equally spaced points.

  • From mechanics: the area under a velocity-time graph is the distance travelled.
  • So the trapezium rule turns speed readings into a distance.
  • In the same way, the area under a flow-rate graph is a volume, and the area under a power graph is energy.

The recipe with data

  1. h is the gap between the x-values in the table (check they are equally spaced).
  2. Count strips, not readings: 7 readings make 6 strips.
  3. Substitute the first and last readings once and the rest twice.
  4. Units: (y units) ร— (x units).

๐Ÿ‘€ Watch me do it: a car's speed v m/s is recorded every 10 seconds. Estimate the distance travelled

t (s)0102030405060
v (m/s)04.27.69.810.911.311.4

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Numerical Methods

  1. Locating Roots by a Change of Sign, and When It Fails
  2. Fixed-Point Iteration with Staircase and Cobweb Diagrams
  3. The Newton-Raphson Method and When Iterations Fail
  4. The Trapezium Rule: Estimates, Over or Under, and Bounds
  5. Choosing and Using Numerical Methods in Real Problems
  6. Move Up a Grade: A Level Maths Numerical Methods
  7. Tricky Bits: A Level Maths Numerical Methods

What's inside for this topic

7 teacher notes, 186 practice questions, 60 flashcards, 7 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: The Trapezium Rule: Estimates, Over or Under, and Bounds Next note: Move Up a Grade: A Level Maths Numerical Methods

Choosing and Using Numerical Methods in Real Problems on other exam boards

All OCR A Level Maths topics ยท A Level Maths