Question
Question: How do I find the range of the function \(y = - {2^x} + 2\)?...
How do I find the range of the function y=−2x+2?
Solution
We have to determine the range of the given function. For this, put y=f(x) and solve the equation y=f(x) for x in terms of y. Next, put x=ϕ(y) and find the values of y for which the values of x, obtained from x=ϕ(y), are real and in the domain of f. Thus, the set of values of y obtained is the range of f.
Complete step by step solution:
Given function: y=−2x+2
We have to find the range of a given function.
For this, put y=f(x) and solve the equation y=f(x) for x in terms of y.
⇒y=−2x+2
It can be written as 2x=2−y
Take logarithm both sides of the equation, we get
⇒ln(2x)=ln(2−y)
Use property ln(am)=mln(a), we get
⇒xln(2)=ln(2−y)
Now, put x=ϕ(y) and find the values of y for which the values of x, obtained from x=ϕ(y), are real and in the domain of f.
2−y>0
⇒y<2
Clearly, Range (f) =(−∞,2).
Therefore, the range of given function is (−∞,2).
Note: In above question, we can determine the range of a given question by simply drawing the graph of the function.
From the graph, we can observe that y<2 for all values of x.
Therefore, the range of the given function is (−∞,2).