Monday May 21, 2012
 

Quadratic Equations

Here is a good video on solving quadratic equations.

Integrating by Parts Twice

Hey-

I was browsing math videos on You Tube and found this nicely done presentation on doing integration by parts twice. Check it out.

3 Free Calculus Videos

Get Your Free Calculus Videos

From: Dave McMahon
1:31 PM

Hi,

My name is Dave and I’ve made a few calculus tutorial videos I’d like to send you.

If you’re already a pro, then you won’t need these… but if you’re just learning calculus then make sure you enter your email below (or to the right side) and I’ll send you some new videos over the next few days. These videos cover:

  • The Chain Rule

  • Implicit Differentiation

  • Doing derivatives of trig functions using product rule, chain rule, and quotient rule

Plus I’ll give you some quick and easy tips that I wish someone would have shared with me when I first got started :)

Look, I’ve been teaching and using advanced math for over 25 years as a professional physicist and REALLY want to help you get started. But you gotta take a little action to get off the ground.

Enter your email below, watch these freebie videos and start learning. You can thank me later!

I’ll send your videos here:


Enter your Address:

Talk Soon,
Dave

Chain Rule

The chain rule allows us to compute the derivative of a composite function. In other words suppose that:

y ~=~ f delim{[}{g(x)}{]}

for some functions f and g. For example:

y~=~sin(x^3)

In this case we can identify:

g ( x )~=~x^3

How do you compute the derivative in this case? The chain rule tells us that we compute the derivative in the following way:

{dy/dx}~=~{dg/dx}{df/dg}

Let’s compute some examples. Consider:

y~=~sin(x^2)

Here we have:

g(x) ~=~x^2~doubleright~{dg/dx}~=~2x

And

{df/dg}~=~{d/dg}sin(g)~=~cos(g)~=~cos(x^2)

Hence:

{dy/dx} ~=~ {dg/dx}{df/dg}~=~2xcos(x^2)

Here’s another example. Suppose you’re given:

y ~=~(1 ~+~2x)^100

In this case we have:

g ~=~ 1~+~2x~doubleright~{dg/dx}~=~2

Meanwhile:

{df/dg} ~=~100g^99~=~100(1~+~2x)^99

Putting everything together we get:

{dy/dx}~=~{dg/dx}{df/dg}~=~2(100)(1~+~2x)^99~=~200(1~+~2x)^99

Let’s do one more. It’s basically the same as the previous example with a minor twist:

y = {1/(3x~-~5)^7}

Proceeding as before we get:

g~=~3x-5~doubleright~{dg/dx}~=~3

Meanwhile

{df/dg} ~=~{d/dg}g^-7~=~-7g^-8

And so the final result is:

{dy/dx}~=~{dg/dx}{df/dg}~=~{-21/(3x~-~5)^8}

Integrals trig functions

In this video integrals involving powers of trig functions are illustrated. Usually this kind of integration involves some form of either u substitution or forces us to call upon various trig identities. See our earlier post on trig integrals for more discussion and examples.

Implicit Differentiation

Implicit differentiation is a technique used to compute a derivative when a function y = f(x) is given indirectly by an equation that relates x and y. For example suppose that you are given:

x^2 ~+ ~y^2 ~=~16

The equation must be solved for y to obtain an explicit solution, and in this case there are two solutions. The procedure called implicit differentiation works by differentiating both sides of the equation and then solving for dy/dx, so an explicit expression of the derivative is not given. In the video some examples illustrate this procedure.

Trig Integrals

Doing trig integrals is usually pretty simple. This is because of the cyclic nature of the derivatives of trig functions. Let’s recall that:

{d/dx}sin x ~= ~cos x

{d/dx}cos x ~= ~-sin x

From here we can write down their anti-derivatives:

int{}{}{ sin(x) dx}~=~-cos(x)~=~C

The minus sign comes about because we integrated the derivative of cos x to get this result. That is

int{}{}{{d/dx}cos (x) dx}~=~cos(x) ~+~C

but this was equal to minus sin x. The other antiderivative is

int{}{}{ cos (x) dx}~=~sin(x)~+~C

