IB AI · 13D Direct and Inverse Variation and Cubic Models
Percentage error divides by the true value. A cubic on a closed interval is judged at the endpoints and at the turning points inside it.
Jump to section:
The denominator
Percentage error divides by the true value.
No global maximum
A cubic keeps rising or falling outside any turning points.
On an interval
Compare the endpoints with the turning points that sit inside.
A family
Three conditions on four coefficients leave a free parameter. Do not guess one cubic.
Percentage error.
Percentage error uses the true value, not the prediction, in the denominator.
error = 220 × 100
error = 10%
Answer: 10%
Percentage error uses the true value, not the prediction, in the denominator.
error = 630 × 100
error = 20%
Answer: 20%
Percentage error uses the true value, not the prediction, in the denominator.
error = 312 × 100
error = 25%
Answer: 25%
Percentage error uses the true value, not the prediction, in the denominator.
error = 312 × 100
error = 25%
Answer: 25%
Percentage error uses the true value, not the prediction, in the denominator.
error = 310 × 100
error = 30%
Answer: 30%
Percentage error uses the true value, not the prediction, in the denominator.
error = 325 × 100
error = 12%
Answer: 12%
The greatest value on an interval.
Check the endpoints and the turning points inside the interval.
f′(x) = 3x² − 12x + 9 = 3(x − 1)(x − 3)
The derivative is 0 at x = 1 and x = 3, and both are inside the interval.
f(0) = 0
f(1) = 4
f(3) = 0
f(4) = 4
The greatest value on the interval is 4.
Answer: 4
Percentage error uses the true value, not the prediction, in the denominator.
error = 110 × 100
error = 10%
Answer: 10%
Percentage error uses the true value, not the prediction, in the denominator.
error = 210 × 100
error = 20%
Answer: 20%
Percentage error uses the true value, not the prediction, in the denominator.
error = 550 × 100
error = 10%
Answer: 10%
Percentage error uses the true value, not the prediction, in the denominator.
error = 420 × 100
error = 20%
Answer: 20%
Percentage error uses the true value, not the prediction, in the denominator.
error = 330 × 100
error = 10%
Answer: 10%
A family, not one cubic.
f(0) = 0 fixes d.
d = 0
a + b + c = 4
8a + 4b + 2c = 4
Divide the third equation by 2, then subtract the second.
3a + b = −2
b = −2 − 3a
c = 6 + 2a
f(x) = ax³ + (−2 − 3a)x² + (6 + 2a)x
a is free. Three conditions do not pick one cubic.
Answer: f(x) = ax³ + (−2 − 3a)x² + (6 + 2a)x
Percentage error uses the true value, not the prediction, in the denominator.
error = 620 × 100
error = 30%
Answer: 30%
Percentage error uses the true value, not the prediction, in the denominator.
error = 330 × 100
error = 10%
Answer: 10%
Check the endpoints and the turning points inside the interval.
f′(x) = 3x² − 12x + 9 = 3(x − 1)(x − 3)
The derivative is 0 at x = 1 and x = 3, and both are inside the interval.
f(0) = 0
f(1) = 4
f(3) = 0
f(4) = 4
The greatest value on the interval is 4.
Answer: 4
Percentage error uses the true value, not the prediction, in the denominator.
error = 28 × 100
error = 25%
Answer: 25%
Percentage error uses the true value, not the prediction, in the denominator.
error = 120 × 100
error = 5%
Answer: 5%
Want to go over a variation model together?
Book a Session with Amy