Connect via MCP →

Enter Calculation

Evaluates the expression a·x + b·y + c by substituting the given values.

Formula

Advertisement

Results

Value of a·x + b·y + c
16
result after substitution
Term a·x 8
Term b·y 3
Constant c 5

What This Calculator Does

This tool evaluates a linear expression of the form \(a \cdot x + b \cdot y + c\) by substituting numeric values for the variables x and y. Substitution is one of the most fundamental skills in algebra: you replace each variable with a known number, then carry out the arithmetic to simplify the expression to a single value.

How to Use It

Enter the three coefficients — a (multiplies x), b (multiplies y), and the constant c. Then enter the values you want to substitute for x and y. The calculator multiplies each variable by its coefficient, adds the constant, and shows you the final value along with each intermediate term so you can follow the work.

The Formula Explained

The expression is $$f(x, y) = a \cdot x + b \cdot y + c$$ Substitution simply means plugging in numbers: wherever you see x, write its value; wherever you see y, write its value. Following the order of operations, you multiply before you add, so \(a \cdot x\) and \(b \cdot y\) are computed first, then summed with \(c\).

The expression split into terms a times x, b times y, and constant c
The expression is the sum of three terms: a·x, b·y and the constant c.

Worked Example

Suppose a = 2, b = 3, c = 5, x = 4, and y = 1. Substituting gives $$2 \cdot 4 + 3 \cdot 1 + 5 = 8 + 3 + 5 = 16$$ The calculator returns 16 and shows the terms 8, 3, and 5 in the breakdown table.

Numeric values being substituted into each variable slot to compute the result
Substituting numeric values into each variable and combining the terms gives the final value.

FAQ

Can I use negative or decimal values? Yes — any real number works for the coefficients and variable values, including negatives and decimals.

What if I only have one variable? Set the coefficient of the unused variable (a or b) to 0, and that term will not affect the result.

Does this solve equations? No — it evaluates an expression at given values. To solve for an unknown you would set the expression equal to a target and rearrange.

Last updated: