Maths Olympiad Prep

Library / /276 of 520

Algebra Difficulty 3.3 AMC 10/12 Find the answer

Which of the following pairs of functions represent the same function?

A: f(x)=xf\left(x\right)=x, g(x)=x2xg\left(x\right)=\frac{{x}^{2}}{x}

B: f(x)=x21f\left(x\right)=\sqrt{{x}^{2}-1}, g(x)=x1x+1g\left(x\right)=\sqrt{x-1}\sqrt{x+1}

C: f(x)=xf\left(x\right)=x, g(x)=x2g\left(x\right)=\sqrt{{x}^{2}}

D: f(x)=xf\left(x\right)=|x|, g(x)={x,x0x,x0g\left(x\right)=\left\{\begin{array}{l}{x, x≥0}\\{-x, x<0}\end{array}\right.

This was a multiple-choice question, but the options didn't survive into the source we have. The answer given is D, and the solution below works it through.

Solution

Step-by-Step Solution:

Option A:

- f(x)=xf(x) = x has a domain of R\mathbb{R}.
- g(x)=x2xg(x) = \frac{x^2}{x} simplifies to g(x)=xg(x) = x for x0x \neq 0.
- Therefore, the domain of g(x)g(x) is {xx0}\{x | x \neq 0\}.

Since the domains of f(x)f(x) and g(x)g(x) are different, they do not represent the same function.

Option B:

- For f(x)=x21f(x) = \sqrt{x^2 - 1}, the domain is determined by x210x^2 - 1 \geqslant 0, which simplifies to x1x \leqslant -1 or x1x \geqslant 1.
- For g(x)=x1x+1g(x) = \sqrt{x - 1}\sqrt{x + 1}, the domain is determined by {x10x+10\left\{\begin{array}{l}{x - 1 \geqslant 0}\\{x + 1 \geqslant 0}\end{array}\right., which simplifies to x1x \geqslant 1.

Since the domains of f(x)f(x) and g(x)g(x) do not completely match, they do not represent the same function.

Option C:

- f(x)=xf(x) = x.
- g(x)=x2g(x) = \sqrt{x^2} simplifies to g(x)=xg(x) = |x|.

Since f(x)g(x)f(x) \neq g(x) for x<0x < 0, they do not represent the same function.

Option D:

- f(x)=x={x,x0x,x<0f(x) = |x| = \left\{\begin{array}{l}{x, x \geqslant 0}\\{-x, x < 0}\end{array}\right..
- g(x)g(x) is defined as {x,x0x,x<0\left\{\begin{array}{l}{x, x \geqslant 0}\\{-x, x < 0}\end{array}\right..

Since both f(x)f(x) and g(x)g(x) have the same domain and correspondence rule, they represent the same function.

Conclusion:

The pairs of functions that represent the same function are given in option D.

Therefore, the correct answer is D\boxed{D}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.