Procedural Definitions: Steps Are Valid Functions
A procedure is a valid function definition when:
- The situation involves conditional logic (if-then)
- Multiple sub-calculations combine for the final output
- A table lookup or rule applies differently in different ranges
A function requires: one output per input. Procedures do this.
Phone Plan: A Procedural Function
A plan charges $30 for up to 2 GB, $10/extra GB, plus $0.05/text.
- Start: base = $30
- If data > 2 GB, add $10 × (data − 2) to base
- Add $0.05 × (texts) to total
- Result is monthly cost
Quick Check: Is This a Function?
The phone plan assigns one cost to each (data, texts) pair.
- Is it a function? Why or why not?
- Could it be written as a single formula? (Hint: think about the conditional)
- When does the conditional in step 2 apply? When does it not?
GPA: No Single Formula Needed
GPA calculation with variable courses and credits:
- For each course: multiply grade points by credit hours
- Sum all the products
- Sum all credit hours
- Divide total grade points by total credit hours
Matching the Representation to the Question Asked
- Explicit: "Find the 100th value directly"
- Recursive: "Describe how each value builds on the last"
- Procedural: "Multi-step or conditional calculation"
Match the form to the question.
Translation: Explicit
Recursive (Linear)
For linear (arithmetic) functions, translation is direct:
| Explicit | Recursive |
|---|---|
- Slope
→ additive step in recursive -intercept → initial value
Example: Linear Translation Both Directions
Explicit → Recursive:
Recursive → Explicit:
Verify:
Translation: Explicit
Recursive (Exponential)
For exponential (geometric) functions, translation is equally direct:
| Explicit | Recursive |
|---|---|
- Base
→ multiplicative step in recursive - Initial value
→ starting point
Mismatched Values Signal a Translation Error
Explicit:
Recursive:
Guided Practice: Recursive to Explicit
Given:
Write the explicit form:
- What is the common difference? ___
- What is
? ___ - Explicit: $a(n) = $ ___
Then verify: compute
Quick Check: Which Form to Use?
Which form is more efficient for each question?
- "What is the population after 50 years?" → explicit or recursive?
- "How does the temperature drop from minute to minute?" → explicit or recursive?
- "What is the tax on a $75,000 income with brackets?" → any of the three?
Practice: Translate Between Explicit and Recursive Forms
Given one form, write the other. Verify with 3 terms.
→ write recursive , → write explicit → write recursive , → write explicit
Translation Practice Answers with Verification
-
→ , -
, → -
→ , -
, →
Verify problem 4:
Lesson 2 Key Takeaways and Watch-Outs
✓ Procedures are valid functions: steps that assign one output per input
✓ Explicit → Recursive: slope becomes common difference; base becomes common ratio
✓ Recursive → Explicit: extract initial value and constant step, write direct formula
✓ Verify every translation with 2-3 matching terms
Watch out: Some recursive functions have no simple explicit form — linear and exponential are special; not all recursions can be "solved"
Watch out: A procedure IS a function — no single formula is required
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
Click to begin the narrated lesson
Determine explicit or recursive expressions