Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Notes  >  RRB JE for Computer Science Engineering  >  Cheatsheet: Engineering Mathematics for Computer Science Engineering

Cheatsheet Engineering for Computer Science Engineering - RRB JE for Computer

1. Linear Algebra

1.1 Matrices

1.1 Matrices

1.2 Eigenvalues and Eigenvectors

1.2 Eigenvalues and Eigenvectors

1.3 Vector Spaces

1.3 Vector Spaces

1.4 Matrix Types

1.4 Matrix Types

1.5 System of Linear Equations

  • For square matrix A, Ax = b has a unique solution if |A| ≠ 0.
  • Homogeneous system Ax = 0 has non-trivial solution if |A| = 0
  • Cramer's Rule: xi = |Ai|/|A| where Ai is A with i-th column replaced by b
  • Gaussian elimination converts a matrix to row echelon or reduced row echelon form.
  • Solution existence: consistent if rank([A|b]) = rank(A)
  • Unique solution if rank(A) = n; infinite solutions if rank(A) < n and rank(A) = rank([A|b]).

2. Calculus

2.1 Limits and Continuity

2.1 Limits and Continuity

2.2 Differentiation

2.2 Differentiation

2.2.1 Key Derivatives

  • d/dx(xn) = nxn-1; d/dx(ex) = ex; d/dx(ax) = axln(a)
  • d/dx(ln x) = 1/x; d/dx(sin x) = cos x; d/dx(cos x) = -sin x
  • d/dx(tan x) = sec2x; d/dx(cot x) = -csc2x
  • d/dx(sin-1x) = 1/√(1-x2); d/dx(tan-1x) = 1/(1+x2)

2.3 Mean Value Theorems

2.3 Mean Value Theorems

2.4 Taylor and Maclaurin Series

2.4 Taylor and Maclaurin Series

2.5 Integration

2.5 Integration

2.5.1 Standard Integrals

  • ∫xndx = xn+1/(n+1) + C (n ≠ -1); ∫(1/x)dx = ln|x| + C
  • ∫exdx = ex + C; ∫axdx = ax/ln(a) + C
  • ∫sin x dx = -cos x + C; ∫cos x dx = sin x + C
  • ∫sec2x dx = tan x + C; ∫csc2x dx = -cot x + C
  • ∫dx/(x2+a2) = (1/a)tan-1(x/a) + C
  • ∫dx/√(a2-x2) = sin-1(x/a) + C

