Skip to content
Question of 104

Q.If f:R→Rf: R \to R and g:R→Rg: R \to R be functions defined by f(x)=cos⁡xf(x) = \cos x and g(x)=3x2g(x) = 3x^{2} respectively, then prove that gof≠foggof \neq fog.

Uttar Pradesh UpmspUP Board (UPMSP) Intermediate 2025Subjective· 2mImportance★★★★★
0% · 0/104 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Compute both composites and evaluate at x=0x=0: 3≠13\ne 1, so g∘f≠f∘gg\circ f\ne f\circ g.

Concept. Composition of functions is generally not commutative: g∘fg\circ f means "do ff first, then gg", which is different from f∘gf\circ g. To disprove equality it suffices to find one xx where they differ.

Given f(x)=cos⁡xf(x)=\cos x and g(x)=3x2g(x)=3x^2.

(g∘f)(x)=g(f(x))=g(cos⁡x)=3(cos⁡x)2=3cos⁡2x,(g\circ f)(x)=g(f(x))=g(\cos x)=3(\cos x)^2=3\cos^2 x,

(f∘g)(x)=f(g(x))=f(3x2)=cos⁡(3x2).(f\circ g)(x)=f(g(x))=f(3x^2)=\cos(3x^2).

At x=0x=0: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.