All Exams Test series for 1 year @ ₹349 only
Question

Consider the following for the next two (02) items that follow :

Let \(l=\int_a^b \frac{|x|}{x} d x, \) a < b

What is l equal to when a < 0 < b ?

This question was previously asked in
NDA I 2023 GAT Previous Year Paper (16-Apr-2023)
The correct answer is

a + b

Evaluating the Definite Integral of \(|x|/x\)

The question asks us to evaluate the definite integral \(l = \int_a^b \frac{|x|}{x} dx\), given that \(a \lt b\) and specifically for the case where \(a \lt 0 \lt b\).

The function inside the integral is \(f(x) = \frac{|x|}{x}\). This function is defined for all \(x \neq 0\). Let's analyze its behavior:

  • If \(x > 0\), then \(|x| = x\). So, \(f(x) = \frac{x}{x} = 1\).
  • If \(x < 0\), then \(|x| = -x\). So, \(f(x) = \frac{-x}{x} = -1\).

Thus, the function \(f(x)\) is a piecewise constant function:

$$ \frac{|x|}{x} = \begin{cases} 1 & \text{if } x > 0 \\ -1 & \text{if } x < 0 \end{cases} $$

We are given that \(a \lt 0 \lt b\). This means the interval of integration \([a, b]\) includes both negative and positive values, crossing through \(x=0\).

To evaluate the integral \(\int_a^b \frac{|x|}{x} dx\) when \(a \lt 0 \lt b\), we need to split the integral into two parts at \(x=0\), because the definition of the integrand changes at \(x=0\).

So, we can write the integral as:

$$ l = \int_a^b \frac{|x|}{x} dx = \int_a^0 \frac{|x|}{x} dx + \int_0^b \frac{|x|}{x} dx $$

Now, let's evaluate each part separately:

  1. For the integral \(\int_a^0 \frac{|x|}{x} dx\): In the interval \([a, 0)\), \(x\) is negative. Therefore, \(\frac{|x|}{x} = -1\). $$ \int_a^0 \frac{|x|}{x} dx = \int_a^0 (-1) dx $$ The antiderivative of \(-1\) is \(-x\). Evaluating the definite integral: $$ \int_a^0 (-1) dx = [-x]_a^0 = (-0) - (-a) = 0 + a = a $$
  2. For the integral \(\int_0^b \frac{|x|}{x} dx\): In the interval \((0, b]\), \(x\) is positive. Therefore, \(\frac{|x|}{x} = 1\). $$ \int_0^b \frac{|x|}{x} dx = \int_0^b (1) dx $$ The antiderivative of \(1\) is \(x\). Evaluating the definite integral: $$ \int_0^b (1) dx = [x]_0^b = b - 0 = b $$

Now, adding the results of the two parts:

$$ l = \int_a^0 \frac{|x|}{x} dx + \int_0^b \frac{|x|}{x} dx = a + b $$

Thus, when \(a \lt 0 \lt b\), the value of the integral \(l\) is \(a+b\).

Comparing with Options

Let's compare our result \(a+b\) with the given options:

  • Option 1: \(a + b\)
  • Option 2: \(a - b\)
  • Option 3: \(b - a\)
  • Option 4: \(\frac{(a+b)}{2}\)

Our calculated value \(a+b\) matches Option 1.

Interval \(|x|/x\) value Integral part Result
\(a \le x < 0\) \(-1\) \(\int_a^0 (-1) dx\) \(a\)
\(0 < x \le b\) \(1\) \(\int_0^b (1) dx\) \(b\)

Conclusion

Based on the evaluation of the definite integral by splitting the interval at \(x=0\), we found that \(l = a+b\) when \(a \lt 0 \lt b\).

Revision Table: Definite Integral of Absolute Value

Concept Description Key Idea
Absolute Value Function \(|x|\) is \(x\) for \(x \ge 0\) and \(-x\) for \(x < 0\). Breaks at \(x=0\).
Integral \(\int_a^b \frac{|x|}{x} dx\) Integral of a piecewise constant function. Value is \(-1\) for \(x<0\), \(1\) for \(x>0\).
Splitting Integral Limits If the interval \([a,b]\) contains a point \(c\) where the integrand changes definition, split the integral at \(c\): \(\int_a^b f(x)dx = \int_a^c f(x)dx + \int_c^b f(x)dx\). Essential for piecewise functions.

