# Calculus

ok so apparently there's no way to express
integral |f(x)|dx
in standard mathematical functions... which I don't exactly buy...
but ya the issue came up when I was trying to evaluate
integral |x - 2|dx
and apparently this is correct
integral |x-2|dx = 2 - [(x-2)^2sgn(2-x)]/2
now I'm not saying that it's wrong or anything I'm just carious as to why it's correct and if somebody could show me how one would get to that without a calculator and done by hand somehow... any help would be great... if you don't know the signum function, sgn(x), is defined as sgn(x) = x/|x| = e^(i arg(x)) = x/SQRT(x^2)
were arg(x) is the complex argument function

THANKS!

1. 👍 0
2. 👎 0
3. 👁 221
1. integral (abs(x-2)) dx

The issue here is that the abs ()changes sign when the argument is negative, so you have to counter act that with the signum function

1. 👍 0
2. 👎 0
👨‍🏫
bobpursley
2. http://en.wikipedia.org/wiki/Sign_function

1. 👍 0
2. 👎 0
👨‍🏫
bobpursley
3. ya i realized that but I still have no idea how you get 2 - [(x-2)^2sgn(2-x)]/2 by hand...

1. 👍 0
2. 👎 0
4. This has to be a definite integral, right?

otherswise,how did a constant get into the integration result?

I integrate it as (x-2)^2SGN(x-2)/2+C

if the limits are zero to x, then
int=(x-2)^2SGN(x-2)/2 -(-2)^2(SGN2)/2=
= 2-(x-2)^2SGN(2-x)/2

I hope this helps.

1. 👍 0
2. 👎 0
👨‍🏫
bobpursley

## Similar Questions

1. ### Physics, Calculus(alot of stuff together)= HELP!!

A rod extending between x=0 and x= 14.0cm has a uniform cross- sectional area A= 9.00cm^2. It is made from a continuously changing alloy of metals so that along it's length it's density changes steadily from 2.70g/cm^3 to

2. ### math

Evaluate the following indefinite integral by using the given substitution to reduce the integral to standard form integral 2(2x+6)^5 dx, u=2x+6

3. ### calculus

Choose any two specific functions (not already chosen by a classmate) that have inverses. Use your chosen functions to answer any one of the following questions: If the inverses of two functions are both functions, will the

4. ### Math

Consider the functions in the figure below. Find the coordinates of C in terms of b. So there are two functions. There is the y=x^2 u-shape and then a line in the middle of it with points (0,b) and (1,1) in that order from left to

1. ### Calculus

1. Express the given integral as the limit of a Riemann sum but do not evaluate: integral[0 to 3]((x^3 - 6x)dx) 2.Use the Fundamental Theorem to evaluate integral[0 to 3]((x^3 - 6x)dx).(Your answer must include the

2. ### Calculus

If f(x) and g(x) are continuous on [a, b], which one of the following statements is true? ~the integral from a to b of the difference of f of x and g of x, dx equals the integral from a to b of f of x, dx minus the integral from a

3. ### PreCalc

Choose any two specific functions that have inverses. Use your chosen functions to answer any one of the following questions - If the inverses of two functions are both functions, will the inverse of the sum or difference of the

4. ### Calculus

In order to express the function y=12^19x+7 as a composition of two functions the outer of which is an exponential function,we would let u be equal to the inner function, u=19x+7, and then write y as a function of u, as follows:

1. ### Math

There are 4 odd functions and 3 even functions in the gallery of the 12 basic functions. After multiplying these functions together pairwise in different combinations and exploring their graphs, make a conjecture about the

2. ### math

(a) In order to express the function y = 1010 x + 4, as a composition of two functions the outer of which is an exponential function, we would let u be equal to the inner function, u = , and then write y as a function of u, as

3. ### math

Choose any two specific functions (not already chosen by a classmate) that have inverses. Use your chosen functions to answer any one of the following questions: If the inverses of two functions are both functions, will the

4. ### Math - complex numbers

These questions are related to de moivre's theorem: z^n + 1/z^n = 2cosntheta z^n - 1/z^n = 2 isin ntheta 1. Express sin^5theta in the form Asintheta + Bsin3theta + Csin5theta and hence find the integral of sin^5theta. 2. Express