Question
Question: How do you find \(\left( fg \right)\left( 5 \right)+f\left( 4 \right)\) when \(f\left( x \right)={{x...
How do you find (fg)(5)+f(4) when f(x)=x2+1 and g(x)=x−4?
Solution
In this problem we need to calculate the value of the given expression by using the definition of the given functions. In the expression we have two values, first one is fg, second one is f. In the problem we have definitions of f and g. From these values we will calculate the value of fg. After having the value of fg we will use this and calculate the value of the given expression.
Complete step by step answer:
Given function definitions are f(x)=x2+1, g(x)=x−4.
Now the value of the function fg will be calculated by multiplying the function f with g, then we will get
⇒fg=(x2+1)(x−4)
Using the distribution law of the multiplication in the above equation, then we will have
⇒fg=x2(x−4)+1(x−4)⇒fg=x3−4x2+x−4
Now the value of fg(5) can be calculated by substituting x=5 in the above equation, then we will get
⇒fg=53−4×52+5−4⇒fg=125−4×25+1⇒fg=126−100⇒fg=26
Now the value of f(4) can be calculated by substituting x=4 in the function value f(x)=x2+1, then we will have
⇒f(4)=42+1⇒f(4)=16+1⇒f(4)=17
In this problem they have asked to calculate the value of (fg)(5)+f(4). So, the value of (fg)(5)+f(4) will be
⇒(fg)(5)+f(4)=26+17⇒(fg)(5)+f(4)=43
Note: We can also solve this problem in another method that is without calculating the value of fg. We can directly solve the problem by following the below procedure.
⇒(fg)(5)+f(4)=(52+1)(5−4)+(42+1)⇒(fg)(5)+f(4)=(25+1)(1)+(16+1)⇒(fg)(5)+f(4)=26+17⇒(fg)(5)+f(4)=43
From both the methods we got the same result.