Mister Exam

Integral of (x-y)/x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1         
  /         
 |          
 |  x - y   
 |  ----- dx
 |    x     
 |          
/           
0           
$$\int\limits_{0}^{1} \frac{x - y}{x}\, dx$$
Integral((x - y)/x, (x, 0, 1))
Detail solution
  1. Rewrite the integrand:

  2. Integrate term-by-term:

    1. The integral of a constant is the constant times the variable of integration:

    1. The integral of a constant times a function is the constant times the integral of the function:

      1. The integral of is .

      So, the result is:

    The result is:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                           
 |                            
 | x - y                      
 | ----- dx = C + x - y*log(x)
 |   x                        
 |                            
/                             
$$\int \frac{x - y}{x}\, dx = C + x - y \log{\left(x \right)}$$
The answer [src]
1 - oo*sign(y)
$$- \infty \operatorname{sign}{\left(y \right)} + 1$$
=
=
1 - oo*sign(y)
$$- \infty \operatorname{sign}{\left(y \right)} + 1$$
1 - oo*sign(y)

    Use the examples entering the upper and lower limits of integration.