⚡ TechVani: AI, Technology, Apps, Coding & Digital World
TechVaniAI • Technology • Apps • Coding • Digital World
HomeAI & TechAppsCodingFree AI ToolsStudent TechSecurityAboutContactPrivacy
TECHVANI // LEARN. BUILD. TEST.

Learn the tech. Build the idea.

Clear study notes, tested lab files and practical guides for coding, AI and digital safety.

Explore Latest →
šŸ¤– AI & TechAI news, tools & guides šŸ“± Apps & ToolsUseful apps & websites šŸ’» CodingProgramming & web development šŸŽ“ Student TechStudy & career technology šŸ” Cyber SecuritySafety & awareness

Latest Posts

Circuit Notebook theme

Exam Notes

šŸ“š BTech CSE Exam Notes

Find Semester 1-8 subjects in one place. Choose a semester and open the notes you need. This is a general study guide, not an official syllabus.

Open Exam Notes →🧪 Open Lab Files →

Exam Numericals & Study Series

Practice CPU scheduling and explore OS and DBMS topics in separate, easy-to-follow parts. New topics will appear in the hub as they are published.

Open Numericals Hub →

Start here and stay in touch

New to TechVani? Start with our free AI tools guide for students. It covers which tools to try and what to check before relying on an answer.

For step-by-step videos, visit SiteSudhar on YouTube.

Join TechVani on WhatsApp

Get new AI tools and coding guides in your WhatsApp Updates tab.

Browse Topics

Popular Posts

TechVani

Engineering Mathematics I | Semester 1 BTech CSE Core Notes

Semester 1 - Page 1: Engineering Mathematics I. A general BTech study guide to linear algebra, single-variable calculus, multivariable calculus, integration and vector calculus. Semester placement differs. This is not an official syllabus or a prediction of exam questions. Each numbered topic ends with an answered exam question.

Reading order: learn the meaning, trace the example, cover the answer and solve the question. Check conditions before using a formula. Correct algebra with the wrong theorem conditions is still a wrong solution.

Topic map

  1. Matrices: read the structure before calculating
  2. Determinants and Gauss-Jordan inverse
  3. Echelon form, rank, consistency and rank-nullity
  4. Gaussian elimination and Gauss-Seidel iteration
  5. Eigenvalues, eigenvectors and diagonalization
  6. Cayley-Hamilton, quadratic forms and the power method
  7. Limits, continuity, differentiability and tangent lines
  8. Rolle, Lagrange and Cauchy mean value theorems
  9. Higher derivatives, Leibniz and local series
  10. Indeterminate limits, curve tracing, curvature and envelopes
  11. Partial derivatives, total derivative and Euler theorem
  12. Jacobians, functional dependence and approximation error
  13. Several-variable extrema and Lagrange multipliers
  14. Double and triple integrals: choose the region first
  15. Area, volume, mass, centroid and improper integrals
  16. Gradient, directional derivative, divergence and curl
  17. Line integrals and conservative fields
  18. Green, Gauss divergence and Stokes theorems
  19. ODE bridge: where a different course puts differential equations
Matrices and vectorsSolve constraintsRank and eigenvaluesDerivativesLocal changeSlopes and extremaIntegralsAccumulationArea, mass and fluxAlways: state domain - choose method - calculate - check the answer.
On narrow screens, scroll the diagram sideways. Concept diagram: linear constraints, local change and accumulated quantities solve different kinds of problems.

1. Matrices: read the structure before calculating

A matrix is a rectangular arrangement of numbers. Its order is rows x columns. Addition requires equal orders; AB requires columns(A)=rows(B). AB and BA need not agree, and one may not exist. A transpose swaps rows and columns. Symmetric means A transpose = A; skew-symmetric means A transpose = -A. Orthogonal real matrices satisfy A transpose A=I, so their inverse equals their transpose. A Hermitian complex matrix equals its conjugate transpose, not merely its transpose.

Worked example: If A is 2 x 3 and B is 3 x 4, AB is 2 x 4. BA is undefined because 4 does not equal 2. For A=[[0,-1],[1,0]], A transpose A=I: this matrix rotates a vector through 90 degrees.
Exam Q: When is matrix multiplication allowed?
Answer: For an m x n matrix times an n x p matrix, the result is m x p. Match the two inner dimensions first.

2. Determinants and Gauss-Jordan inverse