2.6 Definite Integrals

  • Fundamental Theorem: ∫ab f(x)dx = F(b) - F(a) where F'(x) = f(x)
  • ab f(x)dx = -∫ba f(x)dx
  • ab f(x)dx = ∫ac f(x)dx + ∫cb f(x)dx
  • If f is even: ∫-aa f(x)dx = 2∫0a f(x)dx
  • If f is odd: ∫-aa f(x)dx = 0
  • 0a f(x)dx = ∫0a f(a-x)dx (King's property)

2.7 Multivariable Calculus

2.7 Multivariable Calculus

2.8 Multiple Integrals

  • Double integral: ∫∫R f(x,y) dA = ∫abcd f(x,y) dy dx
  • Change of variables: ∫∫R f(x,y) dx dy = ∫∫S f(g(u,v), h(u,v)) |J| du dv
  • Jacobian: J = ∂(x,y)/∂(u,v) = xuyv - xvyu
  • Polar coordinates: dx dy = r dr dθ; x = r cos θ, y = r sin θ

3. Differential Equations

3.1 First Order ODEs

3.1 First Order ODEs

3.2 Second Order Linear ODEs

3.2 Second Order Linear ODEs

3.3 Laplace Transform

3.3 Laplace Transform

3.3.1 Laplace Transform Properties

  • Linearity: L{af(t) + bg(t)} = aL{f(t)} + bL{g(t)}
  • First derivative: L{f'(t)} = sL{f(t)} - f(0)
  • Second derivative: L{f''(t)} = s2L{f(t)} - sf(0) - f'(0)
  • Integration: L{∫0t f(τ)dτ} = L{f(t)}/s
  • First shifting: L{eatf(t)} = F(s-a)
  • Second shifting: L{f(t-a)u(t-a)} = e^(-as)F(s), where u(t-a) is the unit step function.
  • Convolution: L{f*g} = L{f}·L{g}

4. Probability and Statistics

4.1 Probability Basics

4.1 Probability Basics

4.2 Random Variables

4.2 Random Variables

4.3 Probability Distributions

4.3 Probability Distributions

4.4 Statistical Inference

4.4 Statistical Inference

4.5 Hypothesis Testing

  • Null hypothesis H₀: statement to be tested
  • Alternative hypothesis H₁: statement accepted if H₀ rejected
  • Type I error: reject H₀ when true (α = significance level)
  • Type II error: fail to reject H₀ when false (β)
  • Power = 1 - β
  • p-value: probability of observing test statistic as extreme as observed, given H₀ true
  • Reject H₀ if p-value < α (significance level).

5. Graph Theory

5.1 Basic Definitions

5.1 Basic Definitions

5.2 Special Graphs

5.2 Special Graphs

5.3 Graph Representations

5.3 Graph Representations

5.4 Graph Traversal

  • BFS (Breadth-First Search): uses queue; explores level by level; O(V+E)
  • DFS (Depth-First Search): uses stack/recursion; explores depth first; O(V+E)
  • BFS finds shortest path in unweighted graph
  • DFS used for cycle detection, topological sorting

5.5 Shortest Path Algorithms

5.5 Shortest Path Algorithms

5.6 Minimum Spanning Tree

5.6 Minimum Spanning Tree

5.7 Graph Properties

  • Chromatic number: minimum colors needed to color vertices (no adjacent same color)
  • For a connected planar graph, Euler's formula holds: V - E + F = 2.
  • Bipartite graph is 2-colorable
  • Clique: complete subgraph
  • Independent set: vertices with no edges between them
  • Vertex cover: set of vertices incident to all edges

6. Combinatorics

6.1 Basic Counting

6.1 Basic Counting

6.2 Binomial Theorem

  • (x+y)n = Σ C(n,k)xn-kyk for k=0 to n
  • C(n,0) + C(n,1) + ... + C(n,n) = 2n
  • C(n,0) - C(n,1) + C(n,2) - ... = 0
  • C(n,r) = C(n,n-r)
  • C(n,r) + C(n,r+1) = C(n+1,r+1) (Pascal's identity)

6.3 Pigeonhole Principle

  • If n items placed in m containers and n > m, at least one container has > 1 item
  • Generalized: if n items in m containers, at least one has ≥ ⌈n/m⌉ items

6.4 Inclusion-Exclusion Principle

  • |A∪B| = |A| + |B| - |A∩B|
  • |A∪B∪C| = |A| + |B| + |C| - |A∩B| - |A∩C| - |B∩C| + |A∩B∩C|
  • General: |A₁∪...∪An| = Σ|Ai| - Σ|Ai∩Aj| + Σ|Ai∩Aj∩Ak| - ...

6.5 Generating Functions

6.5 Generating Functions

6.6 Recurrence Relations

6.6 Recurrence Relations

6.6.1 Master Theorem Cases

  • Case 1: f(n) = O(nlogba-ε) → T(n) = Θ(nlogba)
  • Case 2: f(n) = Θ(nlogba) → T(n) = Θ(nlogba log n)
  • Case 3: f(n) = Ω(nlogba+ε) and af(n/b) ≤ cf(n) → T(n) = Θ(f(n))

7. Mathematical Logic

7.1 Propositional Logic

7.1 Propositional Logic

7.2 Logical Equivalences

  • De Morgan's Laws: ¬(p∧q) ≡ ¬p∨¬q; ¬(p∨q) ≡ ¬p∧¬q
  • Commutative: p∧q ≡ q∧p; p∨q ≡ q∨p
  • Associative: (p∧q)∧r ≡ p∧(q∧r); (p∨q)∨r ≡ p∨(q∨r)
  • Distributive: p∧(q∨r) ≡ (p∧q)∨(p∧r); p∨(q∧r) ≡ (p∨q)∧(p∨r)
  • Identity: p∧T ≡ p; p∨F ≡ p
  • Domination: p∨T ≡ T; p∧F ≡ F
  • Idempotent: p∧p ≡ p; p∨p ≡ p
  • Double negation: ¬¬p ≡ p
  • Implication: p→q ≡ ¬p∨q
  • Contrapositive: p→q ≡ ¬q→¬p

7.3 Predicate Logic

7.3 Predicate Logic

7.4 Rules of Inference

7.4 Rules of Inference

7.5 Proof Techniques

  • Direct Proof: assume p, derive q to prove p→q
  • Proof by Contrapositive: prove ¬q→¬p instead of p→q
  • Proof by Contradiction: assume ¬conclusion, derive contradiction
  • Proof by Cases: divide into exhaustive cases, prove each
  • Mathematical Induction: prove P(1), prove P(k)→P(k+1)
  • Strong Induction: prove P(1), prove [P(1)∧...∧P(k)]→P(k+1)

8. Set Theory and Relations

8.1 Set Operations

8.1 Set Operations

8.2 Set Identities

  • De Morgan's: (A∪B)' = A'∩B'; (A∩B)' = A'∪B'
  • Absorption: A∪(A∩B) = A; A∩(A∪B) = A
  • Distributive: A∩(B∪C) = (A∩B)∪(A∩C); A∪(B∩C) = (A∪B)∩(A∪C)
  • |A∪B| = |A| + |B| - |A∩B|
  • |A×B| = |A|×|B|

8.3 Relations

8.3 Relations

8.4 Functions

8.4 Functions

8.5 Equivalence Relations and Partitions

  • Equivalence class [a] = {x : (x,a)∈R}
  • Equivalence classes partition the set
  • Each element belongs to exactly one equivalence class
  • Partition: collection of disjoint non-empty subsets whose union is the entire set

9. Number Theory

9.1 Divisibility

9.1 Divisibility

9.2 Prime Numbers

  • Prime: integer p > 1 divisible only by 1 and p
  • Fundamental Theorem of Arithmetic: every integer > 1 has unique prime factorization
  • Infinitely many primes exist
  • Sieve of Eratosthenes: algorithm to find all primes up to n
  • If p is prime and p|ab, then p|a or p|b

9.3 Modular Arithmetic

9.3 Modular Arithmetic

9.4 Euler's Totient Function

  • φ(n) = count of integers k where 1 ≤ k ≤ n and gcd(k,n) = 1
  • φ(p) = p-1 if p is prime
  • φ(pk) = pk - pk-1 = pk(1 - 1/p)
  • φ(mn) = φ(m)φ(n) if gcd(m,n) = 1
  • φ(n) = n∏(1 - 1/p) over all prime divisors p of n

9.5 Chinese Remainder Theorem

  • System: x ≡ a₁ (mod n₁), x ≡ a₂ (mod n₂), ..., x ≡ ak (mod nk)
  • If n₁, n₂, ..., nk are pairwise coprime, unique solution mod N where N = n₁n₂...nk
  • Solution: x = Σ(aiMiyi) mod N where Mi = N/ni and yi = Mi-1 mod ni

10. Boolean Algebra

10.1 Basic Laws

10.1 Basic Laws

10.2 Normal Forms

10.2 Normal Forms

10.3 Karnaugh Maps

  • Graphical method for Boolean function simplification
  • Adjacent cells differ by exactly one variable
  • Group 1s (for SOP) or 0s (for POS) in powers of 2: 1, 2, 4, 8, 16
  • Larger groups yield simpler expressions
  • Don't care conditions (X) can be treated as 0 or 1 for optimization

10.4 Logic Gates

10.4 Logic Gates

10.5 Universal Gates

  • NAND gate is universal: can implement NOT, AND, OR
  • NOT: A NAND A = (A·A)' = A'
  • AND: (A NAND B) NAND (A NAND B)
  • OR: (A NAND A) NAND (B NAND B)
  • NOR gate is also universal

11. Complex Numbers

11.1 Basic Operations

11.1 Basic Operations

11.2 Polar Form

  • z = r(cos θ + i sin θ) = re (Euler's formula)
  • r = |z|, θ = arg(z)
  • Multiplication: r₁eiθ₁ · r₂eiθ₂ = r₁r₂ei(θ₁+θ₂)
  • Division: r₁eiθ₁ / r₂eiθ₂ = (r₁/r₂)ei(θ₁-θ₂)
  • De Moivre's Theorem: (cos θ + i sin θ)n = cos(nθ) + i sin(nθ)

11.3 Properties

  • z + z̄ = 2Re(z); z - z̄ = 2i·Im(z)
  • z·z̄ = |z|²
  • |z₁z₂| = |z₁||z₂|
  • |z₁/z₂| = |z₁|/|z₂|
  • arg(z₁z₂) = arg(z₁) + arg(z₂)
  • arg(z₁/z₂) = arg(z₁) - arg(z₂)
  • e + 1 = 0 (Euler's identity)

11.4 Roots of Complex Numbers

  • n-th roots of z = re: zk = r1/nei(θ+2πk)/n for k = 0,1,...,n-1
  • n-th roots of unity: e2πik/n for k = 0,1,...,n-1
  • Sum of n-th roots of unity = 0

12. Numerical Methods

12.1 Root Finding

12.1 Root Finding

12.2 Interpolation

12.2 Interpolation

12.3 Numerical Integration

12.3 Numerical Integration

12.4 Numerical Differentiation

  • Forward difference: f'(x) ≈ [f(x+h) - f(x)]/h
  • Backward difference: f'(x) ≈ [f(x) - f(x-h)]/h
  • Central difference: f'(x) ≈ [f(x+h) - f(x-h)]/(2h)
  • Second derivative: f''(x) ≈ [f(x+h) - 2f(x) + f(x-h)]/h²

12.5 Solution of Linear Systems

12.5 Solution of Linear Systems
The document Cheatsheet: Engineering Mathematics for Computer Science Engineering is a part of the Computer Science Engineering (CSE) Course RRB JE for Computer Science Engineering.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)

FAQs on Cheatsheet: Engineering Mathematics for Computer Science Engineering

1. What are the key applications of Linear Algebra in Computer Science?
Ans. Linear Algebra is fundamental in Computer Science, particularly in areas such as computer graphics, machine learning, and data analysis. It is used to represent and manipulate data in vector spaces, enabling transformations and operations on images and graphics. Additionally, algorithms for machine learning often rely on matrix operations to optimize and solve systems of equations, making it essential for developing predictive models.
2. How does Calculus facilitate understanding of changes in Computer Science?
Ans. Calculus is crucial in Computer Science for analysing and understanding rates of change and motion. It is used in algorithms that involve optimisation, such as those found in machine learning and artificial intelligence. The concept of derivatives helps in determining the behaviour of functions, while integrals are used in calculating areas under curves, which can be applicable in graphics and data visualisation.
3. What is the significance of Differential Equations in Engineering Mathematics?
Ans. Differential Equations play a significant role in Engineering Mathematics as they describe the relationship between functions and their derivatives, allowing for the modelling of dynamic systems. In fields such as control systems, signal processing, and fluid dynamics, differential equations are essential for predicting system behaviour over time and solving real-world problems related to change and motion.
4. Why is Probability and Statistics important in Computer Science?
Ans. Probability and Statistics are vital in Computer Science as they provide the tools to analyse data, make predictions, and infer conclusions from datasets. They are widely used in fields such as data mining, machine learning, and artificial intelligence. Concepts like probability distributions, hypothesis testing, and regression analysis allow computer scientists to assess the reliability of models and algorithms based on data analysis.
5. What role does Combinatorics play in Computer Science?
Ans. Combinatorics is essential in Computer Science for analysing and solving problems related to counting, arrangement, and combination of objects. It is applied in algorithm design, complexity analysis, and optimisation problems. For instance, it helps in understanding the performance of algorithms by evaluating the number of possible configurations or paths, which is crucial in network theory and database management.
Explore Courses for Computer Science Engineering (CSE) exam
Get EduRev Notes directly in your Google search
Related Searches
practice quizzes, ppt, Cheatsheet: Engineering Mathematics for Computer Science Engineering, study material, Exam, MCQs, Cheatsheet: Engineering Mathematics for Computer Science Engineering, Semester Notes, Viva Questions, Extra Questions, Sample Paper, pdf , video lectures, Important questions, mock tests for examination, Free, Summary, Objective type Questions, Previous Year Questions with Solutions, Cheatsheet: Engineering Mathematics for Computer Science Engineering, shortcuts and tricks, past year papers;