The Logic Behind the Math: The Transformation Rules
The core logic of JEE graphing is taking a "parent function" $f(x)$ and applying standard shifts. If you know what $\sin(x)$ looks like, you can graph $2\sin(x - \pi/2) + 3$ without plotting a single point.
- Vertical Shift: $f(x) + k$ moves the graph UP.
- Horizontal Shift: $f(x - k)$ moves the graph RIGHT. (Note the minus sign!)
- Reflection: $-f(x)$ flips it over the $x$-axis; $f(-x)$ flips it over the $y$-axis.
- Scaling: $af(x)$ stretches it vertically; $f(ax)$ compresses it horizontally.
Step-by-Step Solved Example (Sketching a Rational Function)
Problem: Sketch the graph of $y = \frac{x - 2}{x + 1}$.
- Step 1: Find Intercepts.Set $y=0 \to x=2$ ($x$-intercept).Set $x=0 \to y=-2$ ($y$-intercept).
- Step 2: Find Vertical Asymptote. Set denominator to zero: $x + 1 = 0 \to x = -1$.
- Step 3: Find Horizontal Asymptote. As $x \to \infty$, $y \to (x/x) = 1$. So, $y = 1$.
- Step 4: Check Regions. Pick a point to the left of $-1$ (e.g., $x = -2$). $y = (-4)/(-1) = 4$. The graph is above the horizontal asymptote in this region.
- Step 5: Sketch. Draw the two curves approaching the asymptotes through the intercepts.
Alternative Methods: The Calculus Approach
For complex polynomials, use the First Derivative Test to find where the graph turns (Maxima/Minima) and the Second Derivative Test to find where the curvature changes (Inflexion Points). This gives you the "skeleton" of the graph.
Exam Trap Alert: The Absolute Value Mirror
When you see $y = |f(x)|$, students often forget the logic.
JEE Shortcut: Graph $f(x)$ normally, then take any part of the graph that is below the $x$-axis and reflect it upward. The negative values literally "bounce" off the axis.
Practice Problem (JEE Advanced)
Question: Sketch the region bounded by $y = e^x$, $y = e^{-x}$, and $x = 1$. Find the area of this region.Hint: $e^x$ and $e^{-x}$ intersect at $x=0$. The area is $\int_0^1 (e^x - e^{-x}) dx$.