# how to u sub?

**Answer # 1 #**

In calculus, integration by substitution, also known as u-substitution, reverse chain rule or change of variables,[1] is a method for evaluating integrals and antiderivatives. It is the counterpart to the chain rule for differentiation, and can loosely be thought of as using the chain rule "backwards".

Before stating the result rigorously, consider a simple case using indefinite integrals.

Compute ∫ ( 2 x 3 + 1 ) 7 ( x 2 ) d x {\displaystyle \textstyle \int (2x^{3}+1)^{7}(x^{2})\,dx} .[2]

Set u = 2 x 3 + 1 {\displaystyle u=2x^{3}+1} . This means d u d x = 6 x 2 {\displaystyle \textstyle {\frac {du}{dx}}=6x^{2}} , or in differential form, d u = 6 x 2 d x {\displaystyle du=6x^{2}\,dx} . Now

where C {\displaystyle C} is an arbitrary constant of integration.

This procedure is frequently used, but not all integrals are of a form that permits its use. In any event, the result should be verified by differentiating and comparing to the original integrand.

For definite integrals, the limits of integration must also be adjusted, but the procedure is mostly the same.

Let g : [ a , b ] → I {\displaystyle g:[a,b]\rightarrow I} be a differentiable function with a continuous derivative, where I ⊂ R {\displaystyle I\subset \mathbb {R} } is an interval. Suppose that f : I → R {\displaystyle f:I\rightarrow \mathbb {R} } is a continuous function. Then[3]

In Leibniz notation, the substitution u = g ( x ) {\displaystyle u=g(x)} yields

Working heuristically with infinitesimals yields the equation

which suggests the substitution formula above. (This equation may be put on a rigorous foundation by interpreting it as a statement about differential forms.) One may view the method of integration by substitution as a partial justification of Leibniz's notation for integrals and derivatives.

The formula is used to transform one integral into another integral that is easier to compute. Thus, the formula can be read from left to right or from right to left in order to simplify a given integral. When used in the former manner, it is sometimes known as u-substitution or w-substitution in which a new variable is defined to be a function of the original variable found inside the composite function multiplied by the derivative of the inner function. The latter manner is commonly used in trigonometric substitution, replacing the original variable with a trigonometric function of a new variable and the original differential with the differential of the trigonometric function.

Integration by substitution can be derived from the fundamental theorem of calculus as follows. Let f {\displaystyle f} and g {\displaystyle g} be two functions satisfying the above hypothesis that f {\displaystyle f} is continuous on I {\displaystyle I} and g ′ {\displaystyle g'} is integrable on the closed interval [ a , b ] {\displaystyle [a,b]} . Then the function f ( g ( x ) ) ⋅ g ′ ( x ) {\displaystyle f(g(x))\cdot g'(x)} is also integrable on [ a , b ] {\displaystyle [a,b]} . Hence the integrals

and

in fact exist, and it remains to show that they are equal.

Since f {\displaystyle f} is continuous, it has an antiderivative F {\displaystyle F} . The composite function F ∘ g {\displaystyle F\circ g} is then defined. Since g {\displaystyle g} is differentiable, combining the chain rule and the definition of an antiderivative gives

Applying the fundamental theorem of calculus twice gives

which is the substitution rule.

Consider the integral

Make the substitution u = x 2 + 1 {\displaystyle u=x^{2}+1} to obtain d u = 2 x d x {\displaystyle du=2x\ dx} , meaning x d x = 1 2 d u {\displaystyle x\ dx={\frac {1}{2}}\ du} . Therefore,

Since the lower limit x = 0 {\displaystyle x=0} was replaced with u = 1 {\displaystyle u=1} , and the upper limit x = 2 {\displaystyle x=2} with 2 2 + 1 = 5 {\displaystyle 2^{2}+1=5} , a transformation back into terms of x {\displaystyle x} was unnecessary.

Alternatively, one may fully evaluate the indefinite integral (see below) first then apply the boundary conditions. This becomes especially handy when multiple substitutions are used.

For the integral

a variation of the above procedure is needed. The substitution x = sin u {\displaystyle x=\sin u} implying d x = cos u d u {\displaystyle dx=\cos u\,du} is useful because 1 − sin 2 u = cos ( u ) {\displaystyle {\sqrt {1-\sin ^{2}u}}=\cos(u)} . We thus have

The resulting integral can be computed using integration by parts or a double angle formula, 2 cos 2 u = 1 + cos ( 2 u ) {\displaystyle 2\cos ^{2}u=1+\cos(2u)} , followed by one more substitution. One can also note that the function being integrated is the upper right quarter of a circle with a radius of one, and hence integrating the upper right quarter from zero to one is the geometric equivalent to the area of one quarter of the unit circle, or π 4 {\displaystyle {\frac {\pi }{4}}} .

Substitution can be used to determine antiderivatives. One chooses a relation between x {\displaystyle x} and u {\displaystyle u} , determines the corresponding relation between d x {\displaystyle dx} and d u {\displaystyle du} by differentiating, and performs the substitutions. An antiderivative for the substituted function can hopefully be determined; the original substitution between x {\displaystyle x} and u {\displaystyle u} is then undone.

Similar to example 1 above, the following antiderivative can be obtained with this method:

where C {\displaystyle C} is an arbitrary constant of integration.

There were no integral boundaries to transform, but in the last step reverting the original substitution u = x 2 + 1 {\displaystyle u=x^{2}+1} was necessary. When evaluating definite integrals by substitution, one may calculate the antiderivative fully first, then apply the boundary conditions. In that case, there is no need to transform the boundary terms.

