• How it works
  • Homework answers

Physics help

Discrete Mathematics Answers

Questions: 3 903

Answers by our Experts: 3 464

Ask Your question

Need a fast expert's response?

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS !

Search & Filtering

Use a membership table to show that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C). 

What is the symbolic word if Caroline is late (l), we will not pursue our plan (~p). We did not pursue our plan. Therefore, Caroline was late.

Show that the square of an even number is an even number using a direct proof.

Show whether or not p←→ q =(p→q) ^ (q→p)

Patrick has assignments in 5 subjects. He can only do two assignments . In how many ways can do two assignments?

Patrick has assignments in 5 subjects he can only do two assignments in how many ways can he do two assignments

How many 5 digit number can be formed from digits 0-6 if:

C. If one (1) is not to be used as the 1st digit and repetition is not allowed

Let f and g be the functions defined by f(x)= 2x+3 g(x)= 3x+2 then composition of f and g is

Using proof by contraposition, show that if n is an integer and 5 added to its cube is odd then n is even. Before showing your solution, rewrite the statement to the proper form of a conditional statement then assign variables to the simple propositions. Show also the contrapositive form of the simple propositions before proceeding to your solution.

Use proof by contradiction to show that a number is even if its square is even. Before showing your solution, rewrite the statement to the proper form of a conditional statement. Assign variables to the simple propositions then write your assumption using these variables and logic symbols. At the end of your solution

  • Programming
  • Engineering

10 years of AssignmentExpert

  • Number System
  • Linear Algebra
  • Trigonometry
  • Probability
  • Discrete Mathematics
  • Engineering Math Practice Problems

Functions in Discrete Mathematics

Functions are an important part of discrete mathematics. This article is all about functions, their types, and other details of functions. A function assigns exactly one element of a set to each element of the other set. Functions are the rules that assign one input to one output. The function can be represented as f: A ⇢ B. A is called the domain of the function and B is called the codomain function.

Table of Content

What is Function?

Pre-image and image of a function, domain of a function, codomain (range) of a function, types of function, inverse of a function, composition of functions, summary: functions in discrete mathematics, sample questions on functions in discrete mathematics.

  • A function assigns exactly one element of one set to each element of other sets.
  • A function is a rule that assigns each input exactly one output.
  • A function f from A to B is an assignment of exactly one element of B to each element of A (where  A and B are non-empty sets).
  • A function f from set A to set B is represented as f: A ⇢ B where A is called the domain of f and B is called as codomain of f.
  • If b is a unique element of B to element a of A assigned by function F then, it is written as f(a) = b.
  • Function f maps A to B means f is a function from A to B i.e. f: A ⇢ B

A function f: A ⇢ B such that for each a ∈ A, there exists a unique b ∈ B such that (a, b) ∈ R then, a is called the pre-image of f and b is called the image of f.

  • If f is a function from set A to set B then, A is called the domain of function f.
  • The set of all inputs for a function is called its domain.
  • If f is a function from set A to set B then, B is called the codomain of function f.
  • The set of all allowable outputs for a function is called its codomain.

Read More about Domain and Range of Function .

Some of the common types of functions are:

  • One-One Function

Many-One Function

  • Onto Function

Into Function

  • One-One Correspondent Function

One-One Into Function

Many-one onto function, many-one into function.

Let’s discuss these in detail.

One-One Function ( or Injective Function):

A function in which one element of the domain is connected to one element of the codomain.

A function f: A ⇢ B is said to be a one-one (injective) function if different elements of A have different images in B.

f: A ⇢ B is one-one 

⇒  a ≠ b ⇒  f(a) ≠ f(b)           for all a, b ∈  A

⇒  f(a) = f(b) ⇒ a = b           for all a, b ∈  A

ONE-ONE FUNCTION

ONE-ONE FUNCTION

A function f: A ⇢ B is said to be a many-one function if two or more elements of set A have the same image in B.

A function f: A ⇢ B is a many-one function if it is not a one-one function.

f: A ⇢ B is many-one.

⇒ a ≠ b but f(a) = f(b)      for all a, b ∈  A

MANY-ONE FUNCTION

MANY-ONE FUNCTION

Onto Function( or Surjective Function)

A function f: A ⇢ B is said to be onto (surjective) function if every element of B is an image of some element of A  i.e. f(A) = B or range of f is the codomain of f.

A function in which every element of the codomain has one pre-image.

  f: A ⇢ B is onto if for each b∈ B, there exists a∈ A such that f(a) = b.

ONTO FUNCTION

ONTO FUNCTION

A function f: A ⇢ B is said to be an into a function if there exists an element in B with no pre-image in A.

A function f: A ⇢ B is into function when it is not onto.

INTO FUNCTION

INTO FUNCTION

One-One Correspondent Function (or Bijective Function or One-One Onto Function)

A function which is both one-one and onto (both injective and surjective) is called one-one correspondent(bijective) function. 

f : A ⇢ B is one-one correspondent (bijective) if:

  • ⇒ a = b for all a, b ∈  A
  • a ∈ A such that f(a) = b.

ONE-ONE CORRESPONDENT FUNCTION

ONE-ONE CORRESPONDENT FUNCTION

A function that is both one-one and into is called one-one into function.

ONE-ONE INTO FUNCTION

ONE-ONE INTO FUNCTION

A function that is both many-one and onto is called many-one onto function.

MANY-ONE ONTO FUNCTION

MANY-ONE ONTO FUNCTION

A function that is both many-one and into is called many-one into function.

MANY-ONE INTO FUNCTION

MANY-ONE INTO FUNCTION

Let f: A ⇢ B be a bijection then, a function g: B ⇢ A which associates each element b ∈ B to a different element a ∈ A such that f(a) = b is called the inverse of f.

f(a) = b  ↔︎  g(b) = a

Read More about Inverse Function .

Let f: A ⇢ B and g: B ⇢ C be two functions then, a function gof: A ⇢ C is defined by 

(gof)(x) = g(f(x)), for all x ∈ A 

Here, (gof)(x) is called the composition of f and g.

Read More about Composition of Function .

Let X and Y be two sets with m and n elements and a function is defined as f : X⇢Y then,

  • Total number of functions = n m
  • Total number of one-one function = n P m
  • Total number of onto functions = n m – n C 1 (n-1) m + n C 2 (n-2) m – . . . + (-1) n-1n C n-1 1 m    if m ≥ n.

For the composition of functions f and g be two functions : 

  • fog ≠ gof 
  • If f and g both are one-one function then fog is also one-one.
  • If f and g both are onto function then fog is also onto.
  • If f and fog both are one-one function then g is also one-one.
  • If f and fog both are onto function then it is not necessary that g is also onto.
  • (fog) -1 = g -1 o f -1
  • f -1 o f = f -1 (f(a)) = f -1 (b) = a
  • fof -1 = f(f -1 (b)) = f(a) = b

Question 1: Show that the function f : R ⇢ R, given by f(x) = 2x, is one-one and onto.

For one-one: Let a, b ∈ R such that f(a) = f(b) then, f(a) = f(b) ⇒ 2a = 2b ⇒ a = b Therefore, f: R ⇢ R is one-one. For onto: Let p be any real number in R (co-domain). f(x) = p ⇒ 2x = p ⇒ x = p/2 p/2 ∈ R for p ∈ R such that f(p/2) = 2(p/2) = p For each p∈ R (codomain) there exists x = p/2 ∈ R (domain) such that f(x) = y For each element in codomain has its pre-image in domain. So, f: R ⇢ R is onto. Since f: R ⇢ R is both one-one and onto. f : R ⇢ R is one-one correspondent (bijective function).

Question 2: Let  f : R ⇢ R ; f(x) = cos x and  g : R ⇢ R ; g(x) = x 3 . Find fog and gof.

Since the range of f is a subset of the domain of g and the range of g is a subset of the domain of f. So, fog and gof both exist.  gof (x) = g(f(x)) = g(cos x) = (cos x) 3 = cos 3 x fog (x) = f(g(x)) = f(x 3 ) = cos x 3

Question 3: If f : Q ⇢ Q is given by f(x) = x 2 , then find f -1 (16).

Let f -1 (16) = x f(x) = 16 ⇒ x 2 = 16 ⇒ x = ± 4 Thus, f -1 (16) = {-4, 4}

Question 4: If f : R ⇢ R; f(x) = 2x + 7  is a bijective function then, find the inverse of f.

Let x ∈ R (domain), y ∈ R (codomain) such that f(a) = b f(x) = y ⇒ 2x + 7 = y ⇒ x = (y -7)/2 ⇒ f -1 (y) = (y -7)/2 Thus, f -1 : R ⇢ R is defined as f -1(x) = (x -7)/2 for all x∈ R.

Question 5: If f : A ⇢ B and |A| = 5 and |B| = 3 then find total number of functions.

Total number of functions = 3 5 = 243

Related Articles:

  • Discrete Mathematics Tutorial
  • Discrete Mathematics | Hasse Diagrams

FAQs on Functions in Discrete Mathematics

What is a function in discrete mathematics.

A function in discrete mathematics is a relation between a set of inputs (domain) and a set of possible outputs (range), such that each input is related to exactly one output.

How is a function represented in mathematics?

A function is typically represented using function notation, such as f(x) or g(y), where f and g are the names of the functions and x and y are the input variables.

What is the difference between a function and a relation?

A function is a special type of relation where each input is related to exactly one output. In a relation, an input can be related to more than one output.

What are the different types of functions?

There are several types of functions, including: One-to-one functions: Each input is related to a unique output. Onto functions: Every element in the output set is related to by at least one element in the input set. Many-to-one functions: Multiple inputs can be related to the same output.

How do you determine if a function is injective, surjective, or bijective?

Injective (one-to-one): If each element in the input set is related to a unique element in the output set. Surjective (onto): If every element in the output set is related to by at least one element in the input set. Bijective: If a function is both injective and surjective, meaning each input is related to a unique output and every output is related to by at least one input.

Similar Reads

  • Engineering Mathematics

Please Login to comment...

Improve your coding skills with practice.

 alt=

What kind of Experience do you want to share?

Browse Course Material

Course info, instructors.

  • Prof. Albert R. Meyer
  • Prof. Adam Chlipala

Departments

  • Electrical Engineering and Computer Science
  • Mathematics

As Taught In

  • Computer Science
  • Applied Mathematics
  • Probability and Statistics

Learning Resource Types

Mathematics for computer science, course description.

This subject offers an interactive introduction to discrete mathematics oriented toward computer science and engineering. The subject coverage divides roughly into thirds:

  • Fundamental concepts of mathematics: Definitions, proofs, sets, functions, relations.
  • Discrete structures: graphs, state machines, modular …
  • Discrete structures: graphs, state machines, modular arithmetic, counting.
  • Discrete probability theory.

On completion of 6.042J, students will be able to explain and apply the basic methods of discrete (noncontinuous) mathematics in computer science. They will be able to use these methods in subsequent courses in the design and analysis of algorithms, computability theory, software engineering, and computer systems.

This course is part of the Open Learning Library , which is free to use. You have the option to sign up and enroll in the course if you want to track your progress, or you can view and use all the materials without enrolling.

6.042 course logo: 4 by 4 square with numbers in each square.

You are leaving MIT OpenCourseWare

Skip Navigation

Get Textbook Solutions and 24/7 study help for Discrete Math

Step-by-step solutions to problems over 34,000 ISBNs Find textbook solutions

Join Chegg Study and get:

assignment discrete mathematics

Guided textbook solutions created by Chegg experts

Learn from step-by-step solutions for over 34,000 ISBNs in Math, Science, Engineering, Business and more

assignment discrete mathematics

24/7 Study Help

Answers in a pinch from experts and subject enthusiasts all semester long

Discrete Math Textbooks with Solutions (106)

Algebraic and Discrete Mathematical Methods for Modern Biology 0th edition

Get the most out of Chegg Study

  • 24/7 Online Study Help
  • Guided Textbook Solutions
  • Definitions of key topics & concepts
  • GPA Calculator

Discrete Math Guided Textbook Solutions from Chegg

Chegg's step-by-step discrete math guided textbook solutions will help you learn and understand how to solve discrete math textbook problems and be better prepared for class. Stuck on a discrete math question that's not in your textbook? Chegg's discrete math experts can provide answers and solutions to virtually any discrete math problem, often in as little as 2 hours. Thousands of discrete math guided textbook solutions, and expert discrete math answers when you need them. That's the power of Chegg.

