Definition Calculator

Evaluate expressions at a value of x, simplify indices and rearrange formulas step by step
Evaluate 3x^2 - 5x + 7 at x = -2
Simplify (2x^3 y^2)^3 / (4x^5 y)
Solve y = (2x - 1)/(x + 3) for x
Evaluate 16^(3/4) * 27^(-1/3)

Evaluating an Expression at a Value of x

A definition here means the rule that assigns an output to an input: f(x)=3x2тИТ5x+7f(x) = 3x^2 - 5x + 7 defines ff, and evaluating it means substituting a number for every occurrence of xx.

The procedure that never fails:

  1. Bracket the substitution. Write 3(тИТ2)23(-2)^2, never 3тИТ223-2^2. Almost every sign error on this topic comes from an unbracketed negative.
  2. Apply the order of operations тАФ brackets, indices, multiplication and division, then addition and subtraction.
  3. Keep the negative inside the power where the expression puts it: (тИТ2)2=4(-2)^2 = 4 but тИТ22=тИТ4-2^2 = -4.

For a function of two variables, substitute both at once and treat the result as arithmetic.

The assumption people forget: a variable stands for the same number everywhere it appears in one expression. If xx appears three times, all three become тИТ2-2 тАФ you cannot substitute into some of them and leave the rest.

Index Laws and Rearranging

Indices (exponents) obey a short list of rules, all of which follow from repeated multiplication:

xaxb=xa+b,xaxb=xaтИТb,(xa)b=xabx^a x^b = x^{a+b}, \qquad \frac{x^a}{x^b} = x^{a-b}, \qquad (x^a)^b = x^{ab}

(xy)a=xaya,xтИТa=1xa,x0=1┬а(xтЙа0)(xy)^a = x^a y^a, \qquad x^{-a} = \frac{1}{x^a}, \qquad x^{0} = 1\ (x \neq 0)

Fractional indices are roots: x1/n=xnx^{1/n} = \sqrt[n]{x}, so xm/n=(xn)mx^{m/n} = \left(\sqrt[n]{x}\right)^m. Take the root first and the arithmetic stays small тАФ 163/4=(164)3=23=816^{3/4} = (\sqrt[4]{16})^3 = 2^3 = 8.

To solve in terms of xx, collect every xx term on one side, factor xx out, then divide:

ax+bx=c┬атЯ╣┬аx(a+b)=c┬атЯ╣┬аx=ca+bax + bx = c \ \Longrightarrow\ x(a+b) = c \ \Longrightarrow\ x = \frac{c}{a+b}

When it applies: the division step needs a+bтЙа0a + b \neq 0, and clearing a denominator needs that denominator to be non-zero тАФ state the restriction alongside the answer.

Common Mistakes to Avoid

  • Losing a bracket on a negative substitution тАФ (тИТ2)2=4(-2)^2 = 4, while тИТ22=тИТ4-2^2 = -4. They are different expressions.
  • Adding indices when multiplying bases тАФ 23├Ч332^3 \times 3^3 is not 666^6. The law xaxb=xa+bx^ax^b = x^{a+b} needs the same base.
  • Reading xтИТ2x^{-2} as a negative number тАФ it is a reciprocal, 1/x21/x^2, and it is positive whenever xx is real and non-zero.
  • Cancelling across a sum тАФ in (x+3)/(x+6)(x+3)/(x+6) nothing cancels. Only common factors cancel.
  • Forgetting x0=1x^0 = 1 тАФ including when the base is a whole bracketed expression.
  • Dividing by something that could be zero when rearranging тАФ carry the restriction, such as yтЙа2y \neq 2, into the final answer.

Examples

Step 1: Substitute with brackets: f(тИТ2)=3(тИТ2)2тИТ5(тИТ2)+7f(-2) = 3(-2)^2 - 5(-2) + 7
Step 2: Indices first: (тИТ2)2=4(-2)^2 = 4, so 3(4)=123(4) = 12
Step 3: Second term: тИТ5(тИТ2)=+10-5(-2) = +10
Step 4: f(тИТ2)=12+10+7f(-2) = 12 + 10 + 7
Answer: f(тИТ2)=29f(-2) = 29

Step 1: Expand the numerator with (xy)a=xaya(xy)^a = x^ay^a and (xa)b=xab(x^a)^b = x^{ab}: (2x3y2)3=23x9y6=8x9y6(2x^3y^2)^3 = 2^3 x^{9} y^{6} = 8x^9y^6
Step 2: Divide the coefficients: 8├╖4=28 \div 4 = 2
Step 3: Subtract the indices of xx: x9тИТ5=x4x^{9-5} = x^{4}
Step 4: Subtract the indices of yy: y6тИТ1=y5y^{6-1} = y^{5}
Answer: 2x4y52x^4y^5 (valid for xтЙа0x \neq 0, yтЙа0y \neq 0)

Step 1: Multiply both sides by (x+3)(x+3), assuming xтЙатИТ3x \neq -3: y(x+3)=2xтИТ1y(x+3) = 2x - 1
Step 2: Expand: yx+3y=2xтИТ1yx + 3y = 2x - 1
Step 3: Collect the xx terms on one side: yxтИТ2x=тИТ1тИТ3yyx - 2x = -1 - 3y
Step 4: Factor out xx: x(yтИТ2)=тИТ(1+3y)x(y - 2) = -(1 + 3y)
Step 5: Divide by (yтИТ2)(y-2), which requires yтЙа2y \neq 2: x=тИТ(1+3y)yтИТ2=1+3y2тИТyx = \dfrac{-(1+3y)}{y-2} = \dfrac{1+3y}{2-y}
Step 6: Check with x=1x = 1: y=(2тИТ1)/(1+3)=0.25y = (2-1)/(1+3) = 0.25, and (1+0.75)/(2тИТ0.25)=1.75/1.75=1(1 + 0.75)/(2 - 0.25) = 1.75/1.75 = 1
Answer: x=1+3y2тИТyx = \dfrac{1+3y}{2-y}, for yтЙа2y \neq 2

Frequently Asked Questions

Replace every x with the given value, in brackets, then follow the order of operations: brackets, indices, multiplication and division, addition and subtraction. The brackets matter тАФ 3(тИТ2)┬▓ is 12, whereas 3тИТ2┬▓ read carelessly gives тИТ1.

For the same base: xс╡Гxс╡З = xс╡ГтБ║с╡З, xс╡Г/xс╡З = xс╡ГтБ╗с╡З, (xс╡Г)с╡З = xс╡Гс╡З, (xy)с╡Г = xс╡Гyс╡Г, xтБ╗с╡Г = 1/xс╡Г and xтБ░ = 1 for x тЙа 0. A fractional index is a root: x^(m/n) is the nth root of x, raised to the power m.

Clear any denominators, expand the brackets, move every term containing x to one side and everything else to the other, factor x out of that side, then divide by the bracket. Note any value that would make your divisor zero and exclude it.

A negative exponent is a reciprocal: xтБ╗┬▓ = 1/x┬▓. A fractional exponent is a root: x^(1/3) is the cube root of x. Combining them, 27^(тИТ1/3) = 1/тИЫ27 = 1/3. Taking the root before the power keeps the numbers small.

Related Solvers

Try AI-Math for Free

Get step-by-step solutions to any math problem. Upload a photo or type your question.

Start Solving