Week 6
Nonlinear models

Business

The start of the week email. No need to reread it if you received it. It's just linked here in case anyone accidentally deleted it (it's happened before πŸ₯Ί). Definitely let me know if you didn't receive it though so we can figure out why not.

Monday

Nonlinear models: Do we even need them? πŸ“Ή Screencast 6:03|πŸ“˜ PDF
Oh yes we do! Many phenomena are nonlinear. Linear models are only common because they are easy to work with, not because the universe is mostly linear.
Function Fundamentals πŸ“Ή Pencast 10:30|πŸ“˜ PDF
What even is a function? Functions as blocks. Function notation. Not all functions are equations. And vice versa. Is this curve a function? The vertical line test.
Function families: The big three πŸ“Ή Pencast 9:56|πŸ“˜ PDF
Quadratics, Exponentials (and their kin Logarithmic and Logistic frunctions), and Sinusoids (a small subset of the Trignonometric functions).
Quadratic functions πŸ“Ή Pencast 6:13|πŸ“˜ PDF
You'll encounter them in three common forms. Each makes different information about the function apparent.
Example: From English to equation (Charity event) πŸ“Ή Pencast 6:40|πŸ“˜ PDF
What kind of a word problem gives rise to a quadratic?
Data to functions πŸ“Ή Pencast 6:25| πŸ“˜ PDF
Two points specify a line. What about a parabola? An exponential function? A sinusoid? In general you need as many points as your function has parameters.
Graphing by the method of successive transformations (GBTMOST) πŸ“Ή Pencast 16:42| πŸ“˜ PDF
This is the rare skill that will impress your future colleagues! 😎 Look at an equation, identify the family, and quickly sketch it to show them what it looks like.
GBTMOST: The reciprocal transformation πŸ“Ή Pencast 6:31| πŸ“˜ PDF
Most of the transformations we make use of in GBTMOST are simple. Dealing with reciprocals takes a bit more time, but can be done systematically in 3 steps:
1) Circle points where y = 1 or -1;
2) Draw vertical dashed lines where \(y=0\) (to show where there will be asymptotes); and
3) Fill in the regions between these by having the reciprocal do the opposite of the function (i.e.function goes up⇒reciprocal goes down, function goes down⇒reciprocal goes up).
Handout: Transformations cheatsheet πŸ“˜ PDF
A compact summary of the effect of the common transformations on a function.
GBTMOST: Four examples πŸ“Ή Pencast 13:57| πŸ“˜ PDF
1. Understanding \(y=mx+b\).
2. \(y=3(x+4)^2-2\)
3. \(y=-5Γ—2^{-x}+3\)
4. \( y=-3\sin(x-(\pi/2)+5 \)

Exercises

If you're comfortable with the topics above you're ready to work on:

Supplementary resources

Function transformations covers most of the transformations with nice diagrams (but doesn't do f+g, f-g and 1/f).

5.1 Quadratic Functions Textbook treatment of quadratic functions from OpenStax Algebra and Trigonometry by Jay Abramson and others.

Wednesday

About cancelling in fractions πŸ“Ή Pencast 6:58| πŸ“˜ PDF
Why is it that we can cancel things on the tops and bottoms of fractions? How do we do it? Watch out for plus signs!
Laws of exponents πŸ“Ή Pencast 4:37| πŸ“˜ PDF
All of them.
Exponential model forms πŸ“Ή Pencast 9:41| πŸ“˜ PDF
You will encounter exponential models expressed in three equivalent, but different-looking, forms. Here they are.
Example: Bacterial culture πŸ“Ή Pencast 9:25| πŸ“˜ PDF
Bacteria multiply very quickly. See last year's class' estimates, then see the actual answer.
Example: Daily improvement πŸ“Ή Pencast 4:09| πŸ“˜ PDF
If you could improve at something by just 1% a day how much better would you get at it in a year?
Example: Radium-226 πŸ“Ή Pencast 6:21| πŸ“˜ PDF
While bacterial populations grow, radioactive elements decay, but changing the sign on x changes the formula for exponential growth into one for exponential decay.
The forgotten truth about logarithms πŸ“Ή Pencast 2:51| πŸ“˜ PDF
Logarithms are just exponents! Honest.
What base should I use? Can I change my mind? πŸ“Ή Pencast 6:13| πŸ“˜ PDF
Computer scientists say 2, because then information is measured in bits. Natural scientists say 10 because they're familiar with scientific notation. Mathematicians say e, because it simplifies working with derivatives and integrals as we will be doing for the next three weeks. It's easy to change from one base to another, but many people forget how.
Laws of Logarithms πŸ“Ή Pencast 5:30| πŸ“˜ PDF
All the rules for logarithms are just restatements of the rules for exponents. Total plagiarism. πŸ™ƒ
Inverse functions πŸ“Ή Pencast 5:34| πŸ“˜ PDF
A function's inverse undoes whatever it does. And vice versa.
\(f^{-1}(x)\) is not \(1/f(x)\)
In a really unfortunate choice of notation, \(x^{-1}\) means \(1/x\), but \(f^{-1}(x)\) means \(f\)'s inverse function NOT \(1/f(x)\). I apologize on behalf of mathematicians. πŸ₯Έ
Logs and exponentials are inverses πŸ“Ή Pencast 9:18| πŸ“˜ PDF
The fact that logs and exponentials are inverses gives us our main tools for manipulating them algebraically.
Solving for x in log and exponential equations πŸ“Ή Pencast 8:23| πŸ“˜ PDF
How to solve for x when it is:
1) in the base of an exponential expression β†’ use a fractional power (root)
2) in the exponent of an exponential expression, β†’ take logs
3) inside a logarithm β†’ exponentiate the equation, or use the definition of the logarithm.
Example: Candy bar inflation πŸ“Ή Pencast 8:22| πŸ“˜ PDF
When I was a boy candy bars cost $0.10. How much will they cost in 2050?
Example: Yukon population growth πŸ“Ή Pencast 8:01| πŸ“˜ PDF
The news last week was that the Yukon's population has increased 21% in the last ten years to 42,052. When will it reach 100,000?
Doubling time and half-life πŸ“Ή Pencast 5:55| πŸ“˜ PDF
It turns out exponential quantities double or halve in constant time amounts, i.e. they double or halve every n time units.
Example: Plutonium decay πŸ“Ή Pencast 5:31| πŸ“˜ PDF
How to work with a half-life value.
Example: Logistic function plot πŸ“Ή Pencast 8:15| πŸ“˜ PDF
Our pièce de résistance of GBTMOST: Sketching the logistic function.
Example: Bird population recovery πŸ“Ή Pencast 9:12| πŸ“˜ PDF
Applying the logistic function to an island bird population.