© 2003-2024 Chegg Inc. All rights reserved.

assignment discrete mathematics

assignment discrete mathematics

Prof. Swapnil S. Thakare

Life is 10% what happens to us & 90% how we react to it.

Discrete Mathematics (DM)

  • SPPU-SE-Comp-2019-PAT-Syllabus

Prerequisite  for DM:-

Analysis of DM:-

Theory Section:-

  • DM-Unit-1-Notes
  • DM-Unit-2-Notes
  • DM-Unit-3-Notes
  • DM-Unit-4-Notes
  • DM-Unit-5-Notes
  • DM-Unit-6-Notes
  • unit-1-Part-1
  • unit-1-Part-2
  • unit-1-Part-3
  • unit-2-relation-function
  • unit-3-permutation_combination
  • unit-4-graph-theory
  • unit-5-tree

Theory Question Bank:-

Assignment Section:-

  • DM_Assignment-1
  • DM_Assignment-2
  • DM_Assignment-3
  • DM_Assignment-4
  • DM_Assignment-5
  • DM_Assignment-6

Online MCQs Question Bank:-

  • Unit-1-SET-MCQs
  • Unit-2-Functions-MCQs
  • unit-3-Combinatorics-MCQ
  • Unit-4-Graph-MCQs

For More Online MCQs Practice Please visit: https://jit.myexamo.com/

Previous year University Question Papers:-

  • DM Old QP and Solutions

Share this:

' src=

  • Copy shortlink
  • Report this content
  • Manage subscriptions

COMMENTS

  1. PDF Notes on Discrete Mathematics

    Contents Tableofcontentsii Listoffiguresxvii Listoftablesxix Listofalgorithmsxx Prefacexxi Resourcesxxii 1 Introduction1 1.1 ...

  2. Assignments

    The first is a writing assignment to revise Section 3 (and Section 3 only) of the incomplete lecture notes on Chernoff Bound. Homework 4 (PDF) Homework 4 has three questions, all of them math assignments. Homework 5 (PDF) Homework 5 has two questions, both of them writing assignments. Homework 6 (PDF) Homework 6 is a term paper assignment.

  3. MAT230

    Discrete Mathematics (MAT230) 16 days ago The domain of the relation A is the set of all real numbers. xAy if abs(x-y) is less than or equal to 2. Indicate whether the relation is - Reflexive, Anti-reflexive, or neither - Symmetric, anti-symmetric, or neither - Transitive or not transitive

  4. Mathematics for Computer Science

    This course covers elementary discrete mathematics for computer science and engineering. It emphasizes mathematical definitions and proofs as well as applicable methods. Topics include formal logic notation, proof methods; induction, well-ordering; sets, relations; elementary graph theory; integer congruences; asymptotic notation and growth of functions; permutations and combinations, counting ...

  5. PDF Discrete Maths: Exercises and Solutions

    taking a discrete mathematics course make up a set. In addition, those currently enrolled students, who are taking a course in discrete mathematics form a set that can be obtained by taking the elements common to the first two collections. Definition: A set is an unordered collection of objects, called elements or members of the set.

  6. Discrete mathematics assignments and solutions

    MAT 253 core course in the mathematics curriculum designed for mathe- matics majors as an early introduction to discrete mathematical structures, rigorous proof techniques, and mathematical programming. Catalogue description: A rigorous introduction to discrete mathematical structures, proof techniques, and programming.

  7. PDF Discrete Structures Lecture Notes

    speaking mathematics, a delicate balance is maintained between being formal and not getting bogged down in minutia.1 This balance usually becomes second-nature with experience. You should all get the hang of it by the end of the quarter. 1.2 Set operations A is said to be a subset of B if and only if every element of A is also an element of B,

  8. PDF Solved exercises in Discrete mathematics Sample problems

    This le contains an English version of exercises in the course of Discrete mathematics. Most of the problems were prepared by Michael Kubesa, Tereza Kova rov a, and Petr Kov a r. The English version was prepared by Tereza Kov a rov a and Petr Kov a r. Ostrava, January 5th, 2022

  9. Principles of Discrete Applied Mathematics

    This course is an introduction to discrete applied mathematics. Topics include probability, counting, linear programming, number-theoretic algorithms, sorting, data compression, and error-correcting codes. This is a Communication Intensive in the Major (CI-M) course, and thus includes a writing component.

  10. Discrete Mathematics Answers

    Discrete Mathematics Using proof by contraposition, show that if n is an integer and 5 added to its cube is odd then n is even. Before showing your solution, rewrite the statement to the proper form of a conditional statement then assign variables to the simple propositions.

  11. Discrete Mathematics Tutorial

    The Four Color Theorem and Kuratowski's Theorem are two fundamental results in discrete mathematics, specifically in the field of graph theory. Both theorems address the properties of planar graphs but from different perspectives. In this article, we will understand about Four Color Theorem and Kuratowski's Theorem in Discrete Mathematics ...

  12. Assignments for Discrete Mathematics (Computer science) Free ...

    Discrete Mathematics - Reading Assignment | CSE 20110 9 Questions for Assignment 1 - Elements of Discrete Mathematics | MAT 2345 Discrete Mathematics - Problem Set 11 - Questions | CSE 20110

  13. Arguments in Discrete Mathematics

    A set in discrete mathematics is a collection of distinct objects, considered as an object in its own right. Sets are fundamental objects in mathematics, used to define various concepts and structures. In this article, we will discuss Types of Sets in Discrete Structure or Discrete Mathematics. Also, we will cover the examples. Let's discuss one by

  14. Functions in Discrete Mathematics

    A function f from A to B is an assignment of exactly one element of B to each element of A (where A and B are non-empty sets). ... A set in discrete mathematics is a collection of distinct objects, considered as an object in its own right. Sets are fundamental objects in mathematics, used to define various concepts and structures.

  15. Mathematics for Computer Science

    This subject offers an interactive introduction to discrete mathematics oriented toward computer science and engineering. The subject coverage divides roughly into thirds: 1. Fundamental concepts of mathematics: Definitions, proofs, sets, functions, relations. 2. Discrete structures: graphs, state machines, modular arithmetic, counting. 3. Discrete probability theory. On completion of 6.042J ...

  16. Module 1 assignment

    Discrete Mathematics (MAT230) 357 Documents. Students shared 357 documents in this course. University Southern New Hampshire University. Academic year: 2022/2023. ... Module 2 assignment - Mod 2 codio; 5-1 Work capital by jr; Module 3 assignment Completed - Copy; Module Five Problem Set; Related documents. Jaime Rowland.Mat-230. Module Six ...

  17. Discrete Math Textbook Solutions and Answers

    Stuck on a discrete math question that's not in your textbook? Chegg's discrete math experts can provide answers and solutions to virtually any discrete math problem, often in as little as 2 hours. Thousands of discrete math guided textbook solutions, and expert discrete math answers when you need them. That's the power of Chegg.

  18. MAT-230 Module 2 assignment (Complete)

    Discrete Mathematics Module 2 Assignment module two problem set this document is proprietary to southern new hampshire university. it and the problems within. Skip to document. ... Discrete Mathematics (MAT230) 382 Documents. Students shared 382 documents in this course. University Southern New Hampshire University. Academic year: 2021/2022.

  19. Discrete Mathematics (DM)

    Discrete Mathematics (DM) Syllabus:-SPPU-SE-Comp-2019-PAT-Syllabus; Prerequisite for DM:-Analysis of DM:-Theory Section:-Notes: DM-Unit-1-Notes; DM-Unit-2-Notes; ... - Assignment Section:- DM_Assignment-1 DM_Assignment-2 DM_Assignment-3 DM_Assignment-4 DM_Assignment-5 DM_Assignment-6 Online MCQs Question Bank:- Unit-1-SET-MCQs Unit-2-Functions ...

  20. MATH 1302

    Studying MATH 1302 Discrete Mathematics at University of the People? On Studocu you will find 351 assignments, 112 practice materials, 103 coursework and much more. ... MATH 1302 Assignment UNit 4; DF-7; Discrete math diss 3 - The Graded Quiz will test your knowledge of all the materials learned thus far.