Function f from a set A (the domain) to a set B (the codomain) is a rule that assigns each element x in A exactly one element y in B. This relationship is often written as f: A→B, and f(x) = y.
Below are some solved function questions with solutions based on the concept of functions.
Question 1. Find the inverse of the function f(x) = 4x − 3.
To find the inverse, interchange x and y and solve for y.
x = 4y − 3
Solve for y:
y = (x + 3)/4
So, the inverse function is f-1(x) = (x + 3)/4
Question 2. Let f(x) = 2x + 3 and g(x) = x2. Find (f + g)(x).
Given functions are
f(x) = 2x + 3
g(x) = x2
So, now we need to find (f + g)(x),
(f + g)(x) = f(x) + g(x)
(f + g)(x) = (2x + 3) + x2
So, (f + g)(x) = 2x + 3 + x2.
Question 3. If f(x) = sin(x) and g(x) = cos(x), determine (f − g)(x).
Given functions are
f(x) = sin(x)
g(x) = cos(x)
So, we need to need to find (f−g)(x),
(f − g)(x) = f(x) − g(x)
(f − g)(x) = sin(x) − cos(x)
So, (f − g)(x) = sin(x) − cos(x).
Question 4. Given f(x) = 3x2, compute (2f)(x).
Given function is
f(x) = 3x2
So, we need to calculate (2f)x
(2f)(x) = 2.f(x)
= 2.3x2
= 6x2
So, (2f)(x) = 6x2.
Question 5. For f(x) = x + 1 and g(x) = x − 2, what is (f⋅g)(x)?
Given functions are
f(x) = x + 1
g(x) = x − 2
So, we need to calculate (f⋅g)(x),
(f⋅g)(x) = f(x)⋅g(x)
(f⋅g)(x) = (x + 1)(x − 2)
(f⋅g)(x)=x2 −2x + x − 2
(f⋅g)(x) = x2 − x − 2
So, (f⋅g)(x) = x2 − x − 2.
Question 6. If f(x) = 1/x and g(x) = x2, find (f/g)(x).
Given functions are
- f(x) = 1/x
- g(x) = x2
So, we need to calculate (f/g)(x) = f(x)/g(x)
Substitute the given functions:
(f/g)(x) = (1/x)/x2
= 1/x3
So, (f/g)(x) = 1/x3 , x ≠ 0
Question 7. Let f(x) = 2x + 1 and g(x) = x2. Determine (g ∘ f)(x).
Given functions are
f(x) = 2x + 1
g(x) = x2
We need to calculate (g ∘ f)(x), which involves applying f first and then applying g.
(g ∘ f)(x) = g(f(x))
Substitute f(x) = 2x+1:
(g ∘ f)(x) = g(2x + 1)
Since, g(x) = x2
replace x in g(x) with 2x + 1:
(g ∘ f)(x) = (2x + 1)2
So, (g ∘ f)(x) = 4x2 + 4x + 1
Question 8. Evaluate the equation h(x) = 2x2 − 5x + 1 at x = 3.
Given equation: h(x) = 2x2 − 5x + 1
Substitute x = 3:
h(3) = 2 × 32 − 5 × 3 + 1
=18−15+1
=4
So, h(3) = 4.
Question 9. If f(x) = x2, g(x) =
Given functions are
- f(x) = x2
- g(x) = √x
- h(x) = x3
So, we need to calculate
h∘(g∘f)(x), which involves composing f(x), g(x), and h(x).
First of all, we will find g∘f(x):
g∘f(x) = g(f(x))
g∘f(x) = g(x2)
Now, substitute ?2 for x in the function g(x) = √x
g∘f(x) = √x2
g∘f(x) = x
After first, now we will calculate h(x) with g∘f(x):
h∘(g∘f)(x) = h(x)
h∘(g∘f)(x) = x3
So, h∘(g∘f)(x) = x3.
Question 10. If f(x) = 5x − 2, find f−1(x).
Given function is
f(x) = 5x − 2
Let y = 5x − 2
Now, solve for x in terms of y:
x = 5y - 2
Now solve for y:
x + 2 = 5y
y = (x + 2)/5
Therefore, f-1(x) = (x + 2)/5
Practice Questions Unsolved
Try out the following questions based on the function.
Q1. Let f(x) = x + 4 and g(x) = 3x − 1. Find (f + g)(x).
Q2. If f(x) = cos(x) and g(x) = sin(x), determine (f - g)(x).
Q3. Given f(x) = 2x3 - x, compute (-3f)(x).
Q4. For f(x) = x − 2 and g(x) = 1/x, what is (f ⋅ g)(x)?