F(g(x)) problem, about the domain.

  • Thread starter Thread starter AznBoi
  • Start date Start date
  • Tags Tags
    Domain
AI Thread Summary
The discussion centers on the composition of functions f(g(x)), where f(x)=x^2 and g(x)=sqrt(2-x). The simplified expression 2-x requires a defined domain of (-infinity, 2] due to the presence of the square root, which cannot accept negative inputs. An example illustrates that even when an expression simplifies, such as f(x)=(x^2+3x+2)/(x+2), the original function's restrictions, like not dividing by zero, must be considered. Therefore, the domain is crucial in both cases to ensure valid outputs. Understanding these domain restrictions is essential for correctly interpreting function compositions.
AznBoi
Messages
470
Reaction score
0
Ok, f(x)=x^2 g(x)=sq.rt.(2-x)

Problem: f(g(x))

You end up with the answer 2-x but how come you need a domain for the answer? How come the domain is (-infinity,2]?
 
Physics news on Phys.org
Because while your answer simplifies to 2-x, you have to remember that there's a sqrt(2-x) in there... you can't take the square root of a negative number.

Here's an example: f(x)=\frac{x^2+3x+2}{x+2} = \frac{(x+2)(x+1)}{x+2}

While it's obvious that the expression simplifies, you have to remember that you can't divide by zero. Thus, the value of -2 for x is not allowed in the original function. If you simplify the function, it becomes x+1, x doesn't equal 2.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top