034Mathematics · Algebra

Quadratic Coefficients from Two Points of Equal Height

Quadratic Coefficients from Two Points of Equal Height

Finds b, c and the axis of a quadratic from a and two points of equal height.

  • 53 bytes
  • COMP mode
01

Worked examples

Example 1

The graph of y = 2x² + bx + c, where b and c are constants, meets the horizontal line y = −3 at x = −4 and at x = 1.
(a) Find b and c.
(b) Write down the y-intercept of the graph and find the coordinates of its vertex.

Answer
(a) b = 6, c = −11 (b) y-intercept −11; vertex (−1.5, −15.5)
Standard solution (without a calculator)
  1. Two substitution equations: at x = −4: 32 − 4b + c = −3, so −4b + c = −35. At x = 1: 2 + b + c = −3, so b + c = −5.
  2. Solve: subtracting the first equation from the second gives 5b = 30, so b = 6, and then c = −5 − 6 = −11.
  3. Intercept and vertex: the y-intercept is c = −11. The axis is the mean of the two points of equal height, x = (−4 + 1)/2 = −1.5, and y = 2(−1.5)² + 6(−1.5) − 11 = 4.5 − 9 − 11 = −15.5. The program shows 6, −11 and −1.5; the y-coordinate of the vertex comes from substituting x = −1.5 back.
  4. Check by substitution: at x = −4, 32 − 24 − 11 = −3; at x = 1, 2 + 6 − 11 = −3, as given.
Do it on the calculator

Example 2

A jet of water in a fountain follows h(x) = −0.5x² + bx + c, where x is the horizontal position and h(x) is the height above the ground, both in metres; the model is used for 1 ≤ x ≤ 7. The height of the jet is 2 m at both x = 1 and x = 7.
(a) Find b and c, and write down h(x).
(b) Find the axis of symmetry of this jet and its maximum height.

Answer
(a) b = 4, c = −1.5; h(x) = −0.5x² + 4x − 1.5 (b) axis x = 4, maximum height 6.5 m
Standard solution (without a calculator)
  1. Two substitution equations: at x = 1: −0.5 + b + c = 2, i.e. b + c = 2.5. At x = 7: −24.5 + 7b + c = 2, i.e. 7b + c = 26.5.
  2. Solve for the coefficients: subtracting gives 6b = 24, so b = 4. From b + c = 2.5, c = −1.5. Hence h(x) = −0.5x² + 4x − 1.5.
  3. Axis and maximum: the axis is x = −4/[2(−0.5)] = 4, inside the stated range. The leading coefficient is negative, so the vertex gives the maximum height: h(4) = −0.5(16) + 16 − 1.5 = 6.5 m. The program shows 4, −1.5, 4; the maximum height comes from putting the final x = 4 back into the function, it is not an extra number shown by the program.
  4. Check by substitution: h(1) = −0.5 + 4 − 1.5 = 2 and h(7) = −24.5 + 28 − 1.5 = 2, as given.
Do it on the calculator

Example 3

The cable of a small footbridge hangs between two towers. Taking the deck as the x-axis, with x the horizontal distance in metres, the cable follows y = 0.02x² + bx + c for 5 ≤ x ≤ 45, where b and c are constants. The cable is fixed to the towers at x = 5 and x = 45, both 9 m above the deck.
(a) Find b and c.
(b) Find the lowest height of the cable above the deck and where it occurs.

Answer
(a) b = −1, c = 13.5 (b) 1 m above the deck, at x = 25 m
Standard solution (without a calculator)
  1. Use the symmetry: the two fixing points are at the same height, so the lowest point lies on the axis x = (5 + 45)/2 = 25.
  2. Find b: the axis of y = ax² + bx + c is x = −b/(2a), so −b/0.04 = 25 and b = −1.
  3. Find c: at x = 5, 0.02(25) − 5 + c = 9, so 0.5 − 5 + c = 9 and c = 13.5.
  4. Lowest point and check: y(25) = 0.02(625) − 25 + 13.5 = 12.5 − 25 + 13.5 = 1, so the cable is 1 m above the deck at x = 25. The program shows −1, 13.5 and 25. Check: y(45) = 40.5 − 45 + 13.5 = 9.
Do it on the calculator
02

When to use it

DSE quadratic function questions often give the leading coefficient a and say that f(u) = f(v) = H at two different x-coordinates u and v, then ask for b, c, the axis of symmetry or a value that depends on them. Since f(x) − H has the roots u and v, f(x) = a(x − u)(x − v) + H, so b = −a(u + v), c = H + auv and the axis is x = (u + v)/2. 034 takes a, u and v, shows b, asks for H, shows c and finally shows the axis. If H is not given and only b is needed, press AC after the first value.

What it is for

  • A real quadratic f(x) = ax² + bx + c with a known and not 0
  • Two different x-coordinates u and v at which f takes the same value H
  • Finding b, c and the axis of symmetry without solving simultaneous equations

What you enter

  • A: a, the x² coefficient — not 0
  • X and Y: the two different x-coordinates u and v, in either order
  • C?: the common height H (not the unknown constant c), asked only after b has been shown

What it shows

  • First b (press EXE to continue)
  • Then c = H + auv
  • Finally the x-coordinate of the axis of symmetry, (u + v)/2; it is only a number, so 3 means x = 3

Check before use

  • The program is for a real quadratic f(x) = ax² + bx + c. A? takes the x² coefficient and it must not be 0; X? and Y? take the x-coordinates of the two different points of equal height. Swapping the two x-coordinates does not change the answer.
  • After a, u and v the program shows b first. Press EXE to reach C?; what you enter there is the common height H, not the unknown constant c. Then it shows c, and after another EXE the x-coordinate of the axis of symmetry.
  • If H is not given and only the x coefficient is needed, read the first value b and press AC. Do not enter an assumed H. Two points of equal height alone, without a or other sufficient conditions, cannot fix the whole quadratic.
  • Enter the numbers for each new question; a blank EXE keeps the current value. At the end B holds b, C holds c and X holds the axis, so X and C are no longer the previous x-coordinate and common height.
  • If a = 0 or the two x-coordinates are equal, the program stops with Math ERROR before showing any answer. This means the conditions of the program are not met, not that the original problem has no solution.
  • Negative numbers, zero x-coordinates, zero height, finite decimals and simple fractions can be entered. Enter fractions with the a b/c key rather than a shortened recurring decimal. Use only real numbers and ordinary arithmetic; do not use functions such as Pol or Rec that overwrite X or Y when entering.
  • The program is meant for numbers of ordinary size. Two very close x-coordinates, such as 1 and 1.0000000000001, may be treated as the same point by the calculator. Data with intermediate overflow or underflow, or severe cancellation of large numbers, are not supported; the result may be an error or an inaccurate 0.
  • The example uses an empty P1; the set-up keys MODE 6 → 3 → 1 clear P1. If P1 holds a program you need, use another empty area: MODE 6 → 1 (EDIT) → area number → 1 (COMP), and AC after entering. The program sets Norm 2 itself and the angle unit does not matter.
  • The last screen shows only the number for the axis, e.g. 3 means x = 3, with no label. Pressing EXE there runs the program again; press AC to leave

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.