1 / 17
Explicit, Recursive, or Steps | Lesson 2 of 2

Steps for Calculation and Choosing the Kind

Lesson 2 of 2: Which Definition Fits the Context?

In this lesson:

  • Write steps for calculation for staged or conditional computations
  • Decide which kind of definition fits a context
  • Say why that kind fits
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Lesson 2 Learning Objectives Overview

By the end of this lesson, you will be able to:

  1. Describe steps for calculation for a context computed in stages, by conditions, or from an input of varying length
  2. From a context, determine the kind of definition that fits — explicit, recursive, or steps — and say why
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Steps for Calculation Can Define a Function

Recall: a function assigns exactly one output to each input — no formula required.

  • Steps that give one output per input are a function
  • They fit computations done in stages or by conditions
  • They fit inputs of varying length
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Phone Plan: A Function Defined by Steps

$30 for up to 2 GB, then $10 for each additional GB, plus $0.05 per text.

  1. Start with base = $30
  2. If data > 2 GB, add $10 × (data − 2)
  3. Add $0.05 × (number of texts)
  4. Result is the monthly cost
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Quick Check: Test the Phone Plan Steps

A month's usage: 5 GB of data and 100 texts.

  • What is the input? What is the output?
  • Does step 2 apply? What does it add?
  • What is the monthly cost?

Work it through before the next slide...

Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

GPA: Steps for Any Number of Courses

  1. For each course: multiply grade points by credit hours
  2. Sum all the products
  3. Sum all credit hours
  4. Divide total grade points by total credit hours

The number of products depends on the number of courses.

Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Shipping With Weight Tiers as Steps

$6 for up to 2 pounds, then $1.50 for each additional pound.

  1. Start with cost = $6
  2. If weight > 2 pounds, add $1.50 × (weight − 2)
  3. Result is the shipping cost

Test: 5 pounds → 6 + 1.50 × 3 = $10.50

Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

The Context Decides Which Kind Fits

Three-row guide: explicit for a starting value with a constant step, recursive for each state from the previous, steps for stages, conditions, or inputs of varying length

  • What does the description compute from?
  • One function can often be defined more than one way: pick the kind that states the context's own computation
  • Say which kind fits and why, then write it
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Gym Membership Fits an Explicit Expression

"A gym charges $25 to join, then $30 per month."

  • Why explicit: a starting amount and a constant amount per month; any month's total is wanted
  • One year:
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Fish Pond Fits a Recursive Process

"A pond has 200 fish this spring. Each spring the count is 1.5 times last spring's, minus 40 that are caught."

  • Why recursive: each year comes from the previous year
  • , for
  • ,
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Movie Tickets Fit Steps for Calculation

"$12 per adult, $8 per child, $2 off every ticket on Tuesdays."

  • Why steps: computed in stages, with a condition
  • (1) adults children
  • (2) If Tuesday, subtract (adults + children)
  • 2 adults, 1 child, Tuesday: 24 + 8 − 6 = $26
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Practice: Choose the Kind, Say Why

Name the kind, say why, write it, test an input.

  1. Taxi: $3.50 plus $2 per mile
  2. Lake: 600 fish; each year 0.9 times last year's, plus 50
  3. Concert: $40 a ticket; 20% off the whole order of 10+
  4. Library fine: $0.25 a day for 10 days, then $0.50 a day
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Practice Answers: The Kind and Why

  1. Explicit: ;
  2. Recursive: , ;
  3. Steps, condition: 12 tickets → 12(40)(0.80) = $384
  4. Steps, two stages: 16 days → 10(0.25) + 6(0.50) = $5.50
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Lesson 2 Key Takeaways and Watch-Outs

✓ Steps with one output per input define a function

✓ The description decides: start plus constant step or factor → explicit; from the previous → recursive; stages, conditions, varying length → steps

✓ Say which kind fits and why before writing it

⚠️ A function needs no single formula

Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Exit Task: Choose, Write, Test

A bike rental costs $8 for the first hour, $5 for each additional hour or part of an hour, and at most $30 a day.

Name the kind of definition, say why, write it, then find the cost of 3.5 hours and of 8 hours.

Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Exit Task Answers: Kind and Costs

  • Steps: stages and a condition, with a cap
  • (1) $8 for hour 1; (2) add $5 for each further hour or part of an hour; (3) if over $30, charge $30
  • 3.5 hours: 8 + 5(3) = $23
  • 8 hours: 8 + 5(7) = 43, so the cap gives $30
Grade 9 Functions | HSF.BF.A.1.a
Explicit, Recursive, or Steps | Lesson 2 of 2

Coming Up: Combining Standard Function Types

Coming up: HSF.BF.A.1.b — Combining Standard Function Types

  • Add, subtract, multiply, and divide functions
  • Build models with multiple components (like: revenue minus cost equals profit)
  • Identify and decompose complex real-world models
Grade 9 Functions | HSF.BF.A.1.a