Find $gof$ and $fog$,if $f: R \rightarrow R$ and $g: R \rightarrow R$ are given by $f(x) = \cos x$ and $g(x) = 3x^2$. Show that $gof \neq fog$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(N/A) Given $f(x) = \cos x$ and $g(x) = 3x^2$.
First,we find $gof(x) = g(f(x)) = g(\cos x) = 3(\cos x)^2 = 3 \cos^2 x$.
Next,we find $fog(x) = f(g(x)) = f(3x^2) = \cos(3x^2)$.
To show $gof \neq fog$,we can test a value,for example,$x = 0$.
$gof(0) = 3 \cos^2(0) = 3(1)^2 = 3$.
$fog(0) = \cos(3(0)^2) = \cos(0) = 1$.
Since $3 \neq 1$,it follows that $gof \neq fog$.

Explore More

Similar Questions

If $f(x)$ and $g(x)$ are two real valued functions such that $f(x)=3x-2$ and $g(x)=x^2+2$, then $[(g \circ f)+(f \circ g)](x) = $

Let $f'(x) > 0$ and $g'(x) < 0$ for all $x \in \mathbb{R}$. Then which of the following is true?

Difficult
View Solution

Let $f: R - \{-\frac{1}{2}\} \rightarrow R$ and $g: R - \{-\frac{5}{2}\} \rightarrow R$ be defined as $f(x) = \frac{2x+3}{2x+1}$ and $g(x) = \frac{|x|+1}{2x+5}$. Then the domain of the function $f \circ g$ is:

If $f(x) = \frac{3x+4}{5x-7}, x \neq \frac{7}{5}$ and $g(x) = \frac{7x+4}{5x-3}, x \neq \frac{3}{5}$,then $(g \circ f)(3) = $

Consider the function $f: R \rightarrow R$ defined by $f(x)=\frac{2x}{\sqrt{1+9x^2}}$. If the composition of $f$,$\underbrace{(f \circ f \circ \ldots \circ f)}_{10 \text{ times }}(x) = \frac{2^{10}x}{\sqrt{1+9\alpha x^2}}$,then the value of $\sqrt{3\alpha+1}$ is equal to:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo