Example 12 - Show that f : N → N, given by f(x) = {x + 1, if x is odd - Examples

part 2 - Example 12 - Examples - Serial order wise - Chapter 1 Class 12 Relation and Functions
part 3 - Example 12 - Examples - Serial order wise - Chapter 1 Class 12 Relation and Functions part 4 - Example 12 - Examples - Serial order wise - Chapter 1 Class 12 Relation and Functions part 5 - Example 12 - Examples - Serial order wise - Chapter 1 Class 12 Relation and Functions

Take a fresh quiz. Then take another.
Every attempt is a new AI-adaptive Teachoo quiz with 3 questions, selected from your answers, mistakes, and progress.
Remove Ads

Transcript

Example 12 Show that f : N → N, given by f(x) = {ā–ˆ(š‘„+1 , š‘–š‘“ š‘„ š‘–š‘  š‘œš‘‘š‘‘@š‘„āˆ’1, š‘–š‘“ š‘„ š‘–š‘  š‘’š‘£š‘’š‘›)┤ is both one-one and onto. Check one-one There can be 3 cases x1 & x2 both are odd x1 & x2 both are even x1 is odd & x2 is even If x1 & x2 are both odd f(x1) = x1 + 1 f(x2) = x2 + 1 Putting f(x1) = f(x2) x1 + 1 = x2 + 1 x1 = x2 If x1 & x2 are both are even f(x1) = x1 – 1 f(x2) = x2 – 1 If f(x1) = f(x2) x1 – 1 = x2 – 1 x1 = x2 If x1 is odd and x2 is even f(x1) = x1 + 1 f(x2) = x2 – 1 If f(x1) = f(x2) x1 + 1 = x2 – 1 x2 – x1 = 2 which is impossible as difference between even and odd number can never be even Hence, if f(x1) = f(x2) , Then x1 = x2 ∓ function f is one-one If x is odd f(x) = x + 1 y = x + 1 y – 1 = x x = y – 1 If x is odd, y is even Check onto f(x) = {ā–ˆ(š‘„+1 , š‘–š‘“ š‘„ š‘–š‘  š‘œš‘‘š‘‘@š‘„āˆ’1, š‘–š‘“ š‘„ š‘–š‘  š‘’š‘£š‘’š‘›)┤ Let f(x) = y , such that y ∈ N x = {ā–ˆ(š‘¦āˆ’1 , š‘–š‘“ š‘¦ š‘–š‘  š‘’š‘£š‘’š‘›@š‘¦+1, š‘–š‘“ š‘¦ š‘–š‘  š‘œš‘‘š‘‘)┤ If x is even f(x) = x – 1 y = x – 1 y + 1 = x x = y + 1 If x is even, y is odd Hence, if y is a natural number, x will also be a natural number i.e. x ∈ N Thus, f is onto.

Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.