Sign In
| | 15 Theory slides |
| | 10 Exercises - Grade E - A |
| | Each lesson is meant to take 1-2 classroom sessions |
Vincenzo and Magdalena are two friends eager to explore the world of gaming and programming. They are developing their own mobile game by coding and testing together. As part of their development process, they are monitoring the temperature of their computers. The diagram shows how the temperature of each changes over time.
A linear function is a function with a constant rate of change. A linear function can be represented by a linear equation in two variables. Graphically, a linear function is a nonvertical line.
A nonlinear function is a function that does not have a constant rate of change. In other words, a nonlinear function is a function whose graph is not a straight line. Instead, the graph may take the form of any curve other than a straight line.
Vincenzo and Magdalena have planned for two characters in their upcoming mobile game. When the game begins, these characters will be positioned at random points within the game environment. Let the points where these characters are located be M(x,y) and N(z,w)
However, if the points have different x-coordinates, there is always a function through those points.
Analyze the given graph and determine whether it represents a function. If it is a function then determine if it is a linear function or a nonlinear function.
Numerical data, also called quantitative data, is measurable data expressed using numbers. Some examples of numerical data are age, height, and weight of a person. Consider the following personal information.
| Person | Age | Weight | Shoe Size | Number of Siblings | Eye Color |
|---|---|---|---|---|---|
| Dejen | 15 | 43.4 | 6 | 0 | Blue |
| Madge | 16 | 56.7 | 7 | 3 | Green |
| Yulia | 20 | 64.8 | 7.5 | 1 | Brown |
A person's age, weight, shoe size, and number of siblings are examples of numerical data. In contrast, a person's eye color cannot be expressed in numbers and is an example of categorical data. Additionally, numerical data can be either discrete data that can only take specific values or continuous data that can take any value within an interval.
| Data | Numerical? | Type |
|---|---|---|
| Age | Yes ✓ | Continous |
| Weight | Yes ✓ | Continous |
| Shoe Size | Yes ✓ | Discrete |
| Number of Siblings | Yes ✓ | Discrete |
| Eye Color | No * | Non-applicable |
A quantity that can take any value within a given interval is a continuous quantity. Such quantities are not limited to specific, separate values, and they can be measured very precisely. Length, time, temperature, weight, and age are examples of continuous quantities.
A discrete quantity is a quantity that can only take distinct, separate values in an interval. There are no values between these distinct values. The number of students in a class, the number of tickets for a concert, and the number of goals scored in a soccer match are examples of discrete quantities. These values are countable and typically represented by integers or whole numbers.
In the process of developing their mobile game, Vincenzo and Magdalena find it necessary to analyze certain numerical data related to user interactions within the game. After some brainstorming, they identify several variables for consideration. L: & the number of levels in the game T: & the time it takes for a player to complete a level S: & the score of a player V: & the speed at which the character moves Classify these variables as either continuous or discrete.
The number of levels is typically counted in whole numbers. It cannot take a real number value, so it is discrete.
The time it takes for a player to complete a level can be any real number. Time can be measured with high precision, including fractions of seconds. Therefore, T is continuous.
A player's score can typically take whole numbers. Scores are limited to whole numbers, so it is discrete.
The speed at which the character moves can be measured on a continuous scale. That is, it can take any real value, including fractions. Therefore, V is continuous.
In conclusion, discrete variables take on distinct values, often whole numbers. Continuous variables, on the other hand, can take any value within a given interval.
| Variable | Can it take all values in a certain interval? | Type |
|---|---|---|
| L | No | Discrete |
| T | Yes | Continuous |
| S | No | Discrete |
| V | Yes | Continuous |
A function is said to have a continuous domain when the independent variable of the function is a continuous quantity. The graph of such a function is typically a curve or a line. Consider the graph of the function, which shows the relationship between a person's age and weight.
A function is said to have a discrete domain when the independent variable of the function is a discrete quantity. A function of this type can be identified by its graph, which is composed of any number of unconnected points. Consider the function that models the costs of concert tickets, specifically for 0, 1, 2, 3, and 4 tickets.
Vincenzo and Magdalena are continuing the development of their own mobile game. In their game, players start with 100 virtual coins and spend 5 coins per day on in-game activities.
| Days, x | Number of coins, y |
|---|---|
| 2 | 90 |
| 4 | 80 |
| 6 | 70 |
| 8 | 60 |
| 10 | 50 |
The function have a discrete domain.
y = mx + b In this form, m is the slope and b is the y-intercept. In this case, the initial amount of virtual coins is 100, so b = 100. The spending rate is 5 coins per day, so the slope is - 5 because the coins are decreasing. Therefore, the linear function is as follows. y = - 5x + 100
| Days x | - 5x+100 | Number of Coins y |
|---|---|---|
| 2 | ||
| 4 | ||
| 6 | ||
| 8 | ||
| 10 |
How about finding the remaining number of coins for a player after 2, 4, 6, 8, and 10 days from starting the game? Try substituting the values of days into the formula and evaluate.
| Days x | - 5x+100 | Number of Coins y |
|---|---|---|
| 2 | - 5( 2) + 100 | 90 |
| 4 | - 5( 4) + 100 | 80 |
| 6 | - 5( 6) + 100 | 70 |
| 8 | - 5( 8) + 100 | 60 |
| 10 | - 5( 10) + 100 | 50 |
Great work so far!
| Days x | Number of Coins y |
|---|---|
| 2 | 90 |
| 4 | 80 |
| 6 | 70 |
| 8 | 60 |
| 10 | 50 |
Plot the ordered pairs (x,y) on a coordinate plane where the x-axis represents the number of days and the y-axis represents the remaining number of coins.
Since the function has a discrete domain, the points are not connected with a straight line. There are missing points in this graph. When other points are included, the graph of the function will be as follows.
As part of their development process, Vincenzo and Magdalena monitor the battery power consumption of a test laptop.
The table shows the percentage, y in decimal form, of battery power remaining x hours after the laptop is turned on.
| Hours, x | 0 | 2 | 3 |
|---|---|---|---|
| Power Remaining, y | 1.0 | 0.4 | 0.1 |
Graph:
| Hours, x | 0 | 2 | 3 |
|---|---|---|---|
| Power Remaining, y | 1.0 | 0.4 | 0.1 |
Recall that functions written in point-slope form follow a specific format. y - y_1 = m(x- x_1) In this form, m is the slope and ( x_1, y_1) is a point on the line. Start by identifying the slope using two points from the given table. Substitute, for example, the points (0,1) and (2,0.4) into the slope formula and calculate m.
The slope of the line is - 0.3. Considering the given table, the function passes through the point ( 3, 0.1). Now that the slope and a point is known, the function can be written. y - 0.1 = - 0.3(x- 3) Finally, plot the given points on a coordinate plane and draw a line that passes through them. The graph of the function is a solid line because the function has a continuous domain.
y= 0
Subtract term
.LHS /(- 0.3).=.RHS /(- 0.3).
a/b=a * (- 10)/b * (- 10)
Add fractions
Rewrite 3 +1/3 as 3 13
Rearrange equation
The line does, in fact, intersect the x-axis at (3 13,0)
As found in Part A and shown on the above graph, the slope of the line is -0.3. It is negative because the power remaining decreases in time. 0.3=30/100=30 % Therefore, the slope indicates that the power decreases by 30 % per hour. Note that the y-intercept is (0,1). 1=100 % The y-intercept indicates that the battery power is at 100 % when the laptop is turned on. The x-intercept is (3 13,0). It indicates that the battery lasts 3 13 hours, which can also be rewritten as follows.
Rewrite 3 13h as 3h + 1/3h
1h=60 min
1/b* a = a/b
Calculate quotient
Rewrite 3h + 20min as 3h and20min
The battery lasts 3 hours and 20 minutes.
y -0.1 = - 0.3(x-3) Since the y-variable represents the power remaining in decimal form, 25 % must be written as a decimal first. 25 % = 0.25 Now substitute y= 0.25 into the function and solve it for x.
y= 0.25
Subtract term
.LHS /(- 0.3).=.RHS /(- 0.3).
Calculate quotient
LHS+3=RHS+3
Rearrange equation
Therefore, after 2.5 hours the battery power will be at 25 percent.
Finally, the challenge presented at the beginning of the lesson will be solved. In the challenge, Vincenzo and Magdalena are monitoring the temperatures of their computers which tend to increase while running applications.
It is helpful to answer the questions by recalling the concepts and rules presented throughout the lesson.
| Vincenzo's Computer | Magdalena's Computer | |
|---|---|---|
| y-intercept | 32 | 24 |
| The initial temperature of the computer is 32^(∘)C. | The initial temperature of the computer is 24^(∘)C. | |
| Slope | 6 | 8 |
| Its temperature increases by 6^(∘)C per hour. | Its temperature increases by 8^(∘)C per hour. |
The y-intercept of the blue line is 32 and the y-intercept of the red line is 24. Note that the y-axis represents the temperature in Celsius degrees. Since the time is zero at those points, the y-intercepts represent the initial temperatures of the computers.
| Vincenzo's Computer | Magdalena's Computer | |
|---|---|---|
| y-intercept | 32 | 24 |
| The initial temperature of the computer is 32^(∘)C. | The initial temperature of the computer is 24^(∘)C. |
Now the slope of each line will be found. The Slope Formula can be used to find the slopes. m = y_2-y_1/x_2-x_1 It is necessary to determine one more point on each line in order to use the formula.
The blue line passes through the points (0,32) and (4,56), while the red line passes through the points (0,24) and (1,32). Substitute these points into the Slope Formula.
| Blue Line | Red Line | |
|---|---|---|
| Points | ( 0, 32) and ( 4, 56) | ( 0, 24) and ( 1, 32) |
| m = y_2-y_1/x_2-x_1 | 56- 32/4- 0 | 32- 24/1- 0 |
| Evaluate | 24/4 = 6 | 8/1 = 8 |
In this context, the slope of the functions indicate how quickly the temperature of a computer rises within an hour.
| Vincenzo's Computer | Magdalena's Computer | |
|---|---|---|
| Slope | 6 | 8 |
| Its temperature increases by 6^(∘)C per hour. | Its temperature increases by 8^(∘)C per hour. |
Magdalena's computer temperature increases faster than Vincenzo's when both are running the applications. Note also that both functions have continuous domains as the inputs can take any value.
| Blue Line | Red Line | |
|---|---|---|
| y-intercept | 32 | 24 |
| Slope | 6 | 8 |
Using these values, the equation of each line can be written in slope-intercept form. y= mx+ b In this form, m is the slope and b is the y-intercept.
| Blue Line | Red Line | |
|---|---|---|
| y-intercept | 32 | 24 |
| Slope | 6 | 8 |
| Equation | y= 6x+ 32 | y= 8x+ 24 |
The blue line corresponds to Vincenzo's computer temperature, whereas the red line corresponds to Magdalena's computer temperature.
The tables show conversions between particular units of weight.
Which statements are correct? I. & The functionc = 8urelates cups c to ouncesu. II. & The functionu = 32q relates quarts q to ouncesu. III. & Table II has the highest rate of change. IV. & The function for Table III has the steepest slope.
Let's start by writing a function for each given table. The first table relates the number of cups and ounces. We can represent the number of cups with c and the number of ounces with u. Notice that the number of ounces u is 8 times the number of cups u.
| Cups, c | 8c | Ounces, u |
|---|---|---|
| 1 | 8( 1) | 8 |
| 2 | 8( 2) | 16 |
| 3 | 8( 3) | 24 |
| 4 | 8( 4) | 32 |
We can conclude that 8c is equal to u. u=8c Therefore, the first statement is false. Let's continue to the next table. The second table relates the number of pints and ounces. Let the number of pints be p and the number of ounces be u. Notice that the number of ounces u is 16 times the number of pints p.
| Pints, p | 16p | Ounces, u |
|---|---|---|
| 1 | 16( 1) | 16 |
| 2 | 16( 2) | 32 |
| 3 | 16( 3) | 48 |
| 4 | 16( 4) | 64 |
Thus, the table can be represented as a function as shown. u=16p Let's analyze the last table. In this table, the relation between quarts and ounces is shown. We will represent the number of quarts with q and the number of ounces with u. Notice that if we multiply the number of quarts q by 32, we will get the number of ounces u.
| Quarts, q | 32q | Ounces, u |
|---|---|---|
| 1 | 32( 1) | 32 |
| 2 | 32( 2) | 64 |
| 3 | 32( 3) | 96 |
| 4 | 32( 4) | 128 |
Therefore, we can write the following equation. u=32q This equation is the same as the one in Statement II, so it is true. Now, let's find the rate of change of each function. Since the functions we wrote are linear functions, the rate of change is constant and refers to the slope of the function's graph.
We see that the rate of change of the function for Table III has the highest rate of change. 8 < 16 < 32 Therefore, its graph have the steepest slope. As a result, Statement III is false and Statement IV is true. Answer: IIandIV