maths.free › Algebra › Substituting values into expressions

Substituting values into expressions

Replacing each letter by its value, in brackets, and evaluating in the right order.

To substitute is to replace every occurrence of a variable by a number and then evaluate. The rule that prevents most errors is to put the value in brackets first: with \( x = -2 \), the term \( x^2 \) becomes \( (-2)^2 = 4 \), not \( -2^2 = -4 \). Then evaluate in the usual order: brackets, powers, multiplication and division, addition and subtraction.

The worked example puts \( x = 4 \) into \( 2x^2 - 3x + 1 \): \( 2 \cdot 4^2 - 3 \cdot 4 + 1 = 32 - 12 + 1 = 21 \). With several variables, every letter is replaced at the same moment, so \( 2a + 3b \) at \( a = 4, b = -1 \) is \( 8 - 3 = 5 \).

Picture it: substituting \( x = 4 \) is reading one point off the graph of the expression, the height of the curve above 4. Think it: substitution is how every formula is used (area from a radius, distance from a time) and how a solution is checked: put the answer back into the equation and both sides must agree.

工作范例 · 2x^2 - 3x + 1 where x = 4

Evaluate 2x^2 - 3x + 1

2 x^{2} - 3 x + 1 \quad \text{at}\ x = 4

一步

  1. 2 x^{2} - 3 x + 1

    Start from the expression.

  2. 1 - 3 \cdot 4 + 2 \cdot 4^{2}

    Substitute x = 4.

  3. 21

    Evaluate.

发送答案
21

现在轮到你 选择问题, 输入或绘制您自己的 。 每一步, 图片, 答案隐藏到您询问 。

保持你自己的工作

免费账户在每一课上都添加注解, 记录你完成的, 在一个地方解决的, 以及您可以询问的关于此页的导师。 数学本身向每个人开放, 是否签名 。

签名上签名 登录

此处所用符号

输入完整定义、图片和其中每个字母的含义的符号。

如何: Substituting values into expressions

  1. Write the expression again with each variable replaced by its value in brackets.
  2. Work out powers first, then multiplication and division, then addition and subtraction.
  3. Watch the signs: a negative value squared is positive.
  4. To check a solution of an equation, substitute it into both sides and compare.

人们对人们提出的问题

Why do I need the brackets?

Because the power binds tighter than the minus sign. With x = -3, x^2 means (-3)^2 = 9, while -3^2 means -(3^2) = -9. The brackets keep the value together.

What does it mean to solve an equation?

To find every value of the unknown that makes both sides equal. Each step is an operation applied to both sides that keeps the solution set the same, until the unknown stands alone.

Why do I sometimes get two answers?

A quadratic can cross the axis twice, so it can have two solutions. A degree-n polynomial has up to n. The graph shows where each one comes from.

How do I know whether to factor or use the quadratic formula?

Try factoring for a few seconds: look for two numbers that multiply to a·c and add to b. If nothing obvious appears, the discriminant b² − 4ac tells you how many real roots there are, and the formula finds them without guessing.

更多 Algebra