Hunter Liu's Website

1. A Trip Down Memory Lane...

Table of Contents | 2. Exponents and Logarithms ≫

Since it’s the first week of the quarter, it’s a great opportunity to recap some helpful formulae and techniques from the first quarter of calculus (Math 31A) and precalculus, which you may have taken a while ago. These skills will be consistently used throughout this quarter, so it’s important that you’re up to speed and that you have a refreshed memory!

The Domain, Range, and Inverse

The domain of a function f(x)f(x) is the set of all “reasonable” values of xx that can be input into the function. When I say “reasonable”, I mean that this value of xx will not cause you to divide by 00 or take the squareroot of a negative number, or perform any other affront to decency. For instance:

Sometimes, we will artificially restrict the domain of a function, such as in “f(x)=2x+3f(x) = 2x+3 with the domain [1,2]\left[ 1,2 \right]”. This means I am only allowing xx to take values between 11 and 22 (inclusive), and I am forbidden from using other values of xx (for no good reason at all).

The range of a function f(x)f(x) is the set of all possible outputs of f(x)f(x). For instance,

Finally, a function f(x)f(x) has an inverse if it is one-to-one: no two inputs xx and yy in its domain can have the same output. That is, if xyx\neq y are both in the domain of ff, then f(x)f(y)f(x)\neq f(y). Graphically, you can check this using the horizontal line test. If you can draw a horizontal line that intersects the graph of ff more than once, then f(x)f(x) does not have an inverse.

If you know f(x)f(x) has an inverse and you know the formula for ff, you can find a formula for the inverse algebraically as follows. First, write down the equation y=f(x)y = f(x), then expand the formula for ff. Finally, isolate xx as a function of yy. The domain of the inverse is restricted to the range of ff, whatever it may be.

Derivative and Integral Refresher

I probably won’t review the conceptual basis of derivatives and integrals, that takes way too long (and has entire courses dedicated to it). Instead, let’s rattle off some of the important formulae you will need to remember, starting with basic derivatives and integrals: ddxxn=nxn1xndx=xn+1n+1+C,ddxcosx=sinxcosx dx=sinx+C,ddxsinx=cosxsinx dx=cosx+C,ddxex=exexdx=ex+C.\begin{aligned} \frac{d}{dx} x^n &= n\cdot x ^{n-1} \qquad& \int x^n dx &= \frac{x ^{n+1}}{n+1} + C, \\ \frac{d}{dx}\cos x &= -\sin x & \int \cos x\ dx &= \sin x + C,\\ \frac{d}{dx}\sin x &= \cos x & \int \sin x\ dx &= -\cos x + C, \\ \frac{d}{dx}e^x &= e^x & \int e^x dx &= e^x + C. \\ \end{aligned}

Integrals and derivatives distribute over addition and multiplication by real numbers. For instance, ddx[5cosx+3x2]=ddx(5cosx)+ddx(3x2)=5sinx+6x.\frac{d}{dx} \left[ 5\cos x + 3x^2 \right] = \frac{d}{dx}(5\cos x) + \frac{d}{dx}\left( 3x^2 \right) = -5\sin x + 6x. Similarly, (7sinx3x4)dx=7sinx dx3x4 dx=7cosx35x5+C.\int \left(7\sin x-3x^4\right) dx = 7\int \sin x\ dx - 3\int x^4\ dx = -7\cos x - \frac{3}{5}x^5 + C.

For more complicated combinations of functions, you will need to apply the product rule, chain rule, or quotient rule as necessary.

When differentiating a product of functions, differentiate each term in the product while leaving the rest of the terms alone, then add everything together: ddx(x2sinx)=2xsinx+x2cosx.\frac{d}{dx}\left( x^2\sin x \right) = 2x\sin x + x^2\cos x. The 2xsinx2x\sin x comes from the derivative “hitting” the x2x^2, and the x2sinxx^2\sin x comes from the derivative “hitting” the cosx\cos x.

When differentiating nested functions, use the chain rule: differentiate the “outside” function without touching the “inside” function in the nest, then multiply in the derivative of the “inside” function (the “chain”). For instance, ddxsin(5x2+1)=cos(5x2+1)10x.\frac{d}{dx} \sin\left( 5x^2+1 \right) = \cos \left( 5x^2+1 \right) \cdot 10x. The 10x10x is the derivative of the inside guy, the 5x2+15x^2+1. Sometimes, the “outside” and “inside” can be hard to tell, but the “inside” function in the chain rule is generally whatever is in parentheses: ddx(cosx+x)7=7(cosx+x)6(sinx+1).\frac{d}{dx} \left( \cos x + x \right)^7 = 7\left( \cos x + x \right)^6 \cdot \left( -\sin x + 1 \right). Here, the “outside” is ()7\left( \cdots \right)^7, and the “inside” is cosx+x\cos x + x.

I personally don’t use the quotient rule very much — it has a bulky formula that’s annoying to keep track of. If you want it, here it is: ddxf(x)g(x)=f(x)g(x)f(x)g(x)g(x)2.\frac{d}{dx} \frac{f(x)}{g(x)} = \frac{f’(x) g(x) - f(x) g’(x)}{g(x)^2}.

Remark 1. Why do I still need to know these?

A very, very, very significant chunk of this class will be contingent upon your ability to compute derivatives and basic integrals. Some advanced integration techniques require you to take derivatives (several times, even), and we’ll learn about how to approximate functions by using their iterated derivatives!