Travou nisso? Resolva com IA
Algebra · real student question

Given f(x) = 2 - x^2 and g(x) = x^2 + 4x - 60, find (f - g)(x) and simplify.

Question

Let

f(x)=2−x2,g(x)=x2+4x−60f(x)=2-x^2,\qquad g(x)=x^2+4x-60

Find (f−g)(x)(f-g)(x) and simplify your answer.

Step-by-step solution

  1. Translate the notation into an ordinary subtraction. By definition (f−g)(x)=f(x)−g(x)(f-g)(x)=f(x)-g(x), so the composite symbol just means 'subtract the second formula from the first'. Write it with the whole of gg inside parentheses — that is the single habit that prevents the most common error here:

    (f−g)(x)=(2−x2)−(x2+4x−60)(f-g)(x)=(2-x^2)-(x^2+4x-60)

  2. Distribute the minus sign across every term of gg. Subtraction applies to all three terms, not just the first:

    2−x2−x2−4x+602-x^2-x^2-4x+60

    The sign of −60-60 becomes +60+60; writing −60-60 here is the mistake that turns the answer into −2x2−4x−58-2x^2-4x-58.

  3. Group like terms by degree. Quadratic terms: −x2−x2=−2x2-x^2-x^2=-2x^2. Linear terms: only −4x-4x. Constants: 2+60=622+60=62.

  4. Write the simplified difference.

    (f−g)(x)=−2x2−4x+62(f-g)(x)=-2x^2-4x+62

    Note it is still a quadratic: the x2x^2 terms did not cancel because they carry the same sign after distribution, not opposite signs.

  5. Check at three values of xx. At x=0x=0: f=2f=2, g=−60g=-60, so f−g=62f-g=62, and the formula gives 6262 ✓. At x=1x=1: f=1f=1, g=−55g=-55, difference 5656; formula gives −2−4+62=56-2-4+62=56 ✓. At x=−3x=-3: f=−7f=-7, g=9−12−60=−63g=9-12-60=-63, difference 5656; formula gives −18+12+62=56-18+12+62=56 ✓.

Answer

(f−g)(x)=−2x2−4x+62(f-g)(x)=-2x^2-4x+62

Need to solve a different problem like this? Open the solver →