Additional Information: Properties of Definite Integrals

Understanding definite integrals is crucial for solving such problems. Here are some key properties:

  • Linearity: \(\int_a^b [cf(x) + dg(x)] dx = c\int_a^b f(x) dx + d\int_a^b g(x) dx\)
  • Additivity: \(\int_a^b f(x) dx = \int_a^c f(x) dx + \int_c^b f(x) dx\), provided \(a \lt c \lt b\). This property was used in our solution to split the integral at \(x=0\).
  • Reversing Limits: \(\int_a^b f(x) dx = - \int_b^a f(x) dx\)
  • Integral of Constant: \(\int_a^b c dx = c(b-a)\). This was used to evaluate \(\int_a^0 (-1) dx\) and \(\int_0^b (1) dx\).

When dealing with integrands involving absolute values or other piecewise definitions, always check if the interval of integration crosses the point where the definition changes. If it does, split the integral at that point.

Was this answer helpful?

Similar Questions

  1. What is \(\int^{\frac{\pi}{4}}_0 \frac{dx}{(\sin x + \cos x)^2}\)  equal to?

  2. If f(x) = 2 x, then what is \(\int^{10}_2\frac{f'(x)}{f(x)}dx\)  equal to?

  3. What is \(\int_0^{\frac{\pi}{2}} \frac{a + \sin x}{2a + \sin x + \cos x} dx\) equal to ?
  4. What is the value of \(\rm \displaystyle\int_0^{\pi/4}(\tan^3 x + \tan x)dx \ ?\)

  5. What is \(\mathop \smallint \nolimits_0^1 {\rm{x}}{(1 - {\rm{x}})^9}{\rm{dx}}\) equal to?

  6. What is the value of \( \smallint \nolimits_{ - {\rm{\pi }}/4}^{{\rm{\pi }}/4} \left( {\sin {\rm{x}} - \tan {\rm{x}}} \right){\rm{dx}}?\)

  7. What is \(\mathop \smallint \nolimits_0^{\rm{\pi }} {{\rm{e}}^{\rm{x}}}\sin {\rm{x}}\) dx equal to?

  8. What is \(\mathop \smallint \limits_0^{2{\rm{\pi }}} \sqrt {1 + \sin \frac{{\rm{x}}}{2}} {\rm{dx\;}}\) equal to?

  9. The value of \(\mathop \smallint \limits_0^{\frac{{\rm{\pi }}}{4}} \sqrt {\tan {\rm{x\;}}} {\rm{dx}} + \mathop \smallint \limits_0^{\frac{{\rm{\pi }}}{4}} \sqrt {\cot {\rm{x}}} {\rm{dx}}\) is equal to

  10. What is \(\smallint \nolimits_0^{\frac{{\rm{\pi }}}{2}} \frac{{{\rm{d\theta }}}}{{1 + \cos {\rm{\theta }}}}{\rm{\;}}\) equal to?


Important Questions from Definite Integrals

  1. Let $$f(t) = \begin{cases} 1, & t \in [0, 2] \\ -t + 3, & t \in [2, 3] \\ 0, & \text{otherwise} \end{cases}$$ Then $$\int_{-\infty}^{\infty} f(\tau) d\tau = \_\_\_\_\_.$$ (rounded off to one decimal place)

  2. Let $f(x)$ be a continuous function defined in $[0,2] \to \mathbb{R}$ and satisfying the equation
    $$\int_{0}^{2} f(x)[x - f(x)] dx = \frac{2}{3}$$
    The value of $f(1)$ is
  3. The integral $$\frac{1}{\pi} \int_0^\infty \frac{x^{2026}}{(1 + x^{2026})(1 + x^2)} dx$$ evaluates to _________ 

    (Round off to two decimal places)

  4. The value of $\int_0^{\pi/2} \log (\cos x) \text{ dx}$ is
  5. The value of $\int_0^4 \sqrt{16-x^2} \text{ } dx$ is
Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1205 Attempts
4.7(163)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App