We read your photo as:

Given f(x) = sqrt(2−x) and g(x) = x2+5, find fog and gof.

Mathematics

ScanSolve AI Answer

Step-by-step solution

2 steps

Given the functions:

f(x)=2−xf(x) = \sqrt{2-x} g(x)=x2+5g(x) = x^2 + 5
  1. Calculate f∘g(x)f \circ g(x).

    The composite function f∘g(x)f \circ g(x) is defined as f(g(x))f(g(x)). We substitute g(x)g(x) into f(x)f(x).

    f(g(x))=f(x2+5)f(g(x)) = f(x^2 + 5)

    Now, replace xx in f(x)f(x) with (x2+5)(x^2 + 5):

    f(x2+5)=2−(x2+5)f(x^2 + 5) = \sqrt{2 - (x^2 + 5)}

    Simplify the expression inside the square root:

    f(x2+5)=2−x2−5f(x^2 + 5) = \sqrt{2 - x^2 - 5} f(x2+5)=−x2−3f(x^2 + 5) = \sqrt{-x^2 - 3}

    The result for f∘g(x)f \circ g(x) is −x2−3\boxed{\sqrt{-x^2 - 3}}.

  2. Calculate g∘f(x)g \circ f(x).

    The composite function g∘f(x)g \circ f(x) is defined as g(f(x))g(f(x)). We substitute f(x)f(x) into g(x)g(x).

    g(f(x))=g(2−x)g(f(x)) = g(\sqrt{2-x})

    Now, replace xx in g(x)g(x) with (2−x)(\sqrt{2-x}):

    g(2−x)=(2−x)2+5g(\sqrt{2-x}) = (\sqrt{2-x})^2 + 5

    Simplify the expression. Note that (A)2=A(\sqrt{A})^2 = A for A≥0A \ge 0:

    g(2−x)=(2−x)+5g(\sqrt{2-x}) = (2-x) + 5 g(2−x)=7−xg(\sqrt{2-x}) = 7-x

    The result for g∘f(x)g \circ f(x) is 7−x\boxed{7-x}.

Was this helpful?

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question