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.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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