HexMathv1.0.4
Function calculator with steps
This function calculator evaluates a function at a number or an expression, composes two functions and solves f(x) = k for x. Type the function and what you want, or scan the problem. HexMath returns the result and shows each substitution and simplification, including the difference quotient used in early calculus.
Loading math input...
What this page covers
- Evaluating at a number or at an expression such as .
- Composing functions: and .
- Solving for , and simplifying the difference quotient .
- Not covered here: the domain and range (see the domain and range calculator) and the inverse of a function (type the problem into the solver).
How to enter the problem
- Type the definition first and then the question, for example f(x) = 2x^2 − 3x + 1, find f(−2).
- Scan it. Fit the one problem in the frame.
- Choose a photo. Several problems in one photo are solved as a list.
- Then tap Solve.
Worked examples
Example 1: If f(x) = 2x² - 3x + 1, find f(-2).
Problem
If , find .
Answer
VerifiedThe answer is
Explanation
- Substitute with bracketsReplace every by
- Evaluate the power, so the first term is . The square of a negative number is positive.
- Evaluate the product
- Add up
Example 2: Let f(x) = x² - 2x. Solve f(x) = 15.
Problem
Let . Solve .
Answer
VerifiedThe answer is
Explanation
- Set the function equal to 15
- Move everything to one side
- Factor
- Solve each factor and checkor . Check: and .
Example 3: For f(x) = x² - 4x, simplify (f(x + h) - f(x))/h.
Problem
For , simplify .
Answer
VerifiedThe answer is
Explanation
- Evaluate
- Subtract
- Divide by, for .
Common mistakes
- Squaring a negative input without brackets. needs ; reading it as gives instead of 15.
- Reading as the product . Composition puts inside .
- Composing in the wrong order. , a different function from .
- Subtracting only the first term of in a difference quotient. The bracket in changes both signs.
Checks, assumptions and limits
- Test a composition at one number. With : and , and too.
- Functions here are real-valued; an input outside the domain has no output.
- In a difference quotient is not zero, which is what allows dividing by .
- HexMath can make mistakes. Double check important steps.
Frequently asked questions
Evaluate it at a number, find a composition such as f(g(x)), solve f(x) = k, or simplify a difference quotient. Write the definition first, then the question.
Yes. Define f and g in the same problem, for example f(x) = x^2 + 1 and g(x) = 3x − 2, then ask for f(g(x)).
Yes. The first step writes the input in place of x, in brackets, before any arithmetic. That is where most sign errors start.
Yes. Give f(x) and ask for the difference quotient. The steps substitute x + h, subtract f(x) and simplify the fraction until the h in the denominator cancels.
Related tasks
Ready to solve your next math problem?
Create a free account for 3 math questions a day in your browser. No card.
Last updated: · HexMath