Kode sumberVideo

Command Palette

Search for a command to run...

Sifat-sifat Komposisi Fungsi

Komposisi fungsi, yaitu menggabungkan fungsi secara berurutan, memiliki beberapa sifat penting yang perlu kita ketahui. Mari kita pelajari sifat-sifat ini dengan menggunakan contoh fungsi berikut:

f(x)=2x+1f(x) = 2x + 1
g(x)=x2+4g(x) = x^2 + 4
h(x)=1x+1h(x) = \frac{1}{x+1}

Sifat Tidak Komutatif

Sifat pertama dan yang paling sering ditemui adalah bahwa urutan dalam mengkomposisikan fungsi itu penting. Mengubah urutan fungsi biasanya akan menghasilkan fungsi komposisi yang berbeda.

Secara umum, (fg)(x)(f \circ g)(x) tidak sama dengan (gf)(x)(g \circ f)(x).

Contoh:

Mari kita bandingkan (gf)(x)(g \circ f)(x) dan (fg)(x)(f \circ g)(x).

  1. Menghitung (gf)(x)(g \circ f)(x):

    (gf)(x)=g(f(x))=g(2x+1)(g \circ f)(x) = g(f(x)) = g(2x+1)
    g(2x+1)=(2x+1)2+4=(4x2+4x+1)+4=4x2+4x+5g(2x+1) = (2x+1)^2 + 4 = (4x^2 + 4x + 1) + 4 = 4x^2 + 4x + 5
  2. Menghitung (fg)(x)(f \circ g)(x):

    (fg)(x)=f(g(x))=f(x2+4)(f \circ g)(x) = f(g(x)) = f(x^2+4)
    f(x2+4)=2(x2+4)+1=(2x2+8)+1=2x2+9f(x^2+4) = 2(x^2+4) + 1 = (2x^2 + 8) + 1 = 2x^2 + 9

Karena 4x2+4x+52x2+94x^2 + 4x + 5 \neq 2x^2 + 9, maka terbukti bahwa (gf)(x)(fg)(x)(g \circ f)(x) \neq (f \circ g)(x). Sifat ini berlaku juga untuk komposisi lain, misalnya (fh)(x)(hf)(x)(f \circ h)(x) \neq (h \circ f)(x) dan (gh)(x)(hg)(x)(g \circ h)(x) \neq (h \circ g)(x).

Sifat Asosiatif

Jika kita mengkomposisikan tiga fungsi atau lebih, urutan pengerjaan komposisinya tidak mempengaruhi hasil akhir, asalkan urutan fungsinya tetap sama.

Secara matematis, untuk fungsi ff, gg, dan hh, berlaku:

((fg)h)(x)=(f(gh))(x)((f \circ g) \circ h)(x) = (f \circ (g \circ h))(x)

Ini berarti, kita bisa mengkomposisikan ff dengan gg terlebih dahulu, baru hasilnya dikomposisikan dengan hh. Atau, kita bisa mengkomposisikan gg dengan hh terlebih dahulu, baru ff dikomposisikan dengan hasilnya. Hasilnya akan sama.

Contoh:

Mari kita cek apakah ((fg)h)(x)=(f(gh))(x)((f \circ g) \circ h)(x) = (f \circ (g \circ h))(x).

  1. Menghitung ((fg)h)(x)((f \circ g) \circ h)(x):

    Kita sudah tahu (fg)(x)=2x2+9(f \circ g)(x) = 2x^2 + 9.

    ((fg)h)(x)=(fg)(h(x))=(fg)(1x+1)((f \circ g) \circ h)(x) = (f \circ g)(h(x)) = (f \circ g)(\frac{1}{x+1})
    (fg)(1x+1)=2(1x+1)2+9=2(x+1)2+9(f \circ g)(\frac{1}{x+1}) = 2\left(\frac{1}{x+1}\right)^2 + 9 = \frac{2}{(x+1)^2} + 9
  2. Menghitung (f(gh))(x)(f \circ (g \circ h))(x):

    Pertama, cari (gh)(x)(g \circ h)(x):

    (gh)(x)=g(h(x))=g(1x+1)(g \circ h)(x) = g(h(x)) = g(\frac{1}{x+1})
    g(1x+1)=(1x+1)2+4=1(x+1)2+4g(\frac{1}{x+1}) = \left(\frac{1}{x+1}\right)^2 + 4 = \frac{1}{(x+1)^2} + 4

    Sekarang, komposisikan ff dengan hasil ini:

    (f(gh))(x)=f((gh)(x))=f(1(x+1)2+4)(f \circ (g \circ h))(x) = f((g \circ h)(x)) = f\left(\frac{1}{(x+1)^2} + 4\right)
    f(1(x+1)2+4)=2(1(x+1)2+4)+1=2(x+1)2+8+1=2(x+1)2+9f\left(\frac{1}{(x+1)^2} + 4\right) = 2\left(\frac{1}{(x+1)^2} + 4\right) + 1 = \frac{2}{(x+1)^2} + 8 + 1 = \frac{2}{(x+1)^2} + 9

Karena hasil keduanya sama (2(x+1)2+9\frac{2}{(x+1)^2} + 9), maka terbukti sifat asosiatif berlaku: ((fg)h)(x)=(f(gh))(x)((f \circ g) \circ h)(x) = (f \circ (g \circ h))(x).

Sifat asosiatif ini berlaku untuk kombinasi urutan fungsi lainnya juga, seperti ((hf)g)(x)=(h(fg))(x)((h \circ f) \circ g)(x) = (h \circ (f \circ g))(x) dan ((gf)h)(x)=(g(fh))(x)((g \circ f) \circ h)(x) = (g \circ (f \circ h))(x).

Elemen Identitas

Ada sebuah fungsi khusus yang disebut fungsi identitas, dilambangkan dengan I(x)I(x), yang didefinisikan sebagai I(x)=xI(x) = x. Fungsi ini tidak mengubah inputnya.

Jika fungsi ff dikomposisikan dengan fungsi identitas II (baik dari kiri maupun kanan), hasilnya adalah fungsi ff itu sendiri.

(fI)(x)=f(I(x))=f(x)(f \circ I)(x) = f(I(x)) = f(x)
(If)(x)=I(f(x))=f(x)(I \circ f)(x) = I(f(x)) = f(x)

Contoh:

Dengan f(x)=2x+1f(x) = 2x + 1:

  • (fI)(x)=f(I(x))=f(x)=2x+1(f \circ I)(x) = f(I(x)) = f(x) = 2x + 1
  • (If)(x)=I(f(x))=I(2x+1)=2x+1(I \circ f)(x) = I(f(x)) = I(2x+1) = 2x + 1

Keduanya menghasilkan fungsi f(x)f(x) kembali.