Get the app
Pythagoras reading a large wall thermometer outside a café, notebook in hand

Some questions hand you a formula and ask you to use it; others ask you to rearrange it; others write it as f(x). All three are the same skill as solving an equation, with letters where the numbers used to be.

11 min read · 2 sample questions · 11 flashcards · Free

A formula is an equation you can rearrange

  1. A = l × w
  2. A ÷ l = l × w ÷ l
  3. w = A ÷ l
Solving for w: undo what is done to w, on both sides, as in any equation.

A formula ties several quantities together: area, length and width, for example. You can plug in numbers for all but one letter and solve, or rearrange it first so the letter you want stands alone.

Key idea

f(x) is a machine

f(x) = 3x − 2 means: whatever goes in as x, multiply it by 3 and subtract 2. f(5) is what comes out when 5 goes in: 3 × 5 − 2 = 13. It is not f times x. Read f(x) as “f of x.” Other letters work the same way: g(x) and h(x) are just functions with different names.

Next: Learn

How to solve them

  1. 1

    Plug numbers into a formula

    Replace each letter with its number (in parentheses if it is negative) and work it out with the order of operations.

    Example

    F = 1.8C + 32. What is 25 °C in Fahrenheit?

    1. Replace C with 25: F = 1.8 × 25 + 32.
    2. 1.8 × 25 = 45.
    3. 45 + 32 = 77.

    Answer 77 °F

    Next step: Solve for a letter
  2. 2

    Solve a formula for one letter

    Treat every other letter as if it were a number. Undo the operations around the letter you want, in reverse order, on both sides.

    1. P = 2l + 2w
    2. P − 2w = 2l
    3. l = (P − 2w) ÷ 2
    Next step: Plug in after
  3. 3

    Rearrange first, then plug in

    When the unknown is not the letter alone on the left, it is often cleaner to rearrange first and only then put the numbers in.

    C = 2πr → r = C ÷ (2π)

    Example

    A circle has a circumference (the distance around it) of 31.4. Find its radius (center to edge), using π ≈ 3.14 (≈ means “about”).

    1. r = C ÷ (2π) = 31.4 ÷ (2 × 3.14).
    2. 2 × 3.14 = 6.28.
    3. 31.4 ÷ 6.28 = 5.

    Answer r = 5

    Next step: f(x)
  4. 4

    f(x) notation: replace every x

    Find every x in the rule and put the input in its place. Then calculate.

    1. f(x) = 3x² − 2x + 1, find f(4)
    2. 3(4)² − 2(4) + 1
    3. 3 × 16 − 8 + 1
    4. 48 − 8 + 1
    5. 41
    Next step: Negative inputs
  5. 5

    Negative inputs: always use parentheses

    A negative input goes in wrapped in parentheses, so that squaring it gives a positive number and subtracting it turns into adding.

    1. f(x) = x² − 5x, find f(−2)
    2. (−2)² − 5(−2)
    3. 4 + 10
    4. 14
    Next step: f of an expression
  6. 6

    f(a + 3): the whole expression goes in

    If the input is an expression, replace x with the whole expression in parentheses, then simplify.

    1. f(x) = 2x + 7, find f(a + 3)
    2. 2(a + 3) + 7
    3. 2a + 6 + 7
    4. 2a + 13
    Next step: Three examples
  7. 7

    Three worked examples, from easy to test level

    Each one starts with the first try many people make, crossed out, and then the way that works. Read the wrong try too: it is the kind of answer the test puts in the choices.

    The test-level one gives you the answer of the formula and asks for a letter inside it. Undo the operations one at a time, and check by putting your answer back in.

    Example · Easy

    The area of a triangle is A = ½bh. A sign shaped like a triangle has a base of 12 inches and a height of 5 inches. What is its area?

    First try12 × 5 = 60 square inches

    1. The formula has a ½ in front. 60 forgets it: that would be the area of a whole rectangle, twice the triangle.
    2. Replace b with 12 and h with 5: A = ½ × 12 × 5.
    3. Half of 12 is 6.
    4. 6 × 5 = 30.

    Answer 30 square inches

    Example · Medium

    If h(x) = 2x² − 3x + 4, what is h(−5)?

    First try2 × (−25) + 15 + 4 = −31

    1. The mistake was squaring −5 without parentheses. (−5)² means −5 times −5, which is positive.
    2. Put −5 in parentheses everywhere x appears: 2(−5)² − 3(−5) + 4.
    3. Square first: (−5)² = 25, so 2 × 25 = 50.
    4. −3 times −5 is +15, because a negative times a negative is positive.
    5. 50 + 15 + 4 = 69.

    Answer h(−5) = 69

    Example · Test level

    A soldier rents a storage unit while deployed. The total cost is C = 25 + 15m dollars, where m is the number of months and $25 is a one-time fee. The total bill was $160. How many months did the soldier rent the unit?

    First try160 ÷ 15 ≈ 10.7, so about 11 months

    1. That try forgets the one-time fee. Only part of the $160 was paid month by month.
    2. Put in what you know: 160 = 25 + 15m.
    3. Take the fee away from both sides: 160 − 25 = 135, so 135 = 15m.
    4. Undo the × 15: m = 135 ÷ 15 = 9.
    5. Check: 15 × 9 is 135, and 25 + 135 = 160. It works: 9 months.

    Answer 9 months