The tangent function can be integrated using substitution by expressing it in terms of the sine and cosine:

Using the substitution u = cos x {\displaystyle u=\cos x} gives d u = − sin x d x {\displaystyle du=-\sin x\,dx} and

One may also use substitution when integrating functions of several variables. Here the substitution function (v1,...,vn) = φ(u1, ..., un) needs to be injective and continuously differentiable, and the differentials transform as

where det(Dφ)(u1, ..., un) denotes the determinant of the Jacobian matrix of partial derivatives of φ at the point (u1, ..., un). This formula expresses the fact that the absolute value of the determinant of a matrix equals the volume of the parallelotope spanned by its columns or rows.

More precisely, the change of variables formula is stated in the next theorem:

Theorem. Let U be an open set in Rn and φ : U → Rn an injective differentiable function with continuous partial derivatives, the Jacobian of which is nonzero for every x in U. Then for any real-valued, compactly supported, continuous function f, with support contained in φ(U),

The conditions on the theorem can be weakened in various ways. First, the requirement that φ be continuously differentiable can be replaced by the weaker assumption that φ be merely differentiable and have a continuous inverse.[4] This is guaranteed to hold if φ is continuously differentiable by the inverse function theorem. Alternatively, the requirement that det(Dφ) ≠ 0 can be eliminated by applying Sard's theorem.[5]

For Lebesgue measurable functions, the theorem can be stated in the following form:[6]

Theorem. Let U be a measurable subset of Rn and φ : U → Rn an injective function, and suppose for every x in U there exists φ′(x) in Rn,n such that φ(y) = φ(x) + φ′(x)(y − x) + o(||y − x||) as y → x (here o is little-o notation). Then φ(U) is measurable, and for any real-valued function f defined on φ(U),

in the sense that if either integral exists (including the possibility of being properly infinite), then so does the other one, and they have the same value.

Another very general version in measure theory is the following:[7]

Theorem. Let X be a locally compact Hausdorff space equipped with a finite Radon measure μ, and let Y be a σ-compact Hausdorff space with a σ-finite Radon measure ρ. Let φ : X → Y be an absolutely continuous function (where the latter means that ρ(φ(E)) = 0 whenever μ(E) = 0). Then there exists a real-valued Borel measurable function w on X such that for every Lebesgue integrable function f : Y → R, the function (f ∘ φ) ⋅ w is Lebesgue integrable on X, and

Furthermore, it is possible to write

for some Borel measurable function g on Y.

In geometric measure theory, integration by substitution is used with Lipschitz functions. A bi-Lipschitz function is a Lipschitz function φ : U → Rn which is injective and whose inverse function φ−1 : φ(U) → U is also Lipschitz. By Rademacher's theorem a bi-Lipschitz mapping is differentiable almost everywhere. In particular, the Jacobian determinant of a bi-Lipschitz mapping det Dφ is well-defined almost everywhere. The following result then holds:

Theorem. Let U be an open subset of Rn and φ : U → Rn be a bi-Lipschitz mapping. Let f : φ(U) → R be measurable. Then

in the sense that if either integral exists (or is properly infinite), then so does the other one, and they have the same value.

The above theorem was first proposed by Euler when he developed the notion of double integrals in 1769. Although generalized to triple integrals by Lagrange in 1773, and used by Legendre, Laplace, Gauss, and first generalized to n variables by Mikhail Ostrogradski in 1836, it resisted a fully rigorous formal proof for a surprisingly long time, and was first satisfactorily resolved 125 years later, by Élie Cartan in a series of papers beginning in the mid-1890s.[8][9]

Substitution can be used to answer the following important question in probability: given a random variable X {\displaystyle X} with probability density p X {\displaystyle p_{X}} and another random variable Y {\displaystyle Y} such that Y = ϕ ( X ) {\displaystyle Y=\phi (X)} for injective (one-to-one) ϕ {\displaystyle \phi } , what is the probability density for Y {\displaystyle Y} ?

It is easiest to answer this question by first answering a slightly different question: what is the probability that Y {\displaystyle Y} takes a value in some particular subset S {\displaystyle S} ? Denote this probability P ( Y ∈ S ) {\displaystyle P(Y\in S)} . Of course, if Y {\displaystyle Y} has probability density p Y {\displaystyle p_{Y}} then the answer is

but this isn't really useful because we don't know p Y {\displaystyle p_{Y}} ; it's what we're trying to find. We can make progress by considering the problem in the variable X {\displaystyle X} . Y {\displaystyle Y} takes a value in S {\displaystyle S} whenever X {\displaystyle X} takes a value in ϕ − 1 ( S ) {\displaystyle \phi ^{-1}(S)} , so

Changing from variable x {\displaystyle x} to y {\displaystyle y} gives

Combining this with our first equation gives

so

In the case where X {\displaystyle X} and Y {\displaystyle Y} depend on several uncorrelated variables, i.e. p X = p X ( x 1 , … , x n ) {\displaystyle p_{X}=p_{X}(x_{1},\ldots ,x_{n})} and y = ϕ ( x ) {\displaystyle y=\phi (x)} , p Y {\displaystyle p_{Y}} can be found by substitution in several variables discussed above. The result is

## More Questions

**Aws cloudformation features?****What is time constant in transfer function?****Aws step functions with api gateway?****What age puppy grooming?****There are factors affecting English writing advice.****Did thomas really go to india?****What is the best ob gyn peoria il?****How to end in speech?****What is the best lo mein new york?****What is standard deviation of the mean?**