Exercises

If you're comfortable with the topics above you're ready to work on:

Supplementary resources

Chapter 6: Introduction to exponential and logarithmic functions from OpenStax Algebra and Trigonometry by Jay Abramson and others offers thorough and complete coverage.

Exponential and logarithmic functions offers a compact overview of log and exponential functions in textbook format. (We won't be working with hyperbolic functions, so you can, but don't have to 😁, stop reading when you get to them.)

Working with Exponents and Logarithms is good on the algebraic procedures for handling logs and exponentials.

Friday

Sinusoids: Where did these even come from? πŸ“Ή Screencast 8:23
The general sine function πŸ“Ή Pencast 7:52| πŸ“˜ PDF
The general since function expression and what it tells us about the curve. (Sorry! This pencast is not my finest work. πŸ˜”)
Introducing Desmos πŸ“Ή Screencast 8:57
Desmos is an online graphing tool we will be using a lot in this segment of the course. You can find it www.desmos.com
Example: Modelling a lobster harvest πŸ“Ή Screencast 5:33
Using Desmos to fit a function by eye. Desmos is a an online graphing tool we will be using a lot in this segment of the course.
Back to modelling: A summary
  1. Choose the form of model to use (e.g. linear, quadratic, exponential, log, logistic).

    Q. How do we choose a model form?
    A: By recognizing its fundamental shape if you have a bunch of data. If you only have a few data points then theory and experience are your guides.

  2. Fit the model, i.e. find the model parameters.
    If you have just a few points, substitute as many as necessary into your model form, until you have as many equations as unknowns, and then solve for the model's parameters.
    If you have a bunch of points, fit the model interactively by eye, using a tool like Desmos.
  3. Use the model.
    Now that you have a specific model you can use it to calculate the values you need to answer the question you have.

Exercises

If you're comfortable with the topics above you're ready to work on:

Supplementary resources

Amplitude, Period, Phase Shift and Frequency provides a good overview of the general sine function and the role of its parameters.

All the exercises in one place

Exercise Set 6 Part 1: GBMOST Problems and Solutions. Due by 4 pm Monday February 15.

Exercise Set 6 Part 2: Quadratic models Problems and Solutions. Due by 4 pm Monday February 15.

Exercise Set 6 Part 3: Exponential models Problems, Solutions, and Narrated solutions to problems 5-8. Due by 4 pm Monday February 15.

Exercise Set 6 Part 4: Sinusoidal models Problems and Solutions. Due by 4 pm Monday February 15.

Assignment

Assignment 5 is posted. Due by 4 pm Friday February 26. Note that the problems are worth different numbers of marks. Use your time wisely.

Submit PDF files of work done by hand, or in a word processor. (Let me know if you are unsure how to create these.) Email is preferred, but you can also submit your work through Moodle.
Excel or other binary files should be sent as file attachments.
Google sheets can be submitted by sharing a link to them.
Work done in Desmos can be submitted by sharing a link to your saved graph.

Name the file you submit A5_firstname.pdf, e.g.

A5_Tim.pdf

If you have to submit multiple files, add a suffix number to each, e.g.

A5_Tim_1.pdf
A5_Tim_2.pdf