173Mathematics · Variations

Variation: two integer powers

Variation: two integer powers

Determine a,b in y=axᵖ+bxᑫ from two observations and selected integer powers, then evaluate the requested value.

  • 289 bytes
  • COMP mode
01

Worked examples

Example 1

Original exercise. Determine a,b in y=axᵖ+bxᑫ from two observations and selected integer powers, then evaluate the requested value. y=ax⁰+bx²; y(2)=19; y(4)=67. a=?, b=?, y(3)=?

Answer
y(3)=3+4×9=39; y(2)=19, y(4)=67.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: p=0, q=2 ⇒ a+4b=19; a+16b=67.
  3. Calculation: 12b=48 ⇒ b=4; a=3.
  4. Conclusion: y(3)=3+4×9=39; y(2)=19, y(4)=67.
Do it on the calculator

Example 2

Original exercise. Determine a,b in y=axᵖ+bxᑫ from two observations and selected integer powers, then evaluate the requested value. y=ax²+bx; y(2)=22; y(3)=45. a=?, b=?, y(4)=?

Answer
y(4)=4×16+3×4=76; y(2)=22, y(3)=45.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: p=2, q=1 ⇒ 4a+2b=22; 9a+3b=45.
  3. Calculation: 2a+b=11; 3a+b=15 ⇒ a=4, b=3.
  4. Conclusion: y(4)=4×16+3×4=76; y(2)=22, y(3)=45.
Do it on the calculator

Example 3

Original exercise. Determine a,b in y=axᵖ+bxᑫ from two observations and selected integer powers, then evaluate the requested value. y=ax²+bx⁻¹; y(1)=−6; y(2)=18. a=?, b=?, y(−2)=?

Answer
y(−2)=6×4+(−12)/(−2)=30; y(1)=−6, y(2)=18.
Standard solution (without a calculator)
  1. Substitute the conditions, solve the equations, then retain only values satisfying the stated domain.
  2. Equation: p=2, q=−1 ⇒ a+b=−6; 4a+b/2=18.
  3. Calculation: 8a+b=36 ⇒ 7a=42 ⇒ a=6, b=−12.
  4. Conclusion: y(−2)=6×4+(−12)/(−2)=30; y(1)=−6, y(2)=18.
Do it on the calculator
02

When to use it

Determine a,b in y=axᵖ+bxᑫ from two observations and selected integer powers, then evaluate the requested value.

Input order

  • x₁ → y₁ → x₂ → y₂ → p → q
  • Enter all fields again for every run. Blank EXE retains old memory; zero must be typed as 0EXE.

Results

  • S → a → b
  • All displayed values follow the output order below. A pause requires EXE; the final screen uses AC.
  • S=0: unique solution, then two coefficients. S=1: no solution. S=2: nonunique coefficients. S=3: unsupported input or a determinant below the relative 10⁻¹⁰ threshold; this is a numerical refusal, not proof of no solution. All prompts require fresh entries; blank EXE retains old memory. Values within |input|≤10⁹ are recommended. Overflow can still produce Math ERROR instead of S=3. Check the original equations and variable transformation. Working variables A,B,C,D,X,Y,M and Ans may be overwritten.

Conditions and limits

  • Input x₁,y₁,x₂,y₂,p,q. Acceptable powers are exactly −1,0,1,2,3; fractional powers and shifted bases are excluded. A zero power is the constant function 1, including at x=0. Zero x with a negative power gives S=3. Negative bases are allowed for these integer powers. Recommended nonzero |x|≥10⁻⁶ and |x|≤10⁹. The program briefly uses Fix 0 and returns to Norm 1.
  • S=0: unique solution, then two coefficients. S=1: no solution. S=2: nonunique coefficients. S=3: unsupported input or a determinant below the relative 10⁻¹⁰ threshold; this is a numerical refusal, not proof of no solution. All prompts require fresh entries; blank EXE retains old memory. Values within |input|≤10⁹ are recommended. Overflow can still produce Math ERROR instead of S=3. Check the original equations and variable transformation. Working variables A,B,C,D,X,Y,M and Ans may be overwritten.
  • The finite precision and numeric range of the calculator limit very large, very small or nearly cancelling values.

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.