Where trig integrals get complicated is when they include products or powers of trig functions. But once again, due to the relationship among derivatives of trig functions, integrating their products is usually fairly easy and only looks complicated at first glance. Let’s consider an example:

int{}{}{cos^2(x) sin(x) dx}

This is actually a simple u substitution integral. Let’s take:

u ~=~ cos(x) ~doubleright~du~=~-sin(x)dx

Hence the integral becomes:

int{}{}{cos^2(x) sin(x) dx}~=~-int{}{}{u^2 du} ~=~-{1/3}u^3~+~C

Replacing u we find that:

int{}{}{cos^2(x) sin(x) dx}~=~-{1/3}cos^3(x)~+~C

The cyclic nature of the derivatives of trig functions also plays a role when doing integration by parts with trig integrals. See the entry on integration by parts with trig functions for an example. In that case you will notice that by parts integration has to be applied twice in order to get the final answer.

Trig integrals involving ratios of trig functions are no different than those involving products. The simplest example is the integral of the tangent function, which can be approached using u substitution. First we write the tangent as the ratio of sin to cosine:

int{}{}{tan(x) dx}~=~int{}{}{{{sin x}/{cos x}} dx}

Now we take:

u~=~cos x~doubleright~du~=~-sin x dx

This yields:

int{}{}{{{sin x}/{cos x}} dx}~=~-int{}{}{{1/u}du}~=~ -ln delim{|}{u}{|}~+~C

Hence:

int{}{}{tan(x) dx}~=~-ln delim{|}{cos x}{|}~+~C

Now we can use the properties of the natural logarithm to write this in a form usually seen in integral tables, which will get rid of the minus sign for us:

-ln delim{|}{cos x}{|}~+~C~=~ln delim{|}{1/{cos x}}{|}~+~C

And of course this is just the secant function:

int{}{}{tan(x) dx}~=~ln delim{|}{sec x}{|}~+~C

Doing an integral using u substitution example

Solving an integral with u substitution brings an integral into elementary form through a change of variable technique. In this example we consider a problem where it may not be obvious how to apply the method. Consider:

int{}{}{{dx} /{4 x^2 ~+~8 x ~+~13}}

We’ll see in a moment that this integral evaluates to an inverse tangent. We’re going to use two steps to convert this into the following elementary form:

int{}{}{{dx} /{ x^2~ +~1}}~=~tan^-1x~+~C

The first step is to bring the denominator into a more appropriate form. We want something like:

a x^2~ +~ b

where a and b are constants. When you see a problem with a quadratic function in the denominator, try completing the square. In this case we can do the following:

4x^2~+~8x~+~13~=~4(x^2~+~2x)~+~13

~=~4[x^2~+~2x~+(1)^2]~+~13~-~4(1)^2

~=~4(x+1)^2~+~9

Now we can write the integral as follows:

int{}{}{{dx} /{4 (x~+~1)^2 ~+~9}}

Now we can to the integral by u substitution. To get it in the form we want, where we can get the form for the inverse tangent integral, we will have to pick u such that we can pull out all the constants in the denominator. This can be done if we take:

9u^2~=~4(x+1)^2

We do this because we could transform the integral as follows:

int{}{}{{dx} /{4 (x~+~1)^2 ~+~9}}~doubleright~int{}{}{{du} /{9u^2 ~+~9}}

modulo a proportionality factor. Taking the square root of our chosen u substitution, we get:

3u~=~2(x+1)

That is:

3du~=~2dx,~doubleright~dx~=~{3/2}du

Now we can get the result we seek by using this substitution in the original integral. This gives:

int{}{}{{dx} /{4 (x~+~1)^2 ~+~9}}~=~{3/2}int{}{}{{du} /{9u^2 ~+~9}}

~=~{3/2}{1/9}int{}{}{{du} /{u^2 ~+~1}}

~=~{1/6}int{}{}{{du} /{u^2 ~+~1}}~=~{1/6}tan^-1u~+~C

Now replace u to get the final result:

int{}{}{{dx} /{4 x^2 ~+~8 x ~+~13}}~=~{1/6}tan^-1{2/3}(x+1)~+~C

Solving Calculus Limits Example

