Question Video: Finding the Values of Unknowns of an Absolute Value Function from Its Graph | Nagwa Question Video: Finding the Values of Unknowns of an Absolute Value Function from Its Graph | Nagwa

Question Video: Finding the Values of Unknowns of an Absolute Value Function from Its Graph Mathematics

The graph in figure (i) is of 𝑓(𝑥) = (5/2) |𝑥| + (1/2 𝑥), which could also be written as follows 𝑓(𝑥) = 3𝑥, 𝑥 ≥ 0 and 𝑓(𝑥) = −2𝑥, 𝑥 < 0. Find the values of 𝑎 and 𝑏 that would make graph (ii) that of 𝑔(𝑥) = 𝑎|𝑥 − 5| + 𝑏(𝑥 − 5).

05:34

Video Transcript

The graph in figure (i) is of 𝑓 of 𝑥 is equal to five over two times the absolute value of 𝑥 plus one-half 𝑥, which could also be written as follows. 𝑓 of 𝑥 is equal to three 𝑥 when 𝑥 is greater than or equal to zero and 𝑓 of 𝑥 is equal to negative two 𝑥 when 𝑥 is less than zero. Find the values of 𝑎 and 𝑏 that would make graph (ii) that of 𝑔 of 𝑥 is equal to 𝑎 times the absolute value of 𝑥 minus five plus 𝑏 times 𝑥 minus five.

In this question, we’re given the graphs of two functions, and we’re given two different ways of expressing the function in the first graph. We can either represent it by using an absolute value symbol or we can represent it by using a piecewise-defined function. We can see that the second graph is very similar to the first graph. In fact, we’re told that 𝑔 of 𝑥 can be written in a similar manner to 𝑓 of 𝑥, by using an absolute value symbol. We need to use all of this information to determine the values of 𝑎 and 𝑏, and there are many different ways of going about doing this. For example, we can do this directly from the diagram and the definition of 𝑔 of 𝑥. However, we’re first going to look up both definitions of 𝑓 of 𝑥 and see how this relates to the diagram.

Let’s start by looking at the piecewise definition of 𝑓 of 𝑥. We can look at the first subfunction of 𝑓 of 𝑥. That’s three 𝑥 when 𝑥 is greater than or equal to zero. Of course, this is the straight line of slope three passing through the origin where we only plot when 𝑥 is greater than or equal to zero. We can mark this on the diagram in orange. We can then do the same for the second subfunction. It’s marked in pink. Therefore, we could determine the piecewise definition of our function 𝑓 of 𝑥 by determining the equations of each of the subfunctions. From the diagram, we could determine that the pink line has equation negative two 𝑥 and the orange line has equation three 𝑥. This would then give us the piecewise definition of 𝑓 of 𝑥.

We could do this now for our function 𝑔 of 𝑥 by using this diagram. However, this would not directly give us the values of 𝑎 and 𝑏. Instead, we need to determine how the values of 𝑎 and 𝑏 will be related to the piecewise definition. To do this, let’s once again look at our function 𝑓 of 𝑥. However, this time we’ll look at the absolute value definition of 𝑓 of 𝑥. Since the absolute value of 𝑥 changes depending on whether 𝑥 is positive or negative, we can see what happens in both of these cases. First, if 𝑥 is greater than or equal to zero, then the absolute value of 𝑥 is just equal to 𝑥. Therefore, 𝑓 of 𝑥 will be equal to five 𝑥 plus a half 𝑥, which we can evaluate as three 𝑥, which is of course the first subfunction of 𝑓 of 𝑥.

We can do exactly the same when 𝑥 is less than zero. In this case, the absolute value of 𝑥 will be negative 𝑥, so 𝑓 of 𝑥 is negative five over two 𝑥 plus one-half 𝑥, which is negative two 𝑥, the second subfunction of 𝑓 of 𝑥. Therefore, in the case of 𝑓 of 𝑥, the sum of the two coefficients that would be the values of 𝑎 and 𝑏 for 𝑓 of 𝑥 gave us the slope of the first subfunction, and then flipping the sign of the first coefficient and adding the second coefficient gave us the slope of the second subfunction. This is a relationship between the equations of each subfunction and the coefficient values we’re looking for.

We can now apply this same process to 𝑔 of 𝑥. And there are many different ways we could go about this. For example, we could find a piecewise definition of 𝑔 of 𝑥 from its diagram. However, it’s not necessary. Instead, we’re just going to do this directly from the equation we’re given. First, let’s start when 𝑥 is greater than or equal to five. In this case, the absolute value of 𝑥 minus five will just be 𝑥 minus five because it’s positive. This gives us that 𝑔 of 𝑥 is equal to 𝑎 times 𝑥 minus five plus 𝑏 times 𝑥 minus five when 𝑥 is greater than or equal to five. And we’ve marked the section of our graph when 𝑥 is greater than or equal to five in blue.

We can then distribute over the parentheses and simplify this expression. We get 𝑎 plus 𝑏 multiplied by 𝑥 minus five 𝑎 minus five 𝑏. This will be the subfunction for the section marked in blue on the diagram. And now there’s a few different ways we can use this to find an expression in terms of 𝑎 and 𝑏. We’re going to use the fact that this is a linear function. And in a linear function, the coefficient of 𝑥 is the slope of the line. This means the slope of the blue line needs to be equal to 𝑎 plus 𝑏, and we can find the slope of the line from the diagram. For every five units we go across, we move five units up. The slope of the line is one. Therefore, the coefficient of 𝑥 needs to be one. 𝑎 plus 𝑏 is equal to one.

Let’s now follow the same process for the other subfunction. In this subfunction, our values of 𝑥 are less than five, so the absolute value of 𝑥 minus five will be equal to five minus 𝑥. 𝑔 of 𝑥 is 𝑎 times five minus 𝑥 plus 𝑏 times 𝑥 minus five. We can then distribute and simplify in exactly the same way. This time, we get 𝑏 minus 𝑎 multiplied by 𝑥 plus five 𝑎 minus five 𝑏. Now we can find an expression for 𝑏 minus 𝑎 by equating the slopes of the lines. We can then determine the slope of this line from the diagram. For every five units we move right, the line moves 15 units down. And negative 15 divided by five is negative three. The slope of the line is negative three. So the coefficient of 𝑥 is negative three. 𝑏 minus 𝑎 is equal to negative three.

Therefore, we have two equations in 𝑎 and 𝑏. We can solve these simultaneously, and there’s several different ways of doing this. We’re going to add the two equations together to eliminate 𝑎. We get that two 𝑏 will be equal to negative two, which we can solve for 𝑏 by dividing through by two. 𝑏 is negative one. Finally, we can determine the value of 𝑎 by substituting our value of 𝑏 into one of our previous equations. For example, we know 𝑎 plus 𝑏 is equal to one and 𝑏 is negative one, so our value of 𝑎 is two.

Therefore, we were able to show for the graph in figure (ii) to be the graph of 𝑔 of 𝑥 is equal to 𝑎 times the absolute value of 𝑥 minus five plus 𝑏 times 𝑥 minus five, the value of 𝑎 must be two and the value of 𝑏 must be negative one.

Download the Nagwa Classes App

Attend sessions, chat with your teacher and class, and access class-specific questions. Download the Nagwa Classes app today!

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy