Question
Question: The graph of the linear function \[f\] has intercept at \(\left( {a,0} \right)\) and \(\left( {0,b} ...
The graph of the linear function f has intercept at (a,0) and (0,b) in the xy plane. If a+b=0 and a=b, which of the following is true about the slope of the graph of f ?
- It is positive.
- It is negative
- It equals zero
- It is undefined
Solution
Hint: The first step will be to form the equation of the linear function using the two points that are given to us and to determine the slope from the equation in terms of a and b. The relation a+b=0 can be then used to find the value of the slope of the function.
Complete step by step answer:
It is known that the equation for the linear function can be determined by two points. As we know that an equation of the linear function passing through points say (x1, y1) and (x2, y2) is given by
x−x1=x2−x1y2−y1(y−y1)
We are given the question that the linear function f passes through the two points (a,0) and (0,b).
Therefore equation of the linear function can be written as
x−a=0−ab−0(y−0)
On rearranging the equation, we get
x−a=−aby ax−a2=−by
On writing the equation in the standard form of the linear function, y=mx+c, we get
y=−bax+ba2
Comparing the equation of the linear function with the standard equation of the linear function that is y=mx+c where, m is the slope of the function, we can say that the slope of the given linear function is
m=−ba
Here we have to comment on the nature of the slope.
We are given the equation a+b=0. On rearranging the equation we get a=−b.
We can solve for the slope of the linear function by substituting the value −b for a in the equation of the slope m=−ba.
m=−b(−b) m=1
Thus, we can say that the slope of the given linear function is 1 which is positive.
Thus the correct answer is option A. It is positive.
Note: Another way to solve the question is by plotting graphs for a pair of a and b that satisfies the equation a+b=0. The slope of the graph then can be evaluated from the graph. We have observed that the slope of the function is a fixed value that is 1.