Computing calculus limits often involves using an algebraic trick. In this post we’ll look at the example of a ratio of two polynomials. In this case you’ll want to factor the polynomials so that you can eliminate one of the troubling terms. Here’s an example:

lim{x right 2}{{x^2~-~4}/{x~-~2}}

If you just set x = 2, you get 0/0. However this limit is done easily by factoring the numerator. Notice that:

x^2~-~4~=~(x~+~2)(x~-~2)

We can use this to cancel the troublesome term in the denominator. So we get:

lim{x right 2}{{x^2~-~4}/{x~-~2}}~=~lim{x right 2}{{(x~+~2)(x~-~2)}/{x~-~2}} ~=~lim{x right 2}{{(x~+~2)}}

Now we can just set x = 2 and write down the answer:

lim{x right 2}{{(x~+~2)}}~=~4

Sometimes solving calculus limits is a little more tricky. These cases are where, unfortunately, your knowledge of algebra comes in handy. Let’s try:

lim{x right 1}~{{x^4~-~1}/{x^3~-~1}}

The approach to calculating calculus limits of this type is really the same-factor the numerator and denominator when possible. Let’s look at the denominator first, with an odd power it’s a little more troublesome. But we can write it like this:

x^3~-~1~=~(x^2~+~x~+~1)(x~-~1)

Now we can work on the numerator to see how we can get rid of the x – 1 term. Notice that:

x^4~-~1~=~(x^2~+~1)(x^2~-~1)~=~(x^2~+~1)(x~+~1)(x~-~1)

So we have:

lim{x right 1}~{{x^4~-~1}/{x^3~-~1}} ~=~lim{x right 1}~{{(x^2~+~1)(x~+~1)(x~-~1)}/{(x^2~+~x~+~1)(x~-~1)}}

Now we just cancel the x – 1 terms and do the limit:

lim{x right 1}~{{(x^2~+~1)(x~+~1)}/{(x^2~+~x~+~1)}}~=~4/3

Integration by parts with limits

Integration by parts with limits is really the same as integration by parts with indefinite integrals until the very end of your calculation. Let’s see how to do integration by parts with limits with an example:

int{2}{3}{ ln(x)^2 dx}

Its always a good idea to start out writing the integration by parts formula:

int{}{}{u dv}~=~uv~-~int{}{}{v du}

For now, we can simply ignore the limits of integration. First we take

u ~=~ln(x)^2~doubleright~du=2{{ln(x)}/x}

Then we have

dv~=~dx~doubleright~v~ =~ int{}{}{ dx}~=~x

And so

int{}{}{ ln(x)^2 dx} ~=~x ln(x)^2~-~2 int{}{}{ln(x) dx}

Now we’ve got to apply integration by parts on the integral we have at the end. Let’s go through it in case you aren’t familiar with it. Take

u ~=~ln(x)~doubleright~du={1/x}

dv~=~dx~doubleright~v~ =~ int{}{}{ dx}~=~x

Hence

int{}{}{ ln(x) dx} ~=~x ln(x)~-~x~=~x(lnx~-~1)

Now we can put this together with our previous result, and we’ve found that

int{}{}{ ln(x)^2 dx} ~=~x ln(x)^2~-~2 (x(lnx~-~1))

If we were doing an indefinite integral, we would add a constant of integration to the end and we’d be done. For integration by parts with limits, all we do now is evaluate this expression at the limits of integration. The upper limit was x = 3, which gives:

3 ln(3)^2~-~2 (3(ln3~-~1))~=~3ln(3)^2~-~6 ln(3)~+~6

The lower limit was x =2, which gives
2 ln(2)^2~-~2 (2(ln2~-~1))~=~2ln(2)^2~-~4 ln(2)~+~4

So the answer is found by subtracting the lower limit from the upper limit, and you can verify that

int{2}{3}{ ln(x)^2 dx} ~=~3ln(3)^2~-~6ln(3)~-~2ln(2)^2~+~4ln(2)~+~2

So, to do integration by parts with limits, simply do the integral the way you would in the indefinite case, ignoring the limits of integration. Then when you have your answer at the end, evaluate at each limit and subtract.

Want a calculus book with step-by-step solutions? Visit calculus without limits