For a 2 x 2 matrix [[a,b],[c,d]], det=ad-bc. A square matrix is invertible exactly when its determinant is nonzero. The inverse is (1/det)[[d,-b],[-c,a]]. For larger matrices, put [A|I] side by side and use elementary row operations until the left side becomes I. The right side is then the inverse. A zero row preventing a pivot means a singular matrix.

Worked example: A=[[4,7],[2,6]] has determinant 10 and inverse [[3/5,-7/10],[-1/5,2/5]]. Multiply A by this result: the first row gives 1,0 and the second 0,1.
Exam Q: Why does det=0 prevent an inverse?
Answer: The rows or columns are dependent, so A collapses at least one nonzero vector to zero. An inverse cannot recover that lost information.

3. Echelon form, rank, consistency and rank-nullity

Use row swapping, multiplying a row by a nonzero number, and adding a multiple of another row. Rank is the number of pivots in echelon form, not the number of nonzero entries. Ax=b is consistent when rank(A)=rank([A|b]). For n unknowns, equal ranks=n give a unique solution; equal ranks less than n give free variables and infinitely many solutions. Unequal ranks give no solution. Rank-nullity says rank(A)+dimension(null(A))=n.

Worked example: Rows [1,2,3], [2,4,6], [1,1,1] have rank 2 because row 2 repeats twice row 1 and row 3 adds a new direction. With 3 columns the nullity is 1. Equations x+y=2 and 2 x+2 y=5 are inconsistent, not underdetermined.
Exam Q: Does rank less than the unknown count always mean infinite solutions?
Answer: No. Check consistency first. Infinite solutions require equal coefficient and augmented ranks; unequal ranks mean no solution.

4. Gaussian elimination and Gauss-Seidel iteration

Elimination creates zeros below pivots, then back-substitution starts with the final equation. Keep the right-hand side with every row operation. Gauss-Seidel is iterative: solve each equation for one unknown, use the newest available values in the same sweep, and stop against a residual/tolerance. Strict diagonal dominance is a useful sufficient condition for convergence, not a necessary one.

Worked example: x+2 y+z=8,2 x+y-z=1,3 x+y+2 z=11. R 2-2 R 1 gives y+z=5; R 3-3 R 1 gives 5 y+z=13. Subtract to get y=2, then z=3 and x=1. All three originals check. For 4 x+y=9 and x+3 y=7, start 0,0: sweep 1 gives x=2.25,y=1.583333; sweep 2 gives x=1.854167,y=1.715278. Iteration tends to x=20/11,y=19/11.
Exam Q: What separates Gauss-Seidel from Jacobi?
Answer: Gauss-Seidel uses a new component immediately within the sweep; Jacobi computes the entire next vector from the previous vector.

5. Eigenvalues, eigenvectors and diagonalization

An eigenvector v is nonzero and satisfies Av=lambda v. Solve det(A-lambda I)=0 for eigenvalues, then solve (A-lambda I)v=0 for vectors. Eigenvalues can be complex or repeated. The trace equals their sum and determinant their product, counting multiplicity. A matrix is diagonalizable when it has n linearly independent eigenvectors: A=PDP inverse. Repeated eigenvalues alone do not decide this.

Worked example: A=[[4,1],[2,3]] has characteristic polynomial lambda squared-7 lambda+10. Eigenvalues 5 and 2 have vectors(1,1) and(1,-2). Put these as columns of P. Then D=diag(5,2), and A=PDP inverse. The trace 7 and determinant 10 check.
Exam Q: Why is the zero vector excluded?
Answer: A times zero equals lambda times zero for every lambda, so it carries no information about a special direction.

6. Cayley-Hamilton, quadratic forms and the power method

Cayley-Hamilton says a square matrix satisfies its own characteristic polynomial. It reduces high powers to lower powers; if the constant term permits it, it also gives an inverse. For a real symmetric matrix, orthogonal diagonalization converts a quadratic form to a sum of eigenvalue-weighted squares. All positive eigenvalues mean positive definite; mixed signs mean indefinite. The power method repeatedly multiplies and normalizes; convergence needs an appropriate dominant eigenvalue and a nonzero initial component in its direction.

Worked example: For the preceding A, A squared-7 A+10 I=0; multiply by A inverse to get A inverse=(7 I-A)/10. The form 2 x squared+2 xy+2 y squared has matrix[[2,1],[1,2]], eigenvalues 3,1. With u=(x+y)/sqrt 2 and v=(x-y)/sqrt 2, the form is 3 u squared+v squared, strictly positive away from zero.
Exam Q: Is every quadratic form positive definite?
Answer: No. Read the signs of the eigenvalues of its symmetric matrix, or use a valid definiteness test. A positive example does not establish a general rule.

7. Limits, continuity, differentiability and tangent lines

A limit describes nearby values, not necessarily the value at the point. Continuity requires the function value to equal the finite limit. Differentiability requires a finite derivative and implies continuity, but continuity need not imply differentiability. Check left and right behavior at corners. A tangent at x=a has equation y-f(a)=f prime(a)(x-a).

Worked example: For f=x squared+3 x, f prime=2 x+3. At x=1, f=4 and slope 5, so y-4=5(x-1). For absolute value of x, the left derivative at 0 is-1 and right is 1; it is continuous but not differentiable there.
Exam Q: Does continuity guarantee a derivative?
Answer: No. Absolute value at0 is the simplest counterexample: it has a corner.

8. Rolle, Lagrange and Cauchy mean value theorems

Rolle requires continuity on[a,b], differentiability inside, and equal endpoint values. It guarantees some interior c with f prime(c)=0. Lagrange keeps the first two conditions and guarantees f prime(c)=(f(b)-f(a))/(b-a). Cauchy applies to two functions with the same regularity: (f(b)-f(a))g prime(c)=(g(b)-g(a))f prime(c). Use a quotient form only when its denominators are nonzero.

Worked example: For f=x squared on[1,3], average slope=(9-1)/2=4, so 2 c=4 and c=2. For x squared-1 on[-1,1], equal endpoints 0 and derivative 2 x give Rolle point c=0. Do not use Rolle on absolute value across 0: differentiability fails.
Exam Q: What must an exam proof check before using a mean value theorem?
Answer: State continuity, differentiability, interval and any endpoint condition first; only then solve for the guaranteed point.

9. Higher derivatives, Leibniz and local series

The nth derivative of a product is the sum from k=0 to n of binomial(n,k) times the kth derivative of u times the(n-k)th derivative of v. Taylor about a expands using derivatives at a; Maclaurin is a=0. A finite Taylor formula has a remainder. A power series represents a function only where convergence and equality hold. Do not use an infinite series outside its valid interval.

Worked example: Third derivative of x squared e^x is e^x(x squared+6 x+6). Near 0, e^x=1+x+x squared/2+x cubed/6+...; ln(1+x)=x-x squared/2+x cubed/3-... for absolute x<1. At x=0.1, the cubic exponential approximation is 1.105166667, not an exact equality.
Exam Q: How do Taylor and Maclaurin differ?
Answer: They are the same construction at different centers: Maclaurin is Taylor centered at zero.

10. Indeterminate limits, curve tracing, curvature and envelopes

For 0/0 or infinity/infinity limits, L Hospital can replace the quotient by the derivative quotient when its hypotheses hold and that new limit exists. It is not a license for differentiating every quotient. Curve tracing uses domain, symmetry, intercepts, asymptotes and sign of derivatives. For y=f(x), curvature radius is(1+(f prime)^2)^(3/2)/absolute(f double prime) when the denominator is nonzero. For an envelope F(x,y,c)=0, eliminate c with partial F/partial c=0 and check the resulting locus.

Worked example: Limit sin x/x at 0 equals 1. For y=x squared, curvature radius at 0 is 1/2. For line family y=cx-c squared, differentiate with respect to c to get x-2 c=0; c=x/2 gives envelope y=x squared/4. Polar curves require their own coordinate formulas, not a direct substitution into the Cartesian curvature formula.
Exam Q: Why can an envelope elimination need a check?
Answer: It can include extra branches or singular points. Substitute back into the family and check the geometric contact condition.

11. Partial derivatives, total derivative and Euler theorem

A partial derivative changes one variable while holding others fixed. A total derivative along a path includes every varying input. For z=f(x,y), dz/dt=f_x dx/dt+f_y dy/dt. Euler theorem for a differentiable homogeneous function of degree n gives x f_x+y f_y=nf. Mixed partial derivatives agree under suitable continuity assumptions; their mere existence is not enough.

Worked example: f=x squared y has f_x=2 xy and f_y=x squared. With x=t,y=t squared, f=t^4 and total derivative 4 t cubed. The chain rule gives 2 xy+2 t x squared=4 t cubed. f is degree 3, so x(2 xy)+y(x squared)=3 f.
Exam Q: What is the common partial-derivative mistake?
Answer: Differentiating the other independent variable as if it depended on the chosen variable. Hold it fixed unless a path or dependency is stated.

12. Jacobians, functional dependence and approximation error

The Jacobian determinant measures local area or volume scaling for a coordinate map. A nonzero determinant gives local invertibility under the inverse function theorem conditions. A zero determinant alone at one point does not prove global functional dependence. For small input changes, df is a first-order estimate, not an exact finite change.

Worked example: u=x+y,v=x-y gives determinant[[1,1],[1,-1]]=-2. The inverse area factor is 1/2. For f=x squared y at(2,3), df=12 dx+4 dy. If dx=0.01 and dy=-0.02, estimated change is 0.04; exact change is 0.039498. Keep the approximation sign.
Exam Q: Why use the absolute Jacobian in integration?
Answer: Volume and area weights must be nonnegative; the determinant sign records orientation, not negative physical area.

13. Several-variable extrema and Lagrange multipliers

Find stationary points by setting all first partials to zero. For two variables, D=f_xx f_yy-(f_xy)^2: D>0 with f_xx>0 gives a local minimum, D>0 with f_xx<0 a local maximum, D<0 a saddle, D=0 inconclusive. On a closed bounded region, also examine boundary points. For a regular equality constraint g=c, use gradient f=lambda gradient g, then check candidate values and boundary/singular cases.

Worked example: f=x squared+y squared-2 x-4 y has gradient(2 x-2,2 y-4), minimum at(1,2), value-5. For maximizing xy subject to x+y=10 and x,y nonnegative, y=lambda and x=lambda imply x=y=5, value 25. Endpoints give 0, confirming the maximum.
Exam Q: Can stationary-point tests find every global extremum?
Answer: No. Boundary extrema and points where derivatives do not exist also need inspection.

14. Double and triple integrals: choose the region first

A double integral accumulates values over an area; a triple integral over a volume. Draw or describe the domain before setting limits. For a continuous function over a rectangle, iterated integration is valid in either order. Changing order over a nonrectangular region changes the limits, not the function. Polar coordinates add the factor r; cylindrical add r; spherical add rho squared sin phi with the stated angle convention.

Worked example: Integral of x+y over 0<=x<=1,0<=y<=2 is 3. On 0<=y<=x<=1, integral is 1/2. Reversing order gives 0<=y<=1 and y<=x<=1, still 1/2. Unit disk area in polar coordinates is integral 0 to 2 pi integral 0 to 1 r dr dtheta=pi.
Exam Q: What error loses marks in a coordinate change?
Answer: Omitting the Jacobian or retaining old bounds after changing variables.

15. Area, volume, mass, centroid and improper integrals

Integrating 1 gives area or volume. Integrating a density gives mass. A centroid with uniform density is a geometric average; a center of mass weights positions by density. For a planar region, x bar=(integral x density dA)/mass. Improper integrals need limiting definitions and convergence checks. Gamma(a)=integral 0 toinfinity t^(a-1)e^(-t)dt for a>0; Gamma(n)=(n-1)! for positive integers. Beta(a,b)=Gamma(a)Gamma(b)/Gamma(a+b) for positive a,b.

Worked example: Rectangle 0<=x<=2,0<=y<=1 with density x has mass 2. Its x moment is 8/3, so x bar=4/3; y bar=1/2. Rotating y=x,0<=x<=1 about the x axis gives volume pi/3. Gamma(4)=6 and Beta(2,3)=1/12. Integral 1 toinfinity 1/x dx diverges, whereas 1/x squared converges to 1.
Exam Q: Why is the uniform centroid not always the center of mass?
Answer: Nonuniform density weights some areas more heavily; use mass-weighted moments.

16. Gradient, directional derivative, divergence and curl

For scalar f, gradient is the vector of first partial derivatives. Directional derivative in unit direction u is gradient f dot u; normalize a supplied direction first. Divergence of a vector field is a scalar measuring local net outward tendency. Curl is a vector measuring local rotation. For sufficiently smooth fields, curl(gradient f)=0 and divergence(curl F)=0.

Worked example: f=x squared+y squared+z squared has gradient(2 x,2 y,2 z). At(1,2,2) it is(2,4,4). Direction(1,2,2) has length 3, so directional derivative is(2+8+8)/3=6. F=(x,y,z) has divergence 3; F=(-y,x,0) has curl(0,0,2).
Exam Q: Are gradient, divergence and curl interchangeable?
Answer: No. Gradient maps a scalar to a vector; divergence maps a vector to a scalar; curl maps a3D vector to a vector.

