Piecewise Linear and Sinusoidal Models in Degrees | Applications and Interpretation IB Maths notes
Free preview: Piecewise Linear and Sinusoidal Models in Degrees
Piecewise Linear Models
Applications and interpretation: SL and HL (SL 2.5)
Let's start with a taxi ride. The fare goes up at one rate for the first part of the journey and at a different rate after that. One straight line cannot describe it, but two straight lines joined together can.
- You already know a linear model : a starting value c and a constant rate m.
- Real prices and charges often change their rate part-way: phone data, taxes, electricity, delivery charges.
- So we glue several straight lines together, each one used only on its own stretch of x.
What a piecewise model is
- A piecewise linear model uses different straight-line rules on different parts of the domain.
- Each piece has its own gradient (the rate) and holds only on its own interval of x.
- The x-value where one piece hands over to the next is called a boundary (or breakpoint).
- We write it with a brace, giving each rule its interval.
Example: a taxi charges 3.50 dollars plus 2.20 dollars per km for the first 10 km, then 1.80 dollars per km after that. The fare for d km is
๐ก In plain words
- First piece: start at 3.50 and add 2.20 for each km. At d = 10 the fare is .
- Second piece: start from where the first piece ended, 25.50 at d = 10, and add 1.80 for each extra km beyond 10.
- Because the second piece starts where the first one ends, there is no jump: the graph is joined up.
Recipe: using a piecewise model
- Decide which interval x is in. Read the inequality signs carefully. Why: only one piece is true for each x.
- Use that piece only. Substitute x into that rule.
- Working backwards (given y, find x): find the y-value at each boundary first, so you know which piece the answer is on. Then solve that piece's equation.
๐ Watch me do it: the taxi fare for 6 km, for 15 km, and the distance for a 40 dollar fare
| What I write | Why I do it |
|---|---|
| 6 km: , so first piece | Step 1: pick the piece. |
| dollars | Step 2. |
| 15 km: 15 is more than 10, so second piece | Step 1 again. |
| dollars | Only the 5 km beyond 10 are charged at 1.80. |
| 40 dollars is more than f(10) = 25.50, so the second piece | Step 3: compare with the boundary value. |
| Subtract 25.50, divide by 1.80. | |
| km (3 s.f.) | Add the 10 back on. |
๐ Here's the trap
- Using 1.80 ร 15 for the second piece. The 1.80 rate applies only to the km beyond 10, so use (d โ 10). Wrong: . Right: .
- Using the wrong piece at a boundary. Read the inequality signs: here d = 10 belongs to the first piece.
๐ก On your GDC
- Graph each piece only on its own interval. Most GDCs let you restrict a function to a domain, either by adding the interval to the function or by dividing by an inequality such as (X โค 10); check how your model does it.
- Then use trace or the intersection tool as usual, for example to find the distance for a 40 dollar fare: graph y = 40 and find where it meets the fare graph.
โ๏ธ YOUR TURN 1
Try this first:
Electricity costs a fixed 12 dollars a month, plus 0.15 dollars per kWh for the first 200 kWh, then 0.22 dollars per kWh after that. Write the monthly cost C(k) for k kWh as a piecewise function, then find C(350).
Answer:
- At k = 200 the first piece gives .
- dollars.
โ๏ธ YOUR TURN 2
Try this first:
For the same tariff, a bill is 64 dollars. How many kWh were used?
Answer:
- 64 is more than C(200) = 42, so use the second piece.
- kWh.
Sinusoidal Models in Degrees
Now models that repeat: tides, temperatures through the year, the height of a seat on a Ferris wheel. A straight line can't repeat, but a sine or cosine wave can. At SL these use degrees.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
Log in ยท Subscribe ยท Start free trial
All notes in Modelling with functions (SL 2.5, 2.6)
- Direct and Inverse Proportion and Their Graphs
- Sketching Cubic and Quartic Graphs from Their Factors
- Piecewise Linear and Sinusoidal Models in Degrees
- Modelling with Functions: Limitations and Refinements
- Quadratic Graphs, Completing the Square and Solving Quadratics
- Exponential Growth and Decay Models and Their Limitations
- Fitting Models with GDC Regression
What's inside for this topic
7 teacher notes, 57 practice questions, 35 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Sketching Cubic and Quartic Graphs from Their Factors Next note: Modelling with Functions: Limitations and Refinements
All Applications and Interpretation IB Maths topics ยท IB Maths