Linear polynomial

Substitute a value into a linear polynomial.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
p(x) = ax + b

Variables & units

Coefficient a
Numeric value · minimum -1000000000, maximum 1000000000
Constant b
Numeric value · minimum -1000000000, maximum 1000000000
Value of x
Numeric value · minimum -1000000000, maximum 1000000000

Worked example

For p(x) = 3x + 2, p(4) = 14.

Assumptions

Multiply a by x before adding b. If a = 0, the polynomial is constant.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.