17. Line integrals and conservative fields

For a parametrized curve r(t), work is integral F(r(t)) dot r prime(t) dt. A conservative field F=gradient potential has work equal to potential(end)-potential(start); closed-loop work is zero. Curl zero implies conservativeness under suitable domain assumptions such as a simply connected domain, not automatically on a region with holes.

Worked example: F=(2 x,2 y)=gradient(x squared+y squared). From(0,0) to(1,0), straight-line work is integral 0 to 1 2 t dt=1. Any allowed path gives the same endpoint difference 1. Reversing orientation changes the sign of work.
Exam Q: When can a path integral be reduced to endpoint values?
Answer: When a valid potential exists over the relevant domain. Do not infer it solely from a curl calculation on a punctured region.

18. Green, Gauss divergence and Stokes theorems

Green relates a positively oriented closed plane curve integral of P dx+Q dy to the area integral of Q_x-P_y. Gauss relates outward flux across a closed boundary to the volume integral of divergence. Stokes relates circulation around an oriented surface boundary to the surface flux of curl. Check smoothness, domain and orientation conditions. A boundary curve is not the same thing as a closed surface.

Worked example: For P=-y,Q=x around the counterclockwise unit square, Green gives integral of 2 over area 1, so circulation 2. For F=(x,y,z) through the outward boundary of a unit cube, Gauss gives integral 3 over volume 1, so flux 3. Reverse orientation and the corresponding signed integral reverses.
Exam Q: Which theorem turns outward flux into a volume integral?
Answer: Gauss divergence theorem. Stokes uses curl and a boundary curve; Green is the planar circulation form.

19. ODE bridge: where a different course puts differential equations

Some first-year outlines put ODEs in Mathematics I, others in II. A first-order linear equation y prime+P(x)y=Q(x) uses integrating factor exp(integral P dx). An exact differential M dx+N dy=0 has M_y=N_x on an appropriate region and a potential with those partials. Bernoulli y prime+Py=Q y^n uses v=y^(1-n) when n differs from 0,1 and the transformation is valid. A constant-coefficient linear ODE uses its characteristic polynomial; repeated roots add factors of x.

Worked example: y prime+y=1,y(0)=0 has integrating factor e^x; (e^x y) prime=e^x, so y=1-e^(-x). For y double prime-3 y prime+2 y=0, roots 1,2 give y=C 1 e^x+C 2 e^(2 x). The equation (2 xy+1)dx+x squared dy=0 is exact: potential x squared y+x=C.
Exam Q: Why keep ODEs as a bridge rather than claiming a fixed semester?
Answer: Course placement varies. Follow your own outline; use the linked Mathematics II guide for the longer differential-equation topic set.

Formula selection: what kind of answer should you get?

QuestionMethodFinal check
Ax=bElimination, rank testSubstitute every equation
Av=lambda vCharacteristic polynomial, nullspacev is nonzero; verify Av
Local changeDerivative or gradientUnits, path, unit direction
Area or massIntegral with region and densityBounds and Jacobian
Closed-boundary fluxDivergence theorem if conditions holdOutward orientation

Numerical self-check and solved answers

  1. Rank and nullity of a 3-column matrix of rank 2? 2 and 1.
  2. Eigenvalue product for the example matrix [[4,1],[2,3]]? 10.
  3. Lagrange mean value point for x squared on [1,3]? c=2.
  4. For f=x squared y, partial derivative with respect to y? x squared.
  5. Integral of x+y on the 1 by 2 rectangle above? 3.
  6. Unit-cube outward flux of (x,y,z)? 3.
Common mistakes to catch: confusing determinant with rank, using eigenvalue zero vectors, forgetting theorem hypotheses, missing boundary extrema, not normalizing a direction, omitting a Jacobian, using wrong orientation, treating an approximation as exact, and trusting an iterative result without a residual.

Coverage and further study

This page adds the common gaps beyond the earlier matrix-and-tangent summary: mean value theorems, higher derivatives, series, partial/total derivatives, Jacobians, constrained extrema, multiple integrals and vector theorems. The ODE bridge covers a different first-year placement; the longer continuation is Mathematics II. Named methods here are introductory worked explanations, not substitutes for full exercises and proofs in a textbook.

Reference reading: partial derivatives, double integrals, divergence theorem, linear algebra lecture notes. Original worked examples and exam questions are for practice, not copied past papers.

Comments