# Full text of "CluelessCalculus"

## See other formats

bob miller'^s ealc Students Benefit 'lom My Proven chnique FOR THE cIlIu The hm\ anifQukbUllay to barn (nkulus ReiihLifeExaini^ks firinq Hath Home! Learn hm the B*st Teacher on the Pknet ''Bob Miller sav&d my grade. Not only did I pass, but I got on AP^— Sanrfy Snilb, Unlvftntly ef Pltfifaur^h Acknowledgments I have many people to thank. I would like to thank my wife Marlene, who makes life worth living. I thank the two most wonderful children in the world, Sheryl and Eric, for being themselves. I would like to thank my brother Jerry for all his encouragement and for arranging to have my nonprofessional editions printed. I would like to thank Bernice Rothstein of the City College of New York and Sy Solomon at Middlesex County Community College for allowing my books to be sold in their book stores and for their kindness and encouragement. I would like to thank Dr. Robert Urbanski, chairman of the math department at Middlesex, first for his encouragement and second for recommending my books to his students because the students found them valuable. I thank Bill Summers of the CCNY audiovisual department for his help on this and other endeavors. Next I would like to thank the backbones of three schools, their secretaries: Hazel Spencer of Miami of Ohio, Libby Alam and Efua Tonge of the City College of New York, and Sharon Nelson of Rutgers. I would like to thank Marty Levine of MARKET SOURCE for first presenting my books to McGraw-Hill. I would like to thank McGraw-Hill, especially John Carleo, John Aliano, David Beckwith, and Pat Koch. I would like to thank Barbara Gilson, Mary Loebig Giles, and Michelle Matozzo Bracci of McGraw-Hill and Marc Campbell of North Market Street Graphics for improving and beautifying the new editions of this series. I would also like to thank my parents, Lee and Cele, who saw the beginnings of these books but did not live to see their publication. Last I would like to thank three people who helped keep my spirits up when things looked very bleak: a great friend, Gary Pitkofsky; another terrific friend and fellow lecturer, David Schwinger; and my sharer of dreams, my cousin, Keith Ellis, who also did not live to see my books published. To the Student This book was written for you: not your teacher, not your next-door neighbor, not for anyone but you. I have tried to make the examples and explanations as clear as I can. However, as much as I hate to admit it, I am not perfect. If you find something that is unclear or should be added to this book, please let me know. If you want a response, or if I can help you, your class, or your school in any precalculus or calculus subject, please let me know, but address your comments c/o McGraw-Hill, Schaum Division, 11 West 19th St., New York, New York 10011. If you make a suggestion on how to teach one of these topics better and you are the first and I use it, I will give you credit for it in the next edition. Please be patient on responses. I am hoping the book is so good that millions of you will write. I will answer. Now, enjoy the book and learn. Chapter 1 The Beginning — Limits Informal Definition We will begin at the beginning. Calculus starts with the concept of limits. We will examine this first intuitively before we tackle the more difficult theoretical definition. Let us examine iim f{x) - L; read, "The limit of f(x) as x goes to a is L." This means that the closer x gets to a, the closer f(x) gets to L. We will leave the word "close" unspecified until later. Example 1 — Iim 2x We will take points near x = 3, smaller than 3, getting closer to 3. We make a small chart showing this. X 2x 2.5 5 2.9 5.8 2.99 5.98 2.999 5.998 We see that as x approaches 3 from points less than 3, f(x) approaches 6. Notation: Um f [x) = 6 x-tJ- read, "the limit of f(x) as x goes to 3 from the negative side of 3 (numbers less than 3) is 6." We call this the limit from the left. If we do the same thing for numbers greater than 3, the chart would look like this: X 2x 3.2 6.4 3.1 6.2 3.01 6.02 3.001 6.002 The limit from the right, lim ftx). also equals 6. Since the limit from the left equals the limit from the right, the limit exists and is equal to 6. We write lim f(x] = 6, After seeing this example, you might tell me, "Hey, you big dummy! ! All you have to do is substitute x = 3 and get the answer! !" Substitution does work sometimes and should always be tried first. However, if limits (and calculus) were so easy, it would not have taken such dynamite mathematicians as Newton and Leibniz to discover calculus. Example 2 — ,, x-4 lim a-'< X - 4 We first substitute x = 4 and get 0/0, which is indeterminate. We again make a chart. x-4 4.1 1 4.01 1 4.001 1 3.9 1 3.99 1 3.9999 1 As we get close to 4 from both sides, the answer not only is close to I but equals 1. We conclude that the limit as X goes to 4 equals 1. We get a little better idea of Jim f(x] = L. K-14 This means that f(x) is defined at all points very close to a and that the closer x gets to a, the closer f(x) gets to L (if it doesn't already equal L). Example 3 — ,. x^+3x+4 lim — - — — — =t-t2 2x + 5 Nothing bad here. {2Y 4 3(2] ■+ 4 14 2(2) + 5 ~'9~ Example 4 — K-4 Q iim— r = TT = ^ x^ 2x + 3 11 Example 5 — iim — - — , =t^2 X-2 which is undefined. The limit does not exist. The limit must be a number; infinity is not a number. Let's give one more demonstrated example of what it is to find the limit point by point. iini -= :t ^-•i 5x^10 First we let x = 2. We find the answer is 0/0. Let's make charts again. Sx- 10 3 2.5 2.1 2.01 2.001 1.0 0.9 0.82 0.802 0.8002 Sx- 10 1 0.6 1.5 0.7 1.9 0.78 1.99 0.798 1.999 0.7998 So x^ - 4 = 0.8 and = 0,6 5X-10 I Therefore, the limit is 0.8. However, we can't make a chart every time. For Examples 3, 4, and 5, a chart is not necessary. However, Example 6 shows what has to be done sometimes. Warning: Substitution of a number like x = 2 does not work all the time, especially when you have a function that is defined in pieces, such as that in Example 21 at the end of this chapter. Note that f(l) = 6, but Iim f{xl K hi is 1. Also note that f(6) = 4, but the hm f(x) as x goes to 6 does not exist. So be carrrrreful! ! ! Example 6 — ,, x"-9 K^ 5x - 15 First we substitute x = 3 and get 0/0, which is indeterminate. We don't want to make charts all the time. In this case we can factor. x^-9 [x + 3)(x^3] 5X-15 5(x-3] ., tx + 3) (x-3] _ 6 ^^ ™ 5~ (k-3) ' "5" 5^ Example 7 — iim-j-— ssQ Ixl First we substitute x = 0, and we again get 0/0. Making a chart, we get X X 0.3 0.1 0.01 0.001 -0.1 -1 -0.01 -1 -0.0001 The limit from the left is -1, and the limit from the right is 1. Since they are not the same. K ) > J _- £ )-! < \ lim f[x) does not exist. The graph will show that the limit does not exist at x = 0. Example 8 — lim ^tyi -2 X - 4 There are two ways to do this problem. We can rationalize the numerator, remembering not to multiply out the bottom, or we can factor the bottom into the difference of two squares in a kind of weird way not found in most algebra books today. METHOD A tx-4] (x''^ + 2] [x - 4)[x^'^ 4- 2) x"^ + 2 If we now take METHOD B X-4 " {x"^ - Z]{x''' + Z) ~x"^+2 which gives the same result. Example 9 — 'SH^J X - 3 We will multiply top and bottom by x. (5-15/x)x 5x- 15 _ 5(x-3) _ 3 (x-3)x ~ (x-3)x ~ x[x-3j ~ jF Taking ,.5 5 hm — = — x-*a X 3 Limits as x Goes to Infinity Although this topic occurs later in your book (and my book), some texts talk about limits at infinity very early on. So I've decided to add this section. If you don't need it now, skip it until later. We need to know one fact from elementary algebra. The degree of a polynomial in one unknown is the highest exponent. Example 10 — Divide every term, top and bottom, by x^, x to the higher degree. , . 4x + x^ 3t-*- .5x^ + 1 4>. + x^ 4x/x^ + xVx^ _ 4/x^ -I- 1/x 5x^ + 1 ~ 5x-Vx^ + 1/x' ~ 5 + 1/x^ If we now take the limit as x goes to infinity, every term goes to except the 5 and we get (0 + 0)/(5 + 0) = 0. Important Note 1 Anytime the degree of the top is less than the degree of the bottom, the limit will be 0. You need not do the work (unless the teacher demands it). You should know that the limit is 0! ! ! ! ! ! Example 11 — ,, xV^ + ax-1 If we could talk about a degree of the top, it would be 5/2, or 21/2. Since the degree of the bottom is 3, which is more than the top, the limit is 0! Example 12 — Divide everything by x^. ,. 4x^ + 7 li"i :rT We get 4xVx-^ 4- 7/x^ _ 4 + 7/x* x/x' - 3xVx' " l/x= - 3 If we now let x go to infinity, we get the limit to be 4/-3 or-4/3. Important Note 2 If the degree of the top is the same as the degree of the bottom, the limit is the coefficient of the highest power on the top divided by the coefficient of the highest power on the bottom. Again, you do not actually have to do the division. Here are two more limits as x goes to infinity. Example 13 — We get infinity minus infinity. No good! ! ! What to do? We rationalize the situation. Seriously, we multiply top and bottom by the conjugate. Hx' + 4^' - (X^ - ly'^ i Ui , In So we get 5 ^^^ ' ' 'V2. f^2 _inn ~ ^ Example 14, Part A — ,. [3xH4x + 5r''' lim "-►« 7x Example 14, Part B — Same example, except x goes to minus infinity. As X goes to plus or minus infinity, only the highest power of x counts. So (3x2+ 4 + 5y/2 [^ approximately equal to y^ IXI for very big and very small values of x. A, Soooo lim I X I 31-'" jf-t- 7x 7 buuuuuuut B< lim ft n-*-* 7x 7 Sin X Problems Involving X In proving that the derivative of the sine is the cosine, which is found in nearly every text, we also prove lim (sin x}/x = 1. This means if we take the sine of any angle and divide it by precisely the same angle, if we now take the limit as we go to 0, the value is 1. For some reason, this topic, which requires almost no writing or calculation, causes a tremendous amount of agony. Hopefully I can lessen the pain. Factl lim sin x/x = 1 Fact 2 lim sin X = Fact 3 lim cos X = 1 Example 15 — To use Fact I, since the angle on the top is 3x, the angle on the bottom must also be 3x. So put the 4 on the left and multiply the bottom by the 3 you need. If you multiply the bottom by 3, you must multiply the top by 3 so nothing changes. ,. Sin 3x inn Sooooo , , . sin 3x 3 sin 3x 3 sin 3x 4x 3 4x 4 3x ,. 3 sin 3x 3 ,. sin 3x 3 , , 3 llJ" T -^ = -T ll^ -^ = ^ f 1 = V K-^ 4 3x 4 ^-»o 3x 4 4 Example 16 — We use the identity tan x = sin x/cos X. lim tan x/x X-»0 tan X 1 sin x 1 sin x X X cos X cos X X Therefore ,. lanx ,, 1 sinx /,, 1 Vi. sin nm = lim lim lira K-tn X ^->f) cosy X \r^^ cosxy\^-*c x How are you doing so far? Let's put in one more example. Example 17 — ,, sin'* x ,. , sinx „, . ,/,, sinx^ Iim — — = lim sin x = (lim sin xj lim — ■ = 0(1} = Note In Example 3, if sin^ x were in the bottom and x were in the top, then the limit would be 1/0, which would be undefined. Formal Definition We will now tackle the most difficult part of basic calculus, the theoretical definition of limit. As previously mentioned, it took two of the finest mathematicians of all times, Newton and Leibniz, to first formalize this topic. It is not essential to the rest of basic calculus to understand this definition. It is hoped this explanation will give you some understanding of how really amazing calculus is and how brilliant Newton and Leibniz must have been. Remember this is an approximating process that many times gives exact (or if not, very, very close) answers. To me this is mind-boggling, terrific, stupendous, unbelievable, awesome, cool, and every other great word you can think of. Definition limf(x) = L J(-tB if and only if, given s > 0, there exists 5 > such that if < Ix - a I < 5, then lf(x) - LI < 8. Note s = epsilon and 5 = delta — two letters of the Greek alphabet. Translation 1 Given s, a small positive number, we can always find 5, another small positive number, such that if x is within a distance 5 from a but not exactly at a, then f(x) is within a distance s from L. Translation 2 We will explain this definition using an incorrect picture. I feel this gives you a much better idea than the correct picture, which we will use next. Interpret Ix - al as the distance between x and a, but instead of the one-dimensional picture it really is, imagine that there is a circle around the point a of radius 5. Ix- al < 5 stands for all x values that are inside this circle. Similarly, imagine a circle of radius s around L, with lf(x) - LI < s the set of all points f(x) that are inside this circle. The definition says given s > (given a circle of radius s around L), we can find 5 > (circle of radius 5 around a) such that if < Ix - al < 5 (if we take any x inside this circle), then lf(x) - LI < 8 (f(x)) will be inside of the circle of radius s but not exactly at L. Now take another s 82, positive but smaller than s (a smaller circle around L); there exists another 5 5,, usually a smaller circle around a, such that if < Ix - al < 5, , then lf(x) - LI < 8, . Now take smaller and smaller positive s's; we can find smaller and smaller 5's. In the limit as the x circle shrinks to a, the f(x) circle shrinks to L. Read this a number of times.!!! Translation 3 a - 6 t ft + 6 Let us see the real picture, y = f(x). Ix - al < 5 means a - 5 < x < a-i-5. ly-LI < s means L-s<y<L-i-s. Given s > 0, if we take any x value such that < Ix - al < 5, the interval on the x axis, and find the corresponding y = f(x) value, this y value must be within a of L, that is, lf(x) - LI < s. L^-e i ' j\ ).i\ L L-e — -J r^\ j.>4^5i <^.-h ft a +- 6 Note The point (a, L) way on way not be actually there, depending on the function. But remember, we are only interested in values ofx very, very close to a but not exactly at a. Take a smaller 82; we can find 5; such that < Ix - al < 5, , If(x) - LI < s, . The smaller the s, the smaller the §. f(x) goes to L as X goes to a. Although this definition is extremely difficult, its application is pretty easy. We need to review six facts, four about absolute value and two about fractions. 1. labl = lal Ibl lal 2. Ibl 3 la - bl = lb - al. 4la + bl<lal + lbl. 5. In comparing two positive fractions, if the bottoms are the same and both numerators and denominators are positive, the larger the top, the larger the fraction. 2/7 < 3/7. 6. If the tops are the same, the larger the bottom, the smaller the fraction. 3/10 > 3/1 1. Now let's do some problems. Example 18 — Using 8, 5, prove Km (4x - 3) = 5. In the definition lim f(x] = L f(x) = 4x - 3, a = 2, L = 5. Given s > 0, we must find 5 > 0, such that if < lx-21 < 5, l(4x-3)-5l < 8. I (4X - 3) - 5 t = 14X - 6 1 = 1 4{ji - 2J I l4l lx-2l <4 fi = f. fi = f./4 Example 19 — Prove lim (x* + 2x] = 24, Given s > 0, we must find 5 > 0, such that if < lx-41 < 5, Ix2+2x-24l < 8. I x^ + 2x ^ 24 I = I (x + 6)(x -4)l^lx + 6l lx-4l We must make sure that Ix + 61 does not get too big. We must always find 5, no matter how small. We must take a preliminary 5 = 1. Ix - 41 < 1, which means-1 <x-4<lor3<x<5. In any case x < 5. Sooooo... lx + 61 < \\\ + 161 <5 + 6 = ll Finishing our problem, Ix + 61 Ix- 41 < 1 1 • 5 = s 5 = minimum (1, s/1 1). Example 20 — Prove 2(5 -x) I I2l Is -xl .,2 2 aixi — = — :<->* X 5 2 2 10 -2x X S ~ 5x 2lx-5[ l5xl l5l Ixl " 51x1 Again take a preliminary § = 1. Ix - 51 < 1. So 4 < x < 6. To make a fraction larger, make the top larger and the bottom smaller. < Ix - 51 < 5. We substitute 5 on the top. Since x > 4, we substitute 4 on the bottom. If 5 = minimum (1, 10s), 12/x - 2/51 < s. Continuity We finish with a brief discussion of continuity of a function at a point. Intuitively, continuity at a point means there is no break in the graph of the function at the point. Let us define continuity more formally: f(x) is continuous at point a if 1 lim f(x] = L i. i-H 2. m = L We will do a longish example to illustrate the definition fully. Example 21 — i{x] = l X < 1 = e x=l = x 1 < X <3 = &-x 3<x<:6 Let =4 X > 6 We wish to examine the continuity at x = 1, 3, and 6. Let's graph this function. Si I J t I l>i 5 1 334567 At X = 1, the limit from the left of f(x) = 1 is 1. The limit from the right of f(x) = x is 1. So lim fix) exists and equals 1. Part 1 of the definition is satisfied. But f(l) = 6. The function is not continuous at 1. (See the jump to y = 6 at X = 1 .) At X = 3, the limits from the left and the right at 3 equal 3. In addition, f(3) = 3. The function is continuous at x = 3. (Notice, no break at x = 3.) At X = 6, the limit as x goes to 6 from the left is 0. The limit as x goes to 6 from the right is 4. Since the two are different, the limit does not exist. The function is not continuous at 6 (see the jump). We do not have to test the second part of the definition since part 1 fails. Chapter 2 The Basics Derivatives — Definition and Rules We would like to study the word tangent. In the case of a circle, the line L, is tangent to the circle if it hits the circle in one and only one place. In the case of a general curve, we must be more careful. We wish to exclude lines like L, . We wish to include lines like L, , even though, if extended, such a line would hit the curve again. We also need to use the word secant, h^ is secant to a circle if it hits the curve in two places. Definition Tangent line to a curve at the point P. A. Take point P on the curve. B. Take point Q, on the curve. C. DrawPQ,. D. Take Q,, Q3, Q4,. ., drawing PQ,, PQ,, PQ4,... with Q's approaching P. E. Do the same thing on the other side of P: R, , R, ,.... such that R, and R; are approaching P. F. If the secant lines on each side approach one line, we will say that this line is tangent to the curve at point P. We would like to develop the idea of tangent algebraically. We will review the development of slope from algebra. Given points Pi — coordinates (X|,yi) — and R — coordinates (x,,Y;). Draw the line segment through P, parallel to the X axis and the line segment through P, parallel to the y axis, meeting at point Q. Since everything on P.Q has same y value, the y coordinate of Q is y, . ^^,jf> T^aftaJsJ &f*3ji) Everything on P, Q has the same x value. The x value of Q is x, . The coordinates of Q are (x, ,y, ). Since everything on P, Q has the same y value, the length of Pi Q = x, - x, . Since everything on P, Q has the same X value, the length of P; Q = y. - y, . The slope in = change in y _ y^ - y^ _ Ay change in x Xi - x, ix A = delta, another Greek letter. Let's do the same thing for a general function y = f(x). Oft + Ai.f{|J) Let point P, be the point (x,y) = (x,f(x)). A little bit away from x is x + Ax. (We drew it a lot away; other wise you could not see it.) The corresponding y value is f(x + Ax). So P2 = (x + Ax,f(x + Ax)). As before, draw a line through P| parallel to the x axis and a line through P, parallel to the y axis. The lines again meet at Q. As before, Q has the same x value as P and the same y value as P, . Its coordinates are (x + Ax,f(x)). Since all y values on P, Q are the same, the length of Pi Q = (x + Ax) - x = Ax. All x values on P, Q are the same. The length of P, Q = f(x + Ax) - f(x). The slope of the secant line _Ay_P.Q ^^ ^ AX " P^Q ffx + Ax] -f](x] ix Now we do as before — let P. go to P, . Algebraically this means to take the limit as Ax goes to 0. We get the slope of the tangent line L, at P, . Our notation will be... The slope of the tangent line f{x + Ax) - f(x] hi- lim if it exists. Ax Definition Suppose y = f(x). The derivative of f(x), at a point x denoted b, f (x), or dy/dx is defined as , , fix + A\] - f[xj llTO lUi-tD Ax if it exists. Notel All mathematics originally came from a picture. The idea of derivative came from the slope. Now the definition is independent of the picture. Note 2 If y = f(t) is a distance as a function of time t Ito "'^^''-'<" -t-W at--iO At is the velocity y(t). Well, heck. Note 2 about velocity is not enough! Let's do some examples. Example 1 — Suppose y = f(t) stands for the distance at some point in time t. Then f(t + At) stands for your location later, if At is positive. (Remember, At means a change in time.) y = f(t + At) - f(t) is the distance traveled in time At. —7- = — ^ average velocity If we take the limit as At goes to 0, that is, it-sa At then f (t) is the instantaneous velocity at any time t. Notel The average velocity is very similar to the rate you learned in elementary algebra. If you took the distance traveled and divided it by the time, you would get the rate. The only difference is that in algebra, the average velocity was always the same. Note 2 Even if you drive a car at 30 mph, at any instant you might be going a little faster or slower. This is the instantaneous velocity. Example 2 Let f(t) = t^ + 5t, f(t) in feet, t in seconds. A. Find the distance traveled between the third and fifth seconds. B. Find the average velocity 3 < t < 5. C. Find the instantaneous velocity at t = 5. Ay = f(t + it! - f(t) - (t + At)= + 5(t + iO - Et' +■ 5t) t = 3; At = 5 - 3 ^ 2 = t^ + 2t At -h [M]^ + 5t + 5 At - t= - St = 2t At + [Atf + 5 At = 2(3](2) + (2]^ + B[2] A. = 26 faet g v,n. = Ay/ At = 26/2 = 13 feet per secoiid ,, f(t+Ar)-ftt) ,, 2t At + [At]* + 5 At Vij^si = lim = lim m^to At if->o At = lim(2t + At + 5)^2t + 5 C. ^^ "J At t=5, Vi„„=2t +5 =2(5) + 5 =15 feet per second. Notel At is usually very small when compared to t. Note 2 The derivative does not always exist. If y = Ixl, the derivative does not exist at x = O, since all secant lines on the left have slope -1 and all on the right have slope 1. These lines never approach one line. In almost all courses, you are asked to do some problems using the definition of derivative. This is really a thorough exercise in algebra with just a touch of limits. Let us do three examples. Example 3 — Using the definition of derivative, find f (x) if f(x) = Sx^ + 4x - 5. f(x + Ax] = 3[x + Axf + 4[x + Ax) - 5 fix + Ax] - ii[x] = 3{x + Ax)* + 4(x + Ax) - 5 - (3x^ + 4x-^) = 3x* + 6x Ax + 3[Ax)^ + 4x + 4 Ax - 5 - 3x^- 4x+ 5 = 6x Ax + 3(Ax}^ + 4 Ax If you have done your algebra correctly, all remaining terms at this point will have at least Ax multiplying them. If there is a fraction, all terms in the top will have at least Ax. f(x + Ax)-f[x} 6xAx+3t4x]H4 Ax : = 1 = 6x. + 3 Ax -I- 4 Ax Ax f'[xj = Urn (6X + 3 Ax + 4) =:= 6X + 4 If f(x) = 3x2 + 4x - 5 were a curve, the slope of the tangent line at any point on the curve would be found by multiplying the x value by 6 and adding 4. Example 3 Continued — We don't need to use the 34. Find the slope of the tangent line to the curve f(x) = 3x- + 4x - 5 at the point (3,34). The slope m = 6x + 4 = 6(3) + 4 = 22. Example 3 Continued, Continued — Find the equation of the line tangent to f(x) = 3x- + 4x - 5 at the point (3,34). From algebra, the equation of a line is given by X-Xt (point- slope), x, = 3, y, = 34, and the slope m is f (3) = 22. The equation of the line is >: - 3 which you can simplify if forced to. Example 3 Last Continuation — Find the equation of the line normal to y = 3x2 + 4x - 5 ^t the point (3,34). The word normal means draw the tangent line at point P and then draw the perpendicular to that tangent line at point P. Perpendicular slope means negative reciprocal. The equation of the normal line is... -1 _ y - 34 22 X - 3 Example 4 — X + 5 Find f(x) using the definition of derivative . X + Ax X f[x + A\) - fl(x) x + Ax + 5 x + g Ax Ax _ [x + Ax)[x -I- 5) - x(x + Ax + 5) [x + Ax + 5)U + 5](Ax] 5 Ax [x + Ax+ 5Kx + 5](Ax) 5 [x + Ax+ 5)[x+ 5) We must multiply out the top, but we do not multiply the bottom. r(x) = Urn i'i-'u (x + Ax + 5)[x + 5) fx4,'5)(x + 5) (x + 5]' Example 5 — Find g'(x) using the definition of derivative if g[x) = V^. RationaUze the numerator. g[x + Ax) - g(x] _ Vx + Ax - Vx Ax ~ Ax [Vx + Ax-Vx] (V"x + Ax + Vx) ^ (VxTax + Vx) (X + A3() -X (Ax)(Vx + Ax + Vx) Ax (ix)(Vx+Ax + Vx) 1 Vx + Ax + Vx ii^a Vx + Ax + Vx 1 1 Vx + Vx iVx We can't keep using the definition of derivative. If we had a complicated function, it would take forever. We will list the rules, interpret them, and give examples. Proofs are found in most calculus books. Rulel If f(x) = c, f (x) = O. The derivative of a constant is 0. Rule 2 Iff(x) = x,f(x)=l. Rule 3 If f(x) = X", f (x) = nx"! . Bring down the exponent and subtract 1 to get the new exponent. Rule 4 If f(x) = cg(x), f (x) = cg'(x). If we have a constant c multiplying a function, we leave c alone and only take the derivative of the function. Rules If f(x) = g(x) + h(x), then f (x) = g'(x) + h'(x). In a book, t, u, v, w, x, y, and z are usually variables, a, b, c, and k (since mathematicians can't spell) are used as constants. Example 6 — y = 3x7 + 7x4 +2x + 3. Find y'. Example 7 — Find y' if a and lib are constants. 9/4 - 1 - 5/4. y' = 123(^ - Sax-' + ^ [-7x-*) + [<if4]j^'* + (-5/ll)x''''" + -5/11 - 1 = - 16/11. Derivative of messy constants is still 0. , 6a 7 9x''' 5 x' bx^ 4 llx^^'^^ Most calculus books give the derivative of the six trigonometric functions near the beginning. So will we. Rule 6 A. If y = sin x, y'= cos x. B. If y = cos X, y' = -sin x. C. If y = tan x, y' = sec^ x. D. If y = cot X, y' = -csc^ x. E. If y = sec x, y' = tan x sec x. F. If y = CSC X, y' = -cot x esc x. Rule? The product rule. If y = f(x)g(x), then y' = f(x)g(x)' + g(x)f(x)'. The product rule says the first multiplied by the derivative of the second added to the second multiplied by the derivative of the first. Example 8 — Find y' if (first] (second) y' = (x' + 3x+l) (5) +(5x + 2)Ux + 3) (firsl) (second]' + [second) (first)' Multiplying and combining like terms, y'= ISX^ + 34x +11. We could, of course multiply this example out. y = Gx=' + l7x* + llx+2. Then y' =15x2 + 34x + 1 1 as before. However, later on the examples will be much longer or even impossible to multiply out. It is a blessing that we have the product rule and the next two rules. Rules The quotient rule. , g[x)H^]-IUJg'(x] Ify = f(x)/g(x),then IgWl' The quotient rule says the bottom times the derivative of the top minus the top times the derivative of the bottom, all divided by the bottom squared. Example 9 — x= .-.^y Find y' if x' + 2x + 1 . (bottomXtop)' -(top)<bottQm)' bottom squared (x:^ + 2x + l](2x)-x'(3x' + 2] /- (x* + 2x + l)^ When simplifying, do not multiply out the bottom. Only multiply and simplify the top. You may simplify the top by factoring, as we will do in other problems. , _ -X* + 2x^ + 2x Simplified, ^ " (x' + 2x + l)= . Rule 9 The chain rule. Suppose we have a composite function y = f(u), u = u(x). dy dy du Then dx du dx. Example 10 — Let f(x) = (x2 +1)100. One way is to multiply this out. We dismiss this on grounds of sanity. We let u = x2 + 1. Then y = f(u) = uioo . dx du 3^ = 4^ ^ = (100u^*)(2x) = I00(x^ + ir ■ 2x dx du dx Then = aOOxfx^ + 1)^^ We don't want to write u each time. We will imagine what u is and use the chain rule. Try it. It only takes a little practice. Example 11 — Findy'ify=(x3 +7x2 + i)4/3_ , ^ 1 , -J— =3x^ + 14x Imagme u = x^ + Tx^ + 1. dx y' = [4/3](x* + 7x" + l)^''(3x' + 14x]. Example 12 — y = tan(x^ + 3x- 11). Imagine u = x^^ + 3x - 1 1. y' = sec^ (x^ + 3x - 1 1) • (4x3 +3) Example 13 — Find y' if y = sin^ (x^^ + 3x). This is a double composite: a function of a function of a function. We use the chain rule twice. Let the crazy angle = v = x'* + 3x. So dv/dx = 4x3 +3 Let u = sin (x'' + 3x) = sin v. So du/dv = cos V. So y =u^ and dy/du = 6u^ So... dy/dx = (dy/da) times (du/dv) times (dv/dx) - 6u^ times cos v times 4x' + 3 = [6 sin" [m* +■ 3x)J[cos ix" ■+ 3m)](4x' + 3) power rule — derivative derivative leave trig of trig of the function and function — crazy anj^le cra^y angle crazy a^gle alone stays Note This is not the product rule. Sometimes you will have other combinations of the rules. After a short while, you will find the rules relatively easy. However, the algebra does require practice. Example 14 — Findy'ify = (x2+ l)8(6x + 7)5. This problem involves the product rule. But in each derivative, we will have to use the chain rule. U' + If 5(6X + 7r(S) + m + 7J* ■ 8{x' + ir[2x) y = (first) ■ [second)' + (second) - [first]' The calculus is now finished. We now must simplify by factoring. There are two terms, each underlined. From each we must take out the largest common factor. The largest number that can be factored out is 2. No x can be factored out. The lowest powers of x^ + 1 and 6x + 7 can be factored out. We take out (x^ + 1)' and (6x + V)'^. y' = 2{\' + lV{Q\ + 7)^[l5(x= + 1) + ex(6x + 7)1 = 2(x*+ l)'(6x + 7)*(B3x^ + 56x + 15] Let us try one more using the quotient rule and chain rule. Example 15 — Find y' if y = (xHl)*" [x^ + l)*3x^ - x^[4[x^ + l)^(2x]] [(x=+l)1= [x^ + If xV5xH3) (x^ + 1]= When not to use the product or quotient rule: Example A — Do not use product rule since 5 is a constant. Only the chain rule is necessary. y' = R [1 Cl(x^ - 4]*(2x]] = 1 00x{x* - 4]'' Example B — Do not use quotient rule. y = 7/x' Rewrite example as y =7x"^ and simply use power rule. y' = 7(-S]x-^ = ^35/x^ Example C — Rewrite as y = b(x^ + 5)'*. y = b/(x' + 5)* y' = b(-S){x= + Sj-'CSx) = -16bx/{x^ + 5)' Implicit Differentiation Suppose we are given y^ + x'^y'^ + X^ =9. It would be difficult, maybe impossible, to solve for y. However, there is a theorem called the implicit function theorem that gives conditions that will show that y = f(x) exists even if we can never find y. Moreover, it will allow us to find dy/dx even if we can never find y. Pretty amazing, isn't it?!!!!! Let f(y) = y" where y = y(x). Using the chain rule and power rule, we get df ^ dtKy) dy(x] ^ dy dx dy dx dx Example 16 — Find dy/dx if y^ + x^y'' + x^ = 9. 1. We will differentiate straight across implicitly. 2. We will differentiate the first term implicitly, the second term implicitly and with the product rule, and the rest the old way. 3. We will solve for dy/dx using an algebraic trick that can save up to five algebraic steps. With a little practice, you can save a lot of time! ! ! ! Let's do the problem. rf-CT 1 3x' ~ '^'1^^ ATy") -^ + y'(4x'] implicit impiicity [n = 7) power derivative (ti = 3) and product mle rule of ronstant We now solve for dy/dx. Once we take the derivative, it becomes an elementary algebra equation in which we solve for dy/dx. 1 . All the terms without dy/dx go to the other (right) side and change signs. 2. All terms without dy/dx on the other side stay there; no sign change. 3. All terms with dy/dx on the right go to the left and change signs. 4. All terms with dy/dx on the left stay there; no sign change. 5. Factor out dy/dx from all terms on the left; this coefficient is divided on both sides. Therefore it goes to the bottom of the fraction on the right. 6. Rearrange all terms so that the number is first and each letter occurs alphabetically. It really is easy with a little practice. Using this method, our answer is dy _ -4s^y' - 3x^ dx ~ 3y^ + 7x*y^ Example 16 Continued — Maybe you think this is too complicated. Let's do another with much simpler coefficients after taking the derivative: Ay' + B - Cy' - D = 0. B and D have no y' and must go to the other side and flip signs. The (A - C) is factored out from the y' and goes to the bottom of the answer. So y' = (D - B)/(A - C). Still don't believe? Let's do it step by step. Af + B-Cy'- ^B + D = D = :0 D- -B AY -c/ = D- -B (A- A -B So v'=. D-B ' A-C If you look closely, this really is Example 14, the algebraic part. Example 16 Last Continuation — Suppose we are given the same equation, but are asked to find dy/dx at the point (-2,1). The first step is the same. 3y' -^ + x*[ 7y' -^ j + y'(4x') + 3x' = But instead of doing all the rest of the work, we substitute x = -2 and y = 1 ! 3 -^ + 112 3^ - 32 + 12 = € dx dx So dy/dx = 20/1 15 = 4/23. We do as little work as possible. Mathematicians are very lazy by nature. Notations We know the notations for the first derivative. Suppose we want to take more derivatives... dv y' - f '(x) = -j^ = first derivative y^ = f (x) = -T^ = second derivative T^n _£[s?ii[yj - ^^ = twenty-seventh derivative d^v yin) ^f"^[x] =-j^ ^ nth derivative Example 17 — Let us take three derivatives implicitly of X^ - y2 = 9. (Something nice usually happens in the even derivatives, in this case the second.) Quotient rule: d=y _ y[11-x(dy/dx) Multiply every term top and bottom byy. _ y - x(x/y] From original equation x^ - y^ = 9; therefore y^ - x^ = -9. Y' -9 -,3 (Nice simplification — easy to take next derivative). ""^ -^(-3)rf^ dx^ \ dx ^7x v-^ Example 18 — sin [x'^y'] - x'^y^ = cos fx*y^][(x'3y' dy/dx + y'2x)] - x^Sy" dy/dx - y^x^ = the derivative of the sine of a crazy angle is the cosine of that crazy angle times the derivative of the crazy angle — implicitly and with the product rule the product rule; the minus sign in front means both parts of the product are negative. Solving for dy/dx in one step, we get J ,j 4K'y^ - 2xy^ cos (x^y^) ^ " 3xy COS inY) - ^^Y The only difference in the algebra is to multiply out the terms in parentheses in your head (the cosine mul tiplies each term). The example is then virtually the same as Example 14. Antiderivatives and Definite Integrals We are interested in the antiderivative . That is, given a function f(x), the antiderivative of f(x), F(x), is a function such that F'(x) = f(x). We are going to explore methods of getting F(x). The big problem in antiderivatives is that there is no product rule and no quotient rule. You might say, "Hooray! No rules to remember!" In fact, this makes antiderivatives much more difficult to find, and for many functions we are unable to take the antiderivatives. However, in calculus I, antiderivatives are very gentle. Only later do they get longer and more difficult. Rulel If F'(x) = G'(x), then F(x) = G(x) + C. If the derivatives are equal, the original functions differ by a constant. In other words, if you have one antiderivative, you have them all; you just have to add a constant. Example 19, Sort of — F(x] = x^+7 G(x)=x^-3 F(x) = 2x = G'(x). The difference between F(x) and G(x) is a constant, 10. Rule 2 Add one to the original exponent and divide by the new exponent plus a constant. If f (x) = xN with N ^ -1, then yN + l Rule 3 Ify' = kz', theny = kz + C. Rule 4 Ify' = f + g',theny = f+g + G. Example 20 — dy/dx = Sx" - Bx' + 3x + 5 (5 = 5x°] 3x^ 3x^ 3x^ 5x^ ^ Example 21 — dy/dt = ^ - -^ + a = 4r'^ - 81"^ + a (a = constant) - et''' + 4 + ^t + c t* Example 22 — If y' = 3x2 + 4x and y = 2 when x = 3, findy y. y = ^+i^ + C = x^ + 2x^+C -^3 2 Now X = 3, y = 2 to find G. 2 = (3)^ + 2(3)= + C. 2 - 27 + la + C So C = -43, y = X^ + 2x^ -43. Rules ^.illll + C If y' = u" du/dx with n * -1, then ^ n -i- 1 Note Put u = X in rule 5 and you will have rule 2. We will discover that when N = -1, the antiderivative is a logarithm. Example 23 — Findy if y' = x(x2 + I)''. We could multiply this out. On the grounds of sanity, we reject this technique. Let u = (x2 + 1). du/dx = 2x. y = — I -rrrrr f + L = ■ " j + C 2 VlOO Example 24 — dy x^ 200 If, dx [xVlD^findy. Let u = x4 + 1 1. du/dx = 4x3. -^ = — (x* + 1 l]^[4x)^ = — U^ ^— dx 4 -m) + c = 4 dx -1 + C 20(x'' + 11]' Example 25 — If V = 6t2 + 4t + 3 and s = 40 when t = 1, find s. s = distance, v = velocity, t = time, v = ds/dt. 3 2 a = 2t= + 2t^ 4 3t + C Use t = 1 when s = 40 to get 40 = 2(1)3 + 2(1)2 + 3(1) + C. C=33. The development of the area as motivation for the definite integral is detailed in most calculus books. We will sketch the development. A. Given the region y = f(x), x = a, x = b, x axis. B. Divide the interval [a,b] into n intervals. Ax,, Axj, Axj,... Ax,. Ax; represents an arbitrary interval. C. Let w, be any point in the interval Ax,. D. AX| represents the width of the first approximating rectangle. f(wi) represents the height of the first rectangle. Ax, f(wi ) represents the area of the first approximating rectangle. E. Do this for all the rectangles. We get JJ 1 = 1 lim y ftwjAxi= f £(x)dx L-1 The definite integral. In the above example, the definite integral represents the area. As in the case of derivatives, we would like the rules so that it would be unnecessary to do this process of approximating rectangles. Note If the velocity = v(t), fvWdt represents the distance traveled from time a to time b. Rule 6 rb J 1 dx = b - a Rule? f cf(x} = c f f(Aj d-x Rules I [fix] + g(x)l dx = J f(x) dx + / g(x) dx Rule 9 I fix) dx = f fix) dx + f f(x) dx a a ^c Rule 10 f f(x) dx = Rule 11 J f(x)dx=-f f(x)dx A t Rule 12 The fundamental theorem of integral calculus. If f(x) is continuous on [a,b] and F(x) is any antiderivative of f(x), then f f(x]clx = F[b)-f[a). Example 26 — f (3x^+6] dx = 1 3x^dx + 6[ Idx ■■11. = x^ + ex = [4^ + 6(4)j-[lU6(l)]=ai Li Note Ji f(K] dx, the definite integral, is a number if a and b are numbers. I P(^) dx the antiderivative or indefinite integral, is a family of functions, each of which differs from the others by a constant. We rewrite previous rules using the indefinite integral. x" dx = + C n ?s -1 i n + 1 J [cf{x) -H g(x]l dx = c J f(x] dx + I g[y) dx f dii n^*^ J dx N + 1 Example 27 — (x'' + Zv^f X* + ex* + 9k* X* 6x^ 9x^ j(5 x' X^ X* x" = X^ + & + QX"' f = [x* + 6 + 9x *) dx = — + 6x + + X* 9 = — + 6x -? + C 4 2x^ C Example 28 — This is a change of variables. We let u equal whatever is in parentheses, under a radical sign, etc. Let u = x^ + 1. du/dx = 3x^. Solve for dx. du = 3x^ dx. So dx = du/3x^. fx^Cx^ + lV'^dx r The limits must change. u = x3+l.x = 0. u = 3^ + l = l. x = 3. u = 33 + 1 = 28. j-U - 2-B ■^11 = 1 = (l/3)u^'V[3/2) (2/9)u a/! - (2/9)(2a'''= - 1) Example 29 — Here's a tricky one. f Vx^ " y? dx Vx* - k' = Vx'(x' - 1] = xVx' - 1 Let u = x2 - 1. X = 1; u = 0. X = 2; u = 3. dx = du/2x. f'"' VZ^ dx = f"'' x[x' - 1)'^' dx = f xu^^^ du/2x = f" y.u^"du = =^u^'*/[3/2] 11-3 u = D = Cl/3]3="'-a Note If you make a u substitution and the x's do not cancel out, either a new technique must be used or the problem cannot be solved. Example 30 — I sin 5x dx Let u = 5x. dx = du/5. The integral of the sine is minus cosine and the integral of the cosine is the sine. I sin 5x dx = J sin u du/5 = (1/5) I Bin u du = W5]{-cos u] + C You must replace u with 5x since the problem originally had x. = -COS [5xVS + C Note You must know how to do an integral like this one by sight, because if you don't, some of the calc II integrals will become virtually endless. Example 31 — 3x sec^ 3x dx tan* : You must remember that the derivative of the tangent is the secant squared. Let u = tan 3x. du = 3 sec^ 3x dx. du/3 = sec^ 3x dx. X = 0; tan (0) = 0. So u = 0. X = 71/12. tan (371/12) = tan (7r/4) = 1. So u = 1. Jrn/lZ rU- 1 I lan^ 3x sed^ 3x dx = (l/3)u* du X = p '^u = Q = [I/ISK 1 = 1/15 D Finding the Area Under the Curve Using the Definition of the Definite Integral One of the most laborious tasks is to find the area using the definition. Doing one of these problems will make you forever grateful that there are some rules for antiderivatives, especially the fundamental theorem of calculus. Example 32 — Find Jt (x^ + 4x + 7} ^jx using the definition of the definite integral. Before we start, we need two facts: 1 -h 2 + 3 + - + n = n(ii + l)/2 1^ + 2" + 3' + .,. + n^ = n[n + l](Zn + ij/e These formulas for the sum of the first n positive integers and the sum of the squares of the first n positive integers can be found in some precalculus books but are not too easily proved. Now we are ready — not happy — but ready to start. 1. Divide the interval 3 < x < 6 into n equal parts. The left end 3 = Xo, x, = 3 + 1 Ax, x, = 3 + 2 Ax, x, = 3 + 3 Ax,..., and x, = 3 + n Ax = 6. Solving for Ax, Ax = (6 - 3)/n = 3/n. 2. From before, the approximate sum is f(W|)Ax, + f(W:)Ax2 + f(w3)Ax3 + ... + f(w,)Ax,. All of the Ax, are equal to Ax, and we will take the right end of each interval as the point where we will take the height. Therefore w, = X,, w, =X2,..., and w, =x,. 3. Rewriting 2, we factor out the Ax and get [f(X|) + f(x,) + {(x^) + ... + f(x.)Ax. 4. Now f(x) = x2 + 4x + 7. f{x,) = (3 + 1 4x)^ + 4(3 + 1 Ax) + 7 ftxj = (3 + 2 Ax)^ + 4(:3 + 2 AxJ + 7 ftXa) = [3 + :i Ax)= + 4f3 + 3 Ax] + 7 f(xj = {3 + n Ax)^ + 4[3 + n Ax) + 7 5. Our task is now to add all these up and then multiply everything by Ax. A. If we multiply out f(x,), we see that the number we get from this term is 3^ + 4(3) + 7 = 28. We see that every term, if we were to multiply them out, would have a 28. Since there are n terms, the sum would be 28n. B. Let's look at the Ax terms. f(x,) gives us 6(1 Ax) + 4(1 Ax) = 10(1 Ax). f(X;) gives us 6(2 Ax) + 4(2 Ax) = 10(2 Ax). Similarly, f(x3) = 10(3 Ax). And f(x.) = 10(n Ax). Adding and factoring, we get 10 Ax(l + 2 + 3 + .. + n). C. Looking at the (Ax)^ terms, we would get l=(Ax]* + 2H^]' + 3'[Ax)' + - + n'(Ax)' Factoring, we would get (Ax)^(l= + 2^+3^ + -.+n') 6. Now, adding everything up, multiplying by Ax, hoping everything fits on one line, we get [2Hn 4 10 Ax [1 + 2 + 3 + ■" + n) + (Axp(l^ + 2" + 3^ + ■" + n^]]Ax 7. Substituting the formulas in the beginning and remembering Ax = 3/n, we get |26ii + 10(3M)[n(n + l)/2] + {3/n.Y [11(11 + l)t2n + l)/B]|(3/n) 8. Using the distributive law, we get three terms: A. t2an)(3/n) = fl4, 10(3/ifl)fT)(Ti + iVlKa/m^ = i^[n+ l)/n „ limofB = 45[l]=45 B. "■''"• [9/ii')[n(n + l)(2n + l)/6K3/n) ^ ((a7/6)[2n' + _ limC= [27/e](2] = 9 9. Adding A + B + C, we get a value for the area of 84 + 45 + 9 = 138. Note By letting n go to infinity, we are doing two things: chopping up the interval 3 < x < 6 into more and more rectangles and, since Ax = 3/n, making each rectangle narrower and narrower. Wow! ! !!!!!!! Are we grateful for the fundamental theorem! -J "6 = -^ + 2(6)^7(6) y + 2(3)^ + 7(3) = (72 + 72 + 42) -(9 + 18 + 21) IP 186-46 = 133? Finally we will learn, sadly, that most integrals cannot be done. As we go on in math, we will learn many approximation methods. Also, we will learn how accurate these approximations are. This is OK because we don't live in a perfect world — or is this a surprise to you? As we go on, the methods of approximation will become more involved. Let us take a look at some crude ones. We will approximate f (x' + 2)dx in three ways. Example 33 — Approximate this integral with three equal subdivisions, using the right end of each one. Here's the picture: , (^,37) 35 - / if 10 "fo.a) (3J1J ^^ (-13) 5 -./ -! 5 : i 4 J The approximate area is f(Wi)Axi + f(w2)Ax2 + f(w3)Ax3. Each Ax = 2, and W, = 1, w, = 3, and W; = 5, the right ends of each interval. The approximation is (Ax)[f(l) + f(3) + f(5)] = 2(3 + 11 + 27) = 82. Example 34 — Same picture, same intervals, the minimum approximation, the smallest value in each interval, Sj. S, = Ax[f(a) + flD + f(3)l = 2[2 + 3 + 11) = 32 Example 35 — Same picture, x, = -1, x, = 0, x, = Vi, Xj = 1, X4 = 5; midpoints. The approximation is f(w,)(Ax,) + f(w,KiXs) + f\yi,][M,] + f(w,][As,) - f(-yO(i} + ff%](v.) + mm +- fl3)(4) Of course we do not have to approximate this integral, since it is easily done. However, we would need to approximate, say, this one: J-i 1+x* A theorem that is now mentioned much more often in calc I is the average value theorem. It says that if we have an integrable function on the interval a < x < b, there exists a point c between a and b such that b - a J^ We will demonstrate by picture. Suppose we have the function as pictured. There is a point c where the two shaded areas are the same. Fill in the top one in the bottom space. Thus the area of the rectangle equals the area under the curve. Area of the rectangle is base times height. Base = b - a. Height = f(c). f|c)(b-a] = | f(x)d3< Now divide by b - a. That's it. Let's do an example. Example 36 — Find the average value for f(x) = x^, 2 < x < 5. -2 Jt = 1(5»_2=')=-1(T17) = 13 If I actually wanted to find the point c in the theorem that gives the average value, f(c) = (c^ = 13"^ = 3.6, which clearly is between 2 and 5. Let's do a word problem. Example 37 — During the 12 hours of daylight, the temperature Fahrenheit is given by T = 60 + 4t - 1-/3. Find the average temperature over the 12-hour period. The average temperature value 12 \ 9 _ 60[12) 2(12](12] [l2Xl2)fl2) " 12 "^ 12 (3){3)(12) = 68°F (20°C), a delightful average temperature. Chapter 3 Curve Sketching Made Easy The topic I think I can teach better than anyone else in the world is this one. The only question is whether I could write it down. I think I did, and I think you'll really enjoy it! Since we can spend an almost infinite amount of time on the topic, we will restrict our discussion to polynomials and rational functions (polynomials over polynomials), except for a few examples at the end. Terms and Special Notations 1. For curve-sketching purposes, we define an asymptote as a line to which the curve gets very close at the end but never hits. All your life you have been told a curve cannot hit an asymptote. This is wrong. An asymptote is a straight-line approximation to a curve near its end, that is, when x or y goes to plus or minus infinity. In the middle of the curve, the curve is not a straight line and can hit the asymptote. The x axis is an asymptote although the curve hits the axis five times. At the end of the curve, the curve gets close to the axis but does not hit it. 2. I f(3) I = infinity. As x gets close to 3, f(x) gets very, very big (heading to plus infinity) or very, very small (heading to minus infinity). 3. f(6+). Substitute a number a little larger than 6, such as 6.01. 4. f(6). Substitute a number a little smaller than 6, such as 5.99. Our first goal is to sketch, in under two minutes, curves like Yes, not only is it possible, but almost all of my students do it and so will you! ! ! ! ! Intercepts X intercepts. Just like a straight line, x intercept means a point where y = 0. If we have a fraction, y = means the top of the fraction = 0. Example 1 — 20 y = means the top is 0. "Top is 0" means x = 0, 2x - 3 = 0, or x -i- 4 = 0. You ignore the exponents, since x'' = means x = 0. x = 0, 3/2, and -4. The intercepts are (0,0), (1.5,0), and (-4,0). Example 2 — Factor the top. y -. (x-3)(x+l)=0. Intercepts are (3,0) and (-1,0). Example 3 — y = K^tx - l)^(x - 2)* Intercepts are (0,0), (1,0), and (2,0). y intercepts. Just like the line, y intercept means a point where x = 0. Example 4 — Substitute x=0. (x + ifjx - 2)^ ^" [x-l)^[x + 4) (-ir(4) . y intercept is (0,8). Example 5 — x= - 2x - 3 y = 7^ For X = 0, we get -3/0. There is no y intercept. Warnings: 1. If you get the sign of the y intercept wrong, you will never, never sketch the curve properly. 2. Functions have one y intercept at most (one or none). 3. If we have the intercept (0,0), it is one of the x intercepts, maybe the only one, but the only y intercept. We do not have to waste time trying to find another one! Vertical Asymptotes A rational function has a vertical asymptote whenever the bottom of the fraction is equal to 0. Example 6 — x + 31 Asymptotes are vertical lines x = 0, x = 4, and x = -3. Two more definitions need to be reviewed before we move on. Note Suice polynomials have no denominators, they have no vertical asymptotes. As we will see, they have no asymptotes at all. Definition A Degree — if a polynomial has one variable, it is the highest exponent. Definition B Leading coefficient — the coefficient of the highest power. Example 7 — y = 4x^ - 7x^ -I- 2 Degree is 6. Leading coefficient is -7. Horizontal Asymptote Type I (Don't be scared. There are only two types!) Suppose y = P(x)/Q(x). P and Q are polynomials. If the degree of P (top) is less than the degree of Q (bottom), the horizontal asymptote is y = 0, the x axis. Example 8 — ^ ~ TTsx^ ~ ~8 5y*~ ~ e/x* + s ■ + ■ x^ As X goes to infinity 3/X2, -1/X\ and S/x^ all go to 0. So y = (0 - 0)/(0 + 5) = 0. The asymptote is y = 0! ! ! Note I We divided by x'^ , that is, x to the highest power. Note 2 When you do the problem, don't actually do this. Since you know anytime the degree of the top is smaller than the degree of the bottom you get y = 0, just use y = when this happens. Easy, isn't it?! ! Horizontal Asymptote Type 2 Example 9 — 6x^ + 2 Both degrees are 3. If the degree of the top equals the degree of the bottom, the horizontal asymptote is y = a/b, where a is the leading coefficient of the top and b is the leading coefficient of the bottom. Asymptote is y = 6/(- 7). Let us verify. 6x^ + 2 (6x']/x^ + 2l[>?) 6 + 2/(x*) 5X - 7x' (5xK(x') - (7x')/(x') - {bVW) - 7 As X goes to infinity, 2Ij? and S/x^ go to 0. Asymptote is y =-6/7. Oblique (Slanted Line) Asymptote This occurs when the degree of the top is exactly 1 more than the bottom. Example 10 — x^ ~ 2)i: - 3 V ^ x + 4 Degree of the top = 2; degree of the bottom = 1. Oblique asymptote. We must, unfortunately, long divide the bottom into the top. If you know it, use synthetic division. x-6 + 2l/(x + 4] *Ti — 7i ^ x^ - 2x - 3 „ tl X + 4}x - 2x - 3 y = ^ x ^ 6 + -ex- 3 -6X-24 21 As X goes to infinity, the remainder 21/(x + 4) goes to 0. The oblique asymptote is y = x - 6. Notel If the degree of the top is more than the bottom but not 1, there are no oblique asymptotes. Note 2 At most there is one oblique asymptote or one horizontal asymptote, but not both. There might be neither. Curve Sketching By the Pieces Before we take a long example, we will examine each piece. When you understand each piece, the whole will be easy. Example 11 — f(x] = 3(x - 4]^ The intercept is (4,0). We would like to know what the curve looks like near (4,0). Except at the point (4,0), we do not care what the exact value is for y, which is necessary in an exact graph. In a sketch we are only interested in the sign of the y values. We know f(4) = 0. f(3.9) = 3(3.9 - 4)6 = 0.000003. We don't care about its value. We only care that it is positive. Our notation will be f(4-) is positive. Similarly f(4+) is positive. What must the picture look like? At x = 4, the value is 0. To the left and to the right, f(x) is positive. (4,0) The picture looks like this where a = f(4") and b = f(4+). Example 12 — (6.0) f(xl=-7(x-fi)™ Intercept (6,0). f(6") is negative. f(6+) is negative. The picture is... To summarize, if the exponent is even positive, the sketch does not cross at the intercept. Example 13 — -^ f(;() = 6(x-2V' Intercept (2,0), f(2) is negative; f(2+) is positive. The curve around (2,0) looks like. Example 14 — N— Intercept (-4,0), f(-4") is positive; f(-4+) is negative. Around (-4,0) the curve will look like... To summarize, if the exponent is odd positive, the sketch will cross at the intercept: Let's see what it will look like near the vertical asymptotes. We attack the problem in exactly the same way. Example 15 — 7 f[xl (x-4}« J \ r E ^ Vertical asymptotes at x = 4, f(4), f(4+) are positive, and the curve near x = 4 looks like... To reemphasize, f(4+) = f(4.1)= 7/(4.1 -4)8 = 7/0.00000001 = 700,000,000, which is big. The curve tends to plus infinity, from the right side of 4. Similarly, the curve goes to plus infinity from the left side. Example 16 — v ftx) = Vertical asymptote at x = 3. f(3") and f(3+) are negative. The curve near x = 3 looks like... To summarize, if the exponent is even positive in the denominator, near the vertical asymptote, both ends go to either plus infinity or minus infinity. Example 17 — ^ V f(x) Asymptote x = -6. f(-6") is negative; f(-6+) is positive. The curve is... Example 18 — f[x)=-3/[x-5) Exponent is 1 (odd). Asymptote x = 5. f(5") is positive; f(5+) is negative. The curve near x = 5 is... To summarize, if the exponent is odd positive in the denominator, on one side of the asymptote the curve goes to plus infinity and on the other the curve goes to minus infinity. We are now ready to put all the pieces together. With some study and a little practice, you positively will be able to sketch curves with intercepts and asymptotes only in under two minutes! !!!!!! Example 19 — (Tc-2r(x+ir f(x] = [x + 2p[x - IJ Id First locate the intercepts, x intercept means y = means top of fraction = 0. (2,0) and (-1,0). y intercept, the only long part. Substitute x = 0. m-tmi^s i2Q The intercept is (0,8). Vertical asymptotes: bottom of fraction = 0. x =-2 and x = 1. Horizontal asymptote: if we multiplied out the top (something you would never do), the highest power of x on top is X^^. On the bottom is X" . The degree of the top is less than the bottom. The horizontal asymptote is y = 0. Oblique asymptote: none, since there is a horizontal one. We are ready to start the sketch. It is advisable to use three colors, one for the axes, one for the asymptotes, and one for the sketch. We need to substitute only one number! ! ! That number is to the right of the rightmost vertical asymptote or x intercept. f(2+) is positive. Since the power of (x - 2) is even, namely 6, the curve does not cross at (2,0). So far the sketch is... m) ■ ___^___ f-l,0) (3.0] J = -;l ( = I The sketch now heads for the asymptote x = 1. It must go to plus infinity, since if it went to minus infinity, there would have to be another x intercept between I and 2 and there isn't. The power of (x - 1)^° is even. For an asymptote, that means both ends are in the same location. Since one part is at plus infinity, so is the other. The curve now heads through (0,8) toward (-1,0). It looks like... Since the power of (x + 1) is odd, 7, there is a crossing at (-1,0). The sketch heads to minus infinity at x = -2. Since the power of (x -i- 2) is odd and an odd power means one end at plus infinity and one at minus infinity, one end is already at minus infinity, so that on the other side the curve goes to plus infinity. Remember, both ends head for the horizontal asymptote y = 0, the x axis. The sketch can now be finished .... x--$ t = 1 Well, that's it. With a little practice you'll be like a pro! We'll do more examples, of course. You should practice the ones in this book. Before we do other examples, let us look at the right end of the curve that we drew above. (^ I (3,0) f^.O) %^ I V (s, of'Xy t = 1 In the top figure, can we find out how high M is? Yes! Later in this section we will. In the middle, could this be the right end? Perhaps, but we don't have enough info to know what the end looks like yet. In some very complicated cases, we might not ever be able to determine what the end is like (exactly). In the bottom, could this be the right end? No!! There would have to be another intercept after (2,0), and we know there aren't any. Example 20 — 3x*(x " 4)^(x - 8)^ f(x) = 2{\ + 3y[x + GHx - 2V X intercepts: (8,0), (4,0), and (0,0), which is also the y intercept. Vertical asymptotes: x = 2, x = -3, x =-6. Horizontal asymptote: By inspection, the leading term on the top is Sx^^ and the leading term on the bottom is 2x'^ Same degree. The asymptote is y = 3/2, the leading coefficient on top over leading coefficient on bottom. Starting the sketch at (8,0), f(8+) is positive. The power of (x - 8) is even, so there is no crossing. The sketch starts... 3 = Vi ■ , V' im [4,0) im -6 x^-3 = a From the sketch, f(4+) is positive. Since (x - 4) has odd power, there is a crossing at (4,0) heading down to minus infinity at x = 2. The power of (x - 2)^ is even. So one end at minus infinity means both ends are there, heading up to (0,0). x'^ is an even power, so that there is no crossing, and the sketch continues... We head to minus infinity at x = -3. (x + 3)'' is an odd power. So since one end is at minus infinity, the other is at plus infinity. It goes down (we don't know how far) but never hits the x axis and heads back to plus infinity at X = -6. Since (x + 6)^ is an even power, both ends are at plus infinity. The ends both go to y = 3/2, the horizontal asymptote. The sketch can now be finished.... You should be getting better now. Let's try an oblique asymptote. Example 21 — l(x) = (x= - 4x + 4j/(x - 1] Since the degree of the top is 1 more than the bottom, we have an oblique asymptote. We need three forms of the equation: the original, the factored, and the divided. f(x) = (x^ - 4x + 4)/[x - 1) = (x - 2)V(x - I) = x-3 + l/(x-l) X intercept — top = in the second form: (2,0). y intercept — x = 0, easiest found in the first form: (0,-4). Vertical asymptote — first or second form: x = 1. Oblique asymptote — third form: y = x - 3 with remainder going to 0. Again we look at the rightmost vertical asymptote or x intercept, in this case (2,0). f(2+) (form 2) is positive, (x- ly- is an even power, so there is no crossing, heading up to plus infinity at x = 1. Since the power of x -1 (1) is odd, the other end is at minus infinity. The sketch then goes through the point (0,-4) with both ends going to the line y = X - 3. The sketch is... You should be getting a lot better now! ! Let us try a polynomial, to show you how easy it is. Example 22 — f(x] = x'[x - l)'(x - 2n\ - 3]'(5 - x]' Intercepts: (0,0), (1,0), (2,0), (3,0), and (5,0). No asymptotes. Watch how easy this is! f(5+) is negative. (5 - x)*" is an odd power, so cross, (x- 3)' is an odd power, so cross, (x- 2)^ is an even power, no cross, (x- 1)5 is an odd power, so cross, x'^ is an even power, no cross. The leading term, -X^', dominates when x is big (say x = 100) or when X is small (say x = -100). -(100)^' negative — right end goes to minus infinity. -(-100)^' positive — left end goes to plus infinity. Briefly, right to left, looking at the exponents only — cross, cross, no cross, cross, no cross, and the sketch looks like... Example 23 — n Vi {^,0) i[x) =• -, — = X* + Intercept (4,0). Vertical asymptote x = (y axis). No oblique or horizontal asymptote since degree of top is 5 more than the bottom. (100)^ is positive — right end goes to plus infinity. (-100)^ is negative — left end goes to minus infinity. The sketch is... ta-da!... The next area of curve sketching involves maximum points, minimum points, inflection points, and cusps. Since much of this involves derivatives and factoring, more care and time is needed. Definitions Relative maximum {minimum) — the largest (smallest) y value in a region, absolute maximum {minimum) — the largest (smallest) y value of all. If the sketch goes to plus infinity (minus infinity), all maximums (minimums) are relative. A, C, E, H, and J are relative maximums. B, D, F, G, I, and K, are relative minimums. No absolute maximums. F is the absolute minimum. As you can see, there are three kinds of maximums and minimums. 1 . If there is a finite domain, the left and right end points (A and K) are sometimes relative maximums or minimums. (They are in most of the examples we do.) 2. Cusps, C and I, will be discussed later. 3. Round maximums and minimums will be discussed now. As you can see, the slope of the tangent line exists at these points and is equal to 0. Let us proceed. Testing for Round Maximums and Minimums If y = f(x) and there is a round max or min at x = c, f (c)-0. TEST I for round max and min points: If f (c) is negative and f (c+) is positive, we have a minimum. If f (c) is positive and f (c+) is negative, we have a maximum. cr c c If f (c) and f (c+ are the same sign, it is neither a max nor a min. C C C Believe it or not, at this time we have to define down and up. A curve is down (up) if the tangent line drawn to the curve is above (below) the curve itself. Definition Inflection point — a point at which a curve goes from up to down or down to up. A test for inflection points is f '(c) = 0. There are in fact two tests to tell whether a point is an inflection point. Test 1 (Easier) Note If the third derivative is very difficult to find, use the other test. A. If f'"{r:] * 0, then c is an inflection point. B. If f "(c) = 0, this test fails and you must use another test. Test 2 A. If f"(c+) and f"(c) have different signs, c is an inflection point. B. If f"(c+) and f"(c) have the same sign, c is not an inflection point. There is also a second and easier test for max and min points. Suppose f (c) = 0. If f"(c) is positive, it means the slope is increasing. This means the curve is facing up, which means a minimum. Suppose f (c) = and f"(c) is negative. This means the slope is decreasing, the curve faces down, and we have a maximum. If f"(c) = 0, then we use the other test. Problem Before we sketch some more curves, let's make sure we all understand each other. There is a kind of problem my fellow lecturer Dan Mosenkis at CCNY likes to give his students. It's not my cup of tea or cup of anything else, but I think it will help you a lot. We have made up a craaaazy function, f(x). Its picture is on the next page. For each hsted value of x, A through K, look at f(x) and estimate the sign of f(x), f (x), and f"(x) at each point. Enter one of the following symbols on the chart: + (if positive), - (if negative), 0, and ? (if it does not exist). Answer at the end of this chapter! ! X A B C D E f(x) f(x) f"(x) H K You are now ready for your first curve sketch involving max and min inflection points. Example 24 — y = f(x] = X* - 4x* Take three derivatives and factor each equation. y = X* - 4x^ = x^(x - 4) Y = 4x' - 12x^ = 4x^(x - 3) y" = 12x^ - 24x = 12xfx - Z] y"' = 24x-24 = 24(x-l) Intercepts: y = (0,0), (4,0). max and min: y' = 0. x = 0, x = 3. To find the y values, you must substitute each x value into the original equation, since that is the curve we are sketching. We get the points (0,0) and (3,-27). Note \ t (0.0) (4.n) • (5,-16) (3-37) It is almost always easier to find the y value from the factored equation of y. We will use both tests to test points. However, when you do the problem, once you get an answer for one point, go on to the next point. We first substitute x = 0,3 into f"(x) = 12x(x - 2). f"(0) = 0, so this test fails, f"(3) is positive, so (3,-27) is a minimum. TEST 2 f (x) = 4x2(x - 3). f (0+) is negative and f (0) is negative. (0,0) is neither a max nor a min. f (3) is negative and f (3+) is positive. Again, (3,-27) is a minimum. Remember, always substitute into the factored form. When testing, do not evaluate. You are only interested in the sign of the answer. Possible inflection points f"(x) = = 12x(x - 2). x = 0, x = 2. Substituting back into the original equation (factored) for y, we get the points (0,0) and (2,-16). Let us use both tests. TEST 1 f "(0) and f "(2) are both not 0. Therefore (0,0) and (2,-16) are inflection points. TEST 2 f"(0) is positive and f"(0+) is negative. Different signs. (0,0) is an inflection point, f"(2") is negative and f"(2+) is positive. Different signs. (2,-16) is an inflection point. What happens to the ends? For large x,y = (approximately) = x'^. f(100) is positive and f(-100) is positive. Both ends go to plus infinity. Now connect the dots. Example 25 — f(x) = y = x^ - 13x^ = x^{x^ - 12) = x^[x- V^Jtx + VT2} f (x) = 4x' - Z4x = 4x[x^ - 6) = 4x(x- Vti)fx + \/e} nx) = 12x'-24 = 12(x=-2) = 12(X- V2)(x+ Vi) f ^"[x) = 24x Intercepts: Y = (0.0), (Via^O). (-VT2.O). Max, min possibles: y' = 0, x = 0. V^. ~ V^. Substituting for y values in the original equation, we get fO^O), ( V 6j-36), (-V R,-3fil Testing, f^''( Vs) is positive. t"V 6,-.^(i) is a minimum. f"f-V fi) is positvie. (-V6 -SG) is a minimum. f"(0) is negative. (0,0) is a maximum. Possible inflection points: y" = 0. J^ = V2, -V2. Substituting for the y value into the original, we get the points {V2 -20) and (-V2 -20). Testing for inflection points, f'"(V2). f "^(-V2) ^ 0. Both [V2 -20) and [-V2,-20) are inflection points. The ends f(100) and f(-100) are positive. Both ends go to plus infinity. The sketch in two stages is as follows: \ f (0.0) i-M,o] (yi5,o) i-J5,-~3a) • *fJ5;-aoj fy^-36) Example 26 — y = f{x) = 9-x= -l<x<4 y = 9 - X^ - (3 - >i:)(3 + k) y' = -2x y'* = X intercept: y = (3,0). Note (^-■7) X = -3 is not in the domain. y intercept: x = (0,9). Possible max, min: y' = x = 0. We get the point (0,9). (0,9) is a maximum since y" is always negative. No inflection point since y" is never equal to 0. Since the domain is finite, we must get values for the left and right ends of x = -1, y = 8 (-1,8). x = 4, y = -7 (4,- 7). We see that (4,-7) is an absolute minimum, (-1,8) is a relative minimum, and (0,9) is an absolute maximum. We will examine several examples with fractional exponents. We might get cusps or a second kind of inflection point. Given y = f(x) l.lf(c)l = infinity. 2. f(c) exists [f(c) is some number]. 3. A. f (c) is negative and f (c+) is positive, and the cusp looks like this: ^>/r c- c r B. f (c ) is positive and f (c+) is negative, and the cusp looks like this: -JK (T C C As we will see, if f (c ) and f (c+) have the same sign, we will get another kind of inflection point. Example 27 — y = f(it) = (x-2r"+3 ''«=(l)(-i>-^'"'=255r^ We will test for the cusp first or second kind of inflection point, l.f (2)= infinity 2. f(2) = 3 (2,3) 3. f (2) is negative, f (2+) is positive. Cusp with the point down. X intercept: y = 0.-3 = (x - 2)'"^ (x - 2)"^ = +(-3)"S which is imaginary. No x intercepts, y intercept: x = 0. y = (-2)4" + 3 [0,(-2)4'5 + 3] = A. No round max or min and no inflection points, f(1000) is positive and f(-1000) is positive. Both ends go to plus infinity. The sketch: Example 28 — Intercept (0,0). No round max or min and no inflection points. l.lf(0)l = infinity 2. f(0) = 3. f (0), f (0+) both positive. Second kind of inflection point. 4. f( 100,000) positive and f(- 100,000) negative. The right end goes to plus infinity and the left end goes to minus infinity. The sketch: Instructors have been known to give messy examples. While I know yours would never give one, here are two that will take time. Example 29 — r-4 = 4 fx" + l]'(-2x] - (1 - x^l2(x^ + l]f2x] -2x(x^ + 1)\W + 1] + 2(1 - x*)J ~3X[3 - x^) fx= + 1)^ No third derivative.., too messy! fx^+l]^ Intercept (0,0). No vertical asymptote since x^ + 1 = has only imaginary roots. Horizontal asymptote y = since the degree of the top is less than the degree of the bottom. Possible max, min: y' = 1 - x^ = 0, x = +1. Substituting in the original, we get (1,2) and (-1,-2). f"(l) is negative. (1,2) is a maximum, f"(-l) is positive. (-1,-2) is a minimum. Possible inflection points: y" = 0, -8x(3 - x^) = 0. x = 0, ±\^. Substituting into the original, we get the points (0,0), (V:iA-3], t-V3 -Vi). By the messier test, all three are inflection points. If you liked that one, you'll love this one. Example 30 — -1 < \ < 5 y = x^'^tx^ - 8x + 16) = x=''(x - if = x''' - &x^'^ + 16x^'' ^-ilh-fV-^fi"-" =l|W-.x.4,.i*i^*:LiI r-{fy'-i^y--{f) 3(-4fJ = &(5x^-10x-4) 9x MJ There are no asymptotes. Intercepts: y = (0,0), (4,0). y' = 0, x = 1,4. Substituting in the original, we get (1,9), (4,0). f"(l) is negative. (1,9) is a maximum, f"(4) is positive. (4,0) is a minimum. Possible inflection points: y" = 0. Using the quadratic formula and then substituting these values into the original, we get approximately (2.34,4.86) and (-0.34,9.23). These are both inflection points. Test for cusps: If (0)1 is infinite, f(0) = 0. f (0) is negative and f (0+) is positive. Cusp points down. Left-end and right-end substitution: f(-l) = 25 (-1,25), f(5) = 52". The point is approximately (5,2.92). Whew! ! ! ! Let us sketch: Other Aids Symmetry: 1. f(x) = f(-x). Symmetrical about the y axis. 2. f(x) = -f(-x). Symmetrical about the origin. 3. g(y) = g(-y). Symmetrical about the x axis. This is only found in graphing curves that are not functions of x. Example 31 — y axis symmetry v; Example 32 — Symmetric origin Example 33 — X axis symmetry gfyl = t For completeness, we will sketch a curve that is not a function of x or y. Example 34 — 3x' ' ~ y ^ x^-l y = i. Intercept is (0,0). It turns out to be an isolated point since for all x values between -1 and 1, except x = 0, is negative, making y imaginary. Vertical asymptotes: x = 1, x =-1. Horizontal asymptotes: If we could talk about a degree, the degree of the bottom is 1 and the degree of the top is 1. Horizontal asymptote is Y = - V3, Symmetry with respect to x,y axes. The sketch is as follows: (0,0) t = -< I That's about it. You could write a whole book on curve sketching, a large book. I hope this gives you a solid idea on how to sketch curves. Sometimes, you might like to know about the curve without actually drawing the curve itself. What questions may you ask? Well I'll tell you. Example 35 — For y = x^ - 3x-, where is the function increasing and decreasing? What about its concavity? y increases if the slope of y' is positive. Look at any graph that increases. Solving this quadratic inequality, we find that the curve increases if x > 2 or x < 0. That would mean y decreases when < x < 2. Before, we found that a curve faces up if y" > 0. y" = 6x - 6 > if x > 1, which is where the curve is up, and y" < if X < 1, where the curve is down. You might try to do a sketch of this one on your own. If so, don't look at what follows. Intercepts: (0,0), (3,0). Max, min: (0,0) is the max, (2,-4) is the min. Inflection point: (1,-2). Right end to plus infinity and left end to minus infinity. Polynomials have no asymptotes. And the sketch is... Answers Answers to the problem on page 68: X A B C D E (a.-^) G H K f(x) f(x) f"(x) Chapter 4 Word Problems Made Easy ... Well, Less Difficult Word problems are not difficult because of the calculus. In fact, in more than 90% of word problems, the calculus is very easy. The problem is that few precalculus courses properly prepare you (or prepare you at all) for the setting up of the word problems. As you will see, the algebra is the difficult part of the problems. The best we can do is to work out a number of word problems that are found in many calculus books. Many of the techniques involved in these problems are applicable to other word problems. max, min The theory of these problems is simplicity itself: to find a maximum or a minimum, take the derivative, and set it equal to 0. In general, there is a picture to be drawn. Always draw the picture! Next we have to assign the variable or variables in the problem. Hopefully, by doing enough good examples, you will see how this is done. (I will try my best — you must try your best, which means don't panic.) Most of the problems will have two equations in two unknowns. One of these is equal to a number. You will solve for one of the variables and substitute it in the second equation. In the second equation you will take the derivative and set it equal to 0. Let's start with an easy one. Example 1 — A farmer wishes to make a small rectangular garden with one side against the barn. If he has 200 feet of fence, find the garden of maximum area. First we make what I call my crummy little picture. You only have to make the picture good enough so you can understand what you drew. Second, we assign variables. In this case, this task is easy. The two equations involve the area and the perimeter. A = xy. p = 2x + y. The trick, if you could call it a trick, is that the barn is one side of the rectangle. The perimeter involves counting y once. p = 200 = 2a H- y so y = 200 - 2x A = xy ^ x(200 - 2x] = 200x - 2x^ A'=200--4x = x = 50 y = 200-2x = lOO The area is x times y, which is 5000 square feet. Sometimes the problem only asks for the dimensions, in which case 50 feet and 100 feet are the answers. To see whether this is truly a max, we find A"(50). Since A" = -4, x = 50 is a maximum. We will check only a few times. Sometimes it is too messy. Usually it just takes more time than I feel like taking. Example 2 — A Texas rancher has an 800- square-mile rectangular plot of land he wishes to divide into three equal regions, as pictured below. A. Find the dimensions so that the rancher uses the least amount of fencing. B. If it costs 4 times as much per mile to fence the outside, find the dimensions to minimize the cost. J J There are two separate problems here. They are done similarly. It is necessary to do them separately, of course. A. The area in each case equals length times the width. A = xy = 800. So y = 800/x. The fence length f = 2x -i- 4y = 2x + 4(800/x) = 2x + 3200x-i. f'= 2 -3?00x-^ = 2-^^ = 2x* = 3200 f2 = 1600 x = 40 y = auu/x = zo B. We do not know the cost. So let C equal the cost per mile of the inner fence and 4C the cost per mile of the outer fence. (C is a constant, which we don't know.) The cost of the fence equals the number of fencing miles times the cost per mile. Miles of Fence X Cost per Mile =Total Cost Outside fence 2x + 2y 4C 4C(2x + 2y) Inside fence 2y C 2Cy Total cost T = 4C(2x + 2y) + 2Cy = 8Cx + lOCy But A = xy = 800. So y still equals 800/x. Substitute into T. T = aCx + lOCCBQU/x] = 8Cx + SOOOCx = 8000C T = BC- aooocx-^ = ac = BCx^ = eoooc x= = 1000 X = loVio miles y = flOD/x = 800/loVlO = 8 Vlo miles Example 3 — An open box with a square bottom is to be cut from a piece of cardboard 10 feet by 10 feet by cutting out the corners and folding the sides up. Find the dimensions that will result in the largest volume. 10 i t K \ i X ( t la 'a-sti 10 -a. The most difficult part of this problem is the picture, which is given above in three steps. The volume of a box is length times width times height. V = (10 - 2x)(10 - 2x)x = 4x' - 40x* + 100t< V' = l2x*^eOx + 100 = 4(3x* - 20x + 25) = 4[3x - 5](x - 5] = X- 5/3 and 5 We reject 5 since it will give a volume of 0, a minimum. V"{x) = 2ix - 30 = 24l^\ " 80 - -40 indicating a maximum. The length and width are each 10 - 2x = 10 - 2(5/3) = 20/3. The box we are looking for is 20/3 by 20/3 by 5/3 feet. Let's do one more box problem. Example 4 — A box has a square base and no top. A. Find the minimum surface area needed if the volume is 4 cubic feet. Let's also do the related problem — B. Find the maximum volume if the surface area is 12 square feet. As before, the volume = (l)(w)(h). With a square base, V = x^y. A box with no top has five surfaces — a square bottom and four sides, all of which have the same dimensions. The surface area S = x- + 4xy. Let's do A. V = X V = 4 y = ^ S = X* + 4xy = x^ + ^''f ~r ] = ^^ ^^ 6x"* 1 fi S' = 2X - Wx-^ = 2X - -T = 2x^ = 16 x' = a x = 2 y = A = i The box is 2 by 2 by 1 feet. S = x^ + 4xy = (2)2 + 4(2)(1) = 12 square feet. S"= 2 + 32x3. s"(2)= 2 + 32/8 = 6, which is positive, indicating a minimum. Now let's do B. In this case we are maximizing V = x-y if the surface area S = x^ + 4xy = 12. y = (12 - x2)/4x. V = x^y = X* 12 " x' x(12 - x'J „ A V' = 3- 3x^ y = 4 12 ^x' 4x 4 ^^^ 4 3j(^ = 12,x* = 4, x = 2 4x = 1 The box is 2 by 2 by 1 feet, and its maximum volume is 4 cubic feet. Of course, we knew this from the first part of the problem. To check this, V" = -3x/2. V"(2) = -3, which is negative, indicating a maximum. Let's try one that really doesn't have a picture. Example 5 — An orchard has 50 apple trees per acre. The average number of apples per tree is 990. For every additional tree per acre planted, each apple tree will give 15 less apples. Find the number of additional trees per acre that should be planted to give the largest number of apples per acre. The total number of apples equals the product of the number of trees and the number of apples per tree. If we add X trees, we must subtract 15x apples per tree. There are x + 50 trees and 990 - 15x apples per tree. The total apples A = (x + 50)(990 - 15x) = 49,500 + 240x - 15x2. A' = 240 - 30x = 0. x = 8 trees. Note This problem is very similar to the minimizing of the cost of the fencing in Example 2, part B (the multiplication part). To become good at these problems, you must notice similarities in problems and use similar techniques in the problems. Then and only then will you become dynamite in these problems. Also note that no matter how good you get, there will always be some problems that will give you trouble. Example 6 — A printer is to use a page of 108 square inches with 1-inch margins at the sides and bottom and a 1/2-inch margin at the top. What dimensions should the page be so that the area of the printed matter will be a maximum? 1,5 The area of the whole page is xy = 108. So y = 108/x. The area of the printed matter A = (x - 2)(y - 1.5) = xy 1.5x - 2y -I- 3. Substituting y = 108/x, we get A = lll -1.5x- 2l6x ^ -(^) A' = -1-5 +216X ^=-1.5 + 216 = 1.5x* = 2l6 x^ = 144 x = 12 W8 y = y = 9 The page should be 12 by 9 to have the largest amount of print. Example 7 — The strength of a rectangular beam varies jointly as the width and the square of its depth. Which rectangular beam that can be cut from a circular log of radius 10 inches will have maximum strength? If we let X be the width and y be the depth, we can write the equation without a picture. The strength S = kxy^; k is an unknown constant. To find a relationship between x and y, we need a picture of the log. One of the things we always look for is the Pythagorean relationship. In this case x^ -1- y^ = 400 (the square of the diameter). In the original equation, it is easier to solve for y-, because if we solved for x we would have a square root, which would make the derivative much more difficult and sometimes impossible to finish. Therefore y= = 400 - K* S = bcy^ = kx[400 ~ x^] = 400kx - kx* S' = 400k - 3kx^ = 3kx= = 400k x'= 400/3 20V3 x = — - — 400 800 ^ 3 3 20V6 inches 20 Vh 20\'^ The dimensions to give the maximum strength are 3 inches wide and '-i inches deep. Example 8 — Find the shortest distance from y^ = 2x to the point (2,0). Although we will draw the picture, it is not truly needed here. Distance means the distance formula. A trick that can always be used is this: instead of using the distance formula (which involves a square root), we can use the square of the distance formula (since the distance is a minimum if the square of the distance is the minimum of the square of all the distances). From the picture, we see that two solutions are possible. Let the square of the distance be H = (x - 2)- + (y - 0)^ = x- - 4x + 4 + y^ But on the curve, y- = 2x. Therefore H = x^ - 4x + 4 -I- 2j( = x^ - 2x -I- 4 H' = 2x-2 = x = l y^ = 2[l) so y = ±V2 The closest points are Cl,i V2]. To find the exact minimum distance, substitute in the distance formula. The next is a standard-type problem, and many similar kinds are found in all calculus books. Example 9 — Find the dimensions of the largest rectangle (in area) that can be inscribed in the parabola y = 12 - x^ , with two vertices of the rectangle on the x axis and two vertices on the curve y = 12 - x^ . Since y = 12 - x- is symmetric with respect to the y axis, the inscribed rectangle is also symmetric to the y axis. From the picture, the height of the rectangle is y and the base is x- (-x) = 2x. The area A = 2xy. Since the point (x,y) is on the curve, y = 12 - x^. Sooooo... A = 2xy = 3x[l 2 - x') = 24x - 2x* A' = 24 -6x^=0 x=+2 only +2 is used — it is a length y=l2-x^ = 8 The area is 2xy = 2(2)(8) = 32. Example 10 — A rectangle is to be inscribed in a right triangle of sides 6, 8, 10 so that two of the sides are on the triangle. Find the rectangle of maximum area. (0,«) F \ E : [&.0) F A \ A J V- E ■b c We must note three things in this problem. First, we must set up the triangle in terms of an x-y coordinate system, with the legs on the axes. Second, we note that point B, wherever it is, is represented by the point (x,y), so that the area of the rectangle A = xy. The third thing we must note is that the way to relate x to y is the similar triangles BCD and ACE. Since EC = 6, and ED = x, DC = 6 - x. The proportion we get is BD AE y DC EC "^ 6-x _ 8 ~ 6 Solving for y, we get 8(e - x] 4x --i^-f)-—^ A'=.-f.O v.. ...-^(^' V r = & The rectangle of maximum area is 4(3) = 12. Example 11 — Given a 68-inch string, divide it into two pieces, one a square and one a rectangle whose length is twice its width, and find the minimum and maximum possible total area of the figures. Let one piece be x. The other one will be 68 - x. If X is the perimeter of the rectangle, then x = 6w. So w = x/6 annnd / = 2w = x/3. The area of the rectangle is x2/18. The perimeter of the square is 68 - x. Since p = 4s, s = p/4 = (68 - x)/4. The area of the square is (68 - x)V16. The total area A = x2/18 + (68 - x)2/16. dA/dx = xVQ -(68 - x)/8 = 0. Cross multiplying after bringing the negative term to the other side, we get 8x=9[63-x) ex = 6l2-9x I7x = 612. Sooo x = ;J6, The area would be 362/18 + (68 - 36)V16 = 72 + 64 = 136. But there are two other possible values for the max and min: if the string is uncut, the whole string may be a rectangle or the whole string might be a square. If the string is a square, s = p/4 = 68/4 = 17. A = s^ = 289. If the string is a rectangle, w = p/6 = 68/6; / = 2w = 68/3. Note In some books, the string is cut into a square and an equilateral triangle, or sometimes yech! a square and a circle (quite messy). 63 . 68 A = lxw w = — times — =256,9 3 6 The largest number is the maximum area, when the figure is a square (289). The smallest number is the minimum area, when the string is cut (36" for the perimeter of the rectangle, 32" for the square, minimum area = 136). So far we have limited the problems to the relatively gentle. However, there are some pretty nasty problems in some books. Let's try four of them. Example 12 — Joan's house has a window in the shape of a rectangle surmounted with a semicircle. For a given perimeter p, what are the dimensions of the window if it allows the maximum amount of light? We first note that maximum light means maximum area. If we are careful and a little clever, the problem is messy but not too bad. We note we must maximize the area, which is a rectangle plus half a circle. A = Lw + = Lw 4- = Lw -I 22a The perimeter consists of three sides of the rectangle plus the circumference of the semicircle. p = L + 2w + -^ = L + 2w + tc[L/2} = [1 + m^2)L + 2w We then solve for w and substitute in the formula for A. We get Setting dA/dL = 0, we get L = 2p/(4 + tt). From the formula for p we get 2w = 2p/(4 + tt) !!!!!!!!!! ! The maximum light occurs when the length equals twice the width! !!!?!!! There are many problems where we are asked to find the maximum surface area or volume of a figure inscribed in a sphere or other shape. We will look at a messy one. Example 13 — Find the dimensions of the cone of largest volume that can be inscribed in a sphere of radius R. First we note the symmetry of the cone inside the sphere. We note that the variables are r and h, the dimensions of the cone, which are to be found. The only known in the problem is the radius of the sphere R, which is a given number. In the second picture is the way h, r, and R are related, again a right triangle. [h-K)Hr^=R" or i^ = 2hR - h^ Since the volume of a cone is (l/3)7i;r2h, it will make a much easier problem to differentiate if we solve for r^. Thus V = rth[2hR-h'] n[2h'R-h') 3 3 V'=(Tt/3){4hR-3h^]=0 3h' = 4hR h=4R/3 We can then substitute into the expression for r-, and then take the square root to get r. At this point you might cry, "No more. No more!!!!" However, there are two other problems which are in most books. I think you will appreciate seeing them. Example 14 — A fence is 8 feet tall and is on level ground parallel to a building. Find the shortest ladder that will go from the ground over the fence to the building if the fence is 1 foot from the wall. We will do this problem two different ways; neither will delight you, but both are very instructive. The ladder L is AE. BC = 1. Again we note similar triangles ABD, ACE. We will let AB = x. By the A t C Pythagorean theorem, AD = (x^ + 64)"^ By similar triangles. AB AC = AE °^ X x + l AD [x* + 64)^'* L L = = (x^ + 64)''= (x^+64V'^ X = U "" 1 X^ fx^+64}'^ (xVe4r'* W + G4)^'= x' _ L' = X 1 (x^ + Mr^ x' ° [x^ + 64)'" U^ X + 1 fx^ + 64 r^ (X^ ^ 64)^'^ x^ X^(x+lJ = ((x' + 64)''=]' x'+x' = x= + 64 x^ = 64 x = 4feet!!! ^ (x + l](x^ + G4y'^ _ (4 + 1J[16 + 64)^-' _ 5[e0)^^^ X ~ 4 ~ 4 = sVs feet K "B 1 C Yeeeow!!! The second solution is not much nicer. We will do this with trig functions in terms of the angle A. cot A = AB/8 (always try to get the unknown on top). AB = 8 cot A. AC = 8 cot A + 1. sec A = AE/AC. AE = L. L = AC sec A = (8 cot A + 1) sec A = 8 esc A + sec A (using trig identities). = ^-r- = -e cot A CSC A + tan A sec A dA 8 cot A CSC A = tan A sec A cos A 1 sill A 1 3 sin A sin A cos A cos A sin' A cos* A = 3 tan^ A = 3 tan A = 2 This says the ratio of DB to AB is 2: 1. DB = 8 feet; AB = 4 feet. Therefore AC = 4 + 1 = 5. By the same reasoning, EC must be 10 feet. L = [5^ + 10=)='^ = (125]^'^ = sV? feet!!! We finish the max and min problems with what I consider the ultimate in distance problems — not the hardest, but one of the slickest. Example 15 — A man is on an island which is 4 miles from the nearest point on a straight shoreline. He wishes to go to a house which is 12 miles from this nearest point. If he rows at 3 miles per hour and runs at 5 miles per hour, find the shortest time to reach the house. Insight: If he rowed faster than he ran, he would have rowed straight for the house. If he ran muuuch faster than he rowed, he would row straight for the shore and then run. So we are looking for the point on the shore where he must land. The picture is below. X A* t \h Id The unknown landing point P is x miles from C, the closest point. We get IP by the Pythagorean theorem. Since CH is 12, PH is 12 - x. We need to set up an equation for time, where time = distance/speed. Distance Speed _ Distance Speed from I to P (water) (x^ + 16)1'2 3 (x2 + 16)1/2/3 from P to H (land) 12-x 5 (12-x)/5 Total time t = -^^ — + . 3 5 5 X 1 5x = 3{x^ + 16)^^^ 25x^-9^^+16) 25x^=^X^ + 144 lex^ = 144 x^ = 9 X = 3 t = -^ — + — = — =3 hours 28 mmutes! 3 5 15 Let us now tackle other kinds of word problems, which should be a little easier. Related Rates The rates we will talk about refer to how things change with respect to time. Related rates are how the rates of two or more variables are connected with each other. Before we try some problems, we will give an equation and differentiate it with respect to time. Suppose we are given Example 16 — z = x^ + y^ X, y, and z are variables and all are functions of time. What we will do is differentiate the equation implicitly with respect to time. How does this differ from before? When we were given y = (x^ + l)'"" , we let u = x^ + 1, and dy ^dy du dy^^^^^„ d;^^^^ dx du dx du dx so ^ = 100u*« 2x = 20U(x* + l]«x dx But if y = ui°° and we did not know what u was (only a function of x), dx dx And if y = u'"" and u was a function of t (which we did not know), dt dt That's all there is to it. Let's get back to z = x^ + y^ Differentiating with respect to time, we get dt '^ dt ^^ dt How many variables are in this equation? Five! ! x, y, dz/dt, dx/dt, and dy/dt. In order to solve this equation, four of the variables must be given or found from the problem. Let's try one more. Example 17 — x^y' + tan X = v^ J ., ji cly , . . dx , dx . dv Now we are ready for related-rates problems. In general these problems are easier than max and min problems since the most difficult part of the problem, the original equation, is either given or much easier to find than before. Example 18 — The radius of a circle is increasing at 2 feet per minute. Find the rate at which the area is increasing when the radius is 10 feet. We are given that dr/dr = 2 and we are looking for dA/dt. All we need is to know the area of a circle, differentiate it with respect to time, and substitute to get the answer. A = Tir^ dA/dt = 27rr dr/dt = 27t;(10)(2) = 40:1; square feet per minute. Are all the problems this easy? Well, no, but they are not too much more difficult. Example 19 — A girl flying a kite plays out a string at 2 feet per second. The kite moves horizontally at an altitude of 100 feet. If there is no sag in the string, find the rate at which the kite is moving when 260 feet of string have been played out. We first have to imagine a right triangle with the vertical distance, the horizontal distance, and the string. We then must determine which are the constants and which are the variables. The only constant is that the kite is always 100 feet high. (I wonder how they keep the kite exactly 100 feet high?) Although we are given the length of the string, it is only at a particular instant. The string length, s, and horizontal length, x, are changing. The equation is x^ + 100^ = s^. Differentiating with respect to time, we get dx ds dx ds 2X— ;— =2S-r— or X— ;— = 5-;— dt dt dt dl ds/dt is 2. Since s = 260, the Pythagorean theorem tells us that x = 240 feet. (You should have memorized the common Pythagorean triples. This is a 5,12,13 right tri angle, or more precisely, a 10,24,26 right triangle.) Substituting in dx dij dt dt we get (MO) ^ - t2G0)(2). -T- = -T- feet per second, dt B Example 20 — Sand is leaking from a bag and is forming a cone in which the radius is 6 times as large as the height. Find the rate at which the volume is increasing when the radius is 3 inches and the height is increasing at 2 inches per minute. We know that the volume of the cone is V = (l/3)7i;r-h. There are two variables, but we also know that r = 6h. We can write V in terms of one unknown, but which unknown? Since dh/dt = 2 is given, let us write everything in terms of h. ^ = 363di^[^] r=6handr = 3:h = '.^ dV -r— = ZGn[V2Y[Z] = 1Bk cubic inches per minute Example 21 — When a gas is compressed adiabatically (with no gain or loss of heat), it satisfies the formula PV "^ = k; k is a constant. Find the rate at which the pressure is changing if the pressure P is 560 pounds per square inch, the volume is 70 cubic inches, and the volume is increasing at 2 cubic inches per minute. PVi-4 = k. Differentiating with respect to time, we get P(1.4V.4 dV/dt) + V ^ dP/dt = 0. It looks messy at this point, but fear not. dP/dt = - i,4PVndV/dt] -1.4P(dV/dO V V Substituting, we get dP/dt = ^rr = -^2 A pounds per square inch 70 per miriute Example 22 — At 7 a.m. a plane flies over the city going east at 600 mph. At 9 a.m. a plane flies over the city going north at 350 mph. At what rate were the planes separating at 1 1 a.m.? The key is to first make a drawing at the middle time, 9 a.m. The first plane is going east at 600 mph x 2 hours = 1200 miles east of the city and keeps on going east. The distance is 1200 + x. At 9 a.m., the other plane is over the city and is going north, distance + y = y. Let z be the distance between the planes. Find d/dt. dz , , dx dv The separating speed 11AM 700 3500 dz _ (x + l200}dK/dt + y dy/dt dT" z dx/dt = 600; 9 a.m. to 1 1 a.m. = 2 hours x 600 = 1200 = x. dy/dt = 350; time = 2 hours x 350 = 700 = y. Sticking numbers in the 1 1 a.m. picture and using old Pythagorus, we get z = 2500 (7,24,25 right triangle). dz _ [1200 + 12QQ](6Q0] + f7QQ](35Q] dt ~ 2500 = 674 mph, the se plating speed Finally, sometimes you need two different related rates equations to solve the problem. Example 23 — Find the rate at which the volume changes with respect to time when the change of surface area with respect to time is 600 square inches per hour and the volume is 1000 cubic inches. Now V = x3. So dV/dt = Sx^ dx/dt. We need to know both x and dx/dt, but we are given neither directly. However, V = x^ = 1000. Sooo x = 10 inches. We are given dS/dt. So the surface area of a cube S = 6x2. dS ^^ dK dS ^^^ "rr- = 5 inches per hour. Finally ... dV dx -^- = 3x* ^- = 3(10)^ (5) = 1500 cubic inches per hour. (It (It The Gravity of the Situation The last type of word problem we will deal with is throwing an object into the air. There are three variables that determine how high an object goes. One is gravity. On this planet, gravity is -32 feet per second squared (or - 9.8 meters per second squared); the minus sign indicates down. The second is the initial velocity (positive if the object is thrown upwards, negative if the object is thrown down, and zero if the object is dropped). The third is the initial height (it goes higher if I throw something from the Empire State Building than from the ground). Interestingly, the weight has no bearing. If I give a rock or a refrigerator the same initial velocity (which I can't, of course ... or can I?), both will go just as high. Friction, winds, etc., are not included. The following symbols are usually used: Vol initial velocity — the velocity at time t = y, : initial height — the height at time t = The initial height is either zero, the ground, or positive. It is very difficult to throw something upward from under the ground. The acceleration is dv/dt. So the velocity is the antiderivative of the acceleration. The velocity is dy/dt. The height y is the antiderivative of the velocity. Example 24 — On the planet Calculi, gravity is 20 feet per second squared. A ball is thrown upward — initial velocity 40 feet per second, initial height 50 feet. A. Write the equation for the height. B. Find the ball's maximum height. C. Find the velocity when the ball hits the ground. A. v' = a = -20 (gravity is down). Take antiderivative — V = -20t + C,. v(0] = 40, sooooo y' = V=-20t + 40 y(0) = 50, sooooo the equation for the height is y - -lOt^ + 4at + 50. B. Throw something lightish into the air straight up. You see that the object stops at its maximum height. This means v = -20t + 40 = 0. t = 2. Substituting into the equation for the height y, we get y = -10(2)2 -i- 40(2) -i- 50 = 90 feet, its maximum height. C. The ground, as noted before, is y = 0. So = -lOe + 40t + so = -10[e - 41 - 5) = -io(t - 5)[t -I- n Rejecting t = -1 (negative time is before the object is thrown upward), we get t = 5. Substituting t = 5 into the velocity equation, we get ... V = -:;0(5] + 40 = -60 fest y«r Second where the minus sign indicates that the object is going down when it hits the ground. Note Since we live on the planet Earth, it would be a good idea to memorize the formulas for throwing an object upward: y = -16t^ -i- Vot -i- y, in feet and y = -4.9t- -i- v,t -i- y, in meters. Chapter 5 Integral Applications Areas We would like to explore some applications of the integral. The first is the area between two curves. Suppose we have two functions f(x) and g(x), where f(x) is always greater than or equal to g(x). Its picture might look like this: We are going to add these rectangles up. One rectangle is represented by the height times the base = [f(x^,) g(xi)]Axt. If we add them up and take the limits properly, we get f [ft^)-g(x)ldx Example 1 — Find the area between y = x + 1 and y = 3 - x^. We first draw the curves to see which is the top curve and which is the bottom curve. We next find the limits of integration, the left- and rightmost x values, by setting the curves equal to each other to find the points where they meet. X + 1 = 3 - x^ , x^ + X - 2 = 0, (x + 2)( X - 1) = 0. So X = -2 and 1. We then set up the integral top-curve -minus- bottom-curve dx from -2 to 1 . ^ T t 3-tJ X' X" = — :: :r + ^^ 3 2 (-2)^ [-2r + 2(-2) Sometimes it becomes advantageous to set up the rectangles horizontally. We have h(y) and j(y), where j(y) is always larger than or equal to h(y). The picture would look like this: fib) - ^b) The area of each rectangle would again be the base times the height = [j(yk) - h(yi)] Ayi. If we again properly take the limits, we get f f)(y) - h{y)l dy Example 2 — Find the area between the curves x = y^ and x = 3y + 4. If we try to make the rectangles as before, the top curve is the parabola, which is OK, but if you look very closely there are two parts of the bottom curve, a little part of the bottom of the parabola and the straight line. We would have to split the region and set up two integrals to find the area. However, the right curve is always the straight line and the left curve is always the parabola. We take right-curve-minus-left-curve dy. To find the lowest and highest y values, we again set the curves equal to each other, y^ = 3y -i- 4, y^ - 3y - 4 = 0, (y -i- l)(y- 4)=0. y = -l andy = 4. s^ 3^ -1-^ _f^[(3y + 4)-y^|dy = -^ + 4y-^ =P 4^ 2 ^*'^'-T 5t!^.4(-i)-i^ 125 Sometimes splitting the region cannot be avoided. We will do a problem that must be split no matter which way you draw the rectangles. We will do it two ways. With experience you may be able to tell which way is better before you begin the problem. Example 3 — Find the area of the region bounded by y = x to the point (2,2), then the curve y = 6 - x^ from (2,2) to (4,-10), and then y = -5x/2 from (4,-10) to (0,0) where it meets the curve y = x. Region I ■^ 7x , 7x* /:hm]-=/:f-' ' 7[2)' = 7 Region II (6-x^) 5x dx = 6x 3 4 Total area is 7 + 8 1/3 = 15 1/3. ^6(4)-^.^-U-?.^l = au Region III r[(6-yr-yldy=-|(6-yr-^r Jo 3 2 L(, -]-[-f [e-or-oj 2 2^" 3 2 = il6^^^^ — Region IV [[6 - y)^'^ - (-2/5)y) dy = -|f6 - y}*'= + ^ r<i -lO = -| (G - or + u| - -| [6 - (-10)]^'= + ■ io 3 3 Total area - - 0'^= 22 68 f«-f-- The two answers agree. The area is 15 1/3. The last example for us is a region where the curves cross each other (the top curve becomes the bottom and the bottom becomes the top). This is another reason you must draw the region. Example 4 — Find the area of the region between y = x and y = x^ - 3x. To find the limits, we set x^ - 3x = x. x^ - 4x = 0. x(x + 2) x (x- 2) = 0. So x =-2, 0, and 2. In region I, the top curve is the cubic. So we get [(x^ - 3x) - (x)] dx from -2 to 0. In region II, we have the straight line as the top curve. We get [x - (x^ - 3x)] dx from to 2. Region I r. (x^-4x)dx=^-2x' I 4 '^=a-(i:|^-2(-2)=] = 4 Region II J {4x^x'Jdx=2x' ,4 ri 2(2)= 0=4 The total area is 4 + 4 = 8. Note If we noticed that the two regions have the same area, we could have found the area of either one and doubled its value. Volumes of Rotations The next topic is finding volumes of rotations. This is very visual. If you see the picture, the volume is easy. If not, this topic is very hard. Imagine a perfectly formed apple with a line through the middle from top to bottom. We can find the volume two different ways. One way is by making slices perpendicular to the line (axis). (We will do the other way later with an onion.) Each slice is a disc, a thin cylinder. Its volume is Tir^h, where h is very small. If we add up all the discs, taking the limits properly, we get the volume. We will take the same region in six different problems, rotating this region differently six times and getting six different volumes. J^ ^ 1 [^,3) y'^ K. tM j= Example 5 — Find the volume if the region R is rotated about the x axis. The volume of each disc is Tir^h. h = Ax. r = y. So r^ = y^ = x; x goes from to 9. V - f* j:r= db = Tt [' x dx = TtX.' QU The integrals are almost always easy. Once you understand the picture, all will be easy. But it takes most people time to study the pictures. Let's get back to our apple. Suppose we core our apple. When we take slices perpendicular to the axis, we get rings. The area of a ring is the area of the outside minus the area of the inside. The volume of each disc is Again, h is small. Example 6 — Find the volume if our region is rotated about the y axis. f. ^y' It = q ■I i ■ ----*=/ ^^ = '^ ■^^ = 4^ As you rotate this region there is a hole. The outside radius is always 9 and the inside radius is always the x value. But x = y^. r^ = x^ = y4. V - f [uTi, - ;iif,) dh = jc [' [9^ - y*] dy ■'v =0 ■' = n y -7t Jo 972 K Example 7 — Find the volume of our glorious region if it is rotated about the line x = 9. * * Notice that when we rotate the region about x = 9, there is no hole. Vsect = Tir-h. r = 9-x = 9-y^ r2=81- 18y^ + y^ h = Ay. V=rt I (81 - iay* + y^] dy = 81y-6y'+— n = X 5 646Jt Example 8 — Find the volume if the same region R is rotated about the line x = -1. f^^ ! + !( = ( 4-y ■10- r«i 10 =:-| VflKto - Jt[rout - rDh. r«it = 9 + 1 = 10. fin - 1 + 3t = 1 + y2. r^ = 1 + 2y* + y^ h = Ay, V = finTL^-T^D rfy = It r l^n' - (1 + 2y' + yll dy = ji (99-Zy^-y^)dy = 99y-^-^ = 1t 1152ir Example 9 — Find the volume if our beloved region is rotated about y=5. Vjairtiiiii — IHfuui — FiiJll, r^m — D, liu — b y — iJ X . T\n — V=if [3w^, - nr^) dx = n f (25 -(25 -lOx^'^ +x)] dx Example 10 — And for our final attraction we will take the same region and rotate it about the line y = -2. VsKt - (i^^i - r^Jh. li^ = 2, rot,., - 2 + y - 2 + x 1^1 r^( = 4 + 4x^'^4x. V = f (ftr^t - itrfj dx = n; f [(4 + 4n^'^ + x) - 4) dx = ;rf (4x^'^ + x] dx "3'' x^ + — 2 an 22511 2 n The next kind of volumes we will consider are rotations again, but we will do it a different way. Think about an onion with each layer a whole piece. We will add up layer by layer until we get a volume. We will add up cylindrical shells, tall cylindrical shells. We will see one of these shells, a general picture, and two examples. VahflU = l^^lh - TTrfnh = nhtrou, -I- r,n)(rout - ^i J = 2Tth| (Ai] = Z;i height average radius - thickness This is an example of a rotation about the y axis of the region bounded by y = f(x), y = 0, x = a, x = b. Notice that the axis of the cylinder is the axis which the curve is rotated around. Example 11 — Let us try to do the same region R we had before and rotate it about the y axis. We take the same region for two reasons: (1) you do not have to worry about different curves, and (2) we would like to show that the answers are the same. r = I V = 27: ' average radius - average height - thickness (■9 2n X X^" dx=2JT 4n (g.^ -0) 972T1; 5 ^!IJ2 It Example 12 — We will do our region one last time about the x axis. V = 2;: average radius ■ average height - thickness ^ 2k I y(9 - y^) dy = Zn f (9y - y*) dy _ Qy^ y* ^2 4 3 2n=:2;r -3 2 2 J 8lTt Volumes By Section The last part of this chapter is volumes by section. The sections are not circles but other shapes. Two examples are given. Example 13 — Find the volume of the following figure: Base bounded by y = Vax^ and y = 4 in the x-y plane. Sections perpendicular to the y axis are rectangles with heights of 1/3 the base. --4 A = bh-b(^/ib)=bV3 b = x-[-x] = 2x y = %x^ x= = 4y X = 2y^^* 2x = 4y^^^ = b Volume of each section = (16y/3)Ay * 8(4)' 8(0]' 128 Example 14 — 3 Find the volume of the following figure: Again the base is bounded by y = V^x^ and y = 4 in the x-y plane. Sections perpendicular to the x axis are right isosceles triangles with one of the legs on the x-y plane. A = l^bh = %h^ [isosCBles means two equal lugs] b=4-y = 4-^ A=.l44y = B-x^.^ Volume of each section = (8 - x- + xV32)Ax '/:(« x^-l-— -dx = 8x-— - + — — - 32 / 3 IGO -i e(.2)-i:2:+'-^l'l ^°' 32 15 If you draw your pictures very carefully, this figure is symmetric with respect to the y axis. You can make the problem easier by doubling the integral from to 2. That is, y axis symmetry means ■'-ii ■'a Following the section on volumes of rotations, some of the students wondered if you always have a n when you do volumes by sections. These two additional examples deal with that question. Example 15 — Base x2 + y2 = 9. Sections perpendicular to the x axis are equilateral triangles. Find the volume. ^A^ .Vna. ^■5 ^ -2 4 4 v'a I' (G - x") dx - Vi 9x - ^ = V3(lS-[-18)J = 36V3 Even though the base is a circle, we are adding triangular slices. Since the area of a triangle does not involve k, neither does our volume. Example 16 — Base bounded by y - x'''^ , x = 9, x axis. Sections perpendicular to the x axis are semicircles. Find the volume. •'o -f a J,. 2 2^3-^ B ^ , X dx = — -— 8 Jq 16 6l7t 16 Since we are adding circular slices (well, to be absolutely accurate, semicircular slices), the volume does have a K in it. Chapter 6 Odds and Ends This is the chapter which covers everything we don't want to put in any of the other chapters. Differentials The first topic is differentials. One of the wonderful things calculus does is give techniques for approximations. Since we live in an imperfect world (really?), approximations are very necessary (exact answers are nicest, of course, but are not usually necessary and sometimes not attainable). Later we will get more sophisticated means of approximation. This method is usually the first. (i + itffii +• A*)) Definition Differential — dy = f (x) dx. [y = f(x).] Ay is the actual change; dy is the approximate change. If Ax is small when compared to x, then dy is a good approximation for Ay. In the picture Ax is large. Otherwise you couldn't see the picture. Example 1 — Find the differential dy if y = f(x) = x^ + x^ . dy = f[x)dx = [3x* + 2x)dx Example 2 — A 9-inch steel cube is heated so that each side is increased by 1/100 of an inch. Find the actual change and the approximate change in the volume. V = x^ AV = (S,01]* - 9* = 731.432701 - 729 = 2.432701 dV = V'(x] dx = 3xMx = 3[li)'=[0.0l) = 2.43 Notice the difference between AV and dV, 2.432701 -2.43 = 0.002701, is very small, especially when compared to a volume of 729 cubic inches, since dx = 0.01 is small when compared to x = 9. Example 3 — Approximate "^(53-3 using differentials. We first locate the closest number that is an exact cube: x = 64. dx = 63.3 - 64 = -0.7. Computing the differential at x = 64, y = x' " . dy = T dx -0,7 -0.7 So our approximation is 480 V53^ = Ve4 4- dy = 4 - 7/480 = A 473 480 Mean Value Theorem The mean value theorem (MVT) is a very important theorem in differential calculus that periodically pops up to give us more useful information. The mean value theorem: Let f(x) be continuous on [(a,b)]. Let f (x) exist on (a,b). There exists a point c between a and b such that f (c)= f(b) - f(a)/b - a. Let us translate. There are no breaks between a and b, including both ends. The derivative exists except at possibly the left and right ends. Otherwise it is smooth, f (c) is the slope at c. What the heck is the rest? If x = a, the y value is f(a). If x = b, the y value is f(b). The two end points are (a,f(a)) and (b,f(b)). The slope of the line joining the two end points is [f(b) -f(a)]/(b - a). f(fc) Kbi a c The theorem says there is at least one point between a and b where the curve has the same slope as the line joining the end points of the curve. Question 1 Can there be more than one such point? The answer is yes, but one and only one is guaranteed by the theorem. Question 2 Can there be such a point if the continuity or differentiability condition does not hold? The answer is yes, but there also may not be such a point. In both the cases illustrated below, there is no point on the curve where the slope is the same as the slope of the line joining the end points of the curve. /^. Example 4 — Find the point c in the mean value theorem or explain why it does not exist if f(x) = x^ + 3x + 5 on [1,4]. Polynomials are always continuous and differentiable everywhere. The MVT holds, f (x) = 2x + 3. f (c) = 2c + 3. Therefore 2c + 3 = M::M = ii::l 2,, 3 = 8 0=2,5 4-1 3 Notice that 2.5 is between 1 and 4. Let's try others. Example 5 — Same as above if The MVT does not hold since the function is not continuous at x = 3. Example 6 — Same as above except f(x) = (x - 4)"^ [0,10]. f (x) = l/[3(x-4)-"] and the derivative does not exist at x = 4. The mean value theorem again does not hold. Example 7 — Same as above except f(x) = x^'^ [0,8]. f (x) = 1/(3x2'^). The function is continuous. The derivative exists at every point except x = 0. The MVT holds because f (x) does not have to exist at the end points. 1 _ f{e] - f(oj _ 2 _ 1 ^^ ^c^'* 8-0 8 4 4 \3li 3(j/s _ 4 j.(j ^^ = (l)" Note You alert students might have seen in Example 6 that the MVT does not hold, yet there is a point that satisfies the theorem. This is possible. If the MVT holds, such a point c is guaranteed. If the MVT doesn't hold, such a point is possible but not guaranteed. Approximations, Approximations In an age where computers and calculators, even those fun graphing calculators, do so many things, some things cannot be done exactly. We know that all quadratics can be solved using the quadratic formula. Similarly, there is a cubic formula and a quartic (fourth-degree) formula that can solve all cubics or quartics (although they are truly ugly and messy). However, in higher mathematics we can prove that most general fifth-degree equations cannot be solved. More simply, an equation like 2x = cos x cannot be solved exactly. However, we can approximate a solution very closely. Newton 's Method Suppose we have an equation y = f(x). Let's say it crosses the x axis at x = r. That is, the root f(r) = 0, but it is not exact. If we can find f(a) < and f(b) > 0, then if f(x) is continuous, there is a point r such that f(r) = 0, and r is between a and b. We can use Newton's method. 1 . Let Xi be the first approximation. Draw a tangent line at the point (x, ,f(X| )) until it hits the x axis at x, , which is usually closer to r than x, . Continue.... tfl It *.i ti 2. Let us give a formula using point slope. y-f(x,)-nxi)[x-x,) If f'(x.l it 0^ the line is not parallel to the x axis, and the line hits the x axis at, let's say, the point (x;,0). Substitute the point in (2). 3. - f(X|) = f (X|) (Xj - X,). We solve for x, 4. ^" ' r(x,] Repeating, we get the general formula Let's do an example. Example 8 — Find the root of f(x) = x^ - x - 3 using Newton's method. The picture of the graphing, using the fun TI 82 calculator, looks like this: Therefore f(x)= 3x2 - i Newton's formula becomes ^n 1- 1 ^n pH x^ - X - 3 Simplifying, we get _ 2x^ + 3 f(l) = -3andf(2)=3. Let's take x, = 1.5 for the first approximation. Probably X, = 1 or x, = 2 would work OK. 2(1,5)' + 3 x-,= = l.fi95652l74 ^ 3(1.5)' -1 Z[l. 6956521 74)^+ 3 5ta = 3(1,695652174)^-1 = 1.672080792 Continuuuuuing, we get x, = 1.671700271, x, = 1.671699882, x. = 1.671699882. We have reached the accuracy of our calculator, nine decimal places, probably more accurate than we would ever need. Notel Sometimes the method doesn't work. A full study is left to other courses. Note 2 When the method works, it usually works very quickly with great accuracy. Note 3 This topic, as well as the other two approximations, can be done at many levels. Most appropriately, they occur in either calc I or II. Trapezoidal Method Vj I 15 a 35 > 3-5 A This method, the only one of the three that does not actually require calculus, approximates the area under the curve by trapezoids, by approximating the "top" of the region by a line. Divide the region into n equal parts. See the trapezoids. They are standing on their heights. The area of a trapezoid is Vi h (bi + bO- AH of the h's are the same. For the first trapezoid, b, = y, and b, = yz. A = Vi h (y, + y,). For the second trapezoid, b, = y, and b, = y,. A = V2 h (y, + y,). Notice that the lower base of the first trapezoid is the upper base of the second trapezoid. Every base is doubled except the first upper base and the last lower base. The formula is A = Vi h (yo + 2y, + 2y2 + ... + 2y, . , + y„). Example 9 — Approximate -^1 x dx using six equal subdivisions. The interval is of length 4-1=3. Six equal, parts? Each h = 3/6 = Vi. Xo-1 3 y.-y = i yi-i 1 ^ "? 1 ? 1 A = Vdi [yo + 2y, + 2y^ + 2yi + ^y^ + 2yj + y^) 1 + 2 i)-(i)-(i)-(i)-(f)4: = 1.405357143 Parabolic Method Ji Jh Jn -tkO) fl.0) Another method is to approximate the region using parabolas on the top. We will isolate one of these regions. As you will see, only if n = even, an even number of intervals, will this method work. Let the parabola be given by y = f(x) = ax^ + bx + c. y at the left end is yL = f(-h) = ah^ - bh + c y in the middle is y„ = f(0) = c y at the right is y, = f(h) = ah^ + bh + c The area of this region is I (ax'' + bx + c] dbc = aj(V3 + bxV2 + ex = ahV3 + bh=^/2 + ch - [-ahV3 + btiV2 - ch) = 2ahV3 4 2ch Do something "weird." Factor out h/3 because it works!! = li/3f2ah'+6c]i) = h/3(2ah^ + ach + 4ch) = h/3(yL + yR + 4yM) Just like before, the lower base of the first region is the upper base of the second region. Four times the middle never changes. The formula issss... A = h/3(y, + 4yi + 2y, + 4y3 + ... + 4y,.| + y„), n even. Example 10 — Note The real cones above and the parabola and hyperbola are not twncated, but go on forever and ever. Let's do the same example. Approximate J, X A = y (yo + 4y, + 2yi + 4ya + 2y^ + 4yii + ye.) A = 1/6 [1 + 4{2/a] + 2VA] + 4[2/5) + 2{l/3) + 4(2/7] + 'A] = l,:5ii7By841J As some of you know and the rest will find out soon, the exact answer is the In 4 = 1.386294361, approximately. Conic Sections Most books call the circle, parabola, ellipse, and hyperbola conic sections without explaining why. These curves are found by passing a plane through the truncated (cut-off) right circular cone pictured here. They are formed as follows: Circle — plane parallel to the top or bottom Ellipse — plane on the top or bottom not parallel to the top or bottom but hitting all parts of the outside Parabola — a plane parallel to an edge of the cone Hyperbola — formed by a plane intersecting the top and bottom Definition Circle — The set of points equidistant from a point, the center (h,k). That distance is r, the radius. The distance foraiula: r = [fx - h)* + [y - k)']'^^ Squaring, we get (x - h)^ + (y- k)^ = r^ Example 11 — Find the radius and center if (x - 4)- + (y + Vi)- = 11. r= ll''-, center (4,-i/2). Example 12 — Find the center and radius of the circle 2x^ + 2y2 + 8x -16y+6=0. In order to do this, we have to complete the square, something we have not done since the derivation of the quadratic formula. 2x* + 2y* + &x - 16y + 6 = Divide by the coefficient of x^. x^ + y^ + 4x - 8y + 3 = Group the x terms and y terms; get the constant to the other side. x^ + 4x + y^ - 8y - -3 Take half of 4, square it, add it to both sides, and take half of -8, square it, add it to both sides. x^ + 4x + 4 + y^ - &y + 16 = -3 + 4 + 16 Factor into perfect squares (that was the idea) and add the terms on the right. (x + 2)' + [y-4j' = 17 The center is (-2,4), r = IT'^ For the parabola, ellipse, and hyperbola, it is essential to relate the equation to the picture. If you do, these curves are very simple. Definition TfCil, mj>) / '^*j) Of*,-c) Parabola — The set of all points equidistant from a point, called a focus, and a line, called a directrix. Point V is the vertex, equidistant from the focus and directrix and closest to the directrix and to the focus. Let's do this development algebraically. Let the vertex be at (0,0). The focus is (0,c). The directrix is y = -c. Let (x,y) be any point on the parabola. The definition of a parabola says FP = PQ. Just like before, everything on PQ has the same x value and everything on RQ has the same y value. The coordinates of Q are (x,-c). Since the X values are the same, the length of PQ = y - (-c). Using the distance formula to get FP and setting it equal to FP, we get ((x - 0)^ + (y -c)-y'^ = y + c. Squaring, we get x^ + y^ - 2cy + c^ = y^ + 2cy + c^ . Simplifying, we get x^ = 4cy. We will make a small chart relating the vertex, focus, directrix, equation, and picture. 2. 3. Vertex Focus Directrix Equation Picture Comment (0,0) (0,c) y = -c x^ = 4cy ^ The original derivation (0,0) (0,-c) y = c x^ = -4cy y replaced by -y (0,0) (c,0) X = -c x^ = 4cx I N£'°' x,y interchange in 1 (0,0) (-c,0) x = c y^ = -4cx (-^^ J\ \^ ^ X replaced by-x in 3 If you relate the picture to the original equation, the sketching will be easy. Example 13 — Given y^ = -7x. Sketch. Label vertex, focus, directrix. From the chart, we know the sketch is picture 4. Now let 4c = 7 (ignore the minus sign), c = 7/4. The vertex is (0,0). The focus is (-7/4,0), because it is on the x axis to the left of the origin. The directrix is y = 7/4; y, a vertical line, = +7/4 because it is to the right of the origin. Example 14 — JflJJS (-3"V4,3J' i ^ ^ f V. Sketch (y- 3)2 = -7(x + 2). To understand the following, we need only note the difference between x^ + y^ = 25 and (x- 3)- + (y + 6)- = 25. Has the shape changed? No. Has the radius changed? No. What has changed? The center. Instead of being at the point (0,0), the center is at the point (3,-6). In the case of the parabola, what has changed is the vertex. Instead of being at the point (0,0), the vertex is at the point (-2,3). The shape is the same. 4c still equals 7. So c = 7/4. The focus now becomes (-2 -7/4,3), 7/4 to the left of the vertex (-7/4 from the x coordinate). The directrix is x = -2 -i- 7/4. Example 15 — Sketch the parabola 2x^ -i- 8x -i- 6y -i- 10 -i- 0. Original. 2x^ + 8x -I- 6y + 10 = Divide through by the coefficient of the squared variable. xH4x-l-3y + 5 = On one side, get all the terms that have the squared letter; everything else goes to the other side. x^ + 4x = -3y - 5 x^ + 4x -h 4 = -3y -5+4 [x + 2)^ = -3y-l Complete the square; add to both sides. Factor and simphfy. This is weird. No matter what the coefficient on the right side, factor the whole coefficient out, even if there is a fraction in the parentheses. [x + Zf - -3[y + 1/3} • K -1/5 ^ Y* Sketch v(-2,-l/3), shape 2, n. 4c = 3, c = 3/4. F(-2,- 1/3,-3/4). Directrix y = -1/3 + 3/4. We will now look at the ellipse. Algebraically, the ellipse is defined as PF, -1- PF, = 2a, where 2a > 2c, the distance between F, and R . In words, given two points, F, and F, , two foci. If we find all points P, such that if we go from F, to P and then from P to F , add those two distances together, and we will always get the same number, 2a, where a will be determined later; we will get an ellipse. I know you would desperately like to know how to draw an ellipse. This is how. Take a nonelastic string. Attach both ends with thumbtacks to the table. Take the point of a pencil and stretch the string as far as it will go. Go 360 degrees. You will trace out an ellipse. Some of you have seen the equation for an ellipse, but few of you have seen the derivation. It is an excellent algebraic exercise for you to try. You will see there is a lot that goes into a rather simple equation. PFi + PF2 = 2a V[x - {-cW + [y " 0)' + Vtx-cf + (y-0)^ = 2-A [V(x + c)' + y']' = [2a ^ V[x-c)' + y']^ x^ + 2c:x + c^ + y^ = 4a^ + x^ - 2c;x -1- c^ + y^ - 4aV(x - t:f + y^ Combine hke terms; isolate the radical. 4cx - 4a^ = -4aV(x-cp + p Reverse sides; take out common factors. a'' - a*c^ = a^x^ - c^x^ -1- a*y* Divide on both sides by a^(a^ - c^) [a^ - o^]v? + a^y = a^(a^ - c") [a' ^ c']Ei' a'[a- ^ c") a^a' ~ c") Let a^ - c^ = b^. — + — ^^— — = 1 Finally we get Whew! We are still not finished. What is a and what is b? Let's investigate. T N'^^ V :-t,o} s [t,0} / T' Since T is any point on the ellipse, F|T + TF, = 2a. By symmetry, F.T = TF,. So F,T = a. Since a^ - c^ = b^ GT = b. The coordinates of T are (0,b), and the coordinates of T' are (0,-b). li'fi.O) U^iO) We would like to find the coordinates of U and we have used up the letters a, b, and c. Oh well, let's see what happens. RU + UF, = 2a. F,U = x - c. UF, = x + c. x + c + x - c = 2a. So x = a. The coordinates of U are (a,0). The coordinates of U' are (-a,0). Uo} c = half the distance between the foci, b = length of the semiminor axis ("semi" means half, "minor" means smaller, "axis" means line), a = length of the semimajor axis = distance from a focus to a minor vertex. (±a,0) are the major vertices. (0,+b) are the minor vertices or co-vertices. (±c,0) are the foci. Although the derivation is very long, sketching should be short. Example 16 — Sketchx2/ll+y2/8=l. In the case of an ellipse, the longer axis is indicated by which number is larger under x^ or y-. That term is a^ (Try not to remember a or b — remember the picture.) This ellipse is longer in the x direction. Letting y = 0, we get the major vertices [±V 11>0). Letting x = 0, we get the minor vertices [0,± Vej, c = \/"lT^. The foci are (± V3,0). The sketch is below. iJYm iv.-j9] Example 17 — Sketch x2/5 + yV26=l. Major vertices: [0,iV26). Minor vertices: (±V5hO). Foci: (0,±V 21) — foci are always on the longer axis. (o.M) i-J5.0) {Jf.o} - [o-J^} \iG.-M') Example 18 — 11 6 = 1 This is the same as Example 12 except that the center is no longer at the point (0,0). It is moved to the point (6, 4). Now the major vertices are (^ - V 11,-4). The minor vertices are [^ -4 '^ V fi). The foci are (^ - V 3,-4)_ Weird numbers are intentionally chosen so that you know exactly where the numbers come from. if6,^ 1-7W) ib-jri-ii \h 4-/11 -^) \4>.^^Ve) Example 18 Revisited — (x- 6^/11 + (y + 4)VB=l Just a few months after the book went to press, I realized a second way to find the vertices that made it much clearer, but my editor wouldn't change the book. So now I finally have a chance to show you. The center is again at the point (6,-4). The vertices are directly east- west and north-south of the point (6,-4). All points east- west of (6,-4) must have the same y value, y = -4. Sooo, letting y = -4, we get n (x - &V !) + 0=1 11 (x - 6)* = 11 x-6 = ±111^* Therefore x = 6 + 1 1 ^'^ and the major vertices are (6 + 11"^ ,-4). Points north-south of (6,-4) have the same x value, x=6. 11 8 (y + 4)^ = a y + 4 = 1;8'^* Therefore Y = -4 + 8"^ and the minor vertices are (6,-4 + 8'^^). For the same reasons the foci, always on the major axis, are (6 + 3"^-4). The sketch is, of course, the same. Example 19 — Sketch and discuss 4x2 = 5y2 + 30y . 40x -i- 45 = 0. Here we must complete the square in a slightly different manner. 4x* + 5y^ + 30y - 40a -1-45 = 4x^ - 40x + 5y^ -I- 30y = -45 f— (^D- y' + fiy + h- 4[x-5)^ 5(y + 3p _ 100 100 ^ 100 "Tuu (x-5)^ (y^3]^ , 25 20 Center: (5,-3). Vertices: i^ ^ V^-^). (5,-3 ± V20]. c = V25 - 20 = VS. Foci: (S ± Vs -3) S(5,-3 4-^50) (^+735:-3) ^,-3 - M) Of course you should use 5 instead of v 25. 1 leave the V 25 so you know where it came from. The definition of the hyperbola is F,P - PF, = 2a, where the foci are (±c,0). The derivation is exactly the same as for an ellipse. Once is enough!! The equation we get is x^/a - y^/b^ = 1, where a^ -i- b^ = c^ are called the transverse vertices. The hyperbola has asymptotes y = +(b/a)x. Notel The shape of a hyperbola is determined by the location of the minus sign, not which number is larger under the X- or y^. Note 2 In the case of the asymptote, the slope of the hne b/a is the square root of the number under the y2 divided by the square root of the term under the x^ term. Example 20 — Sketch and label xVV - yVll = 1. Transverse vertices: y = 0, ■'t = ±V7 f ± V7,0) Note that if x = 0, y = ±V-11, which are imaginary. The curve does not hit the y axis, c = VTTTT. Foci: (± VTa.O). y = ±(VTT/V7)x. Example 21 — Sketch and discuss yV5 - xV17 = 1. Transverse vertices: [0,± V5). Foci: [0.iV22]. Asymptotes: y = ±CV5/V^)x_ ' ' [0 -J5a) Example 22 — The same forai 17 = 1 This is the same as the above sketch except that the "center of the hyperbola," the place where the asymptotes cross, is no longer (0,0). It is now (-7,6). Transverse vertices: (~'^.0 - V 5). Foci: {-"^Si — V 'l'l]_ Asymptotes: y 6 = ±(V5/\'^){x+ 7). ' [-Ijb^M] Example 22 Revisited — [y-6)V5-(x + 71^/17^1 Just like with the ellipse, let's clarify the location of the vertices. In this case, the vertices occur north-south of the center (-7,6). So the x value of the vertices is the same as the center, x = -7. Substituting, we get ^ 1 5 17 {y-6)' = 5 y=6 ± .^''^ The vertices are (-7,6 + 5^''^). For the same reason the foci, always on the axis through the vertices, are (-7,6 + 22 1'^). The asymptotes and the sketch are the same!! Example 23 — Sketch and discuss 25x2 - 4y2 +50x - 12y +116 = 0. For the last time we will complete the square, again a little bit differently. 25x^ - 4y^ + 50x - 12y + 116 = 25x^ + 50X - 4y^ - 12y = -1 16 25[x^ + 2X + {2fZf\ - 4[y^ + 3y + {3/2j=] = -116 + 25[2/2]'- 4(3/2]* 25[x+ iP 4fy + 3/2]^ _ -100 " -100 " -100 ~ -100 (y + 3/2T [x + 1)^ 25 ~ 4 = 1 Center: (-1,-3/2). Vertices: i~t,-3/2 ± V^l. poci: H.-3/2 ± V^y). Asymptotes: >' + ^^2 = ±fV25/V4) (x + 1). (-'■ T ^ ^) ■J=-^ Sometimes we have a puzzle. Given some information, can we find the equation? You must always draw the picture and relate the picture to its equation. Example 24 — Find the equation of the parabola with focus (1,3), directrix x = 1 1. Drawing F and the directrix, the picture must be the following picture. The vertex is halfway between the x numbers. So x = (11 + l)/2 = 6. V(6,3). c = the distance between V and F = 5. The equation is (y - 3)^ = -4c(x - 6) = -20(x - 6>. Remember, the minus sign is from the shape and c is always positive for these problems. Example 25 — Vertices (2,3) and (12,3) and one focus (1 1,3). Find the equation of the ellipse. Two vertices give the center, ((12 = 2)/2,3) = (7,3). F(ll,3). (x - ly/a^ = (y -Sf/h^ = 1. a=12-7-5. c = 11 - 7 = 4. a2 - b2 = c2. 52-b2=42. b2=9 (no need for b). (x-7)2/25 + (y-3)2/9=l. Example 26 — Find the equation of the hyperbola with vertices (0,+6) and asymptotes y=+(3/2)x. V(0,+6) says the center is (0,0) and its shape is y-/36 - xVa = 1 The slope of the asymptotes is 3/2 =square root of the number under y^ over the square root of the number under the x^ term. So 3/2 = 6/?. So ? = 4. So a^ = 4- = 16. The equation is yV36 - xV16 = 1. This kind of question is shorter in length, but it does take practice. So practice! ! ! L'hopital's Rule Unless I can think of something else before this book gets printed, this is the last topic and one of the nicest. ,. ffx) « lim — T— r- = — __ L'Hopital's rule states that if "^ Bw " or « where a can be any finite number, plus infinity, or minus infinity, and if ,. fix] , =,^4 gfxj then lim ■■■■■ = L Simply put, if the original limit is indeterminate, simply take the derivative of the top and divide it by the derivative of the bottom, not the quotient rule. If this gives a limit L (or does not exist), then the original limit is the same. Example 27 — liiti-j-— =- = Using L'Hopital's rule is unnecessary and wrong! Example 28 — lim — ; — - lim [k''' + x) s->- l/x T-t" which does not exist — same comment as in the example. Example 29 — ,, sin X lim = — x-J* X Hooray! L'Hopital's rule applies. Taking the derivative of the top over the derivative of the bottom, we get ,, cos:Jt 1 hm -— ^ = T = "1 *^ 1 1 So hm ™ — also = l s-i* X Example 30 — hm - — —-5- = — i^-"" 3 - 5x^ « L'Hopital's rule applies. Taking derivatives of the top and bottom, we get (2x - 4)/(-10x), again going to ™/». Use our rule twice. The second time we get 2/- 10 = -1/5. So our original limit was also -1/5. Example 31 — lim(]/sm X - l/x] = »-<» We must do something algebraic so our wonderful rule can be used. In this case, we simply add the fractions together. 1. , , . . I ■. ■,- X - sin X hm [ 1/sin X - 1/xj = lim : = — *-*o J1-.Q X Sin X L'Hopital's rule once gives us , . 1 - cos X hm : = — 3i -»" X cos X + sin X ,. sinx hm : = -T- = Again, we get " >" 2 cos x - x sin x 2 c, ^, • • 1 lim(l/smx- l/x] =0 So the original jho . Sometimes when you take the limit, you get « >< 0. In that case you must do something algebraic to get 0/0 or Example 32 — lim [x sin (l/x)l X-t" Limit is ™ >f 0. We rewrite x sin (l/x) as sin (l/x) Now the limit is 0/0, and we can apply L'Hopital's rule. [sin(l/x]r cos[l/x](-l/x=) , , , -TU^' Pm — = ""' ''^'^^ Since lim cos tl/x) = 1 lim fx sin (l/x)] = i Well, that's all for now. The Calc II and Calc III will help you next. If you need algebra or trig review, get the Precalc. About Bob Miller ... in His Own Words I received my B.S. and M.S. in math from Brooklyn Poly, now Polytechnic University. After my first class, which I taught as a substitute for a full professor, one student told another upon leaving the room that "at least now we have someone who can teach the stuff." I was forever hooked on teaching. Since then I have taught at Westfield State College, Westfield, Massachusetts; Rutgers; and the City College of New York, where I've been for the last 28 ^'^ years. No matter how bad I feel before class, I always feel great after I start teaching. I especially like to teach precalc and calc, and I am always delighted when a student tells me that he or she has always hated math before and could never learn it, but that taking a class with me has made math understandable and even enjoyable. I have a fantastic wife, Marlene; a wonderful daughter, Sheryl; a terrific son, Eric; and a great son-in-law, Glenn. The newest member of our family is my adorable, brilliant granddaughter Kira Lynn, eight days old as of this writing. My hobbies are golf, bowling, bridge, and crossword puzzles. Someday I hope a publisher will allow me to publish the ultimate high school text and the ultimate calculus text so our country can remain number one forever. To me, teaching math always is a great joy. I hope I can give some of this joy to you.