Next: Watch out

4 traps in the answer choices

The test writes its wrong answers on purpose: each one is what you get if you make one of these mistakes.

Trap

Squaring a negative input without parentheses

f(x) = x², f(−3):

Wrong−3² = −9

Right(−3)² = 9

Trap

Dividing only one term

Solve y = 4x + 8 for x:

Wrongx = y ÷ 4 − 8

Rightx = (y − 8) ÷ 4

Trap

Reading f(x) as f times x

f(5):

Wrongf × 5

Rightthe output when x = 5

Trap

Replacing only one x

f(x) = x² + x, f(3):

Wrong9 + x

Right9 + 3 = 12

Next: Practice

Try 2 questions

Two sample questions on this topic. Pick an answer, then read why. All the practice for this topic is in the Study Hall.

On test day

Formulas belong to Mathematics Knowledge. On the computer test it has 15 questions in 31 minutes, a little over 2 minutes each. On paper it is 25 questions in 24 minutes, just under 1 minute each. Expect three kinds of question: plug numbers into a formula, solve a formula for one letter, or find f of a number.

Formulas also hide inside Arithmetic Reasoning word problems (15 questions in 55 minutes on the computer test): a fee plus a price per month, distance from speed and time, degrees Celsius and Fahrenheit. There is no calculator, and the numbers are chosen so they work out by hand.

A tip: when the choices are formulas instead of numbers, test them. Pick easy numbers that fit the first formula, put them into each choice, and keep the one that gives back the right letter. On the computer test you cannot go back to a question, so check before you move on.

Question 1 of 2 · Warm-up

If f(x) = 5x − 3, what is f(4)?

Show the answer

A. Replace x with 4: 5 × 4 − 3 = 20 − 3 = 17. 20 forgets the − 3, 23 adds 3 instead of subtracting it, and 51 reads 5x as the digits 5 and 4 side by side, 54 − 3. f(4) is 17.

Question 2 of 2 · Warm-up

If f(x) = x² + 1, what is f(7)?

Show the answer

C. Replace x with 7: 7² means 7 × 7, which is 49, and 49 + 1 = 50. 49 forgets the + 1, 15 doubles 7 instead of squaring it (2 × 7 + 1), and 64 adds the 1 before squaring, 8 × 8. f(7) is 50.

The Study Hall

Practice this topic for real

The full lesson in the ASVABIFY Community: more practice questions with every answer explained, and a checkpoint that tells you when you have it. Reading is free with an account; all the practice comes with Study Hall Plus, and it is included with Pro.

Practice in the Study Hall Stuck on one? Ask in #questions, free
Next: Flashcards

11 flashcards

Tap a card to flip it. Keep the ones you miss until they stick.

11 cards
Lesson complete

You finished this lesson: Formulas and f(x).

Practice score: not taken yet Take the practice

Next topic: Absolute value & scientific notation Course map
In the app

See this topic move.

In the course, every topic is drawn step by step on a whiteboard while a voice explains it, with timed practice tests and a plan for your test date. The first lessons of every module are free.

Try the app free