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 the value of \(8 I_1^2\)

  2. What is the value of I2 ?

  3. What is \(\mathop \smallint \nolimits_{{{\rm{e}}^{ - 1}}}^{{{\rm{e}}^2}} \left| {\frac{{\ln {\rm{x}}}}{{\rm{x}}}} \right|{\rm{dx}}\) equal to?

  4. What is \(\mathop \smallint \limits_{ - 2}^2 {\rm{x\;dx}} - \mathop \smallint \limits_{ - 2}^2 \left[ {\rm{x}} \right]{\rm{dx}}\) equal to, where [⋅] is the greatest integer function?

  5. \(\mathop \smallint \limits_0^{\frac{\pi }{2}} {e^{\sin x}}\cos x\;dx\) is equal to
  6. What is \(\displaystyle\int_0^1 \ln \left(\frac{1}{x}−1\right)\) dx equal to ?

  7. If \(\displaystyle\int_0^{\pi/2}\) (sin 4  x + cos 4  x)dx = k, then what is the value of  \(\displaystyle\int_0^{20 \pi}\) (sin 4  x + cos 4  x)dx ?
  8. What is \(\displaystyle\int_{−\pi/2}^{\pi/2}\) (e cos x  sin x + e sin x  cos x)dx equal to ?
  9. What is \(\rm \int^\pi _0 ln\left(tan\frac{x}{2}\right) dx\)  equal to?

  10. What is the area bounded by y = [x], where [⋅] is the greatest integer function, the x-axis and the lines x = -1.5 and x = -1.8?


Important Questions from Definite Integrals

  1. The Legendre polynomials P n(x), n = 0, 1, 2, ..., satisfying the orthogonailty condition \(\int_{{\rm{ - 1}}}^{\rm{1}} {{{\rm{P}}_{\rm{n}}}\left( {\rm{x}} \right){{\rm{P}}_{\rm{m}}}} \left( {\rm{x}} \right){\rm{dx}}\,{\rm{ = }}\,\frac{{\rm{2}}}{{{\rm{2n + 1}}}}{{\rm{\delta }}_{{\rm{nm}}}}\)  on the interval [-1, +1], may be defined by the Rodrigues formula P n(x) =  \(\frac{{\rm{1}}}{{{{\rm{2}}^{\rm{n}}}{\rm{n!}}}}\frac{{{{\rm{d}}^{\rm{n}}}}}{{{\rm{d}}{{\rm{x}}^{\rm{n}}}}}{\left( {{{\rm{x}}^{\rm{2}}}{\rm{ - 1}}} \right)^{\rm{n}}}\) . The value of the definite integral  \(\int_{{\rm{ - 1}}}^{\rm{1}} {\left( {{\rm{4 + 2x - 3}}{{\rm{x}}^{\rm{2}}}{\rm{ + 4}}{{\rm{x}}^{\rm{3}}}} \right){{\rm{P}}_{\rm{3}}}\left( {\rm{x}} \right){\rm{dx}}} \)  is

  2. \(\rm \displaystyle\int_1^3 (e^{\log x} + 1) dx\) is equal to
  3. A parametric curve is defined \(x = cos\left(\frac{\Pi t}{2}\right) , Y= sin\left(\frac{\Pi t}{2}\right)\) in the range of \(0\leq t\leq 1\)  . It is rotated about X-axis by 360°.

    ‘What is the area of the surface generated?

  4. if \(\displaystyle\int\dfrac{\sin x}{\sin (x-a)}dx=Ax+B\log |sin(x-a)|+ C\) where A, B and c are real constants then:

  5. Which of the following is NOT a property of definite integral?

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1066 Attempts
4